7 Application Instructions API 50-99 X10 T0 Y000 X17 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 V ariable R esister. 2. The 2 points of VR rotary switch built in SA/SX/SC/EH/EH2/SV/EH3/SV2 series MPU can be used together with special D and special M. 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. DVP-PLC APPLICATION MANUAL 7-130 TMR T0 D100 TMR T7 D107 Device Function M1178 Enabling VR0 M1179 Enabling VR1 D1178 VR0 value D1179 VR1 value