SF_LimitSpeedS Function
Returns the speed adjustment value of the speed adjustment function when Safety Limited Speed (SLS) is enabled.
Syntax
SF_LimitSpeedS (SLS number)
Parameters
- SLS Number
- Specify the SLS number as an integer value or as a constant as shown below.
Constant Value Description SLS_1 1 Returns the speed adjustment value when SLS_1 is enabled. SLS_2 2 Returns the speed adjustment value when SLS_2 is enabled. SLS_3 3 Returns the speed adjustment value when SLS_3 is enabled. SLS_T 9 Returns the speed adjustment value when SLS_T is enabled. SLS_T2 10 Returns the speed adjustment value when SLS_T2 is enabled.
Return Values
Returns the speed adjustment value [mm/s] for the specified SLS number.
Description
Returns the speed adjustment value [mm/s] for the SLS number specified by the function that adjusts speed when SLS is enabled.
SF_LimitSpeedS Function Example
Integer i
i = SF_LimitSpeedS(SLS_1)
Print "SLS_1 limit speed is ", i