5 Application example
5.7 Example program – DX-NET-PROFINET2-2 with TIA Portal
112
DX-NET-PROFINET2-2
01/22 MN040062EN
www.eaton.com
Input and output parameters of the SINA_SPEED function block
The following tables list the input and output parameters of the SINA_SPEED
function block.
Input parameters of the SINA_SPEED function block
Table 55:
SINA_SPEED input parameters
Table 56:
SINA_SPEED output parameters
Input signal
Type
Standard
value
Description
EnableAxis
BOOL
0
1 = Switch on the drive
AckError
BOOL
FALSE
Acknowledgment of axis error -> AckFlt = 1
SpeedSp
REAL
0.0 [rpm]
Speed reference
RefSpeed
0.0 [rpm]
Rated speed of the drive -> p2000
ConfigAxis
WORD
3
ConfigAxis input
HWIDSTW
HW_IO
0
Symbolic name or HW ID on the SIMATIC S7-1200/1500 of
the setpoint slot
HWIDZSW
HW_IO
0
Symbolic name or HW ID on the SIMATIC S7-1200/1500 of
the setpoint slot
Output
signal
Type
Standard
value
Description
AxisEnabled
BOOL
0
Operating mode is executed or enabled
Lockout
BOOL
0
1 = closing lockout active
ActVelocity
REAL
0.0 [rpm]
Current speed
(depending on the RefSpeed normalization factor)
Error
BOOL
0
1 = collective fault present
Status
INT
0
16#7002: No error - block is being processed
16#8401: Error in the drive
16#8402: Closing lockout
16#8600: DPRD_DAT error
16#8601: DPWR_DAT error
DiagID
WORD
0
Extended communication failure