X20 system modules • Counter modules • X20DC2395
822
X20 system User's Manual 3.10
Comparator origin
Name:
OriginComparator01
This register is available for the AB and ABR encoders and the up/down counters.
It defines the position value at which the respective configured comparator output channel is set.
Data type
Value
Information
INT
-32,768 to 32,767
Comparator window origin, 16-bit
DINT
-2,147,483,648
to 2,147,483,647
Comparator window origin, 32-bit
Width of the comparator
Name:
MarginComparator01
This register is available for the AB and ABR encoders and the up/down counters.
It defines the width of the comparator window in the positive direction.
Data type
Value
Information
INT
-32,768 to 32,767
Width of comparator window, 16-bit
DINT
-2,147,483,648 to 2,147,483,647 Width of comparator window, 32-bit
Read latch position or counter value
Name:
Different names are used for these 4 registers depending on their function.
If the comparator returns "TRUE", then the current counter value is latched and copied to these registers. The
calculation of the comparator value used for the latch can be configured in the "Configure calculation of comparator"
register.
Counter function 1
Event function
Function
Name
AB encoders
Latch01AB01
1
Up/down counters
Latch01Counter01
ABR encoders
Latch01ABR01
AB encoders
Latch02AB01
2
Up/down counters
Latch02Counter01
Counter function 2
Event function
Function
Name
AB encoders
Latch01AB02
Up/down counters
Latch01Counter02
1
Event counters
Latch02AB02
2
Event counters
Latch02Counter02
Data type
Value
Information
INT
-32,768 to 32,767
Latched encoder position or counter value
DINT
1)
-2,147,483,648
to 2,147,483,647
Latched encoder position or counter value
1)
Only in function model 1
Summary of Contents for X20 System
Page 2: ......