Sina_Speed" Function Block - Siemens SINAMICS G Series Manual

Controlling a speed axis with the “sina_speed” block
Hide thumbs Also See for SINAMICS G Series:
Table of Contents

Advertisement

3 Function Principle of the Application Example
Table 3-4: Used bits from status word 1
Bit
Value
2
1
Enable operation
3
1
Fault active
6
1
On-inhibit active
Note
More information on the SINAMICS G120 drives can be found in the manuals \3\.

"SINA_SPEED" function block

3.2
The "SINA_SPEED" block is contained in the "DriveLib" library.
Note
https://support.industry.siemens.com/cs/ww/en/view/109475044
Block call
The "SINA_SPEED" block can be called in the following organization blocks (OBs):
Cyclic task: OB1
Interrupt OB: for example OB32
Figure 3-2: "SINA_SPEED" block call
HW_IO
HW_IO
Block parameters
The following tables list the input and output parameters of the "SINA_SPEED"
block.
Table 3-5: "SINA_SPEED" input parameters
Name
EnableAxis
AckError
SpeedSp
RefSpeed
Drehzahlachse mit SINA_SPEED
Entry-ID: 109485727,
V1.0,
Meaning
Motor can follow the setpoint value (status word 1 bit 3
enabled)
There is a fault in the converter
The motor is only switched on again after re-starting
(status word 1 bit 0).
SINA_SPEED
BOOL
EnableAxis
BOOL
AckError
REAL
SpeedSp
REAL
RefSpeed
WORD
ConfigAxis
HWIDSTW
HWIDZSW
Type
Start value
BOOL
FALSE
BOOL
FALSE
REAL
0.0
REAL
0.0
06/2017
Remark
AxisEnabled
BOOL
Lockout
BOOL
ActVelocity
REAL
Error
BOOL
Status
WORD
DiagId
WORD
Function
Start/stop of the drive (assignment of drive
control word 1 bit 0)
Acknowledgment of errors in the drive
(assignment of drive control word 1 bit 7)
Definition of the speed [1/min]
Reference speed of the drive.
(Entry must be identical with drive
parameter p2000)
10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinamics g120Simatic s7-1200

Table of Contents