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
EnableBOOLFALSE
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
DoneBOOLFALSE
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
BusyBOOLFALSE
Operation is running (while outputs Done and Error are FALSE)
AbbLConA
ErrorBOOLFALSE
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
TypeModeBYTE1
2: configuration of the position sensors. Allowed values ( 1,2,3 and 4)
ZPulseBOOLFALSE
3: encoder Z position
LimitSwitchBOOL0
4: Limit switch
Inout
GoToPosRefBOOL5: enables movement control block
PosRefREAL6: desired position to locate the tracker
JogFwdBOOL7: drive is running forward
JogBwdBOOL8: drive is running backward
Output
ErrorIDNO_ERROR
4: error code
HomingStartedBOOLFALSE
5: enabling synchronization process / Homing started signal to subsequent blocks
HomingDoneBOOLFALSE
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)