Skip to main content

SiemensPpiMaster

Purpose

Siemens S7-200 PPI serial protocol address read and write driver

Open the plugin

Enter "Development Configuration → Collection Configuration", create a device and select "SiemensPpiMaster" in "Collection Plugin".

Supported channels and data types

Channel typePre-configuration check
Serial PortConfirm that the serial port is not occupied by other programs and maintains the same baud rate, data bits, stop bits and parity bits as the device.
TCP ClientConfirm network reachability of the device IP, port, and gateway to the device.
TCP serverConfirm that the local listening address and port are available, and allow on-site devices to actively connect to the gateway.

Optional data types: Boolean, Byte, Int16, UInt16, Int32, UInt32, Float, String

Plugin properties

PPI supports serial, TCP client, and TCP server channels. Read/write timeout, retry, write priority, serial settings, DTU, and data format are common collection properties; the PPI defaults are ABCD data order and a 200-byte maximum pack size.

Protocol parameters

SettingDescription
PLC station numberDefault: 2; fill in: text input. Set the default station number used when the station number is not specified separately in the variable address.

Address rules

  • PPI areas are SYS, AI, AQ, T, C, S, SM, I, Q, M, DB, and V.
  • Use s=2;M100 to override the station for one variable; otherwise the PLC station number is used. The station is a decimal value from 0 to 255.
  • Bit addresses use .0.7, for example M100.3; timer (T) and counter (C) addresses do not accept a bit suffix.
  • A DB address must contain the block and byte offset, for example DB10.4; V is equivalent to DB1. One address can contain only one area and one s= option.

Functions

FunctionPurpose
Read and writeRead a confirmed point and write only to an approved test point.
MessagesView sent and received frames, protocol fields, and error details.

Device debug

Enter "Development Configuration → Collection Configuration", select the current device and click "More Functions", then open "Debug".

Read and write

SiemensPpiMaster readwrite

Perform read or write verification according to the current plugin address rules; confirm on-site security and permissions before writing.

Messages

SiemensPpiMaster message

Check the device's message sending and receiving and protocol logs to locate message format, connection and parsing problems.

Verify the configuration

Use a confirmed on-site address to perform reading. Verify station, area, byte/bit offset, data type, and ABCD byte order against the point list; after a writable point is written, read it back according to site requirements.

Troubleshooting

  • Address reading failed: Check the station number, register or node ID one by one according to the address rules on this page, and confirm that the data type is consistent with the device point list.
  • The serial port device does not respond: Confirm that the serial port is not occupied, and check the baud rate, data bits, stop bits and parity bits.
  • Address parsing fails: Confirm that DB addresses include block and offset, T/C addresses have no bit suffix, and only one s= option is present.