76
As defined by Modbus, the S200 Position Node product will respond with the value set in
those registers:
UA=xx
FC=3
data length data
CRC
Where:
UA is the unit address echoed back.
FC is the function code echoed back (03)
Data length will be 2 (Data count)
Data will be the 32 bit value of the variable read. Variable type may be Long or
Float.
7.6.2
Writing Variables
To write variables use the Modbus Function ‘Write Multiple Registers’. As found in the
Modbus documents the serial communications model for a variable write is presented as
follows:
UA
FC = 16 Address(16bit) Register count (16bit) Length Data CRC
Where:
UA is the unit address of the drive as set by rotary switches S11 and S12.
FC is the Write Multiple Registers function code (16 decimal = 0x10)
Register Count - Data length will be 2 (Data count)
Data will be the 32 bit value of the variable read. Variable type may be Long or
Float
As defined by Modbus, the S200 Position Node product will respond with the value set in
those registers:
UA FC = 16 Address(16bit) Number of Registers(16bit) CRC
Where:
UA is the unit address echoed back.
FC is the function code echoed back (16d / 0x10).
Address is the address of the registers written echoed back.
Number of registers (written) echoed back - will be 2 (Data count)
Содержание S20630
Страница 6: ......
Страница 15: ...9 3 1 6 E 6 E 6 E 6 E 6 E 6 E 6 E 6 E...
Страница 19: ...13 1 6 11 General 3H 3 3H 5 E 3 3 5J...
Страница 94: ......