82 Remote Command Set
Description RS-485 controller address map query.
Syntax SC?
Remarks This command is used to query the list of all controllers on an RS-485 network.
Response Value Description
Value Integer 32-bit value. Default = 0
Bit# Value Description
0 0 The scan process did not find any address conflicts
0 1 The scan process found at least one address conflicts
1 0 There is no controller with address 1 on the network
1 1 There is a controller with address 1 on the network
31 0 There is no controller with address 31 on the network
31 1 There is a controller with address 31 on the network
Bits 1—31 are one-to-one mapped to controller addresses 1—31. The bit value is set to
1 only when there are no conflicts with that address.
For example,
if the master controller determines that there are unique controllers at
addresses 1,2, and 7 and more than one controller at address 23, this query will return
135. The binary representation of 135 is 10000111. Bit #0 = 1 implies that the scan
found at lease one address conflict during last scan. Bit #1,2, 7 = 1 implies that the scan
found controllers with addresses 1,2, and 7 that do not conflict with any other controller.
Example
SC? (get controller address map)
135 (reply; see above description)
See Also
SA, SC, SD?