RCK_ManualOperation (FB)
FUNCTION_BLOCK RCK_ManualOperation
This function block is implemented to manually operate the cutter by Jog, absolute positioning, relative positiong or homing.
All these operations are activated when cutter state is in “Manual”, “RotartyStandby”, “Paused” or “Resuming”.
Note
All the units of inputs about position or velocity are the same as the unit of circumference of cutter set in RCK_Parameter.
Note
The homing sequence is not contained in, please instance one appropriate homing function block, and connect whose start trigger to the out HomingTrigger.
- InOut:
Scope
Name
Type
Initial
Comment
Input
JogForwardBOOLFALSE
Move forward as long as JogForward = TRUE
JogBackwardBOOLFALSE
Move backward as long as JogForward = TRUE
MoveAbsoluteBOOLFALSE
Move to a specified absolute position
MoveRelativeBOOLFALSE
Move to a specified relative distance
PositionLREAL0.0
[u] The target of the specified movement, for MoveAbsolute it`s the absolute position, range: >= 0 and < Circumference; for MoveRelatvie it`s the relative distance
VelocityLREAL10
[u/s] The maximum velocity of the specified movement
AccelerationLREAL50
[u/s2] The acceleration of the specified movement, Range: >=0. If value = 0, Acceleration will be equal to parameter paraMaxAccelerationAppl
DecelerationLREAL50
[u/s2] The deceleration of the specified movement, Range: >=0. If value = 0, Deceleration will be equal to parameter paraMaxDecelerationAppl
JerkLREAL0.0
[u/s2] The Jerk of the specified movement, Range: >=0
StartHomingBOOLFALSE
Starts homing sequence when StartHoming = True
HomingDoneBOOLFALSE
The feedback from homing function block to indicate that homing sequnce has done
HomingErrorBOOLFALSE
The feedback from homing function block to indicate that error occurred during homing
Output
DoneBOOLShows the status of the command. Done = TRUE if the execution is finished
BusyBOOLIndicates that the function block is not finished
JogActiveBOOLIndicates that Jog command is runnig
MoveAbsActiveBOOLIndicates that MoveAbsolute command is running
MoveRelActiveBOOLIndicates that MoveRelative comman is running
HomingActiveBOOLIndicates that Homing comman is running
ErrorBOOLSignals that error has occurred within function block
ErrorIDAC500_MotionControl.ERROR_IDError identification. For error details refer to Enumeration AC500_MotionControl.ERROR_ID
AppErrorIDError identification. For error details refer to Enumeration ERROR_ID
HomingTriggerBOOLThe trigger to make the homing function block to run
Inout
RotaryCutterReference to rotary cutter