Page
8
of
32
©
2019 Radiocrafts AS
RC232 User Manual (ver 2.01)
RC232 USER MANUAL
2.5 Network Topology and Addressing Modes
The RC232 devices from Radiocraft supports both point to point (addressed) and point to multipoint (broadcast)
communication. The configuration parameters used for this are:
SYSTEM_ID (SID)
All the nodes in one system should have the same SYSTEM_ID.
If ADDRESS_MODE = 0x02, SID is 1 byte and SID1 is used.
If ADDRESS_MODE = 0x08, SID is 4 byte and SID[4:1] is used.
UNIQUE_ID (UID)
Each device within a system
must have it’s own UID.
If ADDRESS_MODE = 0x02, UID is 1 byte and UID1 is used.
If ADDRESS_MODE = 0x08, UID is 4 byte and UID[4:1] is used.
DESTINATION_ID (DID)
This is the Unique ID (UID) of the module you want to transfer to. Set to
0xFF if you want to broadcast to all nodes within the system.
If ADDRESS_MODE = 0x02, DID is 1 byte and DID1 is used.
If ADDRESS_MODE = 0x08, DID is 4 byte and DID[4:1] is used.
BROADCAST_ID (BID)
This is default set to 255 (0xFF). All devices within a broadcast group
must have the same BID.
ADDRESS_MODE
The ADDRESS_MODE parameter controls how the system uses the SID,
UID, DID and BID to control the communcation:
ADDRESS_MODE = 0x00 means addressing is off. All modules that
«hear» the message will output it.
ADDRESS_MODE = 0x02 means 1 byte addressing. Only receivers that
have SID and UID (or SID + BID) matching the DID in the transferred
message will output it.
ADDRESS_MODE = 0x08 means 4 byte addressing. Otherwise similar to
ADDRESS_MODE = 0x02.
For addressing to work properly make sure:
•
All nodes have addressing enabled (ADDRESS_MODE)
•
All nodes within the system have the same SYSTEM_ID
•
All nodes within the system have the same BROADCAST_ID
•
Each node within the system has one unique UNIQUE_ID
Point to point
To send a packet to a specific node, set the destination address to the specific node
’s UNIQUE_ID.