EasyManua.ls Logo

IDEC FT1A Series - Page 119

IDEC FT1A Series
393 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378 5-31
5: S
PECIAL
F
UNCTIONS
Program
M8120 (initialize pulse) is a special internal relay that turns on when the SmartAXIS runs.
Note: In this example, Z-phase reset input is not used.
Preset value 1=2,700
2,700 pulses
Perforation time: 0.5 seconds
Q2
M8031
M8031
M8032
M8030
M0
M0
M0
M8120
Current value
Reset value 0
Comparison output Q2
M8120
SOTU
SOTD
D1-
D4
REPS1-
2700
MOV(D)
D1-
D8054
REPS1-
0
MOV(D)
D1-
D2
REPS1-
1
MOV(W)
TIM
5
T0
1st scan
Store 2,700 in preset value 1 (D4, D5)
3rd scan
Detect the rising edge of M0, turn on gate input (M8031)
2nd scan
Detect the falling edge of the initialize pulse, M0 and M8032 turn on
Initialize the current value with the reset value in the END processing
after the 2nd scan is executed
Store 0 in the reset value (D8054, D8055)
Turn off gate input (M8031)
Turn off M0
M8032 (reset input) is a special internal relay that stores the reset
value (D8054, D8055) in the current value (D8050, D8051).
When the current value becomes 2,700 pulses, comparison
output Q2 turns on
The timer starts and comparison output reset (M8030) turns on after
5 seconds
Store 1 in the next preset value number (D2)

Table of Contents

Related product manuals