Instructions
11.1 S7-1500 Motion Control V2
S7-1500 Motion Control V13 Update 3
258
Function Manual, 07/2014, A5E03879256-AC
Parameter
Declaration Data type
Default value Description
Error
OUTPUT
BOOL
FALSE
TRUE An error occurred during execution of the
job. The job is rejected. The cause of the
error can be found in the "ErrorID" parame-
ter.
ErrorID
OUTPUT
WORD
16#0000
Error ID (Page 386) for parameter "Error"
Moving an axis relative to the starting position
Proceed as follows to move an axis relative to the starting position:
1.
Check the requirements indicated above.
2.
Specify distance to be moved in the "Distance" parameter.
3.
Start the "MC_MoveRelative" job with a positive edge at the parameter "Execute".
The current motion state is indicated in "Busy", "Done" and "Error".
See also