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
The byte 0 of this word corresponds to the type:
  • Value 6 corresponds to Master
  • Value 7 corresponds to Slave
%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
  • Value -1 (0xFF) corresponds to 600 bits/s
  • 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
  • Value 4 (0x04) corresponds to 19200 bits/s (default value)
  • Value 5 (0x05) corresponds to 38400 bits/s
  • Value 6 (0x06) corresponds to 57600 bits/s (applicable to BMX NOM 0200 module only)
  • Value 7 (0x07) corresponds to 115200 bits/s (applicable to BMX NOM 0200 module only)
The byte 1 of this word corresponds to the format:
  • Bit 8: number of bits (1 = 8 bits (RTU), 0 = 7 bits (ASCII))
  • bit 9 = 1: parity management (1 = with, 0 = without)
  • Bit 10: parity Type (1 = odd, 0 = even)
  • Bit 11: number of stop bits (1 = 1 bit, 0 = 2 bits)
  • Bit 13: physical line (1 = RS232, 0 = RS485)
  • Bit 14: DTR/DSR/DCD modem signals (applicable to BMX NOM 0200 module only and for RS232 physical line only). If this bit is set to 1, modem signals are managed.
  • Bit 15 : RTS/CTS hardware flow management signals. If RS232 is selected this bit can take 2 different values: 0 for RX/TX and 1 for RX/TX + RTS/CTS. If RS485 is selected the default value is 0 and corresponds to RX/TX.
%KWr.m.c.2
INT
R
Delay between frames (in RTU mode only): value in ms from 2 to 10000 ms (depends on the transmission speed and format selected). Its default value is 2 ms if the default box is checked. 10 s corresponds to infinite wait.
%KWr.m.c.3
INT
R
In Modbus Master Mode this object corresponds to the answer delay in ms from 10 ms to 1000 ms. 100 ms is the value by default. 10 s corresponds to infinite wait.
%KWr.m.c.4
INT
R
Only available in Modbus Master mode. Byte 0 of this word is the number of retries from 0 to 15. The value by default is 3.
%KWr.m.c.5
INT
R
If RS232 is selected this word corresponds to RTS/CTS delay time in hundreds of ms from 0 to 100. If RS485 is selected the default value is 0.
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 objects:.
Address
Type
Access
Meaning
%KWr.m.c.3
INT
R
In Modbus Slave Mode the byte 0 of this object corresponds to the slave number [0/1, 247]. For the BMX NOM 0200 module, the value 0 means that the slave number is coded in the FLASH memory
%KWr.m.c.4
INT
R
Used only in Modbus Master mode.