Subroutines Created By The Motion Wizard For The Axis Of Motion - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Open loop motion control

12.6 Subroutines created by the Motion wizard for the Axis of Motion

12.6
Subroutines created by the Motion wizard for the Axis of Motion
You must ensure for each motion action that only one motion subroutine is active at a time in
addition to the AXISx_CTRL, which must be active every scan. Each motion subroutine is
prefixed with an "AXISx_" where "x" is the axis number channel. There are 13 motion
subroutines.
Motion subroutine
AXISx_CTRL
(Page 622)
AXISx_MAN
(Page 623)
AXISx_GOTO
(Page 625)
AXISx_RUN
(Page 626)
AXISx_RSEEK
(Page 627)
AXISx_LDOFF
(Page 628)
AXISx_LDPOS
(Page 629)
AXISx_SRATE
(Page 630)
AXISx_DIS
(Page 631)
AXISx_CFG
(Page 632)
AXISx_CACHE
(Page 633)
AXISx_RDPOS
(Page 634)
AXISx_ABSPOS
(Page 635)
Note
The motion subroutines increase the amount of memory required for your program by up to
1700 bytes. You can delete unused motion subroutines to reduce the amount of memory
required. To prevent the generation of unneeded motion subroutines, uncheck the
"Generate" box for each unneeded subroutine in the "Components" node of the Motion
wizard. To restore generation of a particular motion subroutine, start the Motion wizard
again, navigate to the "Components" node, and check the "Generate" box for the subroutine.
Click the "Generate" button to rebuild the wizard-generated subroutines.
See also
Using the Motion wizard (Page 595)
620
Description
Provides initialization and overall control of the axis
Used for manual mode operation of the axis
Commands the axis to go to a specified location
Commands the axis to execute a configured motion profile
Initiates a reference point seek operation
Establishes a new zero position that is offset from the reference point position
Changes the axis position to a new value
Modifies the configured acceleration, deceleration, and jerk compensation
times
Controls the DIS output
Reads the configuration block and updates the axis setup as required
Pre-caches a configured motion profile
Returns the current axis position
Reads the absolute position value from a SINAMICS V90 servo drive
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