Download SM-Ethernet User Guide

Transcript
12.4.10SM-Ethernet user allocated address
SM-Ethernet - user allocated address
Pr MM.03
Default
0
Range
0 to 65535
Access
RW
This is used as a way to identify the node on the network independently of the IP
address.
12.4.11SM-Ethernet connection filtering
SM-Ethernet - Connection filtering
Pr MM.39
Default
0 (disabled)
Range
0 or 1
Access
RW
When set to a 1 the connection filter list will be enabled. If you make a mistake
configuring the connection filtering and cannot connect to the module, setting this
parameter to 0 will allow communication to be restored.
12.5
Modbus TCP/IP (CT implementation)
Modbus TCP/IP is one of the most widely supported Industrial Ethernet based protocols
offering the functionality and simplicity of the Modbus protocol, combined with the
flexibility of Ethernet. The SM-Ethernet implementation of Modbus TCP/IP uses a
subset of the standard protocol provided by the Modbus organisation.
Modbus TCP/IP is an application layer protocol for communication between automation
devices utilising an Ethernet network connection. It is a client-server protocol where the
client sends a request and waits for the server to respond.
NOTE
The default port for Modbus TCP/IP communication is 502, but this may be
reconfigured using Pr 63.01 on SM-Ethernet.
12.5.1 Data structure
Communication between devices is based upon Application Data Units (ADUs) as
shown in Figure 12-1. The ADU consists of two parts, the Modbus Application Protocol
(MBAP) (Table 12.1) and the Protocol Data Units (see Table 12.2). Modbus TCP/IP
extends the standard PDU to include an IP specific 7-byte header called the Modbus
Application Protocol (MBAP).
Figure 12-1 ADU
MBAP
PDU
ADU (TCP/IP)
NOTE
It is important that when you implement the Modbus TCP ADU as shown in Figure 12-1,
you include the MBAP as well as the PDU.
NOTE
The rest of this section does not repeat the MBAP header for each function code for
reasons of clarity.
108
www.controltechniques.com
SM-Ethernet User Guide
Issue: 6