SolarModeHoming
(FB)
FUNCTION_BLOCK SolarModeHoming EXTENDS AbbLConA
This function block represents an operation mode that allows to look for the reference point initialization (Z)
- 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.
AbbLConA
Output
Done
BOOL
FALSE
Operation is completed without error (while outputs Busy and Error are FALSE). This output is TRUE for at least one cycle or until Enable is set to FALSE.
AbbLConA
Busy
BOOL
FALSE
Operation is running (while outputs Done and Error are FALSE)
AbbLConA
Error
BOOL
FALSE
Operation is stopped with error (while outputs Busy and Done are 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.
AbbLConA
Input
TypeMode
BYTE
1
2: configuration of the position sensors. Allowed values ( 1,2,3 and 4)
ZPulse
BOOL
FALSE
3: encoder Z position
LimitSwitch
BOOL
0
4: Limit switch
Inout
GoToPosRef
BOOL
5: enables movement control block
PosRef
REAL
6: desired position to locate the tracker
JogFwd
BOOL
7: drive is running forward
JogBwd
BOOL
8: drive is running backward
Output
ErrorID
NO_ERROR
4: error code
HomingStarted
BOOL
FALSE
5: enabling synchronization process / Homing started signal to subsequent blocks
HomingDone
BOOL
FALSE
6: Homing Done signal
Methods:
A_StartAction
B_CyclicAction
C_CleaningAction
D_AbortAction
E_ResetAction
Structure:
SolarModeHoming.A_StartAction
(METH)SolarModeHoming.B_CyclicAction
(METH)SolarModeHoming.C_CleaningAction
(METH)SolarModeHoming.D_AbortAction
(METH)SolarModeHoming.E_ResetAction
(METH)SolarModeHoming.zACTION_TYPE_1
(ACT)SolarModeHoming.zACTION_TYPE_2
(ACT)SolarModeHoming.zACTION_TYPE_3
(ACT)SolarModeHoming.zACTION_TYPE_4
(ACT)