Mitsubishi Electric MELSEC-A AlSJ71C24-R2 User Manual page 93

Computer link module , computer iinkiprinter function module
Table of Contents

Advertisement

7. INITIAL SETTING OF TRANSMISSION CONTROL DATA TO
BUFFER MEMORY
MELSEC-A
7.3
Reading Transmission Error Data
This section explains the contents of the buffer memory area where the
ONIOFF status of the error LEDs are stored. It also shows how to turn LEDS
which are lit OFF.
7 . 3 . 1
Reading the error LED display status
(1)
Error LED display status storage area
The ONIOFF status of the error LEDs are stored in address 101 H of the
buffer memory (see below).
Cn'l
(LED No.11)
PIS (LED ,012)
PRO (LED No.13)
SIO (LED No.14)
1: LEDlit
error occurred
No-protocol send data length error
0: LED not lit
(Section 9.6 gives details.)
no error
1 : Error occurred
[
0: No error
(2)
Program example to read the error LED display status storage area
This gives an example of a program using the sequence program [FROM]
to read the error LED display ONIOFF status stored in buffer memory
address 101H.
Program example to read the error LED display status storage area
(A1 SJ71
C24 I10 addresses 80 to 9F)
+I
' 4
-
H l O l
D O
K1
Read the contents of the
I
error LED display status
-
-
-
-
A
storage area
to
address D O
-
b15
b 1 4 t o b 4
b3
b2
b l
b O
...
This shows that the PRO
(LED No.14) is ON. This means
D O
0
1
1 0 1 1 1 0
0
an RS-232C protocol error has
occurred.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-a a1 sj71 c24-prf

Table of Contents