Mitsubishi Electric AJ71QC24 Manual page 56

Melsec qna serial communications module
Table of Contents

Advertisement

4. COMMUNICATIONS USING A DEDICATED
PROTOCOL
MELSEC
QnA
4.6.2
Trainer operation
Write the BASIC program shown in Section 4.6.1 to the external device.
Set the PC CPU
to
"RUN".
If there are no errors, send and receive data using the following procedure.
@
Set trainer switches X0
to
X7 to ON (or OFF).
@
When the BASIC program is "RUN", the PC X0 to X7 ON/OFF information is read in 8-point
groups in bit units and displayed on the CRT screen for each device.
Check this.
Bit units batch read normal end
X$=OOi 01 1 00
XO-X7 ON/OFF state
XO=OFF
X1 =OFF
==ON
X3=OFF
X4=ON
X5=ON
XG=OFF
X7=OFF
External device CRT screen
f
\
If you have any situations as
follows,
please read the explanations
A batch read request from the
Are the cables correctly connected (Section
3.3.)?
external device is executed, but
Are the external device settings (Section
3.4) and
QC24 switch settings (Section 4.2) correct?
Check the QC24 LEDs (Section 4.3), then check the
Data cannot be received. Stop.
settings.
Batch read ended,
but
NAK was sent from
the QC24.
Are the external program (RS-232C setting, read re-
Batch read
abnormal end.
quest command) settings (Section
4.6.1) and QC24
Error code=l:::::::l
switch settings (Section 4.2) correct?
Check the QC24 LEDs (Section 4.3), then check the
settings.
Refer to the Serial Communications Module User's
Manual for the contents of the displayed error code
and take appropriate action.
1
\
4
-
23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71qc24-r2Aj71qc24-r4

Table of Contents