Skip to content

Siemens S7 Configuration

Pulse supports monitoring Siemens SIMATIC S7 PLCs using the S7 communication protocol. This includes both connectivity monitoring and individual tag value tracking.

Creating an S7 Endpoint Monitor

An endpoint monitor verifies that an S7 PLC is reachable on the network.

Create S7 Endpoint Monitor with connection settings

  1. Navigate to Monitors and click Create Monitor
  2. Select S7 Endpoint
  3. Configure the connection:
FieldDescriptionTypical Value
NameA descriptive namePLC Line 1
IP AddressPLC network address192.168.1.50
RackPLC rack number0
SlotPLC slot number1
Escalation PolicyWhich escalation policy to useDefault Policy
Message TemplateCustom message for notificationsSupports Markdown
TagsCategorize the monitor

Rack and Slot Values

Common configurations for Siemens PLCs:

PLC TypeRackSlot
S7-120001
S7-150001
S7-30002
S7-40002 or 3

Creating an S7 Tag Monitor

A tag monitor tracks a specific data point in the PLC memory and alerts when thresholds are exceeded.

Create S7 Tag Monitor with threshold settings

  1. Navigate to Monitors and click Create Monitor
  2. Select S7 Tag
  3. Configure the monitoring parameters:
FieldDescription
NameA descriptive name
S7 AddressThe tag address in S7 notation
Data TypeThe data type to read: Bit, Byte, Word, DWord, Int, DInt, or Real
S7 Endpoint MonitorSelect an existing S7 endpoint
Escalation PolicyWhich escalation policy to use
AggregationMin, Max, Sum, Average, or Count
OperationComparison: Equal (=), Not Equal (≠), >, ≥, <, ≤
ThresholdThe value to compare against
Check FrequencyHow often to read the value (in seconds)
Evaluation DurationTime window for aggregation (in seconds)
Message TemplateCustom message for notifications (supports Markdown and variables)
TagsCategorize the monitor

S7 Address Format

S7 addresses follow the pattern DBx.DByz where:

  • DB -- Data Block prefix
  • x -- Data Block number
  • y -- Data type: B (Byte), W (Word/2 bytes), D (DWord/4 bytes)
  • z -- Byte offset within the data block

Examples:

AddressDescription
DB1.DBW0Word at offset 0 in Data Block 1
DB2.DBD4Double word at offset 4 in Data Block 2
DB10.DBB0Byte at offset 0 in Data Block 10

Data Types

When creating an S7 Tag Monitor, you must select the data type to interpret the raw PLC memory correctly:

Data TypeDescription
BitSingle boolean value (0/1)
ByteUnsigned 8-bit integer
WordUnsigned 16-bit integer
DWordUnsigned 32-bit integer
IntSigned 16-bit integer
DIntSigned 32-bit integer
Real32-bit floating point number

TIP

Refer to your PLC program documentation for the correct data block numbers, offsets, and data types for the values you want to monitor.

WARNING

The address and data type must be consistent. For example, a DBW (Word) address requires the Word data type. If they don't match, Pulse reports a validation error: "Address does not match the selected data type."

Pulse also validates the address format itself. If the address cannot be parsed (for example DB1.INVALID), you will see "S7 Address is not valid" — check the address format and try again.

TIP

When editing an existing S7 Tag Monitor, the data type dropdown is pre-filled with the previously configured value. If you change the address to one with a different word length (for example from a DBW to a DBD address), you also need to update the data type to a compatible one, or Pulse will report a validation error.