
2.10.19
UNIGATE
®
CX V. 1.4
29
Deutschmann Automation GmbH & Co. KG
Implemented protocols in UNIGATE® CX
7.7.1.3
Example: Write Single Coil FC5
The Fieldbus Master sent the following data to the UNIGATE
®
once:
07 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 20 20 20...
1.
Byte = Fieldbus length byte
The following 7 byte are stored in the UNIGATE
®
, the rest is not overwritten.
With FC1 and the coil length = 80 (10 Bytes) a Modbus Master reads out the following data:
The fieldbus output data is only updated if it’s triggered via a write command from the RS side.
For example via FC 5 :
Address 0002 stays unchanged on 0, however, the fieldbus output data is updated.
After a reset they are NULL (1st row) at first and are then updated (2nd row):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
1F 01 02 03 04 05 06 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...
The 1. byte is the fieldbus length byte. It contains the number of usable characters, followed by
the payload. The user data (internal buffer) is no bigger than1024 byte.
Summary of Contents for UNIGATE CX Series
Page 2: ...Manual Art No V3792E...