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

ページ / 936
403
FX
3G
/FX
3U
/FX
3UC
 Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
14 Handy Instruction – FNC 60 to FNC 69
14.4 FNC 63 – INCD / Incremental Drum Sequencer
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
Operation
1) Timing chart
Suppose that the following data is written in advance by a transfer instruction:
2) When the command contact turns ON, the output M0 turns ON.
3) When the current value of C0 reaches the comparison value D300, the output M0 is reset.  "1" is added to the
count value of the process counter C1, and the current value of the counter C0 is reset.
4) The next output M1 turns ON.
5) When the current value of C0 reaches the comparison value D301, the output M1 is reset.    "1" is added to the
count value of the process counter C1, and the current value of the counter C0 is reset.
6) The current value is compared for up to "n (K4)" outputs in the same way (1 
≤ n ≤ 64).
7) When the final process specified by "n" is finished, the execution complete flag M8029 turns ON and remains ON
for one operation cycle.
M8029 is used for many instructions as the instruction execution complete flag.  Use M8029 as a contact just after
a corresponding instruction.
8) The program execution returns to the beginning, and outputs are repeated.
Caution
1. When specifying digits of a bit device as 
As a device number, specify a multiple of 16 (0, 16, 32, 64 ...).
Device storing data
Output
Data value (example)
Example
D300 = 20
M0
+ 1
D301 = 30
+ 1
M1
+ 2
D302 = 10
+ 2
M2
+ 3
D303 = 40
+ 3
M3
+ n 
− 1
+ n 
− 1
X000
FNC 63
INCD
D300
C0
M0
K4
S
‚
S
‚
D ‚
C0
K9999
M8013
1 sec clock
n
  
S
1
  D
  
S
1
  D
  
S
1
  D
  
S
1
  D
  
S
1
  D
X000
Current
value of
C1
M  0
M  1
M  2
M  3
M8029   Complete flag
20
30
10
40
20
0
20
Current
value of
C0
1
2
3
0
1
0
1
  
D
1
  
S
1