Chapter 6 Motion Function Blocks
6.6.25 RotaryKnife cam profile generation (LS_RotaryKnifeCamGen)
LS_RotaryKnifeCamGen
Execute DoneBOOL BOOL
UINT CamType
Busy BOOL
Error BOOL
ErrorID WORD
UINT CamCurve
UINT
CamPointNum
LREAL PartLength
LREAL Circumference
LREAL CuttingStart
LREAL CuttingEnd
LREAL CuttingSpdRatio
UINT CamTableID
UINT
Axis
Axis UINT
UINT Axis
Specify the axis to give the command.
(1-32: real/virtual axis, 33-36: virtual axis)
BOOL Execute
Performs cam profile generation in the rising Edge.
UINT CamTableID
Set the cam table ID where the profile is stored.
Set the length of the object to cut by the RotaryKnife.
Set the circumference of the RotaryKnife.
Set the position for the RotaryKnife to start cutting.
Set the position for the RotaryKnife to end cutting.
LREAL CuttingSpdRatio
Adjust the synchronization speed by a percentage while the RotaryKnife is cutting.
(If 100 is entered, the cutting speed is synchronized 1:1 with the main axis.)
UINT CamType
Set the type of the cam profile to generate.
(0:ALL 1:RampIn 2:Running 3:RampOut)
(4:sALL 5:sRampIn 6:Running 7:sRampOut)
Set the cam curve type used in cam profile generation. (0:Linear 1:Cubic)
Set the number of cam points used for the cam profile.
Indicates that the cam profile is generated successfully.
Indicates that the execution of the motion function block is not completed.
Indicates whether an error occurs or not.
Outputs the error ID occurred while the motion function block is running.
(1) This motion function block generates the cam profile which performs the RotaryKnife action.
(2) Use the cam profile generated through LS_RotaryKnifeCamGen in the LS_OnOffCam function block.
(3) On the PartLength input, enter the length of the object to perform cutting using the RotaryKnife.