Mitsubishi Electric MELSEC iQ-R Series User Manual page 456

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

An example of control procedure when the TT command is used in the loopback test (station number: 00, sum check code:
Yes) is as shown below.
TT (ACPU common command)
Head data sent
by the target device
E
N
(Data name)
Q
Target device
H L H L
0 0 F F T T
(Example)
05
30
30
46
H
H
H
H
(Data name)
CPU module
(Example)
4.
Checking loopback test result
Check for the target device side whether the data in the character area received from C24 in response to the data sent by the
target device matches the data in the character area sent by the target device. (C24 sends back to the target device the
received data, as is.)
• When the result is normal
The data in the character area that C24 sent back to the target device matches the one the target device had sent.
• When the result is abnormal
The data in the character area that C24 sent back to the target device does not match the one the target device had sent.
5.
Completing loopback test
• When the result is normal
Configure the parameter settings with Engineering tool in accordance with the function to be used, and turn ON the power for
the station with C24 to start data communication.
• When the result is abnormal
Check the items below, and take corrective actions.
Item
Reviewing the wiring of the
connection cable
Reviewing the parameter setting of
C24
Check the detected error of C24
27 TROUBLESHOOTING
454
27.1 Checking Module Status
Two characters (hexadecimal): Designate the number of characters (1 to 254) of return data to be sent immediately afterward.
Designate with a character string consisting of "0" to "9" and "A" to "F" (upper case)
Loopback data
The same data as
those in Character
length
H L
0
0 5
A B C D E
46
54
54
30
30
35
41
42
43
44
45
H
H
H
H
H
H
H
H
H
H
H
Character part
The
same data
Head data to be sent by
the CPU module side
Corrective action
Check if the connection cable is wired correctly.
MELSEC iQ-R Serial Communication Module User's Manual (Startup)
Check whether the C24 parameter settings (such as transmission setting and communication speed setting) match
that of the target device.
Page 422 PARAMETER SETTING
Check the error contents and take the corrective actions.
Page 440 TROUBLESHOOTING
(In the case of Format 1)
Sum check
code
Two characters (hexadecimal)
H
L
7
8
37
38
H
H
S
T
X
H L H L H L
0 0 F F 0 5 A B C D E
02
30
30
46
46
30
35
H
H
H
H
H
H
H
Character part
Loopback data
E
Sum check
T
The same data as
code
those in character
X
A part
H
L
A
3
41
42
43
44
45
03
41
33
H
H
H
H
H
H
H
H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents