
7 Application Instructions API 50-99
DVP-PLC APPLICATION MANUAL
7-104
X10
TMR D100T0
T0
Y000
X17
TMR D107T7
T7
Y007
END
3. Operation of FOR ~ NEXT instruction:
a) In the area between FOR ~ NEXT instruction, FOR designating K8 indicates the loop between FOR ~ NEXT
will be executed repeatedly for 8 times before the next instruction is executed.
b) Between FOR ~ NEXT (INC E), E will be 0, 1, 2, …7 plusing 1. Therefore, the 8 VR rotary switch volumes
will be VR0→D100, VR1→D101, VR2→D102…VR7→D107 and be read to designated registers in order.
Remarks:
1. VR refers to Variable Resister.
2. The 2 points of VR rotary switch built in SA/SC/EH/EH2/SV series MPU can be used together with special D and
special M.
Device Function
M1178 Enabling VR0
M1179 Enabling VR1
D1178 VR0 value
D1179 VR1 value
3. If there is no VR extension card inserted in the PLC, setting up the No. of rotary switches as K2 ~ K7 in VRRD
and VRSC instruction in the program will result in errors in grammar check.
Commenti su questo manuale