addressable gas detection system - crowconmodbus... · the crowcon hydra addressable gas detection...

13
Issue 2 January 2015 Hydra256 Addressable Gas Detection System Hydra256 Modbus Instructions

Upload: phungtuyen

Post on 26-Jun-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Issue 2 January 2015

Hydra256

Addressable Gas Detection System

Hydra256 Modbus Instructions

Page 2: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Addressable Gas Detection System Manual

Addressable System Manual 1 Issue 2, January 2015

Page 3: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Addressable Gas Detection System Manual

Addressable System Manual 2 Issue 2, January 2015

INTRODUCTION

The Crowcon Hydra Addressable Gas Detection System is designed to monitor toxic and/or flammable gas hazards. The system must be installed and operated in accordance with these instructions. No components of this system are certified for use in a hazardous area.

WARNING

The equipment described in this instruction manual has mains voltages applied to it. Ensure correct safety procedures are adopted before working on the equipment. The equipment described in this manual is designed for detection of flammable and/or toxic gases. Ensure local safety procedures are adopted before carrying out any maintenance or calibration work. The equipment described in this manual may be connected to remote alarms and/or shutdown systems. Ensure that local operating procedures are adopted before carrying out any maintenance or calibration work.

© Crowcon Detection Instruments Ltd 2015

UK Office Crowcon Detection Instruments Ltd 172 Brook Drive, Milton Park, Abingdon Oxfordshire OX14 4SD Tel: +44 (0)1235 557700 Fax :+44 (0)1235 557749 Email: [email protected] Website: www.crowcon.com

USA Office Crowcon Detection Instruments Ltd 1455 Jamike Ave, Suite 100 Erlanger Kentucky 41018 Tel: +1 859 957 1039 or 1 800 527 6926 Fax: +1 859 957 1044 Email: [email protected] Website: www.crowcon.com

Netherlands Office Crowcon Detection Instruments Ltd Vlambloem 129 3068JG Rotterdam Netherlands Tel: +31 10 421 1232 Fax: +31 10 421 0542 Email: [email protected] Website: www.crowcon.com

Singapore Office Crowcon Detection Instruments Ltd Block 194 Pandan Loop ~06-20 Pantech Industrial Complex Singapore 128383 Tel: +65 6745 2936 Fax: +65 6745 0467 Email: [email protected] Website: www.crowcon.com

China Office Crowcon Detection Instruments Ltd (Beijing) Unit 316, Area 1, Tower B, Chuangxin Building 12 Hongda North Road, Beijing Economic Technological Development Area Beijing, China 100176 Tel: +86 10 6787 0335 Fax: +86 10 6787 4879 Email: [email protected] Website: www.crowcon.com

Crowcon reserves the right to change the design or specification of this product without notice.

Page 4: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Addressable Gas Detection System Manual

Addressable System Manual 3 Issue 2, January 2015

Table of contents

1. Log-in ....................................................................................................................................... 4 2. Device Selection ........................................................................................................................ 4 3. Event Log Record Format ................................................................................................... 5 4. Event Acknowledge and Reset ................................................................................................... 6 5. Channel Graphic ........................................................................................................................ 7 6. Sensor Status ............................................................................................................................ 7 7. Compatibility Mode Registers ..................................................................................................... 8 8. Holding Registers ...................................................................................................................... 8

8.1. Detector Status .................................................................................................................. 8 8.2. Detector Configuration........................................................................................................ 9 8.3. Relay Status ..................................................................................................................... 10 8.4. System Status .................................................................................................................. 11

9. Input Registers......................................................................................................................... 11 9.1. Detector Concentration ..................................................................................................... 11

Page 5: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Addressable Gas Detection System Manual

Addressable System Manual 4 Issue 2, January 2015

1. Log-in Every operation that is not a reading or a selection can only be performed after a successful log-in. In order to log-in, a valid password must be written to the holding register at address 800. The user remains log-in until the logout command is performed (write to single coil 1), or the automatic logout time is expired (3 minutes from the last command).

There are 3 levels of privileges:

Operator: Can only acknowledge events

Maintenance: Can acknowledge and reset events, change the Unset/Test status of the devices, and force the activation and de-activation of the relays

Engineer: Everything that Maintenance can do, plus changing the sensors thresholds and relays activation times

2. Device Selection In order to do any operation on a device, it has to be selected first. Once a device has been selected, it remains selected until another device is explicitly selected.

For example, in order to know the bit mask status of a sensor, the following sequence is used to select the sensor:

• Write the RS485 Address to the holding register 0

• Write the Channel Address to the holding register 1

After this sequence the sensor is selected. Now in order to read the bit mask status it is sufficient to read the input register 33.

Now, for example, in order to read the Unset/Test status of the same sensor, it is sufficient to read the input register 30.

The selection affects only its register section, so for example, after selecting a sensor, its input module is NOT selected automatically. In order to operate on the input module of the same sensor, it has to be explicitly selected by the following sequence:

• Write the RS-485 Address to the holding register 200

Note

The Maintenance level has some limitations regarding changing Unset/Test status that are:

• It cannot change the Unset/Test status of a detector in Alarm status

• It cannot apply Test/Maintenance to more than 50% of the system or more than 32 channels

Page 6: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Addressable Gas Detection System Manual

Addressable System Manual 5 Issue 2, January 2015

3. Event Log Record Format Every event log record has the following structure:

• 4 bytes – Event ID • 4 bytes – Event timestamp (in seconds from 1/1/1970) • 32 bytes – Event string • 8 bytes – Value • 4 bytes – Measurement unit string • 1 byte – Cpu generating the event (1 or 2, only for the Galileo MultiSystem) • 1 byte – User generating the event • 1 byte – Event type • 1 byte – Device type generating the event • 1 byte – Zone ID • 1 byte – Module RS485 address

• 1 byte – Channel address • 1 byte – RESERVED (For internal use in the firmware) • 1 byte – Loop number • 3 bytes – Dummy (For aligning the record to multiples of 4 bytes)

For the Hydra256 the device type can have the following values:

• 0x00 – Central unit • 0x01 – RIO Input Module • 0x02 – RIO Output Module • 0x03 – Detector • 0x04 – Relay of a module • 0x05 – Relay of the central unit • 0x06 – Zone • 0x07 – Loop A • 0x08 – Loop B

The event type can have the following values:

• 0x00 – Acknowledge • 0x01 – Reset • 0x02 – Info • 0x03 – Config • 0x04 – Settings • 0x05 – Alarm • 0x06 – Fault • 0x07 – Emergency • 0x08 – Serial Trace

The user generating the event can have the following values:

• 0x00 - System event • 0x01 - 0x20 – User with Operator privileges • 0x21 - 0x30 – User with Maintenance privileges

Page 7: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Addressable Gas Detection System Manual

Addressable System Manual 6 Issue 2, January 2015

• 0x31 - 0x40 – User with Engineer privileges The LOOP is an ASCII character that can have the values:

• '0' - No loop associated • From '1' to '4' - Event generated in one of the 4 open loops

• 'A' or 'B' - Event generated in one of the 2 closed loops

4. Event Acknowledge and Reset In order to know if an event is active it must first be selected.

For example, in order to know the selected sensor fault status, the value 1 has to be written to the holding register 23.

After selecting the event, it can be queried by reading the corresponding input register.

For example, after selecting the sensor fault event, it can be queried by reading the input register 51.

• If the event is inactive there is nothing to do

• If the event is to be acknowledged, it can be acknowledged by writing the value 2 to the holding register corresponding to the event acknowledge status

• If the event is to be reset, it can be reset by writing 0 to the holding register corresponding to the event acknowledge status

Example: in order to acknowledge the sensor fault, the value 2 has to be written to the holding register 6.

After selecting an event, it is also possible to know its details by reading the input registers corresponding to the log record related to the event.

Example: in order to know the details of the sensor fault, the input registers from 52 to 83 are read, and the format of the event is the one described in the Event Log Record Format section of this document.

It is not necessary to continuously poll each event in order to know if there are new active events. For convenience, there is an event counter at the input register 801. It is possible to continuously poll only the event counter, and if its value is the same as the previous reading, there are no new events. If its value is different, then it is necessary to poll each event in order to know what has changed.

Note

An event cannot be reset if it has not first been acknowledged.

Page 8: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Addressable Gas Detection System Manual

Addressable System Manual 7 Issue 2, January 2015

5. Channel Graphic It is possible to reproduce exactly the same concentration graphic for each sensor, as displayed by the central unit.

In order to do so the following procedure has to be applied:

• Read the number of values available by reading the input register 34

• Set a counter from 1 to the number of values available

• Write the counter value to the holding register 3

• Read the concentration value at the input registers 31 and 32

• Increment the counter

• Write 0 to the holding register 3 in order to return reading the instant concentration value at the input registers 31 and 32.

6. Sensor Status In order to optimize the polling of the sensors concentration and status, starting from the Input Register 1000, for every configured sensor there are 3 registers:

OFFSETS 0 and 1: concentration value (from 0 to 100,000, percentage norm. to 1000)

OFFSET 2: Bit mask sensor status

BIT Meaning

13 Different Fault Status Emergency To Be Reset

12 Too Different Values Emergency To Be Reset

11 Alarm To Be Reset

10 Fault To Be Reset

9 Test / Maintenance

8 Unset

7 Normal Working

6 Over Scale

5 Over Range

4 Alarm 3

3 Alarm 2

2 Alarm 1

1 Under Scale

0 Fault

Page 9: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

EXAMPLE: The Central Unit is configured with 3 detectors at RS485 addresses 1, 10 and 55.

In order to read the concentration and status of these 3 detectors the Input registers from 1000 to 1008 are read.

• Registers from 1000 to 1002 contain the concentration and status of the detector with RS485 address 1

• Registers from 1003 to 1005 contain the concentration and status of the detector with RS485 address 10

• Registers from 1006 to 1008 contain the concentration and status of the detector with RS485 address 55

7. Compatibility Mode Registers There are special Input and Holding registers for reading the sensors and the relays status, and for resetting the alarm and fault conditions, provided that the Hydra256 configuration has the following limitations:

• The detectors are either all connected to RIO Input modules, or all connected directly to the loops. There can be no mixing between directly connected detectors and RIO Input modules.

• RIO Input modules must have an RS485 address between 1 and 32

• RIO Output modules must have an RS485 address between 201 and 232

8. Holding Registers

8.1. Detector Status For every channel there is a holding register containing the bit mask status of the detector.

The register address remains the same regardless whether the detector is configured or not.

If the system configuration contains only detectors connected through RIO Input modules, the registers starting address is 2000 (decimal).

Register 2000 contains the status of the first detector of RIO Input with RS485 address

Note

The Input Register at offset 2 has a different bit mask compared to the Input Register at address 33.

The bits 0 and 10 are set not only in case the module reports fault status for the detector, but also when the module cannot be queried and is in Offline status.

Page 10: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Hydra256 Modbus Instructions

9

Register 2001 contains the status of the second detector of RIO Input with

RS485 address 1

Register 2008 contains the status of the first detector of RIO Input with RS485 address 2 and so on.

If the system configuration contains only detectors directly connected to the loop, the registers starting address is 3000 (decimal).

Register 3000 contains the status of the detector with RS485 address 1

Register 3001 contains the status of the detector with RS485 address 2

Register 3008 contains the status of the detector with RS485 address 9 and so on.

The bit mask is as follows:

BIT15: Fault acknowledged but not reset BIT14:

Alarm 1 acknowledged but not reset BIT13:

Alarm 2 acknowledged but not reset BIT12:

Alarm 3 acknowledged but not reset BIT11:

Detector in Alarm 1

BIT10: Detector in Alarm 2

BIT9: Detector in Alarm 3

BIT8: Fault not reset BIT7:

Detector in UNSET

BIT4: Alarm 1 not reset BIT3:

Alarm 2 not reset BIT2:

Alarm 3 not reset

BIT1: Generic fault

BIT0: Configuration status (0 -> detector not configured -- 1 -> detector configured)

Writing the value 1 to these registers acknowledges the eventual Fault or Alarm condition of the detector, while writing the value 2 resets the eventual Fault or Alarm condition.

8.2. Detector Configuration For every channel there is a holding register containing whether the detector is configured and its Set/Unset status.

If the system configuration contains only detectors connected through RIO Input modules, the registers starting address is 2500 (decimal).

Page 11: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Hydra256 Modbus Instructions

10

Register 2500 contains the status of the first detector of RIO Input with RS485 address 1

Register 2501 contains the status of the second detector of RIO Input with RS485 address 1

Register 2508 contains the status of the first detector of RIO Input with RS485 address 2 and so on.

If the system configuration contains only detectors directly connected to the loop, the registers starting address is 3500 (decimal).

Register 3500 contains the status of the detector with RS485 address 1

Register 3501 contains the status of the detector with RS485 address 2

Register 3508 contains the status of the detector with RS485 address 9 and so on.

The registers contain the following values:

0: Detector not configured

1: Detector configured and working

2: Detector configured, but in Unset mode

8.3. Relay Status For every relay there is a holding register containing its bit mask status. Registers 5000 to 5007 refer to the Central Unit internal relays.

Registers from 5008 to 5023 refer to the relays of RIO Output module with

RS485 Address 201

Registers from 5024 to 5039 refer to the relays of RIO Output module with RS485 Address 202 and so on.

The bit mask is as follows:

BIT4: Relay fault acknowledged but not reset

BIT3: Relay fault status (1 --> relay in FAULT)

BIT2: UNSET status (0 -> normal working condition -- 1 -> relay in Unset)

BIT1: Configuration status (0 -> relay configured -- 1 -> relay NOT configured)

BIT0: Relay activation status (0 -> inactive -- 1 -> active)

Writing the value 1 to these registers acknowledges the eventual Fault condition of the relay, while writing the value 2 resets the eventual Fault condition.

Page 12: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Hydra256 Modbus Instructions

11

8.4. System Status Register 7000 contains the system bit mask status. The bit mask is as follows:

BIT13: Buzzer ON

BIT12: AC Failure

BIT11: Battery Low

BIT10: Over-range

BIT9: Alarm 3

BIT8: Alarm 2

BIT7: Alarm 1

BIT6: Underscale

BIT5: Signal Fault

BIT4: System Fault

BIT3: Emergency

BIT2: Unset

BIT1: Test / Maintenance

BIT0: Power ON

Writing the value 1 to this register stops the buzzer (Remote acknowledge).

9. Input Registers

9.1. Detector Concentration For every channel there is an input register containing the detector concentration value.

If the system configuration contains only detectors connected through RIO Input modules, the registers starting address is 2000 (decimal).

Register 2000 contains the concentration of the first detector of RIO Input with RS485 address 1

Register 2001 contains the concentration of the second detector of RIO Input with RS485 address 1

Register 2008 contains the concentration of the first detector of RIO Input with RS485 address 2 and so on.

If the system configuration contains only detectors directly connected to the loop, the registers starting address is 3000 (decimal).

Register 3000 contains the concentration of the detector with RS485 address 1

Page 13: Addressable Gas Detection System - CrowconModbus... · The Crowcon Hydra Addressable Gas Detection System is designed to ... After selecting the ... The Central Unit is configured

Hydra256 Modbus Instructions

12

Register 3001 contains the concentration of the detector with RS485 address 2

Register 3008 contains the concentration of the detector with RS485 address 9 and so on.

The value is a 16 bit integer containing the value in percentage normalized to 100 (10000 means 100% of the full scale value).