5: F
UNCTIONS
AND
S
ETTINGS
5-26
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
U
SER
’
S
M
ANUAL
FC9Y-B1722
Timing chart 2
Two-phase high-speed counter (group 1) timing chart
Operating conditions
The counting mode is set to
2-edge count
and reset input (I2) is used.
Two preset values are used, and when preset value 1 matches, output Q1 turns on and the current value is kept.
When preset value 2 matches, output Q2 turns on and the current value is cleared.
Overflow and underflow are not used.
1.
When reset input (I2) turns on, the reset value (D8216, D8217) is stored in the current value (D8210, D8211).
In this situation, reset status (M8130) turns on for only one scan.
2.
When gate input (M8031) turns on, the counting begins.
3.
When the A-phase pulse (I0) precedes the B-phase pulse (I1), the count goes up. When the B-phase pulse (I1) precedes the
A-phase pulse (I0), the count goes down.
4.
When the current value and preset value 1 (D8212, D8213) match, the preset value 1 comparison output (Q1) and setting
value match (M8131) turn on.
5.
When preset value 1 matches, preset value 2 is stored in the preset value (D8212, D8213) as the new preset value and
counting continues.
6.
The preset value 1 comparison output (Q1) maintains the on state until comparison output reset (M8030) turns on. M8131
turns on for only one scan.
Current value
Preset value 1=8
Reset value=4
(
D8216, D8217
)
Preset value 2=14
One scan
UP
DOWN
A-phase
I0
I1
1
1
1
0
Q1
Q2
I2
M8130
M8031
M8030
M8131
B-phase
Gate input
Preset value
Comparison ON status
Reset status
Reset input
One scan
Reset
Reset
Comparison output
reset
Preset value 1
Comparison output
Preset value 2
Comparison output
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
One scan
Summary of Contents for FC6A series
Page 1: ...B 1722 2 FC6A SERIES All in One Type User s Manual ...
Page 10: ...TABLE OF CONTENTS Preface 9 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 28: ...1 GENERAL INFORMATION 1 18 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 286: ...6 DEVICES 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 334: ...7 HMI FUNCTION 7 48 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 340: ...8 INSTRUCTIONS REFERENCE 8 6 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 360: ...9 FUNCTIONAL MODULES 9 20 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 368: ...10 ANALOG CARTRIDGE 10 8 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...