Справочник Пользователя для Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G

Скачать
Страница из 936
589
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
FN
C
160
-F
N
C
16
9
R
eal
 T
im
e C
lock
 
C
ont
ro
l
22
FN
C
170-
FN
C
179
E
xte
rnal D
evice
23
FN
C
180
A
lter
nate 
In
st
ru
ct
ions
24
FN
C
181-
FN
C
18
9
O
ther
s
25
FN
C
190-
FN
C
199
B
lock D
ata
 
O
per
ation
26
FN
C2
00
-F
NC
20
9
C
ha
racter
 S
tring 
Co
ntro
l
27
FN
C
210-
FN
C
21
9
Da
ta
 
O
per
ati
on 3
28
FN
C
220-
FN
C
249
Da
ta
 
C
om
par
ison
29
FN
C
25
0-F
N
C
269
D
ata T
abl
O
per
at
ion
30
FN
C
270-
FN
C
274
Ex-
D
ev
ice 
Inv
ert
er
 Com
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 in either one among D8330 to D8334 in accordance with the timing clock
output destination device 
.
The counted number of scans stored in either one 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