PosConCM.get_address

PosConCM.get_address()[source]

Gets the address of the RS-485 sensors currently connected to the bus. This command is only really useful when this class is initialized with the broadcast address, with the purpose of retrieving the address of a sensor connected.

Returns

int – Address of the PosConCM sensor connected to the RS-485 bus.

Note

Only one PosConCM sensor can be connected to the bus for this operation to succeed.