TB0422 Commissioning ZX5 Software 2018 : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
 
Ligne 1 : Ligne 1 :
 
{{Tuto Details
 
{{Tuto Details
 +
|Main_Picture=TB0422_Commissioning_ZX5_Software_2018_visual-studio-logo.jpeg
 +
|Main_Picture_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":-55,"top":46,"width":800,"height":400,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.89,"scaleY":0.89,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/e/eb/TB0422_Commissioning_ZX5_Software_2018_visual-studio-logo.jpeg","filters":[]}],"height":450.2340093603744,"width":600}
 
|Description=<translate>0422 Commissioning ZX5 Software 2018</translate>
 
|Description=<translate>0422 Commissioning ZX5 Software 2018</translate>
 
|Categories=Software
 
|Categories=Software

Version actuelle datée du 9 octobre 2020 à 10:02

Auteur avatarGareth Green | Dernière modification 9/10/2020 par Gareth Green en cours de rédaction

Introduction

The first step in commissioning a new machine is to get the basic software setup correctly installed. Because the software is designed to be very flexible across many machine types, the simplest way to do this is to copy from a recently built similar machine.

Étape 1 - Setup Front End PC

Follow technical bulletin 409 to setup PC with correct naming conventions and TeamViewer.

Étape 2 - Setup Back End PC

Follow TB0451 to set up the Beckhoff PC


Étape 3 - Install TwinCAT if Required

...All Netmatters CNC machines will have TwinCAT already installed, so you can normally skip this step


Install TwinCAT 3.16 from the mainserver (G:\Design\TwinCAT3\TC31-Full-Setup.3.1.4022.16). Go through the wizard and when prompted restart the PC. (2019 PCs will have this)



Étape 4 - Set up a route

Once restarted the TwinCAT icon will appear in the bottom right toolbar. We can now set up a route. Left click the TwinCAT icon once. There will be a menu, go to "Route" then "Add Route...". This is where the machine and the program can be linked. Making sure the machine infeed is on and connected to the local network,

  1. Press on add in the bottom left of the window (1).
  2. From here perform a broadcast search (2), this will search for any Beckhoff devices on the network.
  3. When the machine is found select it (3)
  4. and press add route (4).



Étape 5 - Build the Visual Studio Project

There are two ways to approach this

  1. Use an existing project from a similar, older machine. This is a shortcut method but relies on having a copy of the setup from a machine with the same EtherCAT setup
  2. Build a new project from scratch - use this method if this is the first machine of its type



Étape 6 - Select Auto-start boot project for BOTH projects

Select Auto-start boot project. This can be found under

  1. PLC > tc3Multi_6_24
  2. PLC > PLC_Reset_1_1 and


Étape 7 - Log on to the machine into tc3Multi and PLCreset

Make sure to log onto the machine in tc3Multi AND PLCreset

Select from the dropdown box at the top (1) and click the green Download icon (2)

You may need to run the program (if this is the first time download) click the green play triangle (3)


...this needs to be done for both PLCReset and tc3Multi. If this is the first time, you will be asked to create the port, click OK


Étape 8 - Set the PLC to Run Mode on Boot

  1. Select Run Mode radio button
  2. Type the password (Stuga001)
  3. Click Apply



Étape 9 - TwinCAT NetId

Find the target NetId from System->Routes

Copy it

Paste it into two parameters in c:\ddrive\params.saw


amsNetId=5.68.192.220.1.1
...
twinCATAddress=5.68.192.220.1.1





Étape 10 - Customer and Build No

Set these parameters in c:\ddrive\params.saw according to the customer and build number


buildNo=Z071
...
customer=WindowPlas

Étape 11 - Reset Parameters

Set these parameters in c:\ddrive\params.saw to ensure any old customer data will not "get in the way"


autoLoadLength=5500
beamStrokeLength=700
bladeOffset/=67.5
bladeOffset\=67.5
networkdir=c:\batches\
password=none
printerIPAddress=[IP Address of printer]
productionRecipients=none
remakesPassword=none
sawSYType=2
throwaway=320
throwawayChunkSize=100
usePLCEstop=0                         (1 is for TwinSAFE systems)
zTurretSawType=2

Étape 12 - Reset userVariables

Set these parameters in c:\ddrive\uservariables.mul to reset mechanical adjustments to zero


DOFFSETWO=0
DOFFSETWI=0
DOFFSETVO=0
DOFFSETVI=0
xOFFSETWO=560
xOFFSETWI=560
xOFFSETVO=560
xOFFSETVI=560
tool1XOffset=0.0
tool2XOffset=0.0
tool3XOffset=0.0
tool4XOffset=0.0
tool7XOffset=0.0
tool8XOffset=0.0
tool1SPDOffset=0
tool2SPDOffset=0
tool3SPDOffset=0
tool4SPDOffset=0
tool7SPDOffset=0
tool8SPDOffset=0

Commentaires

Draft