Flintec MCS-64 ModbusOnEthernet User Manual
Page 7
Manual MCS-64: Modbus on Ethernet
Page 7
2.3 Ethernet
Gateway
The Ethernet Gateway is using a 10/100baseT on RJ45 connection (IEEE 802.3u standard).
The Gateway is essentially a server waiting for a node to connect to one of its services.
Application
stacks:
Modbus Application Layer
Setup
Port 502
Port 502
Port 23
MBAP MBAP -
TCP UDP TCP
IP IP IP
802.3 802.3 802.3
System
stacks:
(echo / ping)
(Dynamic IP addr.)
(Address Resolution)
ICMP DHCP -
IP IP ARP
802.3 802.3 802.3
2.3.1 IP
Settings
The IP address is set by connecting a terminal program (e.g. HyperTerm) to the DB9 service port
on the MB 89.1 Base board. After the system is powered up it is possible to communicate with
the Ethernet Gateway Module (EGM). After openening the gateway with command "OP 64" it is
possible to set and/or examine the gateway settings with the address command:
Command
op64
opens serial communication to the gateway
ai 192.168.1.29
sets the gateway’s IP address to “192.168.1.29”
ai
selects a dynamic IP address (DHCP) for the gateway
a
reads current MAC address and IP address of the gateway
Example:
op64
OK
a
mac=00:50:C2:70:50:62
ip= DHCP
2.3.2 The Modbus port
[Port 502, TCP/IP (Modbus) or UDP/IP (Modbus)]
The Modbus is a simple Master-Slave connection; the master asks and the slave answers.
Modbus over TCP or UDP is just another way of transporting Modbus communication. One of the
registers will be used to define a streaming port. When a client connects to this user-defined port
the gateway will scan the backplane and transmit the LDM data on a regular basis.
See Chapter 3 “Ethernet Gateway Profile” below.
2.3.3 The ASCII entry port
[Port 23, TCP/IP (Telnet)]
This entry is for simple setup and diagnostic use. It works as if you were connected to the service
port except it goes through the Ethernet. The HyperTerm program in Windows can access the
gateway in this manner. Refer to LDM 88.1 commands, see chapter 5.