Mc Protocol Function - Mitsubishi Electric Q26UD(E)HCPU User Manual

Melsecq series
Hide thumbs Also See for Q26UD(E)HCPU:
Table of Contents

Advertisement

15.3.6

MC protocol function

If an error occurs during MC protocol communication, check the following items.
The connected device does not send a command.
No response is returned from the device to which the
command is sent.
The end code of the response is not "0".
The IP address specified in the command is not correct.
Command format specifications such as command type,
device, or address are not correct.
The length of the data to be received and the volume of
actually received data are not the same when using TCP.
If an error occurs during MC protocol communication even after taking the above actions, the possible cause is a
hardware failure.
Please consult your local Mitsubishi representative.
*1
Two or more receive instructions may need to be executed to read the data sent by one send instruction since TCP does
not have architecture for specifying data boundaries.
For this reason, the received data size must be checked when receiving, and receive the remaining data if received data
size is insufficient.
For details, refer to the following.
QnUCPU User's Manual (Communication via Built-in Ethernet Port)
Check item
CHAPTER 15 TROUBLESHOOTING
Corrective action
Send a command to the CPU module.
Make sure the following:
• The communication protocol (TCP/IP) is consistent
between the CPU module and the target device.
• The command is sent to the port number specified in the
open setting of the CPU module.
• The sent command matches with the Communication data
code setting (binary/ASCII).
• The value of the sent sub-header is normal.
• Data of the request data length is sent.
• Requests from the multiple connected devices are
simultaneously sent to the single MC protocol port
specified in the open setting.
If no response is returned from the connected device even
though all items mentioned above are normal,
communication with the connected device is possibly failed.
Check the items described in
15.3.4 (3).
According to the end code or error code, repair the error part.
Correct the IP address.
Correct the command format.
(
MELSEC Communication Protocol Reference
Manual)
Provide the processing for receiving remaining data when
the actual data is less than the response data length of the
*1
receive message.
When the operation above is already performed, the possible
cause is a hardware failure. Please consult your local
Mitsubishi representative.
15
Page 290, Section
295

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents