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 #528 background imageLoading...
Page #528 background image
Open loop motion control
12.7 Using the AXISx_ABSPOS subroutine to read the absolute position from a SINAMICS servo drive
S7-200 SMART
528 System Manual, 09/2015, A5E03822230-AC
Setting 3: "One motor revolution produces how many "xxx" of motion?"
This setting defines the relationship between motor revolutions and load movement in the
defined engineering unit (for example, cm and degrees). The relevant equation that yields
the correct value for this setting is as follows:
(2) One motor revolution produces how many "xxx" of motion = c * (m / n)
where, "c" = load movement (in the defined engineering unit) per load revolution,
"m/n" = external gearing ratio expressed as load revolutions per motor revolution
For example, if the mechanical gear ratio is "1:2" and the load movement per load revolution
is 10 cm, then:
"One motor revolution produces how many cm of motion" =
10 * (1 / 2) = 5
12.7.4
Important facts to know
Do not call the AXISx_ABSPOS subroutine from within an interrupt routine or from a
subroutine called within an interrupt routine.
If you have configured multiple Axes of Motion in your CPU project, ensure that the
AXISx_CTRL subroutines for all axes are executed prior to executing the first
AXISx_ABSPOS subroutine for any axis. The AXISx_CTRL subroutine contains code to
initialize the V memory area used commonly by all instances of the AXISx_ABSPOS
subroutine in your program to manage the communications with the servo drive.
If you configure your motion axis measurement system to the "relative pulses" setting
instead of the "engineering units" setting, you can still use the AXISx_ABSPOS
subroutine to return position information from the V90 servo drive. Note, however, that
the position value returned in the "D_pos" parameter of the subroutine will then be of type
DINT and is the actual position value reported by the servo drive (there are no
engineering unit conversions performed on the value).

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