13 - BUS FOR CONNECTION TO AN RS485 MODBUS CMS
13.2 - Configuring the communication bus parameters (menu 7)
This menu gives access to all parameters used to define the communication protocol and the 2-wire RS485 serial link parameters.
Access level
No.
Description
2
700
Communication mode
2
701
Communication speed
2
702
Parity
2
703
Number of stop bits
2
704
Actual number format reversed
2
705
Slave number
2
706
Control type*
*
If the selected control type is local, the controller data can be accessed in read-only mode by the PLC; with remote selection, the controller data can be accessed in
read and write mode by the PLC.
13.3 - ModBus protocol
■ RS485 2-wire communication support
3-pin connector (J10)
Terminal 1: A or +
Terminal 2: B or –
Terminal 3: 0 V
Line termination resistor: Connected if COM1 is ON
Not connected if COM1 is OFF
External BUS polarisation.
■ Transmission mode
• Series, asynchronous, half duplex, one start bit, eight data bits,
• Parity configured by P702 (none, odd or even)
• Number of stop bits configured by P703 (1 stop bit or 2 stop bits)
• Communication speed configured by P701 (4800, 9600 or 19200)
• Slave no. on the bus configured by P705
■ Protocol
• ModBus (Gould Modicon)
• Compatible: JBUS (Merlin Gerin)
• RTU (GENERAL ELECTRIC protocol)
■ Codes of functions used
• 1 or 2: read n bits
• 3 or 4: Read multiple registers (16 bits) Maximum of 126 registers read
• 5: Write one bit
• 6: Write one register
• 8: Read diagnostic counter
• 11: Read event counter
• 15: Write n bits
• 16: Write multiple registers (16 bits)
■ Analogue value encoding
• Standard 32-bit IEEE format (2 registers).
• The byte order can be reversed with P704 (0:not reversed or 1:reversed)
NOTE: the register numbers correspond to the addresses coded on 16 bits.
■ Register definitions
• Function 3 or 4 is used for reading,
• Function 6 or 16 is used for writing.
Setting
1: MODBUS/JBUS
0: 4800 bauds
1: 9600 bauds
2: 19200 bauds
0: None
1: Even
2: Odd
1 stop bit
2 stop bits
0: No
1: Yes
1 to 255
1: Local
2: Remote
By default
Display condition
1
1
0
1
0
1
1
71