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
POP
S
RD
S
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.
Summary of Contents for FP0 Series
Page 14: ...Table of Contents FP0 xii ...
Page 16: ...Overview FP0 1 2 ...
Page 82: ...S LINK Control Unit FP0 4 2 ...
Page 95: ...Chapter 5 I O Allocation 5 1 I O Number 5 3 5 2 Control Unit 5 4 5 3 Expansion I O Unit 5 5 ...
Page 96: ...I O Allocation FP0 5 2 ...
Page 100: ...I O Allocation FP0 5 6 5 3 Expansion I O Unit ...
Page 102: ...Installation FP0 6 2 ...
Page 112: ...Installation FP0 6 12 6 5 Installation Using FP0 Flat Type Mounting Plate ...
Page 114: ...Wiring FP0 7 2 ...
Page 198: ...High speed Counter Pulse Output PWM Output FP0 9 34 9 5 PWM Output Function ...
Page 200: ...General use Serial Communications FP0 10 2 ...
Page 210: ...Self Diagnostic and Troubleshooting FP0 11 2 ...
Page 220: ...Specifications FP0 12 2 ...
Page 234: ...Dimensions FP0 13 2 ...
Page 243: ...Chapter 14 Appendix ...
Page 380: ...14 138 14 7 ASCII Codes ...