Example: Read Input Registers Fc4; Example: Force Single Coil Fc5 - Softing echolink one2PROFINET Instruction Manual

Universal fieldbus gateway
Table of Contents

Advertisement

Implemented protocols in echolink one
Thereby the addressed slave holds the following data in its registers.:
register
address
40000
40001
40002
40003
40004
register = 1 Word = 2 Byte
In the documentation of some applications, an Offset + 1 at the address is assu-
med. The notation for address "40000" 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 echolink one -> 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 StartAdr + 1 „0x03"
Byte 5 = Prozess value (Low) from StartAdr + 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
Note: No. of Points is not required
Another example for when a second request is configured:
33
value(hex)
0x0000
0x0202
0x0303
0x0000
0x0000
Modbus Slave(impact)SPS sends 
Fieldbus data (reason)
echolink one2PROFINET V. 1.0
Softing Industrial Automation GmbH
15.1.15

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the echolink one2PROFINET and is the answer not in the manual?

Table of Contents