7.
INITIAL SETTING OF TRANSMISSION CONTROL DATA TO
BUFFER MEMORY
MELSEC-A
7.3
Reading Transmission
Error
Data
I
!
This section explains the contents
of
the buffer memory area where the
ON/OFF status
of
the error LEDs are stored.
It
also shows how to turn
LEDs
which are
lit
OFF.
3
d
7.3.1
Reading
the
error
LED
display
status
(1) Error LED display status storage area
L
3
The
ON/OFF
status
of
the error LEDs are stored in address 101
H
of
the
buffer memory (see below).
b15 b14tob8 b7
b6
b5
b4
b3
b2
bl
b0
1
I’
2UN
(LED No.16)
2-PE
(LED
N0.17)
2-PRO
(LED
No.18)
2sK) (LED No.19)
CCIN
(LED
No.20)
1
I
4-PE
(LED
No.21)
4-PRO
&!ED
Nom
3
I
440
(LED
No.23)
1: LEDli
error
ooourred
No-protocol
mend
data
length
emor
(section
9.6
gives
details.)
3
J
(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 ON/OFF status stored
in
buffer
memory address 101
H.
Program example to read
the
error LED display status storage area
(AJ71C24
I/O
addresses
80
to
9F)
1-1
FROMP
I
H6
I
HI01
1-b
K1 Read the contents
of
the
error
LED display
I
I
status storage area to address
DO
1
615 b14 to b8 b7
b6
b5
b4
b3
b2
bl
W’
...
This shows that the 2-PRO
Do
0
111
(LED No.18) is ON. This means
occurred.
I I
1
1
I I
1
I
an RS-232C protocol
error
has
Section 4.2.2
gives
details about the
ONlOFF
state
of
each
bit
in the
error
LED dirplay area.
Section 11
gives
details about
error
processing.
Sections 3.5.2 and 3.5.3
give
details about 2-SI0 (LED No.19) and 4-SI0 (LED No.23).
7-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com