Ethernet Module
MGC-PRO MicroDrive
TCP/IP Interface
5 TCP/IP
Interface
5.1 Modbus
In addition to operation of the barrier via the web interface,
communication is possible via the ethernet field bus as Modbus
TCP as well.
Port 502 is used for Modbus.
After the connection between the client (master) and server (slave)
is established, the master sends modbus requests to the server.
The result is returned as a modbus response.
The PDU (Protocol Data Unit) defined in the modbus protocol is
independent of the underlying communication layer. The PDU
consists of "Function Code" and "Data". The modbus ADU
(Application Data Unit) consists of MBAP Header and PDU at
modbus TCP.
The "Function Code" of the message determines the modbus
service to be performed. Depending on "Function Code", "Data"
includes additional information.
The MBAP header enables unique identification of the recipient of
a message.
NOTE!
For more information on the modbus
specifications, see reference document "Modbus
Application Protocol Specification", page 6,
chapter 1.3.
5.1.1
Function Codes
MicroDrive ethernet supports the following "Function Codes":
Function
Code
Function
03
04
06
Access via modbus address table
43/13
Expanded parameter access
Table 6: Function Codes
16
5815,0001EN / Version 00