Precautions During Programming FP0
8 − 18
8.6 Precautions for Programming
8.6 Precautions for Programming
Programs which do not execute correctly
Do not write the following programs as they will not execute correctly.
Program example 1:
X0
DF
Y0
X1
X2
ANS
X0
DF
Y0
X1
X2
X0
Program in which the example 1 is rewritten
Program example 2:
X0
Y0
X1
X2
TMX5, K30
ANS
X0
Y0
X1
X2
TMX 5, K 30
X0
Program in which the example 2 is rewritten
Program example 3:
DF
Y1
X2
X3
X0
Y0
X1
PSHS
POPS
RDS
DF
Y1
X2
X3
X0
Y0
X1
Program in which the example 3 is rewritten
X0
X0
When a combination of contacts are set as the trigger (execution condition) of a
differential instruction (DF) or timer instruction, do not use an AND stack (ANS)
instruction, read stack (RDS) instruction, or pop stack (POPS) instruction.