30
SM-Ethernet User Guide
Issue: 7
6
Protocols
SM-Ethernet supports a wide range of protocols for communicating over Ethernet, each
protocol has a specific use and it is important to understand how to use each protocol
before designing a system.
6.1
PC/PLC considerations
If the subnet of the host PC/PLC is different to the subnet of SM-Ethernet, then both
SM-Ethernet and the PC/PLC must be configured with the address of a gateway that
allows communication between the two devices.
6.2
Modbus TCP/IP
Modbus TCP/IP is one of the most widely supported industrial Ethernet based protocols
offering the functionality and simplicity of the Modbus protocol, with the flexibility of
Ethernet. Table 6.1 shows the supported Modbus function codes.
The SM-Ethernet implementation of Modbus TCP/IP follows the specification provided
by the Modbus organisation. Modbus TCP/IP uses the standard Protocol Data Unit
(PDU) but without the CRC bytes and encapsulates it within a Modbus TCP/IP
Application Data Unit (ADU) for transmission. This means that the Modbus PDU is the
same for both standard and Ethernet based transmission.
Table 6.1 Supported Modbus function codes
Modbus TCP/IP port
The port number used for Modbus TCP/IP may be reconfigured to a different port
number using Pr
62.04
as detailed in Table 6.2
Table 6.2 SM-Ethernet Modbus TCP/IP configuration
A timer is available under the MODBUS IP configuration section of the web pages to
allow loss of MODBUS communications to be managed (see Chapter 12
on page 103 for more Modbus I/P options).
Code
Description
3
Read multiple 16 bit registers.
6
Write single 16 bit register.
16
Write multiple 16 bit registers.
23
Read and write multiple 16 bit registers.
SM-Ethernet Modbus TCP/IP configuration
Pr
62.04
Default
502
Range
0 to 65535
Access
RW
Unidrive SP versions prior to V01.06.00 with SM-Ethernet versions after V01.01.00 are
not capable of supporting CMP Port-ID 0. This will prevent communications to the drive,
ensure the latest drive and SM-Ethernet firmware are used.
The SM-Ethernet module must request control of the EIA-485 (RS-485) buffer to enable
reliable communication in this mode. This is done by setting Pr
MM.37
to ON.
NOTE
NOTE
Summary of Contents for SM-Ethernet
Page 133: ...0471 0047 07...