
78
MessengerBLE
User Guide
9.21
PEER Poll Configuration – Type 28
The Messenger can be configured to work in a peer to peer mode with another
Messenger. This mode of operation allows a peer to share data directly with another
peer. For this to work, all radios in the peer to peer network must be CDMA modems
with static IPs. Data is exchanged by a client peer (local) polling a server peer (remote).
The protocol used between peers is Modbus RTU. The source of the data (in the
remote peer) can be any valid channel, the destination (in the local peer) is a Modbus
channel. Analog values are read as a floating point and digital values are read as bits.
To configure a Modbus channel in the local peer, set the following configuration
parameters in a Modbus channel:
1
Set the slave ID to match one of the predefined peer IDs, 240 to 255. This ID
corresponds to one of the 16 possible peer configurations, i.e. 240 references
Peer 1, 241 references Peer 2, etc.
2
If reading an analog value, set the Function Code to READ FLOAT. If reading a
digital value, set the Function Code to READ COIL.
3
Set the Register Number to the channel number in the remote peer.
Parameters for Peer Poll Configuration
Parameter
Code
Reference
Description
Default
1
Name
A name used to reference the server
(remote) peer.
“Peer”
ASCII Text
15 characters max
2
reserved
3
Poll Interval
Interval the local peer polls the remote
peer.
0
Range 0 to 1440 minutes
0 = disables polling
4
Peer Port
Number
Port the remote peer is listening on for
incoming requests.
502
Range 0 - 65535
5
Peer IP
Static IP of remote peer
Null
15 characters max – xxx.xxx.xxx.xxx
(entered in dotted decimal format only)