Details of Language Objects Associated with Configuration Modbus Mode
(Original Document)
At a Glance
The following tables present all configuration language objects for communication Modbus mode. These objects are not integrated in the IODDTs, and may be displayed by the application program.
List of Explicit Exchange Objects for Master Mode
The table below shows the explicit exchange objects.
Address
Type
Access
Meaning
%KWr.m.c.0
INT
R
Byte 0 = 16#06 for Modbus master function
%KWr.m.c.1
INT
R
The byte 0 of this word corresponds to the transmission speed. This byte can take several values:
  • Value -2 (0xFE) corresponds to 300 bits/s (TSX SCP 111 only).
  • Value -1 (0xFF) corresponds to 600 bits/s (TSX SCP 111 only).
  • Value 0 (0x00) corresponds to 1200 bits/s.
  • Value 1 (0x01) corresponds to 2400 bits/s.
  • Value 2 (0x02) corresponds to 4800 bits/s.
  • Value 3 (0x03) corresponds to 9600 bits/s.
The byte 1 of this word corresponds to the format:
  • bit 8: number of bits (1 = 8 bits, 0 = 7 bits)
  • bit 9 = 1: parity management (1 = with, 0 = without)
  • bit 10: parity type (1 = odd, 0 = even)
  • bit 11: stop bit (1 = 1 bit, 0 = 2 bits)
%KWr.m.c.2
INT
R
This word corresponds to the interframe delay value in ms from 2 ms to 10000 ms.
%KWr.m.c.3
INT
R
This word corresponds to the answer delay value in ms from 10 ms to 10000 ms
%KWr.m.c.4
INT
R
Byte 0 = number of retries (default being 3)
Byte 1 = Signal Management
  • bit 8: 1 if PSR signal management (TSX SCP 112)
  • bit 10 = 1 if DCD Data Carrier management (TSX SCP 111)
%KWr.m.c.5
INT
R
This word corresponds to the delay time in hundreds of ms, only for TSX SCP 111 (default value 0 ms).
List of Explicit Exchange Objects for Slave Mode
The language objects for the Modbus slave function are identical to those of the Modbus master function. The only difference is for the following object:
Address
Type
Access
Meaning
%KWr.m.c.0
INT
R
Byte 0 = 16#07 for Modbus slave function
%KWr.m.c.3
INT
R
Byte 0 = slave number value (0 to 98)