Mitsubishi Electronics FX3G User Manual

Page of 964
334
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
12 Data Operation – FNC 40 to FNC 49
12.8 FNC 47 – ANR / Annunciator Reset
12.8
FNC 47 – ANR / Annunciator Reset
Outline
This instruction resets an annunciator (S900 to S999) in the ON status with the smallest number.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (ANR and ANRP)
When the command input turns ON, a state relay working as annunciator (S900 to S999) in the ON status is reset.
• If two or more state relays are ON, the state relay with the smallest number is reset.
When the command input is set to ON again, the state relay with the next smallest number is reset among state 
relays working as annunciators (S900 to S999) in the ON status.
Related devices
Caution
1. Execution in each operation cycle
• When ANR instruction is used, annunciators in the ON status are reset in turn in each operation cycle.
• When ANRP instruction is used, an annunciator in the ON status is reset only in one operation cycle (only once).
Program example
Refer to ANS (FNC 46) instruction.
→ For a program example, refer to Section 12.7.
Operand type
Description
Data type
There is no set data.
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
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
V Z Modify K H
E
" "
P
There are no applicable devices.
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 either one among the state relays S900 to S999 is ON, M8048 turns ON.
D8049
Minimum state relay
number in ON status
Among S900 to S999, the minimum number in the ON status is stored.
P
FNC 47
ANR

Mnemonic
Operation Condition
16-bit Instruction
1 step ANR
ANRP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
Command
input
FNC 47
ANRP