Communication between WOP-iT Panels and BECKHOFF Controllers/EPC s with ADS Driver. In the following you find a description for the WIN CE Controllers CX1010-0011 that communicates with the WOP-iT Software. e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 1 von 1 Erstelldatum: 17.09.2007 A) PLC / Controller Settings B) TwinCAT System Manager C) TwinCAT PLC Control (PLC Program) D) WOP-iT Program Basically the communication works with: CX 10xx Embedded PC / Basic CPU module The BC and BX Controllers do not support Symbolic Names (only Index- Groupnumber and Index Offsetnumber), so the ADS Driver cannot communicate to these controllers. BX 9000 BC 9000 / 9050 / 9100 Ethernet TCP/IP Bus Terminal Controller
Table of Contents A) PLC / Controller Settings...3 e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 2 von 2 Erstelldatum: 17.09.2007 A.1 Network Settings of Controller / PLC...3 A.1.1 Start CERHOST.exe Remote Tool...3 A.1.2 Then you see the Remote Display Control for Windows CE:...3 A.1.3 Enter the Hostname of the Controller: (Here:CX1020-0011) or IP-Address...3 A.1.4 Enter IP Address of the Controller...4 A.2 AMS Net ID...4 A.2.1 Start AMS Remote Manager:...4 A2.2 Enter the AMS Net ID of your PLC...5 A.3 AMS Remote Configuration...5 A.3.1 Enter your WOP-iT as Remote Connection...5 B) TwinCAT System Manager...6 B.1 Start the System Manager on PC...6 B.2 Go to the Routing Settings Zufügen (Add)...7 B.3 Via Broadcast Search you can search for all available Hosts...7 B.4 Via Route zufügen the PLC is added to the Routing Table:...8 B.5 Finally you see the PLC in the actual Routing Table...8 C) TwinCAT PLC Control (PLC Program)...9 C.1 Start the TwinCAT PLC Control and chose the PC Platform...9 C.2 Make a small PLC program (in Structured Text) with e.g. MyTestVar1 as INT...9 C.3 Go to Projekt Optionen...9 C.5 In TwinCAT you choose the Static Symbols Definition...10 C.6 To establish the communication between WOP-iT and BECKHOFF it s necessary to download the Symbol description....10 C.7 Via Online Auswahl des Zielsystems you choose the Runtime System...11 C.7 Via Online Einloggen you transfer the Program to the PLC...11 C.8 Via Online Start you start the PLC Program...11 C.9 Via Online Erzeugen eines Bootprojektes you can set your PLC Program as Default Program after booting the PLC....12 D) WOP-iT Program...13 D.1 Start the WOP-iT Software, choose the ADS Driver...13 D.2 Via Properties you can enter the IP Address of the PLC (like it s defined in A1.4)...13 D.3 Open the Variable Editor...14 D.4 Go to Import Ads Import...14 D.5 Select the Driver ADS1...14 D.6 Enter PLC Address and ADS Net ID and press on Update...14 D.7 Then you see the imported variable in Variable Editor...15 D.8 Make a page with a numeric input element...15 D.9 Connect the input of the element with the imported variable....15 D.10 Start the runtime and you will see the changes of the variable in PLC...16
A) PLC / Controller Settings First the WOP-iT Panel ( Software must be known to the BECKHOFF-Router. Therefore you have to enter the WOP-iT to the Remote Connections of the Controller. Via the Tool CERHOST.exe you are able to establish a connection the Controller that have a WIN CE Operating System. e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 3 von 3 Erstelldatum: 17.09.2007 A.1 Network Settings of Controller / PLC A.1.1 Start CERHOST.exe Remote Tool A.1.2 Then you see the Remote Display Control for Windows CE: Go to File Connect A.1.3 Enter the Hostname of the Controller: (Here:CX1020-0011) or IP-Address If Hostname or IP-Address is known, go to 4. If the Hostname or IP-Address is unknown, you can send a Broadcast to see the connected Controllers see Point B) TwinCAT PLC Program :
A.1.4 Enter IP Address of the Controller e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 4 von 4 Erstelldatum: 17.09.2007 Go to Start Settings Network and Dial-up Connections A.2 AMS Net ID A.2.1 Start AMS Remote Manager: Specify an IP address so that you can be sure that you are in the same Subnet like your WOP-iT Panel.
Start: MyDevice Hard Disk System TcAmsRemoteMgr A2.2 Enter the AMS Net ID of your PLC e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 5 von 5 Erstelldatum: 17.09.2007 A.3 AMS Remote Configuration A.3.1 Enter your WOP-iT as Remote Connection Local Computer: BECKHOFF Controller/PLC The ADS Ams Net Id is an extension of the TCP/IP address and identifies a TwinCAT Message routing. e.g.. "192.168.5.168.1.1". Remote Computer: WOP-iT Panel (PC with WOP-iT Software Here you have to enter as per default an ADS Ams Net Id extension of 1.2 in the TCP/IP " 92 68 32 2"
WOP-iT Panel that is entered in the Remote Connections: e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 6 von 6 Erstelldatum: 17.09.2007 B) TwinCAT System Manager B.1 Start the System Manager on PC
B.2 Go to the Routing Settings Zufügen (Add) e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 7 von 7 Erstelldatum: 17.09.2007 B.3 Via Broadcast Search you can search for all available Hosts (Via IP-Address, Target Route: Static, Remote Route: Static)
B.4 Via Route zufügen the PLC is added to the Routing Table: e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 8 von 8 Erstelldatum: 17.09.2007 (Mark the Host and press Route zufügen if the Host is connected (X)) Enter the Username / Password for the CE Operating System of the BECKHOFF PLC: B.5 Finally you see the PLC in the actual Routing Table. Press on Aktiviert Konfiguration to activate the configuration.
C) TwinCAT PLC Control (PLC Program) C.1 Start the TwinCAT PLC Control and chose the PC Platform e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 9 von 9 Erstelldatum: 17.09.2007 C.2 Make a small PLC program (in Structured Text) with e.g. MyTestVar1 as INT C.3 Go to Projekt Optionen
C.4 In Symbolkonfiguration you check the Option for generating the Symbol entries (here: Symboleinträge erzeugen ) then press on the button to edit the Symbolfile (here Symbolfile konfigurieren). Be sure that the MAIN (PRG) is marked. e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 10 von 10 Erstelldatum: 17.09.2007 C.5 In TwinCAT you choose the Static Symbols Definition C.6 To establish the communication between WOP-iT and BECKHOFF it s necessary to download the Symbol description.
C.7 Via Online Auswahl des Zielsystems you choose the Runtime System e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 11 von 11 Erstelldatum: 17.09.2007 If it was successful you see the configuration in the state bar at the bottom: C.7 Via Online Einloggen you transfer the Program to the PLC C.8 Via Online Start you start the PLC Program
C.9 Via Online Erzeugen eines Bootprojektes you can set your PLC Program as Default Program after booting the PLC. e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 12 von 12 Erstelldatum: 17.09.2007
D) WOP-iT Program D.1 Start the WOP-iT Software, choose the ADS Driver e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 13 von 13 Erstelldatum: 17.09.2007 D.2 Via Properties you can enter the IP Address of the PLC (like it s defined in A1.4)
D.3 Open the Variable Editor e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 14 von 14 Erstelldatum: 17.09.2007 D.4 Go to Import Ads Import D.5 Select the Driver ADS1 D.6 Enter PLC Address and ADS Net ID and press on Update Select the MAIN.MYTESTVAR1 variable and press on OK
D.7 Then you see the imported variable in Variable Editor. e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 15 von 15 Erstelldatum: 17.09.2007 D.8 Make a page with a numeric input element D.9 Connect the input of the element with the imported variable.
D.10 Start the runtime and you will see the changes of the variable in PLC. e Lauer GmbH & Co. KG reg 10445/1101 Print02/1101 wop-it beckhoff ads cx wince en.doc Ersteller: BAUMEISTER Seite 16 von 16 Erstelldatum: 17.09.2007 For more details please see also in the manuals on every WOP-iT Designer CD.