9
Modbus protocol (Modbus/TCP)
Parameter access via Modbus/TCP
Manual – MOVIPRO
®
with EtherNet/IP™ or Modbus/TCP Fieldbus Interface
111
9.4.3 Protocol structure
Write
Request:
Read
Request:
Write
Response:
Read
Response:
Byte Count MOVILINK
®
Parameter Data
MBAP Header Function Code Data
(0x10)
(*)
(1+6+8)
Write Address
(0x200)
Transaction ID Protocol ID
(0x00)
Length
Unit ID
(0x00)
FC
Write Word Count
(0x04) (0x8)
FC
(0x03)
(*)
(0x10)
(*)
Write Word Count
(0)
(0x03)
(*)
Unit ID
Length
Length
Unit ID
Unit ID
(1+6+8)
(1+5)
(0x00)
(0x00)
(0x00)(0x00)
(0x00)
(0x00)
Transaction ID Protocol ID
Transaction ID Protocol ID
Transaction ID
Protocol ID
FC
FC
Write Address
(0x200)
Write Address
(0x200)
Read Address
(0x200)
Read Word Count
(0x04)
Write Word Count
(0x04)
Byte Count
(0x8)
MOVILINK
®
Parameter Data
Length
(1+5)
9007200887841291
Or:
Read Address
(0x200)
Read Address
(0x200)
Read Word Count
(0x04)
Read Word Count
(0x04)
Write Address
(0x200)
Write Word Count
(0x04)
Byte Count
(0x8)
Byte Count
(0x8)
MOVILINK
®
Parameter Data
MOVILINK
®
Parameter Data
Write/Read
Request:
Write/Read
Response:
(*)
(1+6+8)
Transaction ID
Protocol ID
(0x00)
Length
Unit ID
(0x00)
(*)
(1+10+8)
Transaction ID
Protocol ID
(0x00)
Length
Unit ID
(0x00)
(0x17)
FC
(0x17)
FC
9007200887888267
* The "unit identifier" (UI-D) is used in gateway operation to map registers 200
hex
–
203
hex
in lower-level nodes (see chapter Header).
Refer to chapter MOVILINK® parameter channel for a description of the MOVILINK
®
parameter data (8 byte) and how they are mapped in registers 200
hex
–203
hex
.
9.4.4 MOVILINK
®
parameter channel
The following table shows the structure of the MOVILINK
®
non‑cyclical parameter
channel (8 bytes). The structure is described in detail in an example. In the example, a
request is made to write 500 ms to the fieldbus timeout (Index 8606) via the
MOVILINK
®
parameter channel.
Offset Meaning Example
200
hex
Management 32
hex
200
hex
Subindex 00
hex
201
hex
Index high 21
hex
201
hex
Index low 9E
hex
202
hex
MSB data 00
hex
202
hex
Data 00
hex
203
hex
Data 01
hex
203
hex
LSB data F4
hex
16998413/EN – 12/2016