Chapter 6 Motion Function Blocks
6.7.14 Perform path operation (MC_RunMovePath)
LS_RunMovePath
DoneExecute
AxesGroup AxesGroup
BOOL
BOOL
UINT UINT
ARRAY[] OF BYTE PathData
UINT StartStep
Busy BOOL
Active BOOL
Error BOOL
ErrorID WORD
UINT EndStep
CommandAborted BOOL
CurStep UINT
UINT AxesGroup
Set the group to execute the path operation data.
(1 ~ 16 : Group 1 ~ Group 16)
BOOL Execute
I
n the rising Edge, the command for setting the path operation data is sent to the
corresponding axis group.
Set the location where the path data is stored.
UINT StartStep
Enter the start step number of the path data.
(The step number is affected by the size of the data set in PathData.)
UINT EndStep
Enter the end step number of the path data.
(The step number is affected by the size of the data set in PathData.)
Indicate that the path data setting is completed successfully.
Indicate that the execution of motion function block is not completed.
Indicate that machine information setting of the current axis is running.
Indicate that the current motion function block is interrupted while it is running.
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
Output the currently running step number.
(1) This motion function block is the function block to execute the path operation for the axis group specified in the AxesGroup
input.
(2) The step value can be set from 0, and the size of one step is 96 Bytes.
(3) The path data is saved in the area of data set in PathData. The variable set in PathData should be set to 96 times or more of
the number of the steps to use.
(4) The difference between StartStep and EndStep cannot be set to 100 or more. (Up to 100 step operations can be executed
at one time.)