Deutschmann Automation GmbH & Co. KG Implemented protocols with Universal Script - protocols application
®
UNIGATE
sends response via RS232/485:
[01] [02] [0a] [02] [03] [04] [05] [06] [07] [08] [00] [00] [00] [8f] [7a]
11.5.1.2 Example: FC3 (Read Holding Register) + FC4 (Read Input Register)
Fieldbus sends to the UNIGATE
00 30 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...
(The configuration is "Data exchange = On Trigger", with an additonal 1. control byte in the field-
bus data.)
„Fieldbus length byte = active", in this example 30h (48d), the UNIGATE
Byte from the fieldbus into the internal storage.
Connected Modbus Master sends request to the RS232/484 side of the UNIGATE
[01] [03] [00] [00] [00] [14] [45] [c5]
®
UNIGATE
sends response via RS232/485:
[01] [03] [28] [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]
Display of the process data in the Modbus Master:
Functionality FC3 and FC4 in Protocol „Universal Modbus (RTU/ASCII) Slave:
From „Universalscript Deutschmann" V1.5.1:
•
FC3 (0x03): Read Holding Registers accesses Puffer Data To SPS.
•
FC4 (0x04): Read Input Registers accesses Puffer Data From SPS.
11.5.1.3 Example: Write Single Coil FC5
The Fieldbus Master sent the following data to the UNIGATE
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
23.2.22
®
UNIGATE fieldbus gateway UNIGATE
®
once:
®
, the rest is not overwritten.
®
CL - CANopen
®
copies the following 48
®
®
V. 3.7
33
Need help?
Do you have a question about the UNIGATE CL-CANopen and is the answer not in the manual?