Lenze PLC Designer ApplicationTemplate (PLC Designer R3- Manual de usuario Pagina 119

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 177
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 118
Lenze · ApplicationTemplate · 1.3 EN - 04/2013 119
The L_EATP_ApplicationTemplate library
1_POUs - Program Organization Units
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
11.2.4 L_EATP_ErrorSet
This FB can trigger up to four errors. The triggering of an error has an impact on the state machine.
Depending on how you program the error response (eReaction), the state machine changes to
the status defined.
Inputs
Function library: L_EATP_ApplicationTemplate
Runtime software licence: LPC 1x00 MPC 1x00
MPC 2x00
MPC 2x10
MPC 2x20
MPC 2x30
MPC 3x00 ; None
L_EATP_ErrorSet
BOOL xSetError[1...4] xError[1...4]Active BOOL
WORD wErrCode[1...4]
L_EATP_ErrorReactionType
eReaction[1...4]
dwPriority[1...4]
BOOL xAckNeeded[1...4]
STRING sText[1...4]
DWORD dwErrDetail[1...4]
Identifier/data type Information/possible settings
xSetError[1...4]
BOOL
Setting an error [1...4]
Error source: module application (MAP)
TRUE Error [1...4] has been set.
FALSE Error [1...4] has not been set.
wErrCode[error number]
WORD
Unique error number of error [1...4]
eReaction[error response]
L_EATP_ErrorReactionType
Error response type of error [1...4]
dwPriority[priority]
DWORD
Assignment of a priority [1...n] for error responses.
Helps prioritise errors of the same error response type.
Highest priority = 1.
xAckNeeded[acknowledgement required]
BOOL
Note:
Is ignored for the following error response types:
"Information": Acknowledgement not required.
"Fault": Acknowledgement is always
required.
"SystemFault": No acknowledgement possible.
FALSE No acknowledgement of the error [1...4]
required.
TRUE Acknowledgement of the error [1...4] is required.
sText[error text]
STRING
Text of error [1...4]
dwErrDetail[error number]
DWORD
Detail information on error [1...4]
Vista de pagina 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 176 177

Comentarios a estos manuales

Sin comentarios