K
K
K
K inco
inco
inco
inco -K
-K
-K
-K S
S
S
S series
series
series
series
17
9
A/B phase quadrature counter Clock
A
Clock B
10 Reset
HSC
HSC
HSC
HSC 2
2
2
2
Mode
Mode
Mode
Mode Description
Description
Description
Description I0.4
I0.4
I0.4
I0.4 I0.5
I0.5
I0.5
I0.5
0
Single-phase up/down counter
with internal direction control: S M57.3
Clock
9 A/B phase quadrature counter Clock
A
Clock B
HSC
HSC
HSC
HSC 3
3
3
3
Mode
Mode
Mode
Mode Description
Description
Description
Description I0.6
I0.6
I0.6
I0.6 I0.7
I0.7
I0.7
I0.7
0
Single-phase up/down counter
with internal direction control: S M1 2 7.3
Clock
9 A/B phase quadrature counter Clock
A
Clock B
2.2.2
2.2.2
2.2.2
2.2.2 Control
Control
Control
Control Byte
Byte
Byte
Byte and
and
and
and Status
Status
Status
Status Byte
Byte
Byte
Byte
�
�
�
� Control
Control
Control
Control Byte
Byte
Byte
Byte
In SM area,each high-speed counter is assigned control byte to save its configuration data: one control
word (8 bit), current value and pre-set (double-integer with 32 bit). Initial value of current assigned value. If
the current value is written in the high-speed counter, it will start counting from that value. Please see below:
HSC0
HSC0
HSC0
HSC0 HSC1
HSC1
HSC1
HSC1 HSC2
HSC2
HSC2
HSC2 HSC3
HSC3
HSC3
HSC3 Description
Description
Description
Description
SM37.0 SM47.0 SM57.0 SM1 2 7.0
Effective electrical level of reset signal
:
0=high
;
1=low
SM37.1 SM47.1 SM57.1 SM1 2 7.1
Effective electrical level to start signal : 0=high ; 1=low
SM37.2 SM47.2 SM57.2 SM1 2 7.2
Orthogonal counter rate : 0=1x rate ; 1=4x rate
*
*
*
*
SM37.3 SM47.3 SM57.3 SM1 2 7.3
Counting direction:0=Decrease ; 1=Increase
SM37.4 SM47.4 SM57.4 SM1 2 7.4 Write counting direction in HSC? 0= NO; 1=
Yes
SM37.5 SM47.5 SM57.5 SM1 2 7.5 Write new pre-set value in HSC? 0= NO; 1=
Yes
SM37.6 SM47.6 SM57.6 SM1 2 7.6 Write new current value in HSC? 0= NO; 1=
Yes
SM37.7 SM47.7 SM57.7 SM1 2 7.7 Allow this high-speed counter? 0=NO; 1= YES
HSC0
HSC0
HSC0
HSC0 HSC1
HSC1
HSC1
HSC1 HSC2
HSC2
HSC2
HSC2 HSC3
HSC3
HSC3
HSC3 Description
SMD38 SMD48 SMD58 SMD1 2 8 Current value
SMD42 SMD52 SMD62 SMD1 3 2 Pre-set value