Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 109479251, Entry date: 12/29/2017

How do you use the control program to determine the connection box to which the KTP Mobile Panel is connected?

  • Entry
  • Associated product(s)
Evaluation of the internal connection box ID in the controller.

Function description
You can read out the connection box ID via an integrated function on the KTP Mobile.
For this you configure an internal tag in the editor "Runtime settings > General > Identification".
If the KTP Mobile Panel is connected to the a connection box, then the ID set (adjusted) in the connection box is written to this internal tag. The purpose is to evaluate the read value in the PLC.

The read value of the "Box ID" is transferred to a tag with controller connection via a clock memory and the system function "SetTag". The clock memory byte defined in the hardware configuration of the CPU is used as the clock memory.
A comparison of the preset "Box ID" and the read "Box ID" generates a signal.
The connection is monitored in the second step: If the KTP Mobile is disconnected from the connection box , the signal or the evaluation of the  "Box ID" has to be reset.

Sample program
The attached sample program is available

  • As a separate WinCC (TIA Portal) configuration
  • In a project library entitled "ConnectionBoxEvaluationLib"
  • In the version for STEP 7 V5.5 (SIMATIC Manager) in conjunction with a "Proxy PLC"

  Documentation (1,0 MB)

Sample projects 
 Registrierung notwendig  Configuration (21,3 MB)

Creation Environment

  • WinCC Comfort V14 SP1.
  • STEP 7 V5.5.

Additional Keywords
Connection point ID, Connection ID, Box ID, Mobile Panel, Connection box ID, Monitoring, Evaluate, Evaluation, GSDML file, Mobile 2nd Generation, Proxy PLC, STEP 7 Manager STEP 7 V5.5

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
Rate entry
no rating
Requests and feedback
What do you want to do?