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 #529 background imageLoading...
Page #529 background image
Open loop motion control
12.8 Axis of Motion example programs
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
529
12.8
Axis of Motion example programs
12.8.1
Axis of Motion simple relative move (cut-to-length application) example
The example program shows a simple relative move that uses the AXISx_CTRL and
AXISx_GOTO subroutines to perform a cut-to-length operation. This program does not
require an RP seek mode or a motion profile, and the length can be measured in either
pulses or engineering units. Enter the length (VD500) and target speed (VD504). When I0.0
(Start) turns on, the machine starts. When I0.1 (Stop) turns on, the machine finishes the
current operation and stops. When I0.2 (E_Stop) turns on, the machine aborts any motion
and immediately stops.
Table 12- 33 Example: Axis of Motion simple relative move (cut-to-length application)
LAD/FBD
Description
STL
Network 1:
Control instruction
LD SM0.0
= L60.0
LDN I0.2
= L63.7
LD L60.0
CALL AXIS0_CTRL,
L63.7, M1.0,
VB900, VD902,
VD906, V910.0
Network 2
:
Start puts machine into
automatic mode.
LD I0.0
AN I0.2
EU
S Q0.2, 1
S M0.1, 1
Network 3:
E_Stop: Stops immediately
and turns off automatic
mode.
LD I0.2
R Q0.2, 1

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