Protocol Communication Type - Mitsubishi Electric FX5 User Manual

Melsec iq-f series, ethernet communication
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

The following data is not written as the protocol setting data so it will not be displayed even when read.
However, when the protocol is selected from the predefined protocol library, the following can be displayed.
• Manufacturer
• Packet name
• Type, version, and explanation in the protocol detailed setting
• Element name in packet settings
When the predefined protocol settings are written into multiple target memories, the following operation will take place.
When written into both the CPU built-in memory and SD memory card:
Operation follows settings in "Memory Card Parameter".
The predefined protocol settings written in the SD memory card can be transferred to the CPU built-in memory by using boot
operation.
For details on boot operation, refer to the following.
MELSEC iQ-F FX5 User's Manual (Application)
Module parameter setting procedure
Set "External Device Configuration" under "Basic Settings".
Page 58 Parameter settings
1.
Select the external device to be connected in "Module List" and drag it to "List of devices" or "Device map area".
External device name
Description
UDP Connection Module
Select to communicate with the external device using UDP/IP
Active Connection Module
Select to perform the open processing to the external device from the CPU module (Active open) and communicate using
TCP/IP.
Unpassive Connection Module
Select to receive the open processing from a unspecified external device (Unpassive open) and communicate using TCP/IP.
Fullpassive Connection Module
Select to receive the open processing from the specified external device (Fullpassive open) and communicate using TCP/IP.
2.
Set "Communication Procedure" for the external device to "Predefined Protocol".
3.
Set the other parameters required for communication in the connection.
Applicable dedicated instructions
The dedicated instruction "SP.ECPRTCL" is used in the communication protocol support function (built-in Ethernet).
6.2

Protocol Communication Type

The packets sent to the external device when a processing is executed and the external device's receive packets are
registered in the protocol.
The packet elements set with the predefined protocol support function are the data section of the packets that are actually
sent and received.
This section describes an example of the packet configuration.
For TCP/IP
Header
Destination
Sender's MAC
Type:
MAC address:
address:
2 bytes
6 bytes
6 bytes
Ethernet header
IP:
TCP:
20 bytes
20 bytes
TCP/IP header
Maximum data length: 2046 bytes
Data
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
6.2 Protocol Communication Type
6
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents