SolarModeManual (FB)
FUNCTION_BLOCK SolarModeManual EXTENDS AbbLConCA
This function block represents an operation mode that allows to set the system in manual mode
- 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
ManualFwdBOOLFALSE
2: Run drive forward manually
ManualBwdBOOLFALSE
3: Run drive backward manually
Inout
GoToPosRefBOOL4: enable movement control block
PosRefREAL5: desired position to locate the tracker
JogFwdBOOL6: drive is running forward
JogBwdBOOL7: drive is running backward
Output
ErrorIDNO_ERROR
3: error code
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure: