7. APPLICATION INSTRUCTIONS
7
−
101
MELSEC-A
Execution Conditions
Operation Errors
In the following cases, operation error occurs and the error flag turns on.
•
The specified station is not a remote station.
•
The head I/O number specified at "n1" is not a special function module.
•
The number of points, n3, exceeds the link register range (W0 to 3FF).
Program Examples RTOP
A program to write data in W52 to 61 to addresses of 10 points starting with address
10 in the A68AD which is loaded in the slot for the remote station of which I/O
numbers are 140 to 15F 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 RTOP 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 RTOP instruction may often be executed
incorrectly.
If the RFRP and RTOP instructions are not being
executed when M0 is ON, the RTOP instruction
is executed, and Y10F is turned on.
Use a pulse signal for
this command. (*1)
Provide interlock using
the RTOP instruction
execution flag.
If the RTOP instruction is used to the same station,
provide interlock using the RTOP instruction execution flag.
X003
M1
M0
0
4
6
Y14F X15F Y14E X15E
X15F
PLS
M1
H
K
K
RTOP 0140 10 W052 10
SET M0
RST M0
RST
Y14F
When X3 is ON, M0 turns ON.
At read completion, X11F turns on, and M0 and
Y10F are reset.
(*2)
Read command
Executed only once
RFRP
OFF
ON
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: ......