332
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
12 Data Operation – FNC 40 to FNC 49
12.7 FNC 46 – ANS / Timed Annunciator Set
12.7 FNC 46 – ANS / Timed Annunciator Set
Outline
This instruction sets a state relay as an annunciator (S900 to S999).
1. Instruction format
2. Set data
3. Applicable devices
S1 : T0 to T199
S2 : S900 to S999
Explanation of function and operation
1. 16-bit operation
When the command input remains ON for equivalent to or longer than the evaluation time [m × 100 ms, timer ],
is set.
When the command input remains ON for less than the evaluation time [m × 100 ms] and then turns OFF, the current
value of the timer for evaluation is reset and is not set.
When the command input turns OFF, the timer for evaluation is reset.
Related devices
Operand type Description Data type
Timer number for evaluation time 16-bit binary
m Evaluation time data [m = 1 to 32767 (unit: 100 ms)] 16-bit binary
Annunciator device to be set Bit
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
S
1
m
S
2
Device Name Description
M8049 Enable annunciator When M8049 is set to ON, M8048 and D8049 are valid.
M8048 Annunciator ON When M8049 is ON and one of the state relays S900 to S999 is ON, M8048 turns ON.
D8049
Smallest state relay
number in ON status
Among S900 to S999, the smallest state relay number in the ON status is stored.
FNC 46
ANS
−
Mnemonic Operation Condition
16-bit Instruction
7 steps ANS
Mnemonic Operation Condition
Continuous
Operation
32-bit Instruction
S
1
S
D
S
1
S
D
D
1
S
D
1
D
D
1
S
D
1
D
Command
input
FNC 46
ANS
S
D
m
Command input
D
Less than
evaluation time
(m
×
100 ms)
Equivalent to or
longer than
evaluation time
(m
×
100 ms)