Mitsubishi Electronics FX3G User Manual

Page of 964
224
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
8 Program Flow – FNC 00 to FNC 09
8.1 FNC 00 – CJ / Conditional Jump
Program example
1. When a jump is necessary after OFF processing
In one operation cycle after X023 changes from OFF to ON, the CJ P7 instruction becomes valid.
By using this method, jump can be executed after all outputs between the CJ P7 instruction and the label P7 turn OFF.
PLS
M0
Label
P7
X023
User program
FNC 00
CJ
P7
M0
X023