Functions Of The Count Inputs (Cnt1 And Cnt2); Basic Functions Of The Count Inputs Cntx; Load Count Value; Load Load Value - Eaton XNE-2CNT-2PWM User Manual

Technology module
Table of Contents

Advertisement

4

Functions of the count inputs (CNT1 and CNT2)

4.1

Basic functions of the count inputs CNTx

4.1.1

Load count value

The count value can be loaded directly via the Register interface (page 91). To do so, the
register (REG_CNTx_CNT) has to be written directly with the desired count value using the
access via the Process output / control interface (page 32).
Register name
REG_CNT1_CNT
REG_CNT1_CNT
4.1.2

Load load value

The load value is loaded via the Process output / control interface (page 32) and copied into
the count value (REG_CNTx_CNT) due to certain events.
These events have to be defined via the Parameter data of the module (page 25).
Register name
REG_CNT1_LOADVAL
REG_CNT2_LOADVAL
XI/ON: XNE-2CNT-2PWM 04/2011 MN05002035Z-EN www.eaton.com
Register no.
32
(0×20)
64
(0×40)
Note
If the value to be loaded is outside the count limits, the value is not transferred as
count value, but the count limit which is the closest to the value is loaded instead.
No error message is set in REG_CONFIG_ ERRSTS (CNTx) (page 81).
Register no.
35
(0×23)
67
(0×43)
Note
If a load value is loaded which is outside the count limits, the value is transferred and
an error message is generated in REG_CONFIG_ ERRSTS (CNTx) (page 81).
4 Functions of the count inputs (CNT1 and CNT2)
4.1 Basic functions of the count inputs CNTx
Max. value
Min. value
+2147483647
-2147483648
(0×7F FF FF FF)
(0×80 00 00 00)
Max. value
Min. value
+2147483647
-2147483648
(0×7F FF FF FF)
(0×80 00 00 00)
Default value
0
(0×00 00 00 00)
Default value
0
(0×00 00 00 00)
35

Advertisement

Table of Contents
loading

Table of Contents