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:
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: