IMDHMIControls LibraryShop main store

Explainer

Why the S7-200 SMART connects over Ethernet only

Industrial networks Published 8 min read

Short answer

The S7-200 SMART has one programming channel: its onboard RJ-45 Ethernet port, reached with STEP 7 Micro/WIN SMART over TCP/IP on TCP port 102. The RS-485 port runs Modbus RTU, USS and Freeport but carries no PPI programming service, so a CPU with a changed address is recovered by subnet scanning or by an SD card job file that resets it to 192.168.2.1 and erases the user program.

On this page
  1. Can you program an S7-200 SMART over its RS-485 port?
  2. Why does STEP 7 Micro/WIN SMART offer only TCP/IP?
  3. What IP settings connect a PC to a factory-fresh CPU?
  4. How do you find a CPU whose IP address has changed?
  5. How does an SD card job file reset the CPU?
  6. What does RESET_TO_FACTORY erase?
  7. What does the RS-485 port still do?
  8. What else shares the Ethernet port?
  9. Questions asked

An S7-200 SMART CPU has exactly one programming channel: the onboard RJ-45 Ethernet port. STEP 7 Micro/WIN SMART reaches it with TCP/IP on TCP port 102, and the onboard RS-485 port carries no PPI programming service, so a PG with a built-in MPI/PPI card gets no further than a laptop does. That one decision shapes everything downstream: commissioning needs the PC on the CPU's subnet, a CPU whose address somebody changed is found by scanning or reset by a micro SD card job file named S7_JOB.S7S, and that reset returns the address to the factory value at the cost of the user program. The sections below give the settings, the recovery order and the decision for each case.

Can you program an S7-200 SMART over its RS-485 port? #

No: an S7-200 SMART CPU has no serial programming channel, and STEP 7 Micro/WIN SMART lists only TCP/IP, so the RJ-45 Ethernet port is the one and only path for uploading, downloading and going online with the CPU.

The family broke with its predecessor here, and the break is deliberate. The classic S7-200 programmed over PPI through its RS-485 port, which is why version selection still matters for that installed base — the right Micro/WIN version for an S7-200 CPU 224 covers it. The SMART carries no serial programming server in its firmware: Port 0 still talks to drives and sensors, but it never answers a programming master, so a PPI cable, a USB serial adapter and a PG's built-in MPI/PPI card all meet the same silence. That is not a driver fault, and reinstalling or upgrading Micro/WIN SMART cannot change it.

Decision: if a SMART CPU will not talk, stop trying serial paths and work the Ethernet recovery order in the sections that follow.

Why does STEP 7 Micro/WIN SMART offer only TCP/IP? #

Because the onboard RS-485 port carries Modbus RTU, USS and Freeport traffic but no PPI programming service, the communications dialog in STEP 7 Micro/WIN SMART exposes exactly one interface: TCP/IP, which uses TCP port 102 for the programming session.

The dialog is telling the truth about the firmware, not hiding a driver. That session rides the RFC 1006 ISO-on-TCP transport every S7-protocol peer shares, which is why the HMI panels and GET/PUT partners later in this article end up on the same port. What moves reachability is anything a previous engineer entered in the CPU's Ethernet settings — a static address for a plant network, a different subnet after a machine move — and Micro/WIN SMART offers no serial fallback behind any of it.

Decision: treat a TCP/IP-only communications dialog as normal and chase reachability, never a missing driver.

What IP settings connect a PC to a factory-fresh CPU? #

A factory-fresh or factory-reset CPU answers at IP address 192.168.2.1 with subnet mask 255.255.255.0, so give the laptop a static address in the same range, for example 192.168.2.100 with the same mask, and ping the CPU before opening Micro/WIN SMART.

The subnet test is one bitwise AND per device. The CPU side: 192.168.2.1 AND 255.255.255.0 gives 192.168.2.0. The laptop side: 192.168.2.100 AND 255.255.255.0 also gives 192.168.2.0 — same network, so a standard patch cord, direct to the CPU or through a plain switch, passes ping and then passes the Micro/WIN SMART connection dialog. A laptop left on DHCP, sitting for example at 10.0.14.57 on a plant network, lands in 10.0.14.0, shares nothing with the CPU's network, and ping fails no matter how good the cable is. Set the network adapter static before blaming hardware.

Decision: commission on the factory address first, before anything else on site can change it, and enter the plant address you actually want once the program is in.

How do you find a CPU whose IP address has changed? #

A CPU whose address somebody changed answers no ping at the factory address; scan every subnet the CPU could sit on, because a scanner covering its subnet will find it, and silence everywhere means the SD card is the only way left.

The arithmetic says what one sweep covers: a sweep of 192.168.2.0/24 probes 254 usable host addresses, because 2^8 addresses exist in the last octet and subtracting the network address and the broadcast address leaves 254. Any IP device answers a scanner whose sweep covers its own network, whichever address it holds, so silence from a sweep means the address lives on a network you have not reached. Sweep the machine subnet first, then the plant subnets the machine could have been moved onto, giving the laptop one static address in each range as you go.

Decision: two or three targeted sweeps is the honest budget; when every range you can physically reach comes back empty, stop scanning and go to the card in the next section.

How does an SD card job file reset the CPU? #

The card must be FAT32-formatted and carry one plain-text job file named S7_JOB.S7S in its root directory containing the single line RESET_TO_FACTORY; at power-up the CPU reads the card, returns the Ethernet address to 192.168.2.1 and restores factory settings.

The procedure is short:

  1. Format a plain micro SD card as FAT32.
  2. Create S7_JOB.S7S in the card's root directory; the file holds one line, RESET_TO_FACTORY, and nothing else.
  3. Power the CPU off, insert the card, power it back on.
  4. Let the start-up job run to completion, then remove the card so the same job cannot fire again on the next power cycle.
  5. Reconnect with the laptop on the factory-address plan from the earlier section and download the program again.

This job-file path has no equivalent on the older family, whose memory cartridge could not carry the user program at all — why an S7-200 memory cartridge cannot transfer the user program explains that dead end. On the SMART, the card is the documented recovery for an address nobody wrote down.

Decision: scan swept dry and address unknown — run the card job; there is no other documented route back onto this CPU.

What does RESET_TO_FACTORY erase? #

RESET_TO_FACTORY erases the user program along with the address: run it only after every network avenue is exhausted, and treat any backup you hold as the only copy, because once the CPU is wiped the program returns solely by an Ethernet download from Micro/WIN SMART.

The erase and the re-addressing happen in one operation, and neither the card nor the CPU archives what it removes. So the order is fixed: back up whatever you can still reach over Ethernet first, run the job only on a CPU that no network finds, and after the reset download the program, enter the plant address you want, and write that address on the panel drawing where the next engineer will find it. One safety note: never insert the job card into a CPU that is controlling a live process — bring the machine to a safe stopped state first, because the erase runs without asking.

Decision: CPU reachable but mis-addressed — change the address in software and keep the card in the drawer; CPU unreachable and its address unknown — card job, then re-address and record immediately.

What does the RS-485 port still do? #

Onboard Port 0 is a working RS-485 channel for Modbus RTU master or slave, USS drives and Freeport serial devices, and an optional CM01 signal board adds a switchable RS-232/RS-485 port — but every one of those roles is process communication, never programming.

Modbus RTU runs from the Micro/WIN SMART library on Port 0, and the register-read flow follows the family pattern shown in how to connect an S7-200 to a Modbus RTU sensor and read its register. USS drives and Freeport devices — barcode scanners, weighing scales, serial printers — share the same port under library or user-defined frames, and when Port 0 is already busy the CM01 signal board plugs onto the CPU and adds a second serial channel. None of these serial channels answers a programming request, which is why the Ethernet rule in the earlier sections has no exception.

Decision: wire the panel with two habits — one Ethernet cord from the CPU to the switch for programming, HMI and SCADA, one serial daisy-chain for the field devices — and never let the serial schedule squeeze the Ethernet cord out of the design.

What else shares the Ethernet port? #

The same RJ-45 port that programs the CPU also serves SIMATIC HMI panels, S7 GET/PUT data exchange with other Siemens controllers and SCADA clients through the PC Access SMART OPC server, so one cable, one switch and one address range carry commissioning and operation alike.

An HMI panel connection selects the S7-200 SMART device type rather than a generic S7-200 entry — a different setup from the classic family, where configure an S7-200 HMI connection in TIA Portal correctly walks through the MPI and PPI path. Peer SIMATIC controllers exchange data with the SMART over S7 GET/PUT on the same socket. For SCADA, PC Access SMART runs as an OPC server on the station PC and serves the CPU's data to OPC DA clients; where that station lives at the machine rather than in a control room, the host is an industrial panel PC mounted beside the controller.

Decision: plan one address scheme that covers the CPU, the panel, the GET/PUT partners and the OPC station on the same subnet, and record it — every one of those roles inherits the Ethernet-only rule, and the address plan is what keeps them reachable.

Questions asked

Can a classic Micro/WIN project be opened in Micro/WIN SMART?

Yes, with a rename. Micro/WIN SMART opens a classic S7-200 project file once its extension is changed from the Micro/WIN format to the SMART format; review the program for instructions the SMART does not support, recompile, and download over Ethernet. The path runs one way only: a SMART project cannot be converted back into a file that classic Micro/WIN opens, and classic Micro/WIN never goes online with a SMART CPU.

Which devices can an S7-200 SMART exchange data with over its Ethernet port?

The documented roles are the Micro/WIN SMART programming session, SIMATIC HMI panels, S7 GET/PUT data exchange with LOGO!, other S7-200 SMART CPUs and S7-1200, S7-300, S7-400 and S7-1500 controllers, and OPC serving through PC Access SMART on a station PC. The Ethernet port is not a PROFINET IO interface. For serial Modbus links, Modbus RTU on the RS-485 port runs through the Micro/WIN SMART library.

Does the micro SD card slot do anything besides the factory reset?

Yes. The same card slot handles firmware updates and program backup and restore, so a card holding a saved program is the fastest way to bring a replacement CPU online after the job file has reset its address. Write a fresh backup after every accepted program change and label the card with the project and the date, because a card left inserted with its job file present will run that job again at the next power-up.

Do SR and ST variants of the S7-200 SMART differ in their ports?

No. The suffix describes the output hardware, relay for SR and transistor for ST, not the interfaces. Every CPU in the range carries the same onboard RJ-45 Ethernet port, the same integrated RS-485 Port 0 and the same micro SD card slot, so the Ethernet-only programming rule holds from the smallest 20-point CPU to the 60-point one. Only the optional CM01 signal board changes the serial picture, and it adds a port rather than replacing one.

Why does Micro/WIN SMART fail to connect even when a ping works?

A ping proves the CPU's IP stack answers; the programming session is a further step on TCP port 102. The usual blockers are the laptop's firewall dropping the Micro/WIN SMART application, a router between laptop and CPU performing network address translation, or an address conflict where two devices hold the CPU's address. Allow the programming software through the laptop firewall and connect directly or through a plain switch during commissioning.

Keep reading

  • Troubleshooting

    Configure an S7-200 HMI connection in TIA Portal correctly

    The S7-200's port runs PPI, the RS-485 protocol it was built with; MPI is the PROFIBUS-based protocol of the larger S7 CPUs and the two are not interchangeable. Configure the panel in TIA Portal with the S7-200 connection its driver list documents, set the panel's rate equal to the CPU's configured port rate, and give every station a unique address.

    Industrial networks

  • How-to

    Read a CP1W-CIF41 IP address from PLC memory over USB

    Connect to the CPU over USB with CX-Programmer, read the CP1W-CIF41 address words in hexadecimal, CP1E Port 2 at D1303, CP1H/CP1L at D32003 or D32303, and convert the four bytes to dotted decimal. The default 192.168.250.1 is a shipping reference only, so trust the words and confirm with ping.

    Industrial networks

  • Troubleshooting

    Why a DL05 Modbus RTU slave answers only with ODD parity

    Set the Modbus master to the DL05 port's factory combination of 9600 baud, ODD parity, 8 data bits and 1 stop bit, and the slave answers. Connect on Port 2 with the cable your programming software uses, keep a minimal program containing an END instruction in the PLC, leave the mode switch in TERM, and cycle to RUN and back if the port stays dead.

    Industrial networks

Connect an Omron PLC to Smart Function Kit Pressing