SolarHydraulicControl (FB)
FUNCTION_BLOCK SolarHydraulicControl EXTENDS AbbLConC3
Function block is to manage two pistons as actuator device.
- Hydraulic system to move the tracker
Hydraulic system is based in the action of two hydraulic pistons (Piston A and Piston B) that are controlled by four solenoid valves. Each hydraulic piston has two solenoid valves to control its movement. These solenoid valves are two position valves.
A1: Backward piston A (piston A reduces its length).
A2: Forward piston A (piston A increases its length).
B1: Backward piston B (piston B reduces its length).
B2: Forward piston B (piston B increases its length).
Note
For more detailed explanation of the Hydraulic control with example and different types, refer to Automation Builder help of Solar Library.
- 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
StartHydSysBOOLFALSE
2: Starts SolarHydraulicControl block.
DirectionBOOLFALSE
3: Indicates the direction movement of Solar Tracker. TRUE:= Forward, FALSE:= Backward
PosActREAL0
4: Actual position value of solar tracker
PosMinREAL-30
5: Lower limit of the movement range.
PosMaxREAL180
6: Upper limit of the movement range.
SingularPointAREAL30
- 7: Indicates a position of the Solar Tracker (angular position). In that position, the mechanical structure of Solar Tracker shows a singular point concerning to piston A.
In that situation, piston A does not generate any torque value. This value is given by tracker manufacturer. Format: Degrees
SingularPointBREAL130
- 7: Indicates a position of the Solar Tracker (angular position). In that position, the mechanical structure of Solar Tracker shows a singular point concerning to piston B.
In that situation, piston B does not generate any torque value. This value is given by tracker manufacturer. Format: Degrees
HysREAL0.01
9: Hysteresis value to avoid unnecessary piston movement. This value is obtained by testing the behavior of the Solar Tracker. Format: Degrees
FreeWinREAL0
10: Value of semi angle in which hydraulic piston does not generate any torque value. Movement of hydraulic piston is free when is placed inside this window. This value is obtained by testing the behavior of the Solar Tracker. Format: Degrees
PressureBuildUpTimeUINT500
11: Time in ms to reach the correct hydraulic pressure
Output
ErrorIDNO_ERROR
3: Error number
PumpRunningBOOLFALSE
4: TRUE indicates that pump is running
FwdABOOLFALSE
5: Piston A is running forward
FwdBBOOLFALSE
6: Piston B is running forward
BwdABOOLFALSE
7: Piston A is running backward
BwdBBOOLFALSE
8: Piston B is running backward
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure: