7. APPLICATION INSTRUCTIONS
7
−
63
MELSEC-A
FIFR
Program which reads data from D38 to 45 of the FIFO table when XB turns on, and
outputs the data to the Y30 to 3F.
(Data is read as shown below when the pointer value is 7.)
•
Coding
0 LD=
K0
D38
5 OUT
Y060
6 LD
X00B
7 ANI
Y060
8 FIFRP K4Y030 D38
15
END
Pointer
Before execution
After execution
K
= 0 D38
Y060
When pointer (D38) is 0, Y60 is
turns on.
Data is read from FIFO table and
output to Y30 to 3F.
(
)
0
6
P K4
FIFR Y030 D38
X00B Y060
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......