On this page
Siemens PPI
Use this driver for the RS-485 PPI ports of S7-200 CPU 221/222/224/224XP/224XPsi/226. The port must operate in PPI mode. Use S7 master for S7 Ethernet; a transparent TCP converter does not turn PPI into S7 Ethernet.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| S7-200 CPU 221, CPU 222, CPU 224, CPU 224XP/224XPsi, CPU 226 | Use the CPU RS-485 PPI port or a link that transparently carries PPI. Match station and serial settings and select PPI mode on the port. S7-1200/1500 Ethernet ports do not use PPI. |
Configure the CPU first
-
Connect with STEP 7-Micro/WIN and retain the current project and system block. Open View → Component → System Block → Communication Ports. Check Port 0/1, set a unique PLC address and bus rate, then download the system block. The classic manual gives factory values of address
2and9.6 kbit/s; use online settings for an existing installation.
-
Open Communications, select the actual PC/PPI interface and COM port, and refresh to find the CPU. PC local and PLC remote addresses differ: the manual uses PC
0and CPU2. Release the COM port from Micro/WIN before the gateway opens it.
-
Use an RS-485 interface/converter that transparently carries PPI frames. Wire the CPU connector according to its manual, including polarity, reference, shielding and termination; it is not RS-232. A USB/PPI cable that exposes only the PG/PC driver is not automatically a transparent COM interface.
-
Ensure the PLC program does not change the port to Freeport or another protocol. With a serial server, configure transparent transfer and matching serial parameters. A TCP connection to the converter alone does not prove a PLC response.
The engineering screenshots are Siemens figures from the S7-200 System Manual , printed pages 10 and 212. Menus/rates depend on the CPU and software version.
Gateway channel and device
Under Development Configuration → Collection Configuration, add a SerialPort channel. The example shows COM1 / 9600 / 8 / Even / 1; replace COM1 with the converter’s port and match the system block. Initial parity may be None, so check explicitly.

| Channel | Required settings |
|---|---|
| Serial | Actual COM port, matching baud rate and 8E1. Only one master application may own the port. DTR/RTS depend on the converter. |
| TCP client | Remote IP/port of the transparent serial server, rather than S7 port 102. Configure its serial side for PPI. |
| TCP server | Local listener for a remote serial gateway. Match DTU identity when the connection mode requires it. |
Create a device, select Siemens PPI, and associate the channel. Interval 1000 means milliseconds; account for point count and frame/response time on a slow/shared bus.

Plugin properties

Scroll down in Plugin properties to configure scheduling and data format. The figure keeps the defaults: timeout 3000 ms, frame delay 0 ms, retries 3, write/read ratio 3, write priority off, string byte reversal off, and ABCD.

| Property | Meaning and configuration |
|---|---|
| PLC station number | Default 2; use the CPU remote address, not the PC local address. The gateway represents 0–255, while the classic CPU system-block range is 1–126. |
| Maximum pack size | Default 200 bytes, limiting merged continuous reads rather than variable count. Reduce for constrained CPUs/converters. Different stations, areas and blocks cannot form one continuous range. |
| DTU ID | Matches the remote link in the applicable TCP server/DTU mode. Leave empty for direct serial; it is not the PPI station. |
| Heartbeat content / Hex | Default TCP server DTU mode only. Empty inherits the channel; nonempty overrides it. Hex off matches UTF-8 text; on matches hexadecimal bytes. |
| Read/write timeout | Default 3000 ms per protocol request. Check wiring, station and frame settings before increasing. |
| Pre-frame delay | Default 0 ms; adds delay before sending. Increase only when required, as it lengthens the cycle. |
| Retry count / duty cycle / write priority | Defaults 3, 3, off. Retries extend offline waits; duty cycle schedules reads during repeated writes; write priority cancels a read to allow writing. See collection configuration. |
| Data order | Default ABCD; match PLC WORD/DWORD/REAL representation. Per-address data order may override it. |
| Reverse string byte/word | Default off; swaps string bytes within words. Enable only for that actual character layout. Numeric conversion uses data order. |
Variables and address editor
Monitor an approved location such as VW100 = 1234 in Micro/WIN. In the gateway use address V100, type Int16 and array length 0. Micro/WIN’s W describes width; the gateway takes width from the data type, so do not enter VW100 as the protocol address.

Open Field editor, confirm and fill back, then save in the parent variable dialog. Address validation alone sends no PLC request.

| Field | Rule |
|---|---|
| Area | V, DB, I, Q, M, S, SM, AI, AQ, T, C or SYS. Existence and write permissions depend on the CPU memory map. |
| Offset | Decimal byte offset for ordinary memory; V100 + Int16 occupies bytes 100–101. T/C use item indices rather than V-memory byte offsets. |
| Bit | Boolean .0–.7, for example M10.3. The generic input limit does not replace PPI validation. T/C reject bit suffixes and Boolean reads. Leave unset for whole numeric values. |
| Station override | Unset inherits the device. Set for one variable, for example s=3;V100, on the same physical bus/rate. |
| DB number | DB area only: block 1, offset 100 gives DB1.100, corresponding to V100. The editor does not imply arbitrary DBs exist on an S7-200. |
| Data-order override | data=ABCD/BADC/CDAB/DCBA; affects this variable only. |
| Encoding / string byte length | Match the buffer, for example V200;len=8;encoding=ASCII. Eight raw bytes, not eight characters. Select the data start if the PLC stores a string header. |
| BCD / variable string | Use only for a documented coded-number/string layout. See common register options for options and vsl rules. |
| PLC point | Gateway configuration | Comparison |
|---|---|---|
| M10.3 | M10.3 / Boolean | Bit 3 of byte 10. |
| VW100 = 1234 | V100 / Int16 | Signed 16-bit value 1234. |
| VD104 declared REAL | V104 / Float | Four-byte IEEE 754 value. |
| VW100, VW102, VW104 | V100 / Int16 / array length 3 | Three words, six bytes. |
Supported types: Boolean, Byte, Int16, UInt16, Int32, UInt32, Float and String. Start with read-only permission for inputs/system status. Gateway read/write permission does not grant access prohibited by the CPU.
Confirm communication
Enable the actual channel/device and compare a known value with the Micro/WIN status table using the same type and radix. Collection time must advance; change time can remain constant. In Protocol Debug → Read/Write, start with V100 / Int16 / quantity 1, then add arrays and other areas. Messages distinguishes no response from a PLC error.
- Port-open failure: release Micro/WIN/other masters and verify COM assignment.
- No responses: check the downloaded system block, PPI mode, station, rate, even parity, RS-485 polarity and transparent mode.
- Only some points fail: check memory boundaries, permissions and length; reduce packing to isolate long-frame failures.
- Wrong values with successful responses: compare raw bytes, offset, type and data order.