SolarModePosition (FB)
FUNCTION_BLOCK SolarModePosition EXTENDS AbbLConC3
This function block represents an operation mode that allows the Solar Tracker to move to a position defined by the user. It shall keep the Solar Tracker in this position waiting for new commands or new position value
- 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. Execution will continue forever until a falling edge (Enable = FALSE) aborts the operation. During Aborting the Busy is still TRUE. Afterward all outputs are reset.
AbbLConC3
Output
BusyBOOLFALSE
Operation is running (while output Error is FALSE)
AbbLConC3
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.
AbbLConC3
Input
PosSetPointREAL0
2: Position value defined by user
Inout
GoToPosRefBOOL3: Boolean expression that enables position control block
PosRefREAL4: Desired position to locate the tracker.
Output
ErrorIDNO_ERROR
3: Error code
Methods:
E_ResetAction
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
Structure: