Programming An Axis Of Motion - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Open loop motion control

12.4 Programming an Axis of Motion

12.4
Programming an Axis of Motion
STEP 7-Micro/WIN SMART provides easy-to-use tools for configuring and programming the
Axis of Motion. Simply follow these steps:
1. Configure the Axis of Motion: STEP 7-Micro/WIN SMART provides a Motion wizard for
creating the configuration/profile table and the position instructions. See "Configuring the
Axis of Motion" for information about configuring the Axis of Motion.
2. Test the operation of the Axis of Motion: STEP 7-Micro/WIN SMART provides a Motion
control panel for testing the wiring of the inputs and outputs, the configuration of the Axis
of Motion, and the operation of the motion profiles. See "Monitoring the Axis of Motion
with the Motion control panel" for information about the Motion control panel.
3. Create the program to be executed by the CPU: The Motion wizard automatically creates
the motion instructions that you insert into your program. See "Instructions created by the
Motion wizard for the Axis of Motion" for information about the motion instructions. Insert
the following instructions into your program:
– To enable the Axis of Motion, insert an AXISx_CTRL instruction. Use SM0.0 (Always
– To move the motor to a specific location, use an AXISx_GOTO or an AXISx_RUN
– To use absolute coordinates for your motion, you must establish the zero position for
– The other instructions that are created by the Motion wizard provide functionality for
4. Compile your program and download the system block, data block, and program block to
the CPU.
Note
Make sure to match the measurement system configuration to the pulses/revolution and
distance/revolution specifications of your stepper/servo motor controller system.
606
On) to ensure that this instruction is executed every scan.
instruction. The AXISx_GOTO instruction moves to a location specified by the inputs
from your program. The AXISx_RUN instruction executes the motion profiles you
configured with the Motion wizard.
your application. Use an AXISx_RSEEK or an AXISx_LDPOS instruction to establish
the zero position.
typical applications and are optional for your specific application.
System Manual, V2.3, 07/2017, A5E03822230-AF
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents