Peripheral address format
The peripheral address is a string from which a unique hardware address can be derived. The address format is based on the format used for the PLC programming. Since the drivers store the conversion in a special data point, there is no need to attach a suffix describing the data format. In addition, for bit strings the bit number is not specified in the peripheral address but in the subindex. This can take any value >= 0, and is not restricted to the number of bits in a word or byte.
Absolute addresses
m specifies the block number, and lies between 0 and 0xFFFF.
NB: absolute address are not currently supported in the configuration panel.
Data format | Address format | Data length | Value range |
---|---|---|---|
Unsigned Integer 16 | ASm | 2 Byte | 0...65535 |
Siemens KC | ASm | 2 Byte | 0...999 |
Siemens KT | ASm | 2 Byte | Siemens KT format |
Outputs
m specifies the block number, and lies between 0 and 255 maximum.
NB: outputs can only be read.
Data format | Address format | Data length | Value range |
---|---|---|---|
Bit | Am | 1 Byte | 0, 1 |
Integer 8 | ABm | 1 Byte | -128...127 |
Unsigned Integer 8 | ABm | 1 Byte | 0...255 |
Integer 16 | AWm | 2 Byte | -32768...32767 |
Unsigned Integer 16 | AWm | 2 Byte | 0...65535 |
BCD 16 | AWm | 2 Byte | -999...999 |
Siemens KC | AWm | 2 Byte | 0...999 |
Siemens KT | AWm | 2 Byte | Siemens KT format |
Integer 32 | ADm | 4 Byte | -2147483648...214783647 |
Unsigned Integer 32 | ADm | 4 Byte | 0...4294567295 |
BCD 32 | ADm | 4 Byte | -9999999...9999999 |
Float | ADm | 4 Byte | Floating-point number |
Data blocks
m specifies the block number, and lies between 0 and 255. n specifies the data word within a data block, and lies between 0 and 255 (254 for a data length of 4 bytes).
Data format | Address format | Data length | Value range |
---|---|---|---|
Bit | DBmDn | 2 Byte | 0, 1 |
Integer 8 | DBmDBn | 2 Byte | -128...127 |
Unsigned Integer 8 | DBmDBn | 2 Byte | 0...255 |
Integer 16 | DBmDWn | 2 Byte | -32768...32767 |
Unsigned Integer 16 | DBmDWn | 2 Byte | 0...65535 |
BCD 16 | DBmDWn | 2 Byte | -999...999 |
Siemens KC | DBmDWn | 2 Byte | 0...999 |
Siemens KT | DBmDWn | 2 Byte | Siemens KT format |
Integer 32 | DBmDDn | 4 Byte | -2147483648...214783647 |
Unsigned Integer 32 | DBmDDn | 4 Byte | 0...4294567295 |
BCD 32 | DBmDDn | 4 Byte | -9999999...9999999 |
Float | DBmDDn | 4 Byte | Floating-point number |
Extended data blocks
m specifies the block number, and lies between 0 and 255. n specifies the data word within a data block, and lies between 0 and 255 (254 for a data length of 4 bytes).
Data format | Address format | Data length | Value range |
---|---|---|---|
Bit | DXmDn | 2 Byte | 0, 1 |
Integer 8 | DXmDBn | 2 Byte | -128...127 |
Unsigned Integer 8 | DXmDBn | 2 Byte | 0...255 |
Integer 16 | DXmDWn | 2 Byte | -32768...32767 |
Unsigned Integer 16 | DXmDWn | 2 Byte | 0...65535 |
BCD 16 | DXmDWn | 2 Byte | -999...999 |
Siemens KC | DXmDWn | 2 Byte | 0...999 |
Siemens KT | DXmDWn | 2 Byte | Siemens KT format |
Integer 32 | DXmDDn | 4 Byte | -2147483648...214783647 |
Unsigned Integer 32 | DXmDDn | 4 Byte | 0...4294567295 |
BCD 32 | DXmDDn | 4 Byte | -9999999...9999999 |
Float | DXmDDn | 4 Byte | Floating-point number |
Inputs
m specifies the block number, and lies between 0 and 255.
NB: inputs can only be read.
Data format | Address format | Data length | Value range |
---|---|---|---|
Bit | Em | 1 Byte | 0, 1 |
Integer 8 | Ebm | 1 Byte | -128...127 |
Unsigned Integer 8 | Ebm | 1 Byte | 0...255 |
Integer 16 | Ewm | 2 Byte | -32768...32767 |
Unsigned Integer 16 | Ewm | 2 Byte | 0...65535 |
BCD 16 | Ewm | 2 Byte | -999...999 |
Siemens KC | EWm | 2 Byte | 0...999 |
Siemens KT | EWm | 2 Byte | Siemens KT format |
Integer 32 | EDm | 4 Byte | -2147483648...214783647 |
Unsigned Integer 32 | EDm | 4 Byte | 0...4294567295 |
BCD 32 | EDm | 4 Byte | -9999999...9999999 |
Float | Edm | 4 Byte | Floating-point number |
Flags
m specifies the block number, and lies between 0 and 255 maximum.
NB: flags can only be read.
Data format | Address format | Data length | Value range |
---|---|---|---|
Bit | Mm | 1 Byte | 0, 1 |
Integer 8 | MBm | 1 Byte | -128..127 |
Unsigned Integer 8 | MBm | 1 Byte | 0...255 |
Integer 16 | MWm | 2 Byte | -32768...32767 |
Unsigned Integer 16 | MWm | 2 Byte | 0...65535 |
BCD 16 | MWm | 2 Byte | -999...999 |
Siemens KC | MWm | 2 Byte | 0...999 |
Siemens KT | MWm | 2 Byte | Siemens KT format |
Integer 32 | MDm | 4 Byte | -2147483648...214783647 |
Unsigned Integer 32 | MDm | 4 Byte | 0...4294567295 |
BCD 32 | MDm | 4 Byte | -9999999...9999999 |
Float | MDm | 4 Byte | Floating-point number |
Peripheral
m specifies the block number, and lies between 0 and 255.
NB: peripheral addresses can only be read.
Data format | Address format | Data length | Value range |
---|---|---|---|
Bit | Pm | 1 Byte | 0, 1 |
Integer 8 | PBm | 1 Byte | -128...127 |
Unsigned Integer 8 | PBm | 1 Byte | 0...255 |
Integer 16 | PWm | 2 Byte | -32768...32767 |
Unsigned Integer 16 | PWm | 2 Byte | 0...65535 |
BCD 16 | PWm | 2 Byte | -999...999 |
Siemens KC | PWm | 2 Byte | 0...999 |
Siemens KT | PWm | 2 Byte | Siemens KT format |
Integer 32 | PDm | 4 Byte | -2147483648...214783647 |
Unsigned Integer 32 | PDm | 4 Byte | 0...4294567295 |
BCD 32 | PDm | 4 Byte | -9999999...9999999 |
Float | PDm | 4 Byte | Floating-point number |
Extended peripheral
m specifies the block number, and lies between 0 and 255.
NB: an extended peripheral can only be read.
Data format | Address format | Data length | Value range |
---|---|---|---|
Bit | Qm | 1 Byte | 0, 1 |
Integer 8 | QBm | 1 Byte | -128...127 |
Unsigned Integer 8 | QBm | 1 Byte | 0...255 |
Integer 16 | QWm | 2 Byte | -32768...32767 |
Unsigned Integer 16 | QWm | 2 Byte | 0...65535 |
BCD 16 | QWm | 2 Byte | -999...999 |
Siemens KC | QWm | 2 Byte | 0...999 |
Siemens KT | QWm | 2 Byte | Siemens KT format |
Integer 32 | QDm | 4 Byte | -2147483648...214783647 |
Unsigned Integer 32 | QDm | 4 Byte | 0...4294567295 |
BCD 32 | QDm | 4 Byte | -9999999...9999999 |
Float | QDm | 4 Byte | Floating-point number |
System address
m specifies the block number, and lies between 0 and 255.
NB: system addresses can only be read.
Data format | Address format | Data length | Value range |
---|---|---|---|
Integer 16 | BWm | 2 Byte | -32768...32767 |
Unsigned Integer 16 | BWm | 2 Byte | 0...65535 |
Timer
m specifies the block number, and lies between 0 and 255.
NB: timers can only be read.
Data format | Address format | Data length | Value range |
---|---|---|---|
Siemens KT | Tm | 2 Byte | Siemens KT format |
Counter
m specifies the block number, and lies between 0 and 255.
NB: counters can only be read.
Data format | Address format | Data length | Value range | ||||
---|---|---|---|---|---|---|---|
Unsigned Integer | Zm | 2 Byte | 0...65535 |