![Deif SGC 120 Скачать руководство пользователя страница 48](http://html1.mh-extra.com/html/deif/sgc-120/sgc-120_user-manual_2465265048.webp)
10. Modbus communication settings
10.1 Modbus communication settings
RS-485 communication settings
•
Slave ID: 1 to 247
•
Baud rate: 1200/2400/4800/9600/19200/38400/57600/115200 bps
•
Parity: None/Even/Odd
•
Stop bit: 1, 2
•
Recommended polling frequency: 50 Hz
•
No response timeout: 250 ms
Command from Modbus master for Function 16
Byte
Field
Remarks
0
Slave address
As configured in the controller.
1
Function code (0x10)
2
First register address - high byte
16-bit register address, register address map is
described in the Register map.
3
First register address - low byte
4
Number of registers to write - high byte
Number of registers to write must be between 1 to 255
5
Number of registers to write - low byte
6
Number of data bytes to follow (n)
7
Value at first register
...
...
6+n
Value at last register
7+n/8+n
Error check CRC
Normal response from SGC 120/121 slave for Function 16
Byte
Field
Remarks
0
Slave address
As configured in the controller.
1
Function code (0x10)
2
First register address - high byte
16-bit register address, register address map is
described in the Register map.
3
First register address - low byte
4
Number of registers written - high byte
Number of registers that have been written.
5
Number of registers written - low byte
6/7
Error check CRC
Command from Modbus master for Function 3
Byte
Field
Remarks
0
Slave address
As configured in the controller.
1
Function code (0x3)
2
First register address - high byte
16-bit register address, register address map is
described in the Register map.
3
First register address - low byte
USER MANUAL 4189341226A UK
Page 48 of 72