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

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. 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

Busy

BOOL

FALSE

Operation is running (while output Error is FALSE)

AbbLConC3

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.

AbbLConC3

Input

StartHydSys

BOOL

FALSE

2: Starts SolarHydraulicControl block.

Direction

BOOL

FALSE

3: Indicates the direction movement of Solar Tracker. TRUE:= Forward, FALSE:= Backward

PosAct

REAL

0

4: Actual position value of solar tracker

PosMin

REAL

-30

5: Lower limit of the movement range.

PosMax

REAL

180

6: Upper limit of the movement range.

SingularPointA

REAL

30

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

SingularPointB

REAL

130

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

Hys

REAL

0.01

9: Hysteresis value to avoid unnecessary piston movement. This value is obtained by testing the behavior of the Solar Tracker. Format: Degrees

FreeWin

REAL

0

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

PressureBuildUpTime

UINT

500

11: Time in ms to reach the correct hydraulic pressure

Output

ErrorID

ERROR_ID

NO_ERROR

3: Error number

PumpRunning

BOOL

FALSE

4: TRUE indicates that pump is running

FwdA

BOOL

FALSE

5: Piston A is running forward

FwdB

BOOL

FALSE

6: Piston B is running forward

BwdA

BOOL

FALSE

7: Piston A is running backward

BwdB

BOOL

FALSE

8: Piston B is running backward

Methods:

A_StartAction

B_CyclicAction

C_CleaningAction

D_AbortAction

E_ResetAction

Structure: