Loopback Test - Mitsubishi QJ71C24N User Manual

Melsec-q series
Hide thumbs Also See for QJ71C24N:
Table of Contents

Advertisement

4 SETTINGS AND PROCEDURES PRIOR TO OPERATION

4.8 Loopback Test

(Procedure 1) Connecting the Q series C24 to an external device
(Procedure 2) Switch setting with GX Developer
(Procedure 3) Performing a loopback test
(Procedure 4) Checking loopback test result
4 - 32
A loopback test performs a communication test using the loopback test function of the
MC protocol, in order to check the connection between the Q series C24 and an
external device, the communication function of each device, and the operation of the
communication program of the external device.
Turn off the power to the station on which the Q series C24 is installed and connect a
communication cable to an external device to perform data communication using the
MC protocol (see Section 4.4).
(1) Set the switch settings with GX Developer as shown in Section 4.5 and write the
parameters to the programmable controller CPU in order to perform data
communication using the MC protocol.
(2) The following shows an example of the settings when performing a loopback test
on the interface on the CH1 side.
• Switch 1: 0544
H
• Switch 2: 0001
H
• Switch 3: 0000
H
• Switch 4: 0000
H
• Switch 5: 0000
H
(1) Set the programmable controller CPU to STOP status, and turn the power on or
reset the CPU (communication is enabled in about one second).
(2) Create a program for a loopback test on the external device side and send a
command message like the one in the example below to the Q series C24.
The commands used are as follows:
• When performing communication test in an A compatible 1C frame: TT
command (for an example, see the following page)
• When performing communication test in a QnA compatible frame: 0619 command
See the Reference Manual when performing communication tests in a QnA
compatible frame.
(1) The Q series C24 sends a response message to the external device when it
receives a loopback test command message.
The Q series C24 sends the external device the received data as is.
(2) Check on the external device whether the data received from the Q series C24
matches the data sent from the external device.
Transmission
Operation setting
setting
Data bit
Parity bit
Stop bit
Sum check code
Write during RUN
Setting modification : Prohibited
Communication rate setting
Communication protocol setting
Station number setting
MELSEC-Q
: Independent operation
: 7 bit
: Yes (odd)
: 1 bit
: No
: Allowed
: 9600 bps
: MC protocol (format 1)
: 0 station
4 - 32

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2

Table of Contents