Last edited 2 months ago
by Max Mustermann

BuR Touchpanel Panel PC 2100

Template:Infobox bms



1 Commissioning[edit | edit source]

  • Connect a USB Keyboard
  • Switch on the Touch Panel
  • Select "boot write enabled"
boot write enabled
  • change to new window with <ctrl><alt><F2>
  • Login as user "root", password "root"
  • Change root-password: passwd root
  • Enter new password " toor" (spacetoor)
change password
  • edit the interfaces file in /etc/network/ --> vi /etc/network/interfaces
network directory
  • Edit file "interfaces" (using vi command); set the IP and subnet accordingly (get the proper IP address)

Currently these IP addresses have been defined for the various touchpanels. You can crosscheck the addresses in the config/config file in your BPM.

Touchpanel IP Address before SPS 1500 IP Address SPS 1500
XxxTouPnlSil 10.XX.YY.51 10.XX.YY+1.141
XxxTouPnlMex 10.XX.YY+1.142
XxxTouPnlCox 10.XX.YY+1.143
XxxTouPnlCas 10.XX.YY.52 10.XX.YY+1.144
XxxTouPnlPinDrs 10.XX.YY.53 10.XX.YY+1.145
XxxTouPnlPinOps 10.XX.YY.54 10.XX.YY+1.146
XxxTouPnlMdo 10.XX.YY.55 10.XX.YY+1.147
XxxTouPnlMdoTce 10.XX.YY+1.148
XxxTouPnlTdo 10.XX.YY.56 10.XX.YY+1.149
XxxTouPnlPur 10.XX.YY.57 10.XX.YY+1.150
XxxTouPnlPur002 10.XX.YY+1.151
XxxTouPnlPur003 10.XX.YY+1.152
XxxTouPnlCot 10.XX.YY.60 10.XX.YY+1.153
XxxTouPnlWin 10.XX.YY.58 10.XX.YY+1.154
XxxTouPnlRec 10.XX.YY.59 10.XX.YY+1.155
XxxTouPnlSlt 10.XX.YY+1.156
XxxTouSpare 10.XX.YY+1.157

Example for lines before SPS 1500

  • Commission number: 1881
  • XxxTouPnlTdo: 10.18.81.56
  • Subnetmask: 255.255.255.0
  • Gateway: 10.18.81.71

Example for lines with SPS 1500

  • Commission number: 2025
  • XxxTouPnlTdo: 10.20.97.149
  • Subnetmask: 255.255.254.0
  • Gateway: 10.20.96.71

Setting the gateway is necessary in order to access the touch panel from the service network.

edit interfaces
  • type in i (insert) to modify file
  • type in: :wq to write and quit the view editor
  • type in reboot to reboot the panel

2 Troubleshooting[edit | edit source]

For troubleshooting and other general information about touchpanels please also refer to article Public:Touchpanel BuR Power Panel 500

I cannot ping the touchpanel, although I entered the IP-address correctly The touchpanel has two ethernet interfaces. Make sure that the network cable is connected to Eth1.


3 Mixing Power Panel 500 and 2100 in a commission (valid for E-Service/Spareparts)[edit | edit source]


Depending on the WinCC-Version and the patch level it is sometimes necessary to add the option "-touch" as manager options for the touchpanel UI.
Several tests have been made with result that a Touchpanel 500 is always working without "-touch" while Touchpanel 2100 is always working with "-touch".
Therefore especially when a new 2100 is replacing an existing 500 panel (spare part) we need to differentiate and adapt the script startUI4TPs.ctl accordingly.
For this we need to know on which position (which IP >> manager number) the new spare part is going to have. The UI is the IP Address -40 so if Ip=10.XX-YY.68 -40 -> 28

Attached example script is using two ui-option strings: const string UIOPTIONS = " -iconBar -menuBar -m vision,0x0+0+0 -user op: &";
const string UIOPTIONS_2100 = " -touch -iconBar -menuBar -m vision,0x0+0+0 -user op: &";
If we know that the new 2100 is going to use manager number 28, we need to change the startUi4TPs.ctlscript like this:

const int STARTDELAY = 5; //(seconds) delay between UI starts
const int RESTARTDELAY = 5;//(seconds) delay for restarting the UI
const string UIOPTIONS = " -iconBar -menuBar -m vision,0x0+0+0 -user op: &";
const string UIOPTIONS_2100= " -touch -iconBar -menuBar -m vision,0x0+0+0 -user op: &";

// UI_Infos contains the following information for each configured touch panel

..............//..........
if(checkRestartTimes(getCurrentTime(), i))
{
 if (manNum == 28){
  uiCmd = UI_NAME + " -num " + manNum + " -display " + ip + ":0.0" + " -p " + basicPanel + UIOPTIONS_2100;
 }else{
  uiCmd = UI_NAME + " -num " + manNum + " -display " + ip + ":0.0" + " -p " + basicPanel + UIOPTIONS;
 }
  system(uiCmd);
  bms_InfoCtrl(2, __FILE__, ip + ": start UI (num: " + manNum + ")", "");
}

Meaning: Start the touchpanel with manager number 28 WITH "-touch" and all others WITHOUT "-touch".
After all restart the Touch Panel script and the touch panel.             

4 adding more touchpanels[edit | edit source]

If you want to add more touchpanels than originally installed, you have to use a separate UI for each touchpanel. To do this, look at the pvss/WinCC Para, select "Internal datapoints" and look for an unused UI. Unused UIs have no entries newer than from 1970.

pvss Wincc user interface numbers

If you can not find unused UIs, you have to create new once. Please create an online backup first. Usually the script "startUi4TPs.ctl" takes the IP-adress of the touchpanel and subracts 40 from the number at the right. The result is the ui manager number. But if you choose other ui numbers because you want to use unused but existing once, you have to it with an if condition in the script. The fallowing code shows a part of the script for pvss 2.12.1. Here the IP adresses are set in the "startUi4TPs.ctl" script. For WinCC 3.14 the IP aresses are set in the config file as well as the start basic panel. In this example the panel with the IP .212 gehts the ui number 10 and the IP .215 gets the ui number 12.

 dyn_string   panelIPs =    makeDynString("10.13.48.212", "10.13.48.215", "10.13.48.217", "10.13.48.216");
 dyn_string   basicPanels = makeDynString("TouchPanels/Basic.pnl", "TouchPanels/Basic.pnl", "TouchPanels/Basic.pnl", "TouchPanels/Basic.pnl");
 for(i=1; i<=dynlen(panelIPs); i++)
 {
   ip = panelIPs[i];
   basicPanel = basicPanels[i];
   manNum = ((substr(ip, strlen(ip)-2)));     // get manager number from IP address (ie. ip 10.XX.YY.212 -> manNum 212)
   
   //for chillroll panel
   if (manNum==212)
   {
       manNum = 10;     //use manager number 10
   }
   if (manNum==215)
   {
       manNum = 12;     //use manager number 12
   }
   ...

Make sure that you call the script "startUi4TPs.ctl" in the config/progs file as shown here for pvss 2.12.1 and WinCC 3.14. If the manager number 7 used in the following example is already occupied, take an unused one.

pvss 2.12.1 WinCC 3.14
sleep 10
PVSS00ctrl DUMMY -f startUi4TPs.lst -num 7 -log +stderr &
sleep 10
always | 30 | 30 | 10 |-num 7 startUi4TPs.ctl

To get the changes active, you have to restart the pvss / WinCC.


5 using SSH to connect[edit | edit source]

this feature is only possible if you have the latest firmware version Debian 10 and the correct Gateway is set on the Touch panel.
open a SSH session with putty to connect to a Touch Panel by it´s IP address. login with
username:user
password:'<space>toor
switch user to root -> su root
password:'<space>toor

File:TouchPanelSSHconnection.png

6 Panel Resolution[edit | edit source]

The display resolution can be changed by adapting the following files:

  • /etc/X11/xorg.conf
  • /home/user/.xinitrc

Don't forget to do these modifications while the write protection is NOT active, otherwise the changes will be lost after the next reboot.