![Mitsubishi Electric FX3G SERIES Programming Manual Download Page 593](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902593.webp)
591
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
24 Others – FNC181 to FNC189
24.3 FNC186 – DUTY / Timing Pulse Generation
21
FNC160
-F
NC1
69
R
eal
T
ime C
lock
C
ontrol
22
FNC17
0-F
NC
179
E
xternal D
evice
23
FNC
180
Alternate
Instructions
24
FN
C181-
FNC18
9
O
thers
25
FNC190
-F
NC1
99
Bl
oc
k D
ata
Op
er
atio
n
26
FNC20
0-F
NC209
C
har
ac
te
r S
trin
g
Con
tro
l
27
FNC2
10-
FNC21
9
Dat
a
Operati
on 3
28
FNC220
-F
NC2
49
Da
ta
C
omp
ari
son
29
FNC25
0-F
N
C
269
D
ata T
abl
e
Operation
30
FNC2
70-
FNC275
Ex
-Dev
ice
Inverter C
om
m
s
24.3
FNC186 – DUTY / Timing Pulse Generation
Outline
This instruction generates the timing signal whose one cycle corresponds to the specified number of operation cycles.
1. Instruction format
2. Set data
3. Applicable devices
S
: Specify either one among M8330 to M8334.
Explanation of function and operation
1. 16-bit operation (DUTY)
1) The timing clock output destination
is set to ON and OFF with the ON duration for "n1" scans and OFF
duration for "n2" scans.
2) Specify either one among M8330 to M8334 as the timing clock output destination device
.
3) The counted number of scans is stored among D8330 to D8334 in accordance with the timing clock output
destination device
.
The counted number of scans stored among D8330 to D8334 is reset when the counted value reaches "n1+n2" or
when the command input (instruction) is set to ON.
Operand Type
Description
Data Type
n1
Number of scans (operation cycles) to remain ON [n1 > 0]
16-bit binary
n2
Number of scans (operation cycles) to remain OFF [n2 > 0]
Timing clock output destination
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
n1
3 3 3 3
3 3
n2
3 3 3 3
3 3
S
3
Timing clock output destination device
Scan counting device
M8330
D8330
M8331
D8331
M8332
D8332
M8333
D8333
M8334
D8334
FNC 186
DUTY
−
Mnemonic
Operation Condition
16-bit Instruction
7 steps DUTY
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction
D
D
D
Command
input
FNC186
DUTY
n1
n2
Timing clock output
destination
Timing clock output
destination
D
OFF
"n1" scans
ON
"n1+n2" scans
0
"n2" scans
D
D
D
D