X20 system modules • Counter modules • X20DC4395
858
X20 system User's Manual 3.10
4.11.17.12 Register description
4.11.17.12.1 Function model 0 - Standard and Function model 1 - 32-bit counter
The following 2 models can be selected:
•
16-bit counter, Function model 0
•
32-bit counter, Function model 1 (identified in the table with a "(D)" in the data type and "(_32Bit)" in the
name.)
The only difference between these two models is that they use either 16-bit or 32-bit registers for incremental
counter functions. These include:
•
ABR encoders
•
AB encoders
•
Up/down counters
•
Event counters
All other module functions e.g. SSI, PWM and time measurement, as well as their data types, are identical for
the two models.
Read
Write
Register
Name
Data type
Cyclic
Acyclic
Cyclic
Acyclic
Module configuration - General
(N-1) * 2
CfO_CFGchannel0N (Index N = 1 to 8)
USINT
●
64 + N * 2
CfO_LEDNsource (Index N = 0 to 7)
USINT
●
Configuration - Input for ABR encoders
512
UINT
●
544
UINT
●
516
USINT
●
548
USINT
●
522
UINT
●
544
UINT
●
520
USINT
●
552
USINT
●
2064 + (N-1) * 256
CfO_CounterNPresetValue1(_32Bit) (Index N = 1 to 4)
U(D)INT
●
2068 + (N-1) * 256
CfO_CounterNPresetValue2(_32Bit) (Index N = 1 to 4)
U(D)INT
●
2048 + (N-1) * 256
CfO_CounterNconfig (Index N = 1 to 4)
USINT
●
2056 + (N-1) * 256
CfO_CounterNconfigReg0 (Index N = 1 to 4)
USINT
●
2058 + (N-1) * 256
CfO_CounterNconfigReg1 (Index N = 1 to 4)
USINT
●
2112 + (N-1) * 256
CfO_CounterNevent0IDwr (Index N = 1 to 4)
UDINT
●
2120 + (N-1) * 256
CfO_CounterNevent0config (Index N = 1 to 4)
UINT
●
2144 + (N-1) * 256
CfO_CounterNevent1IDwr (Index N = 1 to 4)
UINT
●
2152 + (N-1) * 256
CfO_CounterNevent1config (Index N = 1 to 4)
UINT
●
2148 + (N-1) * 256
CfO_CounterNevent1mode (Index N = 1 to 4)
USINT
●
Configuration - Inputs for AB, up/down and event counters
2048 + (N-1) * 256
CfO_CounterNconfig (Index N = 1 to 4)
USINT
●
2056 + (N-1) * 256
CfO_CounterNconfigReg0 (Index N = 1 to 4)
USINT
●
2058 + (N-1) * 256
CfO_CounterNconfigReg1 (Index N = 1 to 4)
USINT
●
2112 + (N-1) * 256
CfO_CounterNevent0IDwr (Index N = 1 to 4)
UDINT
●
2120 + (N-1) * 256
CfO_CounterNevent0config (Index N = 1 to 4)
UINT
●
2116 + (N-1) * 256
CfO_CounterNevent0mode (Index N = 1 to 4)
USINT
●
2144 + (N-1) * 256
CfO_CounterNevent1IDwr (Index N = 1 to 4)
UINT
●
2152 + (N-1) * 256
CfO_CounterNevent1config (Index N = 1 to 4)
UINT
●
2148 + (N-1) * 256
CfO_CounterNevent1mode (Index N = 1 to 4)
USINT
●
Configuration - Inputs for SSI encoders
7,176
UINT
●
7,432
UINT
●
7,180
USINT
●
7,436
USINT
●
7,168
UINT
●
7,424
UINT
●
7,232
UINT
●
7,488
UINT
●
7,240
UINT
●
7,496
UINT
●
7,236
USINT
●
7,492
USINT
●
7,172
UDINT
●
7,428
UDINT
●
Configuration - Comparator function for ABR, AB, SSI encoders and up/down counters
256
USINT
●
258
USINT
●
Summary of Contents for X20 System
Page 2: ......