Connection wizard

Updated: from version 1.11

In the connection wizard, you create a connection to a PLC or change it. It guides you through three steps: Connection, Variables and Selected variables. The step bar at the top shows where you are. You can go back at any time via the step bar or with Back.

Only users with the Administrator role can open the wizard.

Open it

  • New connection: "Connections" page, New connection button. The window is called "New PLC connection — step 1 of 3".
  • Existing connection: click Edit in the row of the connection. The window is called "Edit connection — ‹Name› — …" and opens directly at the selected variables. The PLC is not read again for this.

Step 1: Connection

Field Meaning
Manufacturer Siemens S7 or Beckhoff TwinCAT (ADS). After saving, you cannot change the manufacturer. A grayed-out entry marked "coming soon" cannot be selected in this version yet.
Name any name, for example "Press 3". Required.
IP address the address of the PLC, for example 192.0.2.10, or its host name. Required. For practice, demo or demo-linie.
CPU type and Mode (Siemens) S7-1500, S7-1200, S7-300, S7-400 or LOGO! 0BA8. Mode "Symbolic" for S7-1200 and S7-1500, "Legacy" for S7-300, S7-400 and LOGO! 0BA8.

| AMS Net ID and AMS port (Beckhoff) | see Beckhoff TwinCAT 3 | | Interval (ms) | how often PlantBeat reads. Default 1000 ms. | | Password (optional) | only for a secured S7-1500 with CPU password | | Read only | PlantBeat sends no write command to this PLC: controls and record fetches with done flag are then blocked. |

Under Advanced (optional) you find settings that almost always stay at their defaults:

  • Port, 102 for Siemens.
  • Acquisition type: "Polling (interval)" reads at the set interval. "On change" reports only changed values. This choice only appears if the driver supports it.
  • Latitude and Longitude for the map widget.

Enter an IP address without leading zeros, so 192.0.2.10 and not 192.0.2.010.

Test connection

Click Test connection. If it works, it shows "Connection successful". Otherwise PlantBeat names the reason, for example:

Message What helps
"No connection to … Check ping, protection level/password and port 102." Check the address with ping, check the access level and password of the CPU, open port 102 in the firewall. See Prepare the PLC (TIA Portal).
"PLC not reachable (timeout)" Check the network, cables and address range.
"The controller only accepts the connection after it has been set up (e.g. a route to PlantBeat)." With Beckhoff, the route is usually missing, see Beckhoff TwinCAT 3.

The technical message appears in small print below. It helps support.

For a secured S7-1500, the test fetches the CPU certificate. If it has not been confirmed yet, the "PLC certificate" window opens automatically during the test (or when the variables are read). Check and confirm it there. The PLC certificate … button reopens the window, see Secured S7-1500 with TLS.

Next › takes you to step 2.

Step 2: Variables

PlantBeat reads the symbols of the PLC and shows them as a tree. You check the values you want to see and record. In "Legacy" mode there is no tree. There you create the variables by address. Both are described in detail under Select values.

Step 3: Selected variables

On the left is the list of selected values. On the right are the settings of the clicked value in two tabs:

  • Name, unit, scaling: display name, unit, factor and offset.
  • Statistics: whether and how the value is recorded, see Statistics per value.

Data blocks from which PlantBeat fetches complete data records appear in the list as a separate entry "Record fetch for a data block". How to set them up is described under Data records.

Save

Click Save & continue. PlantBeat saves the connection and from now on reads the selected values continuously. If no variables are selected, only the connection is saved.

Warning

If you switch the mode of an existing connection between "Symbolic" and "Legacy", the previous measuring points are removed when you save. PlantBeat asks you first. Their values then no longer appear in widgets, history and export.

Connections in the list

On the "Connections" page, you see the state of each connection and the buttons Edit, Diagnostics and Delete. When you delete a connection, the selected values of this connection are deleted too.

From version 1.11, the list shows the CPU status LEDs (RUN/STOP, ERROR, MAINT) for S7 connections. Clicking them opens the diagnostic buffer.

Next steps