9 troubleshooting – Yaskawa MP920 Communications Module User Manual
Page 191

7.9 Troubleshooting
7-45
7
7.9
Troubleshooting
This section explains how to deal with problems that may occur with 218IF communications.
Problems and Action to be Taken
Problem
Action
1
Bind ( ) is not specified for the 
TCP protocol. The connection 
cannot be established from the 
personal computer. 
Set zeroes for the DST. IP Address and the DST. Port in the 
CP-218 Connection Parameter Window. Ensure that bind ( ) 
is performed by the application on the personal computer.
2
You wish to communicate in 
ASCII mode, but the data has 
not been sent to the Machine 
Controller.
The ASCII codes that can be handled by the 218IF Module 
are in the data range of 30H to 39H and 41H to 46H. There-
fore, even if spaces (20H), CR (0DH), and other unsupported 
codes are transmitted, they cannot be converted, and the data 
is discarded. The only way to counter this is to use binary for 
the settings on the Machine Controller, and to perform code 
conversion with the ladder logic program once the data has 
been received.
3
The Endian of the received 
data is reversed.
The 218IF Module supports Little Endian. Therefore, if the 
remote station supports Big Endian, Endian conversion must 
be performed by one or the other. If conversion is performed 
by the Machine Controller, Endian conversion for the trans-
mission and reception data must be performed by ladder 
logic programming.
4
You wish to perform com-
mand/response communica-
tions using the through mode.
Create such a ladder logic program that runs while switching 
MSG-SND and MSG-RCV for each connection. For exam-
ple, if the Machine Controller is a Slave, the ladder logic 
program will use MSG-SND “complete” as a trigger and 
execute the next MSG-RCV. During execution, the program 
will not leave MSG-RCV turned ON all the time.
When an error or timeout occurs, restart from MSG-SND.
5
Two connections have been 
established between the per-
sonal computer and the 
Machine Controller. One side 
is exclusively for transmis-
sion, and the other side is 
exclusively for reception, and 
you wish to access these con-
nections using multiple ladder 
logic programs.
With TCP, if MSG-SND is executed at the same time from 
multiple ladder logic programs for one connection, all the 
data may be transmitted together in one packet.
Control the ladder logic programs in such a way that a given 
ladder logic program executes MSG-SND for one connec-
tion only, and that no more than one MSG-SND is executed 
at the same time.
