Rogue Engineering 1950-251 User Manual

Gateway Modbus Switch
Part No. 1950-251
Be sure to visit our website for additional
products including our full line of Solar Battery Charge
Controllers, Low Voltage Disconnect devices and much more.
Document Rev. 120813
Rogue Engineering Inc. 3860 S. Jason Street Englewood Colorado 80110
1-800-364-0659 (Toll Free) 1-303-734-0706 (Phone) 1-303-734-0517 (Fax) www.rogue-engr.com info@rogue-engr.com or sales@rogue-engr.com
Designed and Manufactured by Rogue Engineering Inc.
in Englewood, Colorado, U.S.A.
Charging Ahead
PORT
FUNCTION
PINS
PIN DESCRIPTION
RS-232 Reception line
RS-232 Transmission line
GND
Ground
LOI RX
Local Operator Interface reception line
COM2
MODBUS Master 2 port
RX
RS-232 Reception line
RS-232 Reception line
TX
RS-232 Transmission line
GND
Ground
A
RS-485 A line
RS-485 A line
RS-485 B line
INTRODUCTION
The Modbus Gateway is a communicaon device that enables up to 3 Modbus masters, two via RS-232 or RS-485 and one via RS-232, to communicate and share a single Modbus slave device via RS-232 or RS-485.
QUICKSTART
1. Connect battery terminal as indicated on Wiring Diagram
2. Connect slave device on COM4 on the appropriate interface
3. Connect master devices on COM1-COM3 on the appropriate interface
SETUP - Wiring
BATT
D-OUT*
COM1
COM3
COM4
*Requires external pull-up resistor
Battery Connector (6-30V)
Digital Output (open collector, optically isolated) Indicates communication errors
MODBUS Master 1 port
(9600bps, 1 start,8 data, No parity,1 stop)
(9600bps, 1 start,8 data, No parity,1 stop)
MODBUS Master 3 port
(9600bps, 1 start,8 data, No parity,1 stop)
MODBUS Slave port
(9600bps, 1 start,8 data, No parity,1 stop)
-
+
-
+
RX
TX
(Do not Use)
LOI TX (Do not Use)
TX
GND
A
B
RX
B
RX
TX
GND
A
B
Negative battery terminal
Positive battery terminal
Negative digital output terminal
Positive digital output terminal
Local Operator Interface transmission line
RS-232 Transmission line
Ground
RS-485 A line
RS-485 B line
RS-485 B line
RS-232 Reception line
RS-232 Transmission line
Ground
ELECTRICAL / ENVIRONMENTAL SPECIFICATIONS
• Input Voltage (Bat+ to Bat-): 6V-30V
• Power Consumption: 85mW typical (7mA at 12V input)
• Ambient Temperature: -40 to 60 °C
• Pluggable Connectors: 12AWG max.
APPENDIX
Esmang Modbus Serial Message Timing
It is crucial to esmate the transmission me for Modbus messages in order to set proper communicaon. For the Modbus Gateway sengs (9600 baud, 1-8-N-1) the transmission me from a master to the Modbus Gateway can be esmated using the following formula:
Time
master-gateway
The transmission time from the Modbus gateway to the device can be estimated using the following formula:
Time
gateway-slave
The total transmission time from master to device can be estimated using the following formula:
Time
master-slave
Time
master-slave
Finally, taking into account there is likelihood that there may be at least two messages buffered from the other two masters, the minimum timeout period should be
Timeout
Also, please note that the Modbus Gateway has incorporated a 4 second meout while waing for a response from the slave device. This meout should be taken into account within the master meout interval. If not taken into account it will result in the loss of messages sent during the 4 second period.
= 10000 x (Character Count) (mS)
9600
= 10000 x (Character Count) (mS)
9600
= 2 x Time
master-gateway
= 40000 x (Character Count) (mS)
> 3 x Time
master
+ 2 x Time
OR
9600
master-slave
gateway-slave
(mS)
(mS)
Rogue Engineering Inc. 3860 S. Jason Street Englewood Colorado 80110
1-800-364-0659 (Toll Free) 1-303-734-0706 (Phone) 1-303-734-0517 (Fax) www.rogue-engr.com info@rogue-engr.com or sales@rogue-engr.com
Charging Ahead
Loading...