Common Items

The robot number inside callback functions is the robot number specified in "General" in the Part Feeding dialog.
Refer to the following for further details.
General
Callback functions are run as normal tasks while the Part Feeding process is running. The task number used starts at 32 and decrements for each additional feeder.
Do not delete PartFeeding.prg and PartFeeding.inc. Further, do not delete or comment out callback functions not in use. Doing so will result in a build error.
Do not call callback functions from user code while the Part Feeding process is running. Doing so may have unexpected consequences. Callback functions can be executed individually for testing purposes.