Programming
7.3 Motion Control instructions
S7-1500 Motion Control V13 Update 3
Function Manual, 07/2014, A5E03879256-AC
181
7.3.2
Add Motion Control instructions
You add Motion Control instructions to a program block in the same way as other
instructions. You control all available functions of the technology object using the Motion
Control instructions.
Requirements
The technology object was created.
Procedure
To add Motion Control instructions in your user program, proceed as follows:
1.
Double click your program block in the Project Navigator (the program block must be
called in the cyclical program).
The program block is opened in the programming editor, and the available instructions
are displayed.
2.
In the "Instructions" task card, open the "Technology > Motion Control > S7-1500 Motion
Control" folder.
3.
Drag and drop the Motion Control instruction, e.g. "MC_Power", into the desired segment
of the program block.
The "Call options" dialog opens.
4.
In the dialog, specify a name and a number for the instance data block of the Motion
Control instruction.
5.
Click "OK".
The Motion Control instruction "MC_Power" is added to the segment.
The instance data block is automatically created under "Program Blocks > System Blocks
> Program Resources".