Knowledge Base

Set the controller’s MODBUS slave device address on serial port at address pp to the value in X, overriding the address set in the current CCB for that serial port. This allows runtime address setting without having to write NVEM. Pops X.

This differs from the same instruction without the leading ‘a’ in that it explicitly nominates a serial port address (pp) rather than the default serial port.

Note: This instruction will override the device address established in a previously executed aComSetCCB. However, a subsequent aComSetCCB will in turn prevail. Normally you would therefore execute the required aComSetCCB and then do the aComDevAddr.

Dialect exclusions: Not available in dialects before 29

Can only exist on boards that have an uncommitted serial port other than the programming port.