Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G ユーザーズマニュアル

ページ / 936
329
FX
3G
/FX
3U
/FX
3UC
 Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
12 Data Operation – FNC 40 to FNC 49
12.7 FNC 46 – ANS / Timed Annunciator Set
11
FN
C
30
-FN
C
39
R
otati
on and 
Shi
ft
12
FNC4
0-F
NC4
9
D
ata O
per
ati
on
13
FN
C
50-FN
C
59
H
igh S
pe
ed 
P
rocessing
14
FM
C
60-FN
C
69
H
andy 
In
st
ru
ct
ion
15
FNC7
0-F
NC7
9
Ex
ter
nal FX
 I/O
 
D
evice
16
FN
C
80-FN
C
89
Ext
ernal
 FX 
De
vic
e
17
FN
C
100-
FN
C
10
9
Da
ta
 
Transf
er 2
18
FN
C
110-
FN
C
139
Floati
ng Poi
nt
19
FN
C
14
0-F
N
C
149
Da
ta
 
O
per
at
ion 2
20
FN
C
150-
FN
C
159
Posit
ioning 
C
ont
ro
l
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
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
S
1
3
m
3 3
3 3
S
2
3
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)