iDect FC6A series User Manual page 216

Microsmart all-in-one type
Table of Contents

Advertisement

5: F
S
UNCTIONS AND
ETTINGS
Program
M8120 (initialize pulse) is a special internal relay that turns on when the FC6A Series MicroSmart runs.
M8120
SOTU
M0000
SOTD
M8120
Q2
Preset value 1=2,700
Reset value 0
Comparison output Q2
Note: In this example, Z-phase reset input is not used.
5-30
MOV(D)
S1-
D1-
REP
2700
D0004
MOV(D)
S1-
D1-
REP
0
D8216
MOV(W)
S1-
D1-
REP
1
D0002
M8031
M0000
M8031
M0000
M8032
TIM
T000
5
M8030
Current value
Perforation time: 0.5 seconds
FC6A S
M
S
ERIES
ICRO
MART
1st scan
Store 2,700 in preset value 1 (D0004, D0005)
Store 0 in the reset value (D8216, D8217)
Store 1 in the next preset value number (D0002)
Turn off gate input (M8031)
Turn off M0000
3rd scan
Detect the rising edge of M0000, turn on gate input (M8031)
2nd scan
Detect the falling edge of the initialize pulse, M0000 and M8032 turn on
Initialize the current value with the reset value in the END processing
after the 2nd scan is executed
M8032 (reset input) is a special internal relay that stores the reset
value (D8216, D8217) in the current value (D8210, D8211).
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
A
-
-O
T
U
'
M
LL
IN
NE
YPE
SER
S
ANUAL
2,700 pulses
FC9Y-B1722

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents