Set Outputs
With a Set Outputs Node, you can switch one or more digital outputs of the Control Unit, one after the other.
This enables you to interact with your custom periphery.
For every output that you switch, you can additionally define a delay which causes the Robot to wait before it executes the next command.
This is useful e.g. if you want to trigger a vacuum gripper and you have to wait until the vacuum is properly created.
Configuring the outputs
Select the Node. The open Node lists its Outputs. Click + to add the first output.
Click an output to open the Set Output panel. In the panel, Add Output adds more outputs. The ⋮ menu of an output offers Duplicate and Delete, and you can reorder the outputs by dragging them. Add Output is disabled when the Robot reports no outputs.
Each output has these fields:
- Name: optional. The name also titles the entry in the list. Without a name, the entries are called "Output 1", "Output 2" and so on.
- Bank: the bank of the output. The bank names come from the Robot Configuration.
- Output: the channel to switch.
- State: switch the output on (high) or off. Default: off.
- Delay: in seconds, default 0. The time to wait after this output is set before the next output or the next Node runs.
A new output starts with the Robot's first output bank, channel 0, state off and a delay of 0.
When the Node runs
The Node sets the outputs in list order. RobFlow waits up to 2 seconds for the controller to confirm each new state. If the state is not confirmed, the Flow pauses (when running continuously). Then the delay runs.
Validation
- An empty list makes the Node Not configured: "At least one output is required".
- A delay below 0 shows "Value must be positive". An empty delay shows "Field is required".
An Output Variable set with the Variable Node switches the same signal. See Binding a Variable to I/O.