PF_Center
Perform the feeder centering operation.
Available with IF-240, 380 and 530. Not available on IF-80.
Syntax
PF_Center Part ID, Direction [, Duration]
Parameters
Part ID
Specify the part ID (integer number from 1 to 32).Direction
Specifies the direction of the centering.Direction Value (defined by PartFeeding.inc) Direction to move parts Long axis PF_CENTER_LONG_AXIS Short axis PF_CENTER_SHORT_AXIS Duration
Specifies the operating time (integer value 1 to 30000 in milliseconds). When omitted, the value calculated by feeder calibration is used.
When integer value is -1, the operation is same as omitted one.
Return values
None
Description
Performs the centering operation of the IF series feeder.
PF_Center is used in the following cases:
- The parts need to be centered before separation
- Align the direction of the long and thin parts.
This command can be used directly within your functions. It can also be executed inside any part feeding callback functions when PF_Start has been executed.
It cannot be run under the following conditions.
- When executed in a user function: The feeder specified in this command (specified by the Part ID) is used in the Part Feeding process (PF_Start command) (Error 7733)
- When executed in a callback function:
Specified part ID is not set for the PF_Start command (Error 7733) - When executed from a virtual controller or command window. (Error 2582)
This command uses SyncLock for internal processing. Refer to the following for further details.
Functions used by Part Feeding Process
Examples
PF_Center 1,1