Implemented protocols in UNIGATE® MB
Deutschmann Automation GmbH & Co. KG
34
UNIGATE
®
fieldbus gateway UNIGATE
®
MB - EtherCAT
®
V. 1.4
17.7.17
Thereby the addressed slave holds the following data in its registers.:
register
address
value(hex)
40000
0x0000
40001
0x0202
40002
0x0303
40003
0x0000
40004
0x0000
register = 1 Word = 2 Byte
In the documentation of some applications, an 1 at the address is assu-
med. The notation for address "
4
0000" stands for "holding register". But in acuta-
lity address 0x0000 is meant by it. This is not uniform in the Modbus-Slave
documentations. (E.g. the PC simulation tool "ModSim32" has this offset).
If a valid response is received, the four byte (No. Of Points = 2) process value (Modbus-Data) will
be copied to the fieldbus from "Fieldbus Map Adr(Byte)" = 0 on.
Fieldbus data from UNIGATE
®
-> SPS:
51 13 02 02 03 03 30 04 01 00 01 00 00 00 02 57 00 01 03 00 00 00 00 00 00 00 ...
Byte 0 = Trigger-Byte „0x51“
Byte 1 = Fieldbus length byte „0x13“
Byte 2 = Process value (High) from StartAdr „0x02“
Byte 3 = Process value (Low) from StartAdr „0x02“
Byte 4 = Process value (High) from St 1 „0x03“
Byte 5 = Prozess value (Low) from St 1 „0x03“
8.8.3.4
Example: Read input registers FC4
(see chapter 8.8.3.3, Example: Read multiple register FC3)
8.8.3.5
Example: Force single coil FC5
At FC5 a bit is set in the Modbus slave, if the mapped fieldbus byte is bigger (>) than NULL.
Configuration
Modbus Slave(impact)SPS sends
Fieldbus data (reason)
Note:
No. of Points is not required
Another example for when a second request is configured:
Содержание UNIGATE MB EtherCAT
Страница 2: ...Manual Art No V4044E ...
Страница 59: ...17 7 17 UNIGATE fieldbus gateway UNIGATE MB EtherCAT V 1 4 59 Deutschmann Automation GmbH Co KG Annex ...
Страница 60: ......