12 Appendix
12.2 Flow chart of a pulse output
150
XI/ON: XNE-2CNT-2PWM
04/2011 MN05002035Z-EN
www.eaton.com
12.2
Flow chart of a pulse output
Control interface: PWMx_GENERAL_DISABLE = 1
Control interface: PWMx_LOGMSG = 0
®
1
Check-back interface:
BYTEx(MSG) == 0
?
Control interface: REG_XX_XX = XX
Control interface: PWMx_GENERAL_DISABLE = 0
Check-back interface:
STS_PWMx_GENERAL_EA == 1
?
Control interface: PWMx_SFKT_DISABLE = 0
Control interface: PWMx_SW_LR = 0
®
1
Check-back interface:
STS_PWMx_SFKT_EA == 1
?
Acknowledge in
check-back interface:
MSG_PWMx_SW_LR == 1
?
Acknowledge in
check-back interface:
MSG_PWMx_SFKT == 1
?
Hardware input Zx = 1
Control interface: PWMx_SW_LR = 1
®
0
Control interface: PWMx_ENABLE = 1
Reset message, if PWMx_SW_LR = 0
Control interface: PWMx_LOGMSG = 0
®
1 / 1
®
0
Acknowledge in
check-back interface:
STS_PWMx_RUN == 1
?
configuration
error handling
error handling
error handling
error handling
MSG handling
Control interface: PWMx_LOGMSG = 1
®
0
no
yes
no
yes
no
Yes
no
Yes
no
yes
no
yes
error handling
Checking and handling of messages which are still active
until all messages are reset.
Messages in the check-back interface are reset by copying
the messages generated during the LOG phase into the
message data (check-back interface).
If the PWM is active (STS_PWMx_RUN = 1) during the
message handling, it is possible that further messages
occurred during the LOG phase. These message are copied into
the message data with a rising edge at PWMx_LOGMSG = 1
®
0.
Load start conditions into the registers.
Activate function unit PWMx if necessary.
Acknowledge that function unit PWMx is active.
Acknowledge that a Latch-Retrigger was done.
Acknowledge that the signal output is enabled.
At STS_PWMx_RUN = 1 the output is enabled,
at STS_PWMx_RUN = 0 it is disabled.
Hardware gate for the signal output
(default parameterization):
The HW gate enables the signal output
with Zx = 1 and disables it with Zx = 0.
Disabling and enabling the PWM during
the signal output does not
change any other register data.
Activate special function if necessary.
Control interface: PWMx_LOGMSG = 1
®
0
In continuous signal output (REG_PWMx_CNTDC) = 0
the actual counter value in (REG_PWMx_CNTDC) is
copied into the Latch-register (REG_PWMx_LATCH),
the counter (REG_PWMx_CNTDC) is reloaded via
(REG_PWMx_CNTSV) and the signal output is
restarted without influencing the output process.
In perodical signal output is put out only once until
(REG_PWMx_CNTDC) = 0. A new signal output will
be started with an edge 0
®
at PWMx_SW_LR.
Software gate of the signal output:
The signal output is released with PWMx_ENABLE = 1
and disabled with PWMx_ENABLE = 1.
Disabling and enabling the counter during the
signal output does not change any other register.
The signal output is done, according to the parameterized operation mode, as long as Zx = 0 or PWMx_ENABLE = 1 and the
value of the counter for the signal output is not equal to ZERO. In the periodical signal output, the signal output ends with
REG_PWMx_CNTCD) = 0. With a Latch-Retrigger the counter can be reloaded and the signal output restarts.
In continuous signal output, a Latch-Retrigger is automatically executed at (REG_PWMx_CNTDC) = 0 and the signal output is
continued without interruption. The bit STS_PWMx_RUN = 1 shows an active signal output.
Содержание XNE-2CNT-2PWM
Страница 1: ...04 2011 MN05002035Z EN User Manual XI ON XNE 2CNT 2PWM Technology Module...
Страница 10: ...1 About this manual 1 3 Overview 10 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...
Страница 84: ...7 Report of configuration errors 7 1 Error register 84 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...