7. APPLICATION INSTRUCTIONS
7
−
99
MELSEC-A
Program Examples RFRP
A program to read data of 10 points starting with address 10 of the A68AD which is
loaded in the slot for the remote station of which I/O numbers are 140 to 15F to W52
to 61 when X3 is ON.
*1: The contact which corresponds to M1 shown in the program example should be converted into a
pulse. If a pulse is not used, following execution of the RFRP instruction will be disabled.
*2: The contact which corresponds to M0 shown in the program example should be turned ON by the
SET instruction. If the OUT or PLS instruction is used, the RFRP instruction may often be executed
incorrectly.
•
Coding
0 LD
X003
1 PLS
M1
4 LD
M1
5 SET
M0
6 LD
M0
7 MPS
8 ANI
Y14E
9 ANI
X15E
10
ANI
Y14F
11
ANI
X15F
12
RFRP
H0140
K10
W052
K10
23
MPP
24
AND
X15E
25
RST
M0
26
RST
Y14E
27
END
0
4
6
Use a pulse signal for
this command. (*1)
Provide interlock using
the RFRP instruction
execution flag.
If the RTOP instruction is used to the same station,
provide interlock using the RTOP instruction execution flag.
X003
M1
M0
Y14E X15E Y14F
X15F
X15E
PLS M1
H
K
K
RFRP 0140 10 W052 10
SET M0
RST
M0
RST Y14E
When X3 is ON, M0 turns ON.
If the RFRP and RTOP instructions are not being
executed when M0 is ON, the RFRP instruction
is executed, and Y14E is turned ON.
At read completion, M0, and Y14E are reset.
(*2)
Executed only once.
Turned OFF by the
sequence program.
Turned ON by
the special
function module.
For 2 link
scans
Executed only once.
Turned OFF by the
sequence program.
Turned ON by
the special
function module.
RFRP
X15E
Y14E
M0
M1
X3
ON
ON
ON
OFF
OFF
OFF
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: ......