Tag Address Translator Syntax
When using the Tag Address Translation functionality, users can provide a common string expression of a tag address which are typically use by the tools used to program the PLC such as Siemens TIA Portal or PCWin.
Currently the Tool supports Tag Address Translation for these drivers:
- Siemens S7
- All ModBus Drivers
- Toyopuc Ethernet
Supported Tag Address String formats
Siemens S7
Supported Register Types | Syntax |
|---|---|
I | I<DataType><Address> |
Q | Q<DataType><Address> |
M | M<DataType><Address> |
DB | DB<DB Number>.<DataType><Address> |
Siemens Addressing Syntax
Data Typ | Syntax (<DataType><Address>) | Data Type |
|---|---|---|
B Byte | B0-B65535 BYTE0-BYTE65535 | byte,char,sint |
C Char | C0-C65535 CHAR0-CHAR65535 | char,byte |
D Dword | D0-D65532 DWORD0-DWORD65532 | dword,dint,real |
DI Dint | DI0-DI65532 DINT0-DINT65532 | dword,dint,real |
I Int | I0-I65534 INT0-INT65534 | sint,word |
R Real | R0-R65532 REAL0-REAL65532 | real |
T Time | T0-T65532 TIME0-TIME65532 | time |
W Word | W0-W65534 WORD0-WORD65534 | word,int,uint |
X | X0.b-X65534.b .b is Bit Number 0-7 | bit |
S String | S0.n-S65532.n STRING0.n-STRING65532.n .n is string length | string |
Data Types in Bold are the default data type.
ModBus
Primary Table | Description |
|---|---|
0 | Output Coils |
1 | Input Coils |
3 | Internal Registers |
4 | Holding Registers |
Modbus Addressing in Decimal Format
Address Type | Range | Data Type |
|---|---|---|
Output Coils | '000001-'065536* | bit |
Input Coils | 100001-165536 | bit |
Internal Registers | 300001-365536 300001.b-365536.b .b is Bit Number 1-15 | word,int16,int32,int64,uint64, float32,float64,string bit |
Holding Registers | 400001-465536 400001.b-465536.b .b is Bit Number 1-15 | word,int16,int32,int64,uint64, float32,float64,string bit |
* Because Excel doesn't resepct leading "0" for a number value, OutPut Coils need to include a leading "'" (Apostrophe) when using the Decimal Format. Example: Will not work: 065536 Will work: '065536
Modbus Addressing in Alternative Format
Address Type | Range | Data Type |
|---|---|---|
Output Coils | HC1-HC65536 | bit |
Input Coils | IC1-IC65536 | bit |
Internal Registers | IR1-IR65536 IR1.b-IR65536.b .b is Bit Number 1-15 | word,int16,int32,int64,uint64, float32,float64,string bit |
Holding Registers | HR1-HR65536 HR1.b-HR65536.b .b is Bit Number 1-15 | word,int16,int32,int64,uint64, float32,float64,string bit |
ModBus Addressing Enron Modbus specific
Address Type | Range | Data Type |
|---|---|---|
1x | 100-700 800-999 | bool |
3x | 3001-3999 | int16 |
5x | 5001-5999 | int32,string |
7x | 7001-65536 | float32 |
Archive | 701-799 | bit,JSON |
Data Types in Bold are the default data type.
Toyopuc Ethernet
Memory Type Family | Memory Type Members | Syntax |
|---|---|---|
Common | EP, EK, EV, ET, EC, EL, EX, EY, EM, ES, EN, H, GX, GY, U, EB, GM, B, FR | <Memory Type><Address> |
P1 | X, Y, M, K, L, V, T, C, S, N, D, R, P | P1-<Memory Type><Address> |
P2 | X, Y, M, K, L, V, T, C, S, N, D, R, P | P2-<Memory Type><Address> |
P3 | X, Y, M, K, L, V, T, C, S, N, D, R, P | P3-<Memory Type><Address> |
Toyopuc
Memory Type | Syntax (<Memory Type><Address>) | Data Type |
|---|---|---|
Specific Relay (V) | V00-VFF V0-VF V0.n#-VE.n# .n is string length 1-1023 # is byteOrder "L" or "H" V0#-VFO# # is byteOrder "L" or "H" V0W-VFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Edge Relay (P) | P000-P1FF P00-P1F P00.n#-P1E.n# .n is string length 1-1023 # is byteOrder "L" or "H" P00#-P1F# # is byteOrder "L" or "H" P00W-P1FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
I/O Relay (X) | X000-X7FF X00-X7F X00.n#-X7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" X00#-X7F# # is byteOrder "L" or "H" X00W-X7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
I/O Relay (Y) | Y000-Y7FF Y00-Y7F Y00.n#-Y7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" Y00#-Y7F# # is byteOrder "L" or "H" Y00W-Y7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Internal Relay (M) | M000-M7FF M00-M7F M00.n#-M7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" M00#-M7F# # is byteOrder "L" or "H" M00W-M7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Keeping Relay (K) | K000-K7FF K00-K7F K00.n#-K7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" K00#-K7F# # is byteOrder "L" or "H" K00W-K7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Link Relay (L) | L000-L7FF L00-L7F L00.n#-L7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" L00#-L7F# # is byteOrder "L" or "H" L00W-L7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Timer Bits (T) | T000-T7FF T00-T7F T00.n#-T7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" T00#-T7F# # is byteOrder "L" or "H" T00W-T7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Count Bits (C) | C000-C7FF C00-C7F C00.n#-C7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" C00#-C7F# # is byteOrder "L" or "H" C00W-C7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Present Value Register (N) | N000.0-N1FF.F N000-N1FF N000.n#-N1FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" N000#-N1FF# # is byteOrder "L" or "H" N000W-N1FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Specific Register (S) | S000.0-S3FF.F S000-S3FF S000.n#-S3FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" S000#-S3FF# # is byteOrder "L" or "H" S000W-S3FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Link Register (R) | R000.0-R7FF.F R000-R7FF R000.n#-R7FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" R000#-R7FF# # is byteOrder "L" or "H" R000W-R7FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Data Register (D) | D0000.0-D2FFF.F D0000-D2FFF D0000.n#-D2FFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" D0000#-D2FFF# # is byteOrder "L" or "H" D0000W-D2FFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Setup Value Register (H) | H0000-H7FFF H000-H7FF H000.n#-H7FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" H000#-H7FF# # is byteOrder "L" or "H" H000W-H7FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended I/O Relay (EX) | EX000-EX7FF EX00-EX7F EX00.n#-EX7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" EX00#-EX7F# # is byteOrder "L" or "H" EX00W-EX7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended I/O Relay (EY) | EY000-EY7FF EY00-EY7F EY00.n#-EY7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" EY00#-EY7F# # is byteOrder "L" or "H" EY00W-EY7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Counter Bits (EC) | EC000-EC7FF EC00-EC7F EC00.n#-EC7E.n# .n is string length 1-1023 # is byteOrder "L" or "H" EC00#-EC7F# # is byteOrder "L" or "H" EC00W-EC7FW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Keep Relay (EK) | EK000-EKFFF EK00-EKFF EK00.n#-EKFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" EK00#-EKFF# # is byteOrder "L" or "H" EK00W-EKFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Edge Direction (EP) | EP000-EPFFF EP00-EPFF EP00.n#-EPFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" EP00#-EPFF# # is byteOrder "L" or "H" EP00W-EPFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Link Relay (EL) | EL0000-EL1FFF EL000-EL1FF EL000.n#-EL1FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" EL000#-EL1FF# # is byteOrder "L" or "H" EL000W-EL1FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Internal Relay (EM) | EM0000-EM3FFF EM000-EM3FF EM000.n#-EM3FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" EM000#-EM3FF# # is byteOrder "L" or "H" EM000W-EM3FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Special Relay (EV) | EV0000-EV3FFF EV000-EV3FF EV000.n#-EV3FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" EV000#-EV3FF# # is byteOrder "L" or "H" EV000W-EV3FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Timer/Counter Value (EN) | EN0000-EN7FFF EN000-EN7FF EN000.n#-EN7FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" EN000#-EN7FF# # is byteOrder "L" or "H" EN000W-EN7FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Special Register (ES) | ES0000-ES7FFF ES000-ES7FF ES000.n#-ES7FE.n# .n is string length 1-1023 # is byteOrder "L" or "H" ES000#-ES7FF# # is byteOrder "L" or "H" ES000W-ES7FFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Input Relay (GX) | GX0000-GXFFFF GX000-GXFFF GX000.n#-GXFFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" GX000#-GXFFF# # is byteOrder "L" or "H" GX000W-GXFFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Output Relay (GY) | GY0000-GYFFFF GY000-GYFFF GY000.n#-GYFFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" GY000#-GYFFF# # is byteOrder "L" or "H" GY000W-GYFFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Internal Relay (GM) | GM0000-GMFFFF GM000-GMFFF GM000.n#-GMFFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" GM000#-GMFFF# # is byteOrder "L" or "H" GM000W-GMFFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
File Register (B) | B00000-B1FFFF B0000-B1FFF B0000.n#-B1FFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" B0000#-B1FFF# # is byteOrder "L" or "H" B0000W-B1FFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Data Register (U) | U00000.0-U1FFFF.F U00000-U1FFFF U00000.n#-U1FFFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" U00000#-U1FFFF# # is byteOrder "L" or "H" U00000W-U1FFFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Flash Register (FR) | FR000000.0-FR1FFFFF.F FR000000-FR1FFFFF FR000000.n#-FR1FFFFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" FR000000#-FR1FFFFF# # is byteOrder "L" or "H" FR000000W-FR1FFFFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Extended Buffer Register (EB) | EB00000.0-EB3FFFF.F EB00000-EB3FFFF EB00000.n#-EB3FFFE.n# .n is string length 1-1023 # is byteOrder "L" or "H" EB00000#-EB3FFFF# # is byteOrder "L" or "H" EB00000W-EB3FFFFW W is special identifier for uint16 | bit uint16,uint32,uint64,int16,int32,int64,float32,float64 string uint8 uint16 |
Data Types in Bold are the default data type.