SPLat Logo

Device address

NOTICE: We are updating our website. For product enquiries and orders please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

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.