AX10 Palletizing Solution
5.5. Palletizing Script Functions
Palletizing functions are made available in the Script dropdown menu.
Fig. 5-37: Script node
Tap the Script Code textbox (f(x)), then on the Function dropdown menu.
Select the script function from the list.
Fig. 5-38: Function dropdown menu in Script node
5.5.1. Get Linear Axis Position
Description
This function returns the linear axis position measured from the lowest point of the axis. It can be used anywhere in the program.
Declaration
rq_get_linear_axis_pos( )
Returned value
This function returns a float which expresses the linear axis position in meters.