Device address
This is a Communication Control Block (CCB) parameter. It occupies byte 1 (counting from 0) in the CCB.
This defines the controller's 8-bit address within the addressing scheme of the selected protocol (assuming the protocol supports addressing).
The controllers address can also be set programmatically by the ComDevAddr
instruction. This allows for example address setting via DIP switches connected to the controller or onboard a custom controller. The most recently set address will prevail, so you should be careful about executing a fresh ComSetCCB
after a ComDevAddr
instruction.
Applies to the following protocols: ModBus RTU slave.