EasyManua.ls Logo

Multilin SR469 - Function Code 16 - Store Multiple Setpoints

Multilin SR469
270 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SUPPORTED MODBUS FUNCTIONS 6. COMMUNICATIONS
6-12
6.3.8
FUNCTION CODE 16 - STORE MULTIPLE SETPOINTS
Modbus Implementation: Preset Multiple Registers
SR469 Implementation: Store Multiple Setpoints
This function code allows multiple Setpoints to be stored into the SR469 memory. Modbus "registers" are 16 bit (two byte) values
transmitted high order byte first. Thus all SR469 setpoints are sent as two bytes. The maximum number of Setpoints that can be stored
in one transmission is dependent on the slave device. Modbus allows up to a maximum of 60 holding registers to be stored. The
SR469 response to this function code is to echo the slave address, function code, starting address, the number of Setpoints stored, and
the CRC.
Message Format and Example:
Request slave 11 to store the value 01F4 to Setpoint address 1180 and the value 01DE to setpoint address 1181. After the transmission
in this example is complete, SR469 slave 11 will have the following Setpoints information stored:
Address Data
1180 01F4
1181 01DE
Master Transmission Bytes Example (hex)
SLAVE ADDRESS 1 0B message for slave 11
FUNCTION CODE 1 10 store Setpoints
DATA STARTING ADDRESS 2 11 Setpoint address 1180
80
NUMBER OF SETPOINTS 2 00 2 Setpoints (4 bytes total)
02
BYTE COUNT 1 04 4 bytes of data
DATA 1 2 01 data for address 1180
F4
DATA 2 2 01 data for address 1181
DE
CRC 2 DB CRC calculated by the master
B1
Slave Response
SLAVE ADDRESS 1 0B message from slave 11
FUNCTION CODE 1 10 store Setpoints
DATA STARTING ADDRESS 2 11 Setpoint address 1180
80
NUMBER OF SETPOINTS 2 00 2 setpoints
02
CRC 2 45 CRC calculated by the slave
B6

Table of Contents

Related product manuals