
Reference MVI69E-MBS ♦ CompactLogix Platform
User Manual Communication Module
Page 124 of 162 ProSoft Technology, Inc.
January 6, 2014
7.2.10 Preset Multiple Registers (Function Code 16)
Query
This Function Code allows you to modify the contents of a Modbus 4x range in
the slave. This writes up to 125 registers at time. Since the controller is actively
scanning, it also can alter the content of any holding register at any time.
Note: Function codes 5, 6, 15, and 16 are the only messages that are recognized as valid for
broadcast.
The example below is a request to write 2 registers starting at register 40002 in
slave 11.
Error
Check
Field (2
bytes)
Response
The normal response to a function 16 query is to echo the address, function
code, starting address and number of registers to be loaded.
Error Check
Field (2
bytes)
Kommentare zu diesen Handbüchern