Communication
GTW/EN
CT/C40
PACiS Gateway
Page 35/64
4.5
Function 01 / 02: Read Coil Status – Read Input Status
The request function 01 or 02 reads the ON / OFF status of digital inputs in the slave. These
status may be any digital points ( physical, automations, system information, grouping, … ).
These two functions are the only way to read digital points with the MODBUS protocol.
Sequence of events, digital flags ( validity, topical, .. ) are not supported.
This is equal using the Read Coil Status request or the Read Input Status request.
Broadcast is not supported.
Addresses in frames may start from 0…65535.
Query:
Slave
Address
Function
Code
= 01
Starting
Address
(H)
Starting
Address
(L)
No. of
Points (H)
No. of
Points (L)
CRC
(L)
CRC
(H)
The query message specifies the starting coil address and the quantity of coils to be read.
Response:
Slave
Address
Function
Code
= 01
Byte
Count
=
<nbytes>
Data Byte
#1
Data Byte
#i
Data Byte
#nbytes
CRC
(L)
CRC
(H)
The coil or status in the response message is packed as one coil per bit of the data field.
Status is indicated as: 1 = ON, 0 = OFF. The less significant bit of the first data byte contains
the coil addressed in the query. The other coils follow toward the high order end of this byte,
and from 'low order to high order' in subsequent bytes, as described in the frame example.
Important notes:
If the returned coil quantity is not a multiple of eight, the remaining bits in the final byte will be
padded with zeros ( toward the high order end of the byte ). The Byte Count Field specifies
the quantity of complete bytes of data.
For easiest understanding between the gateway and the SCADA, it is recommended to read
a number of points which is a multiple of 8.
If the starting address is not a point in configuration, the message will not be accepted, and
an error exception 2 will be returned.
If the starting address is in configuration and if there is some “holes” ( addresses not in
configuration ) theses holes will be padded with 0 ( i.e value OFF ).
Maximum number of points allowed: 2000
4.6
Function 03 / 04: Read Holding Registers / Input Registers
The request function 03 or 04 reads the values of analogue inputs in the slave. These
registers may be any analogue points (physical, automations, and even counters).
These two functions are the only way to read registers points with the MODBUS protocol.
Flags ( validity, topical, .. ) are not supported in the MODBUS protocol base.
This is equal using the Read Holding Registers request or the Read Input Registers request.
Broadcast is not supported.
Addresses in frames may start from 0…65535.
Summary of Contents for GTW/EN T/C40
Page 1: ...PACiS GTW Gateway GTW EN T C40 Version 4 5 Technical Guide ...
Page 2: ......
Page 4: ...GTW EN T C40 Technical Guide Page 2 2 PACiS GTW gateway BLANK PAGE ...
Page 5: ...Safety Handling GTW EN SA C40 PACiS GTW gateway SAFETY HANDLING ...
Page 6: ......
Page 8: ...GTW EN SA C40 Safety Handling Page 2 8 PACiS GTW gateway BLANK PAGE ...
Page 14: ...GTW EN SA C40 Safety Handling Page 8 8 PACiS GTW gateway BLANK PAGE ...
Page 15: ...Technical Data GTW EN TD C40 PACiS GTW gateway TECHNICAL DATA ...
Page 16: ......
Page 31: ...Introduction GTW EN IT C40 PACiS GTW Gateway INTRODUCTION ...
Page 32: ......
Page 34: ...GTW EN IT C40 Introduction Page 2 8 PACiS GTW Gateway BLANK PAGE ...
Page 40: ...GTW EN IT C40 Introduction Page 8 8 PACiS GTW Gateway BLANK PAGE ...
Page 41: ...Hardware Description GTW EN HW C40 PACiS GTW gateway HARDWARE DESCRIPTION ...
Page 42: ......
Page 44: ...GTW EN HW C40 Hardware Description Page 2 8 PACiS GTW gateway BLANK PAGE ...
Page 51: ...Connection GTW EN CO C40 PACiS Gateway CONNECTION ...
Page 52: ......
Page 54: ...GTW EN CO C40 Connection Page 2 8 PACiS Gateway BLANK PAGE ...
Page 60: ...GTW EN CO C40 Connection Page 8 8 PACiS Gateway BLANK PAGE ...
Page 61: ...Installation GTW EN IN C40 PACiS Gateway INSTALLATION ...
Page 62: ......
Page 64: ...GTW EN IN C40 Installation Page 2 30 PACiS Gateway BLANK PAGE ...
Page 82: ...GTW EN IN C40 Installation Page 20 30 PACiS Gateway Don t forget to click on the Apply button ...
Page 93: ...Human Interface GTW EN HI C40 PACiS GTW gateway HUMAN INTERFACE ...
Page 94: ......
Page 96: ...GTW EN HI C40 Human Interface Page 2 12 PACiS GTW gateway BLANK PAGE ...
Page 106: ...GTW EN HI C40 Human Interface Page 12 12 PACiS GTW gateway BLANK PAGE ...
Page 107: ...Communication GTW EN CT C40 PACiS Gateway COMMUNICATION ...
Page 108: ......
Page 172: ...GTW EN CT C40 Communication Page 64 64 PACiS Gateway BLANK PAGE ...
Page 173: ...Commissioning GTW EN CM C40 PACiS GTW gateway COMMISSIONING ...
Page 174: ......
Page 176: ...GTW EN CM C40 Commissioning Page 2 4 PACiS GTW gateway BLANK PAGE ...
Page 179: ...Record Sheet GTW EN RS C40 PACiS GTW gateway RECORD SHEET ...
Page 180: ......
Page 182: ...GTW EN RS C40 Record Sheet Page 2 6 PACiS GTW gateway BLANK PAGE ...
Page 187: ...Maintenance GTW EN MF C40 PACiS GTW gateway MAINTENANCE ...
Page 188: ......
Page 192: ...GTW EN MF C40 Maintenance Page 4 68 PACiS GTW gateway BLANK PAGE ...
Page 256: ...GTW EN MF C40 Maintenance Page 68 68 PACiS GTW gateway BLANK PAGE ...
Page 257: ...Problem Analysis GTW EN PR C40 PACiS GTW gateway PROBLEM ANALYSIS ...
Page 258: ......
Page 260: ...GTW EN PR C40 Problem Analysis Page 2 4 PACiS GTW gateway BLANK PAGE ...
Page 263: ...Functional Description GTW EN FT C40 PACiS Gateway FUNCTIONAL DESCRIPTION ...
Page 264: ......
Page 266: ...GTW EN FT C40 Functional Description Page 2 12 PACiS GTW gateway BLANK PAGE ...
Page 276: ...GTW EN FT C40 Functional Description Page 12 12 PACiS GTW gateway BLANK PAGE ...
Page 277: ...Logical Diagram GTW EN LG C40 PACiS GTW gateway LOGICAL DIAGRAM ...
Page 278: ......
Page 280: ...GTW EN LG C40 Logical Diagram Page 2 6 PACiS GTW gateway BLANK PAGE ...
Page 284: ...GTW EN LG C40 Logical Diagram Page 6 6 PACiS GTW gateway BLANK PAGE ...
Page 285: ...Glossary GTW EN LX C40 PACiS GTW gateway GLOSSARY ...
Page 286: ......
Page 287: ...Glossary GTW EN LX C40 PACiS GTW gateway Page 1 10 CONTENT 1 INTRODUCTION 3 2 LEXICAL 4 ...
Page 288: ...GTW EN LX C40 Glossary Page 2 10 PACiS GTW gateway BLANK PAGE ...
Page 297: ......