9 - 8
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9
9 - 8
(6) Character field (response)
This data contains data read/processing result when an external device reads/
writes data from/to the target PLC station.
The contents and order of data in the Character field (response) differ depending
on the function used.
The order or data items at normal completion for each function is explained in
each function's reference section in Subsection 9.3.2. and later.
(7) Complete code
The result of processing when an external device reads/writes data from/to the
target PLC station is indicated by the following values.
00
H
: Normal completion
Other than 00
H
: Abnormal completion (50 to 60
H
)
(a) When communicating in binary code, the complete code is expressed in
binary values.
(b) When communicating in ASCII code, the complete code is expressed in
hexadecimal ASCII code.
(c) When the complete code indicates abnormal completion, check the content
and take an action according to the troubleshooting section of Chapter 11.
When the complete code is 5B
H
/"5B," the abnormal code data (10 to 18
H
)
and 00
H
/"00" are included immediately after.
(8) Abnormal code
This value indicates the nature of the error when the processing result of reading/
writing data from/to the target PLC station by an external device is faulty and the
complete code is 5B
H
/"5B." (Abnormal code: 10 to 18
H
)
(a) When communicating in binary code, the abnormal code is expressed in
binary values.
(b) When communicating in ASCII code, the abnormal code is expressed in
hexadecimal ASCII code.
(c) Check the content and take an action according to the troubleshooting
section of Chapter 11.
POINT
The data code (ASCII/binary) when sending/receiving commands and responses
between the Ethernet module and an external device is determined in the
operation settings in FX Configurator-EN.
The external device communicating with Ethernet module should send the values
specified in each data item in the commands and responses in the above setting
using the code shown below. Also, it should receive the corresponding values in
the code shown below.
In the explanation hereafter in this section, the values specified in each item in a
command and response are shown in binary values.
(1) Communication in binary code
Unless specifically stated, the value shown in each explanation is sent/
received in the designated order (L to H) since it is in binary.
(2) Communication in ASCII code
Unless specifically stated, the value shown in each explanation is converted
to hexadecimal ASCII code and sent/received in the designated order (H to
L).