Profinet (Siemens)

Profinet (Siemens)

The Profinet driver is designed to communicate with Siemens PLCs over Ethernet (TCP/IP).

Note: For S7-1200 series, “PUT/GET” access must be enabled in TIA Portal. Click for Access Permissions

Connection Settings

When you select the protocol name in the tree view (e.g., [1] Network), these settings define the physical parameters of the connection.

ParameterDescriptionExample
Ethernet AdapterSelects which network adapter on your computer will be used. If All is selected, Windows’ default routing is applied.All
IP AddressThe IP address of the Siemens PLC to connect to.192.168.0.10
PortSiemens S7 communication port. The standard value is 102.102
Delay (ms)Minimum waiting time between two data requests. Used to balance network traffic.100
Timeout (ms)Maximum waiting time for the PLC to respond after a request is sent. If exceeded, a Timeout error occurs.250
Retry CountNumber of retry attempts before entering the Fault state when communication errors occur.3

Device Settings

In Siemens PLCs, the Ethernet interface and CPU may be on the same module or in different slots. This panel defines the location of the target CPU.

ParameterDescription
CPU SlotCPU Slot Number: The slot number on the PLC rack where the CPU is installed.
SymbolSymbolic name assigned to the device (e.g., Device).
EnableDetermines whether the device is active. You can define conditions to dynamically enable or disable communication. Multiple conditions can be added; if any of them is true, the device becomes active. Leave blank to keep the device always active.
ConnectedThe selected bit becomes True when a connection with the device is successfully established.
FaultThe selected bit becomes True when a communication error occurs.
CommentDescriptive note for the device.

Addressing Table

Wise SCADA uses the following formats tailored to Siemens memory structure.

AreaData TypeFormatDescription
MBitM 0.0 – M 8191.7Merker (Memory) Bit
IBitI 0.0 – I …Input
QBitQ 0.0 – Q …Output
MBByteMB 0 – MB 8191Memory Byte
IWWordIW 0 – IW 8190Input Word
QDDWordQD 0 – QD 8188Output DWord
MLLongML 0 – ML 8184Memory Long

Data Block (DB) Addressing

Data Block addressing begins with the DB prefix.
(The examples below use DB1 as the block number.)

  • Bit: DB1.DBX0.0 (DB1, Byte 0, Bit 0)
  • Byte: DB1.DBB10 (DB1, Byte 10)
  • Word: DB1.DBW20 (DB1, Word 20)
  • DWord (Real/DInt): DB1.DBD40 (DB1, DWord 40)

Leave a Reply