SM-Applications Modules & Motion Processors User Guide 73
Issue Number: 4
Safety
Information
Introduction Installation
Getting
Started
Parameters
DPL
Programming
Communications
Freeze and
Marker
CTSync
IInter-option
Synchronization
Diagnostics
Migration
Guide
Quick
Reference
Index
6.1.2.2 FC06 Preset single register
Writes a value to a single 16bit register. The normal response is an echo of the request,
returned after the register contents have been written. The register address can
correspond to a 32bit parameter but only 16bits of data can be sent.
The following tables show the message constructs for Modbus RTU Function Code 06.
6.1.2.3 FC16 Preset multiple registers
Writes a contiguous array of registers. The slave imposes an upper limit on the number
of registers which can be written. If this is exceeded the slave will discard the request
and the master will timeout.
The following tables show the message constructs for Modbus RTU Function Code 16.
Table 6-6 Slave response
Byte Description
0 Slave source node address
1 Function code 0x03
2 Length of register data in read block (in bytes)
3 Register data 0 MSB
4 Register data 0 LSB
3 + byte count CRC LSB
4 + byte count CRC MSB
Table 6-7 Master request
Byte Description
0
Slave destination node address 1 through 247, 0 is
broadcast
1 Function code 0x06
2 Register address MSB
3 Register address LSB
4 Register data MSB
5 Register data LSB
6 CRC LSB
7 CRC MSB
Table 6-8 Slave response
Byte Description
0 Slave source node address
1 Function code 0x06
2 Register address MSB
3 Register address LSB
4 Register data MSB
5 Register data LSB
6 CRC LSB
7 CRC MSB