M340, TSX Quantum and Premium PLCs - Data Types
- Last UpdatedJul 08, 2025
- 2 minute read
|
Data Types |
Valid Address Range |
Address Format |
Plant SCADA Data Type |
|---|---|---|---|
|
Output Coils |
000001 - 065536 |
<valid address> |
DIGITAL |
|
Output Coils (Memory) |
000001 – 065536 |
%M<valid address> |
DIGITAL |
|
Input Status |
100001 - 165536 |
<valid address> |
DIGITAL |
|
Input Registers |
300001 - 365536 |
<valid address> |
INT/ REAL/ LONG/ BCD/ LONGBCD |
|
Input Registers (DIGITAL) |
300001 - 365536 |
<valid address>.b |
DIGITAL |
|
Output Holding Registers (ANALOG) |
400001 - 465536 |
<valid address> |
INT/ REAL/ LONG/ BCD/ LONGBCD |
|
Output Registers (Memory) |
000001 – 065536 |
%MW<valid address> |
INT/ REAL/ LONG/ BCD/ LONGBCD |
|
Output Holding Registers (DIGITAL) |
400001 - 465536 |
<valid address>.b |
DIGITAL |
|
Output Registers (DIGITAL) (Memory) |
000001 – 065536 |
%MW<valid address>.b |
DIGITAL |
|
Extended registers |
EF:R E denotes the extended register. F is the file number between 1 and 16 inclusive. R is the register between 0 and 9999 inclusive. |
INT/ REAL/ LONG/ BCD/ LONGBCD/ STRING |
|
|
Individual Output Coil Register |
000001 – 065536 |
G<valid address> |
DIGITAL |
|
Individual Input Coil Status |
100001 – 165536 |
G<valid address> |
DIGITAL |
|
Individual Input Register |
300001 – 365536 |
G<valid address> |
INT / REAL / LONG / BCD / LONGBCD / STRING |
|
Individual Output Register |
400001 – 465536 |
G<valid address> |
INT / REAL / LONG / BCD / LONGBCD / STRING |
|
Individual Extended Register |
G<EF:R> where: E denotes the extended register. F is the file number between 1 and 16 inclusive R is the register between 0 and 9999 inclusive |
INT/ REAL / LONG / BCD / LONGBCD / STRING |
Note: When writing DIGITAL variables to output registers, the individual bits in a register (1..16) can be written to with the format n.BitPosition (e.g. 40001.1). Writing to sequential bits requires individual write commands. The user can specify the bit order direction in the INI parameter [MODNET]RegisterBitReverse.
EXAMPLES
|
Data Type |
DIGITAL |
|
Address |
00036 |
|
Comment |
Output Coil |
|
Data Type |
LONGBCD |
|
Address |
30019 |
|
Comment |
Input Register |