CD522WriteOutput (FB)
FUNCTION_BLOCK CD522WriteOutput EXTENDS AbbLConCA
Function block to access all binary outputs of CD522.
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
EnableBOOLFALSE
A rising edge (Enable = TRUE) starts the operation, the output Busy goes to TRUE. All other inputs are read and considered continuously. A falling edge (Enable = FALSE) aborts the operation. During Aborting the Busy is still TRUE. Afterward all outputs are reset.
AbbLConCA
Output
BusyBOOLFALSE
Operation is running (while output Error is FALSE)
AbbLConCA
ErrorBOOLFALSE
Operation is stopped with error (while output Busy is FALSE). This output is TRUE for at least one cycle or until Enable is set to FALSE. The output ErrorID gives more details about the error.
AbbLConCA
Input
OutputO0BOOLFALSE
Binary output O0: have to be configured as “Digital output” not as “PWM” or “Pulse”
OutputO1BOOLFALSE
Binary output O1: have to be configured as “Digital output” not as “PWM” or “Pulse”
OutputC4BOOLFALSE
Binary output C4
OutputC5BOOLFALSE
Binary output C5
OutputC6BOOLFALSE
Binary output C6
OutputC7BOOLFALSE
Binary output C7
OutputC12BOOLFALSE
Binary output C12
OutputC13BOOLFALSE
Binary output C13
OutputC14BOOLFALSE
Binary output C14
OutputC15BOOLFALSE
Binary output C15
AdrOutPOINTER TO WORD
0
Address of process image output. See ../Structs/CD522Out for more information about structure
Output
ErrorIDERROR_ID.NO_ERROR
Error code description