SF_LimitSpeedSEnable Function
Returns the status of the speed adjustment function when Safety Limited Speed (SLS) is enabled.
Syntax
SF_LimitSpeedSEnable(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 Speed adjustment function when SLS_1 is enabled SLS_2 2 Speed adjustment function when SLS_2 is enabled SLS_3 3 Speed adjustment function when SLS_3 is enabled SLS_T 9 Speed adjustment function when SLS_T is enabled SLS_T2 10 Speed adjustment function when SLS_T2 is enabled
Return Values
- When the speed adjustment function for the specified SLS number is On, returns 1.
- When the speed adjustment function for the specified SLS number is Off, returns 0.
Description
Returns the status for the function that adjusts the speed when the specified SLS number is monitored.
SF_LimitSpeedSEnable Function Example
If SF_LimitSpeedSEnable(SLS_1) = 0 Then
Print "SLS_1 linked speed adjustment function is disabled."
Endif