PF_CycleStop

Describe processes after the PF_Stop function has been executed.

Syntax
Function PF_CycleStop(part ID As Integer)
' (Processes when stopped)
Fend

Parameters

  • Part ID
    The part ID (integer number from 1 to 32) goes here.
    When multi-part operation, the active part goes here.

Return values
None

Description
This function runs after the callback function in progress stops running once PF_Stop has been executed. System processes are described here. Processes to be described include returning the robot to its home position and turning off the robot motors.

Program Example
The following program executes processes to return the robot to its home position and turn off the motors when the PF_Stop command is issued.

Function PF_CycleStop(partID As Integer)

    Home
    Motor Off

Fend