SolarModeTracking
(FB)
FUNCTION_BLOCK SolarModeTracking EXTENDS AbbLConCA
This function block represents an operation mode that allows to track the sun based on a calculated sun position.
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
Enable
BOOL
FALSE
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
Busy
BOOL
FALSE
Operation is running (while output Error is FALSE)
AbbLConCA
Error
BOOL
FALSE
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
PosCalc
REAL
0
2: calculated sun position
PosAct
REAL
0
3: actual solar tracker position
TrackError
REAL
0
4: track error. Configured by the user
FollowOffset
REAL
0
5: follow offset. Configured by the user
Inout
GoToPosRef
BOOL
6: enable movement control block
PosRef
REAL
7: desired position to locate the tracker
Output
ErrorID
NO_ERROR
3: error code
Methods:
D_AbortAction
A_StartAction
B_CyclicAction
C_CleaningAction
E_ResetAction
Structure: