RS-485 Addressing
dtucker
Posts: 7
How do you address an individual device on an RS-485 bus? By default, data is broadcast, but I need to target a particular device.
Any help would be greatly appreciated.
Thank,
David
Any help would be greatly appreciated.
Thank,
David
0
Comments
The address will be embedded in the data packet.
Where it?s placed and how the packet is formatted depends on the protocol of the device in question.
Turn display number one on:
SEND_STRING dvDisplay485, 'display1 on'
Turn display number two on:
SEND_STRING dvDisplay485, 'display2 on'
Notice that in each example, you are sending a command to the same device, dvDisplay485, but it is up to the individual display on the bus to listen for a command sent directly to it.
I know what to do, now. Thanks again.