Basics
3.10 Drive and encoder connection
S7-1500 Motion Control V13 Update 3
Function Manual, 07/2014, A5E03879256-AC
31
3.10.3
Setting reference values
The reference values for the drive connection and encoder connection must be set
identically in the controller, and in the drive or encoder.
The setpoint speed setpoint NSET and the actual speed value NACT are transmitted in the
PROFIdrive frame as a percentage value relative to the reference speed. The reference
value for the speed must be set identically in the controller and in the drive.
The resolution of the actual value in the PROFIdrive frame must likewise be set identically in
the controller and in the drive or encoder.
Frame settings
The controller settings are made in the TIA Portal under "Technology object > Configuration
> Hardware interface > Data transmission".
The settings for drive and encoder are set in the configuration for the respective hardware.
The following table contrasts the controller settings and corresponding PROFIdrive
parameters (<TO> stands for the applicable technology object):
Setting in the TIA Portal
Controller
tag in the technology data block
PROFIdrive
parameter
Frame
<TO>.Actor.Interface.Telegram
P922
Reference speed in [rpm]
<TO>.Actor.DriveParameter.ReferenceSpeed
(SINAMICS
drives: P2000)
Maximum speed of the motor in [rpm]
<TO>.Actor.DriveParameter.MaxSpeed
(SINAMICS
drives: P1082)
Encoder message frame
<TO>.Sensor[n].Interface.Telegram
P922
Encoder system
(linear or rotary encoder)
<TO>.Sensor[n].System
P979[1] Bit0
Encoder type
0: incremental
1: absolute
2: cyclic absolute
<TO>.Sensor[n].Type
P979[5]
Resolution (linear encoder)
The grid spacing is specified on the nameplate
of the sensor as a separation distance of the
marks on the linear measuring system.
<TO>.Sensor[n].Parameter.Resolution
P979[2]
Increments per revolution
(rotary encoder)
<TO>.Sensor[n].Parameter.StepsPerRevolution
P979[2]
Number of bits for fine resolution XIST1 (cyclic
actual encoder value, linear or rotary encoder)
<TO>.Sensor[n].Parameter.FineResolutionXist1
P979[3]
Number of bits for fine resolution XIST2 (abso-
lute encoder value, linear or rotary encoder)
<TO>.Sensor[n].Parameter.FineResolutionXist2
P979[4]
Differentiable encoder revolutions
(rotary absolute value encoder)
<TO>.Sensor[n].Parameter.DeterminableRevolutions
P979[5]