PF_IsStopRequested Function

Checks whether a Part Feeding process end request has been issued (whether PF_Stop has been executed).
This is normally used within a callback function.

Syntax
PF_IsStopRequested(part ID)

Parameters

  • Part ID
    Specify the part ID. (Use an integer from 1 to 32.)

Return values
True is returned when PF_Stop has been called while the Part Feeding process is running.
False is returned in all other circumstances.

Description
This is used to determine whether a Part Feeding end request has been issued within a callback function. When running loop processing, etc., code the program so that this function is called for each loop, discontinuing the loop and ending the callback function when an end request is issued.
In the case of multi-part operation, you can specify one of the part IDs specified by PF_Start. For example, if you run PF_Start 1, 2, 3, 4, then PF_Stop 2 2 is executed, you can check exit request with this function by using Part ID1,2,3 or 4.
PF_Hopper cannot be executed from a virtual controller or command window.

Examples
Refer to the following for further details.
PF_Robot