Siemens SIMATIC S7 System Manual page 636

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
The Res parameter must be set to the resolution of the absolute encoder connected to your
servo motor. For example, the single turn resolution of a SIMOTICS S-1FL6 servo motor with
absolute encoder is 20 bits or 1048576.
Set the Drive parameter to match the RS485 address of the servo drive to be accessed by
this subroutine. Valid addresses of individual drives are 0 to 31.
Set the Port parameter to designate the CPU port to be used to communicate with the servo
drive:
● 0: Onboard RS485 port (Port 0)
● 1: RS485/RS232 signal board (if present, Port 1)
The Done parameter turns on when the subroutine's work is complete.
The Error parameter (Page 659) contains the result of this subroutine.
The D_Pos parameter contains the current absolute position returned by the servo drive.
Note
To use this subroutine, you must configure the measurement system setting for this Axis of
Motion to Engineering Units.
Note
Additional subroutines
The Motion wizard also creates the subroutines ABSPOS_SBR and ABSPOS_INT when you
enable read position in the wizard configuration to read an absolute position from a drive.
636
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