PF_Output
Turns the feeder output terminal on and off.
When two hoppers are connected to a feeder and parts are fed from each hopper, the ON time of each hopper can be specified.
Syntax
PF_Output feeder number/feeder name, Output 1 duration, Output 2 duration
Parameters
- Feeder Number
Specify the feeder number (an integer from 1 to 4) either as an expression or a numerical value. - Name
Specify the feeder name as a character string. - Output Terminal 1 ON duration
Specify the ON duration. (Use an integer value.) 1- 30000 milliseconds can be specified.
0 means that the device remains OFF. - Output Terminal 2 ON duration
Specify the ON duration. (Use an integer value.) 1- 30000 milliseconds can be specified.
0 means that the device remains OFF.
Return values
None
Description
Control will return immediately after the command processing has started. If you wish to wait for the hopper operation to finish, use the Wait command immediately after executing this command.
If this command is executed during feeder vibration or hopper operation, those operations will be stopped and the operation specified by this command will be started.
If you want to execute feeder vibration and hopper operation at the same time, please use the PF_OutputOnOff command.
The hopper(s) will stop when the PF_Abort command is executed. The hopper(s) will not stop when the PF_Stop command is executed.
PF_Hopper cannot be executed from a virtual controller or command window.
If "Hopper installed" is not checked in [System Configuration] - [Controller] - [Parts Feeder], error 2584 (Purge Gate is not valid.) will occur.
Cannot be used with IF-80 (Error 2589 "Action command call that the feeder cannot execute" occurred). Use the PF_OutputOnOff command.
When a purge gate is used with the IF-240, Output Terminal 2 is used to control the purge gate, so even if you set the ON Duration of Output Terminal 2 to a nonzero value, the output of Output Terminal 2 will not be affected. Since the Output Duration cannot be omitted, however, set it to a value of your choosing (0 or otherwise).
Examples
PF_Output 1, 700, 1000
The output from the output terminal will be as follows:
PF_Output 1, 0, 700
The output from the output terminal will be as follows: