78
BONMET motion GmbH/www.bonmet.com/www.bonmet.de
assembled.
Here is an example of a response to the query on the opposite page:
RESPONSE
Example
Field Name
(Hex)
Function
11
Byte Count
03
Data Hi (Register 40108)
06
Data Lo (Register 40108)
2B
Data Hi (Register 40109)
00
Data Lo (Register 40109)
00
Data Hi (Register 40110)
00
Data Lo (Register 40110)
64
Error Check (CRC)
––
The contents of register 40108 are shown as the two byte values of 02 2B hex, or 555 decimal. The contents of
registers 40109–40110 are 00 00 and 00 64 hex, or 0 and 100 decimal.
■
16 (0x10) Preset Multiple Registers
Description
Presets values into a sequence of holding registers (4X references). When broadcast, the function presets the same
register references in all attached slaves.
Note
The function will override the controller‘s memory protect state. The preset values will remain valid in the
registers until the controller‘s logic next solves the register contents. The register values will remain if they are not
programmed in the controller‘s logic.
Appendix B lists the maximum parameters supported by various controller models.
Query
The query message specifies the register references to be preset. Registers are addressed starting at zero: register 1
is addressed as 0. The requested preset values are specified in the query data field. M84 and 484 controllers use a
10–bit binary value, with the six high order bits set to zeros. All other controllers use 16–bit values. Data is
packed as two bytes per register. Here is an example of a request to preset two registers starting at 40002 to 00 0A
and 01 02 hex, in slave device 17:
QUERY
Example
Field Name
(Hex)
Slave Address
11
Function
10
Starting Address Hi
00
Starting Address Lo
01
No. of Registers Hi
00
No. of Registers Lo
02
Byte Count
04
Data Hi
00
Data Lo
0A
Data Hi
01
Data Lo
02