
Precautions During Programming
FP0
8
−
12
8.4
Operation Errors
8.4.4
Points to Check in Program
Check if an extraordinarily large value or negative value was stored in the index register.
Example:
When a data register is modified using an index register
R0
F0 MV, DT0, IXDT0
In this case, index register (IX) modifies the address of data
register DT0. If data in IX is larger than the last address of the
data register, an operation error will occur. If the PLC you are
using is of the FP0 16-point type, the last address of the data
register is DT1659. If the data in IX exceeds the range of K0 to
K255, an operation error will occur. The same is true when the
contents of IX are negative.
Is there any data which cannot be converted using BCD
↔
BIN data conversion?
Example:
When BCD
−
to
−
BIN conversion is attempted
R0
F81 BIN, DT0, DT100
In this case, if DT0 contains a hexadecimal number with one of
the digits A through F such as 12A4, conversion will be
impossible and an operation error will result.
Example:
When BIN
−
to
−
BCD conversion is attempted
R0
F80 BCD, DT1, DT101
In this case, if DT1 contains a negative value or a value
greater than K9999, an operation error will occur.
Check if the divisor of a division instruction is K0.
Example:
R0
F32 %, DT0, DT100, DT200
In this case, if the content of DT100 is K0, an operation error
will occur.
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 ...