EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #492 background imageLoading...
Page #492 background image
Open loop motion control
12.4 Programming an Axis of Motion
S7-200 SMART
492 System Manual, 09/2015, A5E03822230-AC
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
On) to ensure that this instruction is executed every scan.
To move the motor to a specific location, use an AXISx_GOTO or an AXISx_RUN
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.
To use absolute coordinates for your motion, you must establish the zero position for
your application. Use an AXISx_RSEEK or an AXISx_LDPOS instruction to establish
the zero position.
The other instructions that are created by the Motion wizard provide functionality for
typical applications and are optional for your specific application.
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.

Table of Contents

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals