Modbus Card Detailed Draw
Modbus Card Detailed Draw
REGARD
Modbus Card
CONTENTS
1 INTRODUCTION ....................................................................................................... 3
1.1 Description ................................................................................................. 3
1.2 Modbus communications ............................................................................ 3
1.3 Configuration and passwords ...................................................................... 3
Changes in issue 4
• Connection diagrams for RS-232, RS-422 and RS-485 interfaces revised.
Changes in issue 5
New feature introduced in version 2.0 of the Regard Modbus card software:
• Modbus function 06 allows alarms on Regard system to be acknowledged or reset
through the Regard Modbus card.
®
Modbus is a registered trademark of AEG Schneider Automation.
REGARD Modbus Card 3
1 INTRODUCTION
1.1 Description
The Regard Modbus card is a Modbus RTU interface for Regard systems, allowing
Regard channel card alarm and gas level information to be accessed by any system with
a Modbus interface. Connection to the Regard Modbus card is via an RS-232, RS-422 or
RS-485 interface.
The Modbus card operates in conjunction with a Regard master card. The master card
communicates with each channel card, regularly requesting alarm and gas level
information. The Modbus card listens to this information and maintains a table of alarm
and gas level information for each channel card.
Gas level and alarm information for all Regard channel cards on the same RS-485 bus
as the Modbus card will be available, provided that each channel card is correctly
configured and communicating with the Regard master card.
The Regard Modbus card acts as a Modbus slave, supporting a subset of the Modbus
protocol sufficient to provide Regard alarm and gas level information. The Regard
Modbus card supports RTU transmission mode only.
Note that Regard master and slave cards are not the same as Modbus masters and
slaves; only the Regard Modbus card understands the Modbus protocol.
The password for configuration level is factory set as “CCCC”. No password is needed
for access to read level.
4 REGARD Modbus Card
LED display
The display shows “_ _ _ _” or “GATE” when the card is in normal operation. At other
times it may display error messages and is used during card configuration.
Power LED The Power LED remains steadily lit when the dc supply to the card is on and the card is
operating normally. A flashing Power LED indicates an operational fault on the card.
(See Appendix A.)
Inhibit LED The Inhibit LED lights when the card is put into command mode. Unlike Regard channel
cards, command mode does not inhibit any function of the Modbus card. There is no
automatic time-out from command mode.
R (Reset) The Reset button is used to enter command mode and choose commands and
configuration options while in command mode.
ñ and ò The ñ and ò push buttons are used in command mode to select commands and
configuration settings. When the card is not in command mode these push buttons have
no function.
REGARD Modbus Card 5
If more than one Modbus card is to be connected to a Modbus master use RS-422 or
RS-485. The RS-485 interface can only be used if the Modbus master correctly controls
handshaking, otherwise use RS-422.
Connections between the Regard Modbus card and a Modbus master for each interface
are shown in Appendix C.
1
2 NO CONNECTION
3
4
5 NO CONNECTION
6
7
8 NO CONNECTION
9
Tx 10
Rx 11 RS232 Rx/Tx
Gnd 12
Rx B 13
RS422/485 Rx
Rx A 14
Tx B 15
RS422/485 Tx
Tx A 16
The Modbus card has no measuring head input, remote reset input, analogue output or
relays.
4 SYSTEM CONFIGURATION
4.1 Configure Regard master card and channel cards
For correct operation of the Modbus card, the Regard master card and channel cards
must be correctly configured.
Ensure that the Modbus card is successfully receiving and responding to requests from
the Modbus master. Use command 14–8 to confirm that the count of successful requests
increments regularly as the Modbus master operates. If the count remains at zero,
ensure that the Modbus master and Modbus card are configured to the correct
communications format. Check that the Modbus master is attempting communications
with the correct Modbus slave number. Check that the switch on the Modbus card is set
correctly.
5 COMMANDS REFERENCE
Commands that are only available in software version 1.8 or 1.9 are identified by the
software version after the command. All commands are available in v1.7.
If an invalid password is entered, the card will remain at read level. Press Reset again to
enter another password.
If there are no new configuration settings to save, the display will show NO! at step 2.
Pressing ñ or ò will have no effect. Press Reset to return to 00–2.
The new password becomes effective immediately but only becomes permanent when
you save the new settings using command 00–2.
REGARD Modbus Card 9
The Modbus card only uses the Power and Inhibit LEDs: the other LEDs are always unlit.
Normally, an attempt by the Modbus master to request bit data for a Regard channel
which is not present will return exception code 04. If the Modbus master cannot be
configured to request bits only for those Regard channel cards which are present (some
Modbus masters can only make bit requests in multiples of 8 or 16, for example), then
exceptions can be suppressed. The Modbus card will then reply with data even if the
channel card is not present. The data returned for non-existent channels will be invalid.
Normally, an attempt by the Modbus master to request register data for a Regard
channel which is not present will return exception code 04. Suppressing exception code
04 for this function forces the Modbus card to reply with data even if the channel card is
not present. The data returned for non-existent channels will be invalid.
Operational faults are latching and non-acknowledgeable. Press Reset to clear the fault
indication once the fault itself has cleared; if pressing Reset does not clear the fault
indication then the fault is still present.
Operational faults on the Modbus card are not classed as advisory or critical.
APPENDIX B: SPECIFICATIONS
Operating conditions
Operating ranges
Supply voltage 18 – 30V DC, unregulated
Temperature 0 – 50°C
Humidity 0 – 90% RH, non-condensing
Vibration To BS 2011 Part 2.1Fc
Current consumption
Typical 125mA
Maximum 200mA
Weight 200g
Backplane terminals
1
2 NO CONNECTION
3
4
5 NO CONNECTION
6
7
8 NO CONNECTION
9
Tx 10
Rx 11 RS232 Rx/Tx
Gnd 12
Rx B 13
RS422/485 Rx
Rx A 14
Tx B 15
RS422/485 Tx
Tx A 16
REGARD Modbus Card 13
PC (9-way)
Tx 10 2 RxD
Rx 11 3 TxD
GND 12 5 GND
7 RTS
8 CTS
PC (25-way)
Tx 10 3 RxD
Rx 11 2 TxD
GND 12 7 GND
4 RTS
5 CTS
RS-422 connection
Note. Pin numbers for Modbus master not shown: refer to Modbus master instructions.
Modbus master
GND 12 GND
Rx B 13 Tx B
Rx A 14 Tx A
Tx B 15 Rx B
Tx A 16 Rx A
RS-485 connection
Note. Pin numbers for Modbus master not shown: refer to Modbus master instructions.
Modbus master
GND 12 GND
Rx B 13 B
Rx A 14 A
Tx B 15
Tx A 16
14 REGARD Modbus Card
Each channel card alarm (A1, A2, A3 and Fault) has three status bits:
• TRIPPED – indicates alarm trip status (1 = tripped);
• ACTIVE – indicates relay alarm state (1 = relay in alarm state);
(If a relay is disabled, the ACTIVE bit reflects the state of the relay if it were not
disabled.)
• UN-ACKNOWLEDGED – indicates whether an alarm has been acknowledged (1 = un-
acknowledged).
Digital addresses
10001-10099 A1 TRIPPED status for channels 01-99
10101-10199 A1 ACTIVE status for channels 01-99
10201-10299 A1 UN-ACKNOWLEDGED status for channels 01-99
10301-10399 A2 TRIPPED status for channels 01-99
10401-10499 A2 ACTIVE status for channels 01-99
10501-10599 A2 UN-ACKNOWLEDGED status for channels 01-99
10601-10699 A3 TRIPPED status for channels 01-99
10701-10799 A3 ACTIVE status for channels 01-99
10801-10899 A3 UN-ACKNOWLEDGED status for channels 01-99
10901-10999 Fault alarm TRIPPED status for channels 01-99
11001-11099 Fault alarm ACTIVE status for channels 01-99
11101-11199 Fault alarm UN-ACKNOWLEDGED status for channels 01-99
11201-11299 INHIBIT status for channels 01-99
11301-11399 HCAL status for channels 01-99
11401-11499 CRITICAL FAULT status for channels 01-99
Attempting to read a digital with an address greater than 11499 will result in Modbus
exception code 02 (illegal data address).
Reading a digital with addresses 10100, 10200 etc. will always return 0.
Modbus exception code 04 (slave device failure) is returned if the data from any channel
has not been updated for more than 40 seconds. Command 52–2 can be used to prevent
exception code 04 being returned by this function.
Register addresses
30001–30099 Gas level word for channels 01–99
31001–31099 Alarms status word for channels 01–99
The gas level word takes a value in the range –32768 to +32767. This corresponds to
the gas level on the channel card display, ignoring any decimal point. (For example, for
a display of 20.9, the word value will be 209.) Normally the value will be between –20%
and +100% of the gas range. If the gas level display on the channel card is at or above
full scale, the word value will be +32767. If unsigned gas levels have been selected the
range is 0 to +32767. Negative gas levels are set to 0.
The alarm status word contains the alarm and channel status bits:
Bit
0 A1 UN-ACKNOWLEDGED status
1 A1 ACTIVE status
2 A1 TRIPPED status
3 CRITICAL FAULT Status
4 A2 UN-ACKNOWLEDGED status
5 A2 ACTIVE status
6 A2 TRIPPED status
7 HCAL status
8 A3 UN-ACKNOWLEDGED status
9 A3 ACTIVE status
10 A3 TRIPPED status
11 INHIBIT status
Modbus exception code 04 (slave device failure) is returned for reads to addresses
30001 to 30099 if the data from any channel has not been updated for more than 40
seconds. Command 52–3 can be used to suppress exception code 04 for this function.
For reads to addresses 31001 to 31099, exception code 04 is not returned, but bit 15 is
set to 1 if the data from any channel has not been updated for more than 40 seconds.
16 REGARD Modbus Card
Writing “1” to register address 40100 will send a alarm accept message on the Regard
RS-485 bus. This is equivalent to pressing R on the Regard Master card.
This function is only available in Regard Modbus card software version 2.0.
Writing to register addresses other than 40100 will generate exception code 02. Writing
a data value other than 1 to register 40100 will generate exception code 03.
Caution! If another “external” device (e.g. a PC) transmits on the Regard RS-485 bus when this
function is used, data collisions may occur on the RS-485 bus, causing both the alarm
acknowledge and the other devices action to fail.
Other functions
Attempts to use Modbus functions 01, 03, 05 or 07 will give Modbus exception code 01
(illegal function). Attempts to use any other Modbus function will give no response.
REGARD Modbus Card 17
http://www.draeger.com
For use with Modbus card software versions 1.7, 1.8, 1.9 & 2.0