8 Error handling in the control interface / check-back interface
8.1 Error messages of the module
XI/ON: XNE-2CNT-2PWM
04/2011 MN05002035Z-EN
www.eaton.com
87
8.1.2
Storage of messages (MSG)
In order to guarantee that all events or state changes which effect the MSG bits can be regis-
tered at any time, the following behaviour was implemented:
• With the change from 0
→
1 in the control bits CNTx_LOGMSG or respectively
PWMx_LOGMSG in the Process input / check-back interface (
→
see page 28), all states of
the MSG bits are held.
• If events which would cause messages would occur in the meantime, they would get lost.
• To avoid this, a "shadow register" (REG_CNTx_LOGMSG, page 93 ff. or respectively
REG_PWMx_LOGMSG, page 95 ff.) was created, in which, as long as the message bits
are held, newly occurring messages (MSG) are stored.
• The basic status of the shadow register is: "all MSG = 0".
• The states of the MSG bits, held in the process input data, can now be read out without
newly incoming MSG going lost.
Resetting the control bits
• If now the control bits CNTx_LOGMSG or PWMx_LOGMSG in the Process output / control
→
see page 32) are reset through 1
→
0, the messages that were meanwhile
recorded in the shadow register are copied to the MSG bits in the Process input / check-
back interface (page 28).
• By means of this procedure, MSG bits of the Process input / check-back interface (page 28)
can be read out or respectively set back without loosing messages.
Figure 17:
Flow chart for
the storage of
MSG
Check-back interface:
MSG-Bytes > 0
?
Error handling:
Evaluation of MSG
Control interface:
CNTx_LOGMSG = 0 resp. PWMx_LOGMSG = 0
no
Yes
Continuous monitoring if messages
have been activated.
The shadow register is loaded into the MSG-bytes
in the check-back interface.
Control interface:
CNTx_LOGMSG = 1 resp. PWMx_LOGMSG = 0
Active messages are locked up,
new messages are stored to a
shadow register.
The MSG byte is read out and the event is evaluated..
Содержание 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...