
Chapter 5. Application instructions
5-93
5.12 System instructions
5.12.1 FALS
FALS
(Error display)
FUN(204) FALS
Applicable
CPU
K200S
K300S
K1000S
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
FALS
O
3
1) Functions
-
When the input condition is switched on, stores a number specified as ‘n’ to the F14 word (F140 ~
F14F) and set the FALS flag (F038).
-
Once the F14 is set by a FALS instruction, it keeps the value until it is cleared by executing ‘FALS
0000’ instruction. Even if other FALS instruction is executed, the value of F14 word is not changed.
-
Execution condition
2) Program example
Operand setting
The error code to be stored
at the F area
n
FALS n
n
Input condition
FALS
Executed per scan
Executed per scan
FALS h 1 2 3 4
P030
P031
FALS h A A A A
FALS h B B B B
FALS h 0 0 0 0
P032
P033