1. Home
  2. Connecting machines
  3. Siemens S7

Siemens S7

Read a Siemens S7 PLC, without PLC programming.

FactoryNebula reads values from Siemens S7-300, S7-400, S7-1200 and S7-1500 over the network, continuously or on a trigger, and puts them on the bus and in the database. For reading, nothing needs to change in the PLC program.

Automated production line

Siemens S7 · live

Example

Press 01 · Part counter

1.532

Press 01 · Temperature

71,8 °C

What it does

Siemens S7 in FactoryNebula

Every machine arrives on the bus in the same way. Everything built on top of it, such as dashboards, OEE and workflows, therefore works for every brand.

Continuous reading

A read rate and destination of its own for each group of variables: the temperature every second to the bus, the order number once a minute to the database.

Reading on a trigger

Read once as soon as a message arrives, for example “order complete”. That produces a report per product, also as a CSV file, without PLC programming.

Bulk import

Import variables in one go from an export of the PLC software, instead of typing them in one by one.

Safe writing

Enabled per command, with a name, limits and a test mode. The gateway first reads the old value, writes and reads back to check.

No integrator needed

Adding a device means an IP address, rack and slot. You choose the rest in the connector’s web page.

On the machine side

What is needed, and what isn’t

For reading, nothing needs to change in the machine program. You arrange this in advance.

  • In the CPU settings: permit access via PUT/GET.
  • For each data block you want to read: turn off optimised block access, so variables have fixed offsets.
  • Rack and slot: 0 and 1 on an S7-1200/1500, usually 0 and 2 on an S7-300.

Specifications

  • Protocol: S7comm over ISO-on-TCP, port 102
  • Devices: S7-300 · S7-400 · S7-1200 · S7-1500
  • Writing: enabled per command, with limits and audit
  • Time and quality with every value
  • To the bus, the database or both

Frequently asked questions

Siemens S7: good to know

Stuck on something? Get in touch.

Does the PLC program need to be changed?

Not for reading. On an S7-1200 or S7-1500, PUT/GET access must be enabled and the data blocks you read must be without optimised access. Those are settings, not program changes.

The connection to an S7-1200 fails. What now?

Usually PUT/GET access is disabled. In the CPU settings, enable the option Permit access with PUT/GET communication and download the configuration to the PLC again.

I get a read error on a data block.

Then optimised block access is probably enabled. Turn that attribute off for the data block, so the variables get fixed offsets.

Can we write values to the PLC?

Yes, per command. You define which value may go to which address, within which limits and by whom. Every attempt goes into the audit log, and a test mode checks everything without writing.

Further reading

From the knowledge base

More connectors

Also on the same gateway

Connect your first machine

In a personal demo we show how a machine gets into FactoryNebula, and what is needed on the machine side.