hit counter script

Axis Of Motion Example Programs; Axis Of Motion Simple Relative Move (Cut-To-Length Application) Example - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

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
Network 1:
Network 2:
Network 3:
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
12.8 Axis of Motion example programs
Description
Control instruction
Start puts machine into
automatic mode.
E_Stop: Stops immediately
and turns off automatic
mode.
Open loop motion control
STL
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
LD I0.0
AN I0.2
EU
S Q0.2, 1
S M0.1, 1
LD I0.2
R Q0.2, 1
643

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents

Save PDF