X20 system modules • Motor controllers • X20MM4456
X20 system User's Manual 3.10
1967
4.25.5.15.3.2 Control
Name:
TriggerEdge01 to TriggerEdge04
StartTrigger01 to StartTrigger04
StartLatch01 to StartLatch04
DitherDisable01 to DitherDisable04
ClearError01 to ClearError04
ShowMeanCurrent01 to ShowMeanCurrent04
ResetCounter01 to ResetCounter04
These registers can be used to configure the behavior of the trigger, the ABR counter and the dither.
[x]
represents the corresponding control number.
Data type
Value
USINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Counting starts at rising edge
0
TriggerEdge
[x]
Configuration of trigger edge for "μs Since Trigger":
1
Counting starts at falling edge
1
StartTrigger
[x]
Status change of bit 1 enables the "μs Since Trigger"
x
Counting starts at the next trigger edge (see bit 0). For more in-
formation about trigger functionality, see "Trigger function pro-
0
Disabled
2
StartLatch
[x]
Latching and referencing ABR counter:
1
Enabled
0
Dither for PWM output
[x]
is enabled (default setting). The dither
frequency and dither amplitude must be >0 (see 4.25.5.15.3.5
3
DitherDisable
[x]
1
Dither for PWM output
[x]
is disabled.
0
No effect
4
ClearError
[x]
Acknowledge error or limit switch:
1
Error acknowledgment on output
[x]
(overcurrent or open load)
or acknowledgment from limit switch
[x]
0
The register ABR counter latch
[x]
contains the latched counter
value.
The register µs Since Trigger
[x]
contains the trigger counter.
5
ShowMeanCurrent
[x]
Configuration of registers ABR counter latch and
1
Both registers contain the current PWM output current
0
Enable ABR counter (default)
6
ResetCounter[x]
1
Reset ABR counter
7
Reserved
0
Trigger function procedure
The following points must be taken into consideration when configuring or activating the trigger function:
•
Select the desired trigger edge using bit 0
•
Enable the trigger function by changing the state of StartTrigger (bit 1). This edge clears the register
us_since_Trigger (µs counter).
•
When the trigger event occurs, the µs counter "µs Since Trigger" is started
•
The "µs Since Trigger" counter cannot overrun, i.e. the counter is stopped at 2
16
-1 and retains this value
until the next time the trigger function is activated
•
The trigger function can be re-activated at any time by changing the state of StartTrigger (bit 1) regardless
of if a trigger event has occurred or if "µs Since Trigger" has reached its maximum value.
Reset ABR counter
Bit 6 sets the following counters and status bits to 0:
•
ABR counter
•
Latch value of the ABR counter
•
Latching started on the ABR counter (bit 4 of the status register)
•
ABR counter successfully latched (bit 5 of the status register)
Please note that a started latch procedure is no longer active after the ABR counter has been reset. This means
that latching must be restarted by a rising edge on bit 2.
Summary of Contents for X20 System
Page 2: ......