Skip to main content
Version: v9

Fieldbus and protocols

Two sections configure how the Robot talks to other controllers: Modbus/TCP for connections the Robot opens itself, and OPC UA for the server the Robot exposes.

Modbus/TCP​

A Modbus/TCP connection points at a Modbus server — a PLC, a gripper controller, a scanner. Configure the connection once here, then reference it wherever you need it.

FieldMeaning
NameHow the connection is identified when selecting it elsewhere
Host IPThe server's address
PortThe TCP port, conventionally 502
UnitThe Modbus unit (slave) ID to address, 0-255

Use Add Connection to create one. It starts as New Modbus/TCP Connection. Use an entry's ⋮ menu to Duplicate or Delete it. If two connections address the same host, port and unit, both show a Duplicate connection warning. Bind everything to one of them and remove the other.

Checking a connection​

A connection's page also lets you check it before you build Variables on it:

  • Test connection connects once and shows Connected · N ms, or Not reachable with the reason. Not tested shows until you run it.
  • Bound Variables lists the Variables mapped to this connection, with type, address and live value. Refresh values re-reads them, and the pencil (Edit Variable) opens a Variable. When nothing is mapped, the list says No Variables are bound to this connection.
  • Live probe reads 32 entries from a Start address in a chosen Space (Holding register, Input register, Coil, Discrete input) with Read, without binding a Variable. Use it to check an address map before you build Variables on it.

Using a connection​

Once configured, a connection can be used two ways:

Prefer a Variable when the same value is read in several places or needs to appear on a Dashboard; prefer the Nodes for a one-off read or write inside a single Flow.

note

Deleting a connection that Variables are still mapped to leaves those Variables broken. They show up under the Problematic filter in the Variables window (Alt + V). Before you delete a connection, check its Bound Variables list.

OPC UA​

The OPC UA section manages the certificates for the Robot's OPC UA server, so an OPC UA client can connect securely.

info

The OPC UA section only appears when the Control Unit has OPC UA certificate management enabled.

Server certificate​

The certificate the Robot presents to clients. The section shows its issuer and validity, and whether it has expired, and lets you download or delete it. With no server certificate, a new one is generated the next time the OPC UA server restarts.

warning

Deleting the server certificate stops OPC UA clients from being able to connect at all. The section warns you before it does this.

Trusted client certificates​

The clients the Robot will accept. Upload a client's certificate (.der) to trust it; the list shows each certificate's issuer and validity so you can spot one that has expired.

Uploading a certificate whose name already exists replaces the existing one, and you are asked to confirm first.

note

An expired certificate on either side stops the connection, and the symptom is a client that simply cannot connect. When OPC UA stops working after a period of running fine, check the validity dates here first.

Profinet​

Profinet has its own manual

Everything on the PLC side is documented separately, in the Profinet manual — wiring the Robot to the PLC, the TIA Portal setup, the RobCo_* data types, the command interface, and the data fields on the wire.

Useful starting points: Connecting the Robot, TIA Portal setup and the data field reference.

Robot Configuration has no Profinet section. Profinet (V2) is set up per Variable: in the Variable editor, turn on Use Profinet Input (Read from Profinet) or Use Profinet Output (Write to Profinet). RobFlow places the Variable in a Module at an Offset within module. The length follows the Variable type; there is no byte length to enter. See Mapping a Variable to a fieldbus.

Export the matching PLC data type from the Variables window with Export Profinet UDT file.

To let the PLC operate the Robot, turn on Control with Profinet in the app bar's ⋮ menu. While Profinet holds control, every RobFlow session is in View-only mode until someone selects Disable Profinet in the take-control dialog (Profinet is in control). See Single point of control.