hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 408

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Operation
X000
M8013
1 sec clock
1)
Timing chart
Suppose that the following data is written in advance by a transfer instruction:
S
1
S
+ 1
1
S
+ 2
1
S
+ 3
1
+ n − 1
S
1
X000
Current
value of
C0
Current
value of
C1
M 0
M 1
M 2
M 3
M8029 Complete flag
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.
count value of the process counter C1, and the current value of the counter C0 is reset.
The current value is compared for up to "n (K4)" outputs in the same way (1 ≤ n ≤ 64).
6)
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 ...).
406
S
S
1
2
FNC 63
D300
C0
INCD
K9999
C0
Device storing data
Data value (example)
D300 = 20
D301 = 30
D302 = 10
D303 = 40
30
20
10
3
2
1
0
14.4 FNC 63 – INCD / Incremental Drum Sequencer
n
D
M0
K4
Output
D
D
+ 1
D
+ 2
D
+ 3
+ n − 1
D
40
20
20
1
1
0
0
S
D
1
1
14 Handy Instruction – FNC 60 to FNC 69
Example
M0
M1
M2
M3
"1" is added to the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents