S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378
5-27
5: S
PECIAL
F
UNCTIONS
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 (D8054, D8055) is stored in the current value (D8050, D8051).
In this situation, reset status (M8033) 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 (D8052, D8053) match, the preset value 1 comparison output (Q1) and setting
value match (M8034) turn on.
When preset value 1 matches, preset value 2 is stored in the preset value (D8052, D8053) as the new preset value and
counting continues.
5.
The preset value 1 comparison output (Q1) maintains the on state until comparison output reset (M8030) turns on. M8034
turns on for only one scan.
Current value
Preset value 1=8
Reset value=4
(
D8554, D8555
)
Preset value 2=14
One scan
UP
DOWN
A-phase
I0
I1
1
1
1
0
Q1
Q2
I2
M8033
M8031
M8030
M8034
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
Содержание FT1A-B12RA
Страница 1: ...FT9Y B1378 5 ...
Страница 2: ......
Страница 208: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 226: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 340: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 384: ...APPENDIX A 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 European Font ISO 8859 1 Cyrillic Font ANSI 1251 ...
Страница 385: ...SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 A 19 APPENDIX Japanese Font JIS X0201 ...
Страница 386: ...APPENDIX A 20 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...