Function Block Description

 

LimitSwitch_AR Function Block

Pin Diagram

G-SE-0016959.2.gif-high.gif

 

 

Function Block Description

This function block handles up to 4 movement positions for trolley, bridge, hoisting or slewing:

oForward stop position

oForward slow position

oReverse stop position

oReverse slow position

Remark

If any of the limit switch positions are not used, the related input on the function block must be set to TRUE, as the limit switch management function is designed for NC configuration.

Standard Limit Switch Behavior

The standard limit switch function block allows the axis to move at any given speed until either of the slow limit switches is reached. To enable this function, enter a value of zero into the i_rDistStop input. Any other value enables the adaptive ramp function.

Example:

When the system moves in the forward direction and the Forward slow position i_xLsFwdSlow is reached, the function block enables the Forward slow signal q_xDrvFwdSlow. When the Forward stop position i_xLsFwdStop is reached, the function block turns OFF the Forward command output signal q_xDrvFwd. .

When the system moves in the reverse direction and the Reverse slow position i_xLsRevSlow is reached, the function block enables the Reverse slow signal q_xDrvRevSlow. When the Reverse stop position i_xLsRevStop is reached, the function block turns OFF the reverse command output signal q_xLsRevStop.

Adaptive Ramp Behavior

The adaptive ramp function allows the axis to move at any given speed as long as it is possible. To enable this function, enter the desired stop distance in meters into the i_rDistStop input. If a value of zero is entered, the adaptive ramp function will be disabled.

Example:

When the system is moving in the forward direction and the Forward slow position i_xLsFwdSlow is initiated, the function block enables the internal calculation of the remaining distance according to the actual speed.The function block calculates the traveled distance by integrating actual speed of the drive over time. The adaptive ramp function allows the FB to calculate the highest available speed while the axis is in a slow-down area.

Once the last possible point in time is reached to slow down the movement according to the chosen ramp, the Forward slow signal q_xDrvFwdSlow is set TRUE and the movement is stopped. When the Forward stop position i_xLsFwdStop is initiated, the function block turns OFF the Forward allow signal q_xDrvFwd. The function works the same for the reverse direction.

The following figures describe the benefit of using an adaptive ramp function.

NOTE: The following chart shows the actual speed of the drive.

The first chart shows the behavior when entering a properly configured slow-down area at nominal speed:

G-SE-0016904.1.gif-high.gif

 

 

The second chart describes entering the slow-down area at a speed that is approximately half of the nominal speed with an adaptive ramp function:

G-SE-0016905.1.gif-high.gif

 

 

The third chart shows the behavior without the adaptive ramp function. The shaded area corresponds to the distance traveled in slow-down area at a given speed:

G-SE-0016906.1.gif-high.gif

 

 

The function block can work in 2 modes depending on the value of the i_rDistStop input:

Mode

Meaning

Adaptive ramp

The FB removes the direction command after the preset stop distance has been traveled.

Slow-down only

After the Slow switch became FALSE, the q_xDrvFwdSlow or q_xDrvRevSlow is set to TRUE, until the Hardware Stop Limit switch is reached.