Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
403
FX3G/FX3U/FX3UC 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
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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
1
S
2
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