IMDHMIControls LibraryShop main store

How-to

How to connect Citect SCADA to an S7-300 over Ethernet

SCADA and data logging Published 6 min read

Short answer

Yes — Citect reaches an S7-300 over Industrial Ethernet through either the S7NT driver, which requires licensed Siemens communication software on the I/O server, or the PSDIRECT driver, a paid direct driver that needs only an Ethernet interface on the PLC. Configure the device with the PLC's IP address plus rack 0 and slot 2; a wrong slot or rack is the usual reason a ping succeeds while no data comes back.

On this page
  1. Confirm the Ethernet interface on the S7-300
  2. Choose the driver: S7NT or PSDIRECT
  3. Clear the network path before configuring Citect
  4. Working rack and slot for a single S7-300 rack with a CP 343-1
  5. Configure the Citect I/O device
  6. Prove the link before handover
  7. Questions asked

Yes — Citect 5.42 talks to a Siemens S7-300 over Industrial Ethernet. Two driver routes cover it: the S7NT driver, which rides on licensed Siemens communication software installed on the Citect I/O server, and the PSDIRECT driver, a paid direct driver that needs only an Ethernet interface on the PLC. The setup runs through four checks — the Ethernet interface on the PLC, the licensing choice, TCP reachability on port 102, and the rack, slot and DB addressing in the device definition. A wrong slot or rack is the usual reason a ping succeeds while no data comes back. The same pairing on the Vijeo side is covered in How Vijeo Citect SCADA communicates with an S7-300 PLC.

Confirm the Ethernet interface on the S7-300 #

Read the CPU order number on the module face and the hardware configuration in the STEP 7 project. On classic S7-300 CPUs the onboard ports are MPI or PROFIBUS-DP — programming ports, not Ethernet. The link needs one of two things: a CPU whose order number includes an integrated PROFINET port, or a communication processor such as a CP 343-1 fitted in the rack. Without one of them there is no connectivity to Citect, and neither driver creates a port the CPU does not have.

Record four values from the hardware configuration before anything else: the IP address and subnet mask of the CPU port or the CP, the rack number, and the slot number where the CPU sits. Every later step uses them.

Choose the driver: S7NT or PSDIRECT #

The S7NT driver is an interface, not a standalone stack: it works through Siemens communication software that must be installed and licensed on the I/O server. PSDIRECT is a separate paid driver that talks to the PLC directly; its requirement list is an S7-300 or S7-400 with an Ethernet CP and no Siemens software at all.

Factor S7NT PSDIRECT
Siemens software on the I/O server Required, licensed Not required
Path to the PLC Through the Siemens communication layer Direct from the driver to the Ethernet interface
Components to keep compatible Citect release, Siemens software, Windows Driver release, Windows

Decide it this way: an I/O server that already runs licensed Siemens communication software you support takes S7NT; every other machine takes PSDIRECT, because one purchase and one stack on an aging PC beats two. Buy neither until the driver version is on the supported list for the Citect release and the Windows version on that I/O server — on a 5.42-era machine that list, not anything else, decides. This is the legacy route; on an S7-1500 the modern answer is OPC UA, as covered in Connect an S7-1500 to SCADA over OPC UA from TIA Portal.

Clear the network path before configuring Citect #

S7 communication opens a TCP session on port 102. Take these readings from the I/O server before touching the project:

  1. Ping the PLC address. Low, stable latency passes. No reply means a subnet, VLAN, cable or firewall fault — fix that before any driver work.
  2. Open a TCP session to port 102 on the PLC. A ping reply proves nothing about this port: a refused or timed-out session points to a firewall, a managed-switch rule, or a CP with no S7 connections configured.
  3. Confirm the I/O server and the PLC share a subnet, or that both ends carry a gateway entry for the route between them.

With all three passing, any remaining fault is configuration, not network.

Working rack and slot for a single S7-300 rack with a CP 343-1 #

The case is the standard one this setup starts from: Citect 5.42 on the I/O server and an S7-300 in one rack with a CP 343-1 providing the Ethernet port.

The inputs, each with its source: the S7-300 hardware manual fixes the rack scheme — slot 1 holds the power supply, slot 2 the CPU, slot 3 is reserved for the interface module and stays empty in a single rack, and slots 4 through 11 hold signal modules, CPs and function modules. The typical layout here is a power supply in slot 1, the CPU in slot 2, slot 3 empty, three signal modules in slots 4, 5 and 6, and the CP 343-1 in the next free position.

The rule in words: an S7 connection over Ethernet ends at the CPU, and an S7-300 CPU in a single rack is always rack 0, slot 2. The CP is the path to that endpoint, not the endpoint itself.

The arithmetic: 1 (power supply) + 1 (CPU) + 1 (reserved slot 3) + 3 (signal modules) = 6 positions, filling slots 1 through 6. The CP 343-1 therefore sits physically in slot 7. The Citect device definition still takes rack 0 and slot 2.

The decision it leads to: when ping and the port 102 test both pass but the device times out, the rack and slot entries are the first thing to correct. Entering the CP's physical slot 7, or rack 1, leaves every poll unanswered while the network stays green — set rack 0, slot 2. One physical wrinkle: a CP 343-1 EX30 is double width and is fitted with the dummy module SM370 (6ES7 370-0AA01-0AA0), so the pair occupies two adjacent slots and pushes later modules up by one; the endpoint address does not change.

Configure the Citect I/O device #

Take the exact field names and syntax from the driver's own help file rather than from memory; the two drivers label their fields differently. The PSDIRECT route:

  1. Obtain the driver and its license through the Citect sales channel or an authorized distributor, and install only from that source.
  2. Restart the Citect runtime the way the driver documentation directs after installation.
  3. Define the board and port for the Ethernet interface in the project.
  4. Define the I/O device with the recorded IP address, rack 0, slot 2.
  5. Add a small tag set against a test DB holding known values: a counter, a bit and a REAL.
  6. Compile and run, then watch the kernel and the driver statistics while the tags poll.

For S7NT, replace the first two steps with installing and licensing the Siemens communication software, configure the PLC connection inside that software, and confirm it reads the PLC on its own before the Citect device exists.

  1. Counter test: the counter tag must advance at the PLC's rate and match the online view in STEP 7.
  2. Type test: the REAL tag must equal the PLC value exactly at the displayed precision; a byte-swapped number fails.
  3. Write test: write to a spare bit or word inside the test DB only, with the machine in a state where an unexpected write cannot move anything and no logic scans that DB.
  4. Recovery test: unplug the Ethernet for several seconds; the device must flag offline and return to good quality without a Citect restart.
  5. Load test: load the full production tag set; sustained error counts or update times outside what the process needs point at poll load, not the link.

Questions asked

Why does Citect show the S7-300 offline when ping works?

Ping is an ICMP echo and proves nothing about the session the driver opens: S7 communication needs a TCP connection to port 102 on the PLC. Test that port from the I/O server with a telnet-style port test; a refused or timed-out session means a firewall, a switch rule, or a CP with no S7 connections configured. If port 102 answers, the rack and slot entries in the device definition are the next suspects.

Is either Citect driver included with the SCADA license?

No. S7NT ships as a driver but only works on top of Siemens communication software that must be bought and licensed separately for the I/O server. PSDIRECT is a paid driver in its own right, quoted through the Citect sales channel, and needs no Siemens software. Budget for one of the two paths before the link can be built.

Can the CPU's MPI port be used instead of an Ethernet CP?

No. On classic S7-300 CPUs the onboard ports are MPI or PROFIBUS-DP, and neither Citect driver converts those to Industrial Ethernet. The link needs a CPU with an integrated PROFINET port or a CP 343-1 fitted in the rack; with neither possible, the remaining route is a separate protocol converter, not the programming cable.

Reads succeed but the values are wrong. What changed?

The address maps to the wrong DB number or byte offset, or the Citect variable type does not match the PLC data type. S7 data is big-endian, so an INT read at the wrong width or a REAL read as integers returns plausible but incorrect numbers. Compare the Citect variable address against the STEP 7 DB layout byte by byte and correct the type before blaming the driver.

Keep reading

  • How-to

    Connecting Citect SCADA to a Modbus RTU gateway over MODNET

    Yes — MODNET is Citect's driver for Modbus over TCP/IP, and a true RTU-to-TCP converter presents standard Modbus TCP on its Ethernet side, so the combination works. Success then rides on two things: the gateway's operating mode, and carrying the RTU slave address and register offsets into Citect correctly, proved by reading one register whose value you can see at the device.

    SCADA and data logging

  • How-to

    Serve generic Modbus devices to SCADA through OFS with the PL7 driver

    OFS does serve generic Modbus devices: select the PL7 driver in the device alias, not Unity, because Unity issues Schneider-extended function codes a standard slave rejects while PL7 issues the public read/write set. Import the tag definitions as a .SCY file, make OFS the only Modbus master on the link, and point Citect and every OPC DA or UA client at that one server.

    SCADA and data logging

  • Troubleshooting

    Fixing Machine SCADA Expert Modbus TCP reads to a TM221

    Matching IP and port do not prove the read path is right: with MOTCP selected, Machine SCADA Expert must use that driver's station and address syntax, and the number after 4X must resolve to MW0. Rebuild the station and I/O address from the MOTCP manual example, then prove it with known values in MW0 and MW1: the wrong convention reads MW1, exactly one register off.

    SCADA and data logging