FF_Hopper
Controls the hopper output movement.
Format
FF_Hopper "Hopper output operation", setting value
Parameter
- Hopper output movement
- A to Z: Specify the symbol for the hopper output movement.
- Setting value
- (Not specified): Continuously run the specified action for the default duration.
- 0: Continuously run the specified action.
- 1 to 30000: Run the specified action for the specified duration.
- ?: Acquire the hopper status.
Returned value
| Setting value | Returned value |
|---|---|
| (Not specified) | The default duration is returned. |
| 0 | 0 is returned. |
| 1-30000 | The same value as the setting value is returned. |
| ? |
|
Example of use
The following controls are executed in order.
- Continue hopper output movement A for the default duration.
- Run hopper output movement B continuously.
- Run hopper output movement C for 1000 ms.
- Acquire the current hopper status for hopper output movement D. The returned value "1" indicates that the hopper is stopped.
> FF_Hopper "A"
0
> FF_Hopper "B", 0
0
> FF_Hopper "C", 1000
1000
> FF_Hopper "D", ?
1