Unigen Plus & Industrial Unigen - User technical documentation
-D page 10/19
2.10. Modbus(for Unigen Plus )
Put the ‘sw8’ (Modbus OFF/120Ω) on ON position (resistor of 120Ω) when the Unigen Plus is used on end of line.
All the logical and analogue input/output values and all the other parameters which appear in the UNIGEN Plus menus
can be obtained by the serial port RS485 terminals 49A and 50B (2 wires). The Unigen Plus is used as a slave.
Support of MODBUS RTU by the UNIGEN Plus is performed in the following parameters:
• Communication speed: 4800, 9600 and 19200 (default: 19200).
• Number of bits by character: 8
• Number of parity bits: 0
• Number of stop bits: 1
• RTU address: 1 to 569B.
• Supported function: 04 (analogue reading) and 03 (registers reading).
• The RTU address of the variables is the same than their number plus 1, converted in hexadecimal.
For example variable E00110 (Mains break input), its RTU address is 006Fh (111). See the
A51Z090030.xls file to know the variable number.
Reading example: Slave N°1, addresses from 001h to 003h included (3 registers)
Request:
Fields Value (hex)
Slave address 01
Function 04
MSB start address 00
LSB start address 01
MSB number of registers 00
LSB number of registers 03
CRC16 --
Response:
Fields Value (hex)
Slave address 01
Function 04
Number of bytes 06 (3 registers * 2 bytes per register)
1st byte (MSB of 1st reg.) xx
2nd byte (LSB of 1st reg.) xx
3rd byte (MSB of 2nd reg.) xx
4th byte (LSB of 2nd reg.) xx
5th byte (MSB of 3rd reg.) xx
6th byte (LSB of 3rd reg.) xx
CRC16 --