BIION-D Docs

PLC Tasks

Configure PLC-driven mode, execution settings and PLC task variable mappings.

The PLC page (from the sidebar) configures how the BIION-D system interacts with PLC controllers for automated, PLC-driven operation.

PLC page showing execution settings and the task list

PLC Mode

At the top of the page, a toggle controls whether the system operates in Manual or PLC driven mode:

Mode Description
Manual Pipelines are triggered from Run. Task mappings remain visible for configuration.
PLC driven The system accepts commands from the PLC. Additional configuration options become visible.

PLC mode toggle

PLC-Driven Options

When PLC driven mode is enabled, two additional settings appear:

Execution Mode

A toggle to switch between:

  • Acquisition — captures images for training data
  • Inference — runs the full AI inspection pipeline

Auto Compliance Mode

Only visible when the execution mode is set to Acquisition. Controls automatic labeling of captured images:

Option Description
Off No automatic labeling
Good All images are labeled as compliant
Defected All images are labeled as defected

PLC execution options

Task Configuration

Below the mode settings, all available PLC tasks are listed as expandable accordion sections. Each task represents a specific interaction between the PLC and the BIION-D system.

PLC task accordion

Task Structure

Task Effect Result for the PLC
start_analysis Runs the requested pipelines in the configured mode. Overall compliance result.
change_recipe Activates the Action Plan specified by the recipe name. Success or failure indication.
restart_action_plan Aborts the current run without finalizing it and resets the active plan’s state. No dedicated output.

Each task is divided into three columns:

Inputs

Variables that the PLC sends to BIION-D. Displayed as blue cards.

Control Node

The trigger signal that coordinates execution. Displayed as a cyan card.

Outputs

Variables that BIION-D sends back to the PLC. Displayed as amber cards.

Editing Variables

Click on any variable card (input, output or control) to open the PLC Variable Modal, where you can:

  • Select a PLC connection
  • Enter a Node ID or use Browse to explore the OPC UA tree
  • Review the expected data type
  • Set the polling rate for control nodes

PLC variable modal

When to clear a value sent by the PLC

With Clear after read, BIION-D reads the value sent by the PLC, uses it for the current task, and clears it from the PLC so it is not reused on the next command. For example, with change_recipe, enable this option if the PLC should send the recipe name for every change. Leave it off if you want the same name to remain available for a later command.

Changes to PLC mode and execution settings are saved to the server automatically when you toggle them. No explicit save action is needed.

Make sure all variables and the control node are correctly mapped to valid PLC addresses before enabling PLC driven mode in production.