Replacing Beckhoff PC : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
(Page créée avec « {{Tuto Details |Description=<translate>How to replace a beckhoff PC and install the original project</translate> |Categories=Software |Difficulty=Very hard |Duration=1 |Du... »)
 
Ligne 2 : Ligne 2 :
 
|Description=<translate>How to replace a beckhoff PC and install the original project</translate>
 
|Description=<translate>How to replace a beckhoff PC and install the original project</translate>
 
|Categories=Software
 
|Categories=Software
|Difficulty=Very hard
+
|Difficulty=Hard
 
|Duration=1
 
|Duration=1
 
|Duration-type=hour(s)
 
|Duration-type=hour(s)
Ligne 62 : Ligne 62 :
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=<translate>Activate the configuration</translate>
 
|Step_Title=<translate>Activate the configuration</translate>
 +
|Step_Content=<translate></translate>
 +
}}
 +
{{Tuto Step
 +
|Step_Title=<translate>Log in both Tc3Multi and PLC_Reset Projects</translate>
 
|Step_Content=<translate></translate>
 
|Step_Content=<translate></translate>
 
}}
 
}}
Ligne 93 : Ligne 97 :
 
|Step_Title=<translate>Set the route for the front end to the back end PLC</translate>
 
|Step_Title=<translate>Set the route for the front end to the back end PLC</translate>
 
|Step_Content=<translate></translate>
 
|Step_Content=<translate></translate>
 +
}}
 +
{{Tuto Step
 +
|Step_Title=<translate>Full shutdown and restart to check</translate>
 +
|Step_Content=<translate>Shut down all the pcs, saving projects, etc and perform a full power cycle</translate>
 
}}
 
}}
 
{{Notes}}
 
{{Notes}}
 
{{PageLang
 
{{PageLang
 +
|Language=en
 
|SourceLanguage=none
 
|SourceLanguage=none
 
|IsTranslation=0
 
|IsTranslation=0
|Language=en
 
 
}}
 
}}
 
{{Tuto Status
 
{{Tuto Status
 
|Complete=Draft
 
|Complete=Draft
 
}}
 
}}

Version du 2 octobre 2023 à 11:11

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

Introduction

To replace a broken PLC requires the installation of the original project. This project needs to be made aware of the new hardware, along with the Stuga software

Étape 1 - Replace the PC hardware

Take care to ensure all cables are replaced in the same relative positions

Power on



Étape 2 - Set up the customer related network settings

Teamviewer in to the new beckhoff PLC ("BE")

Set

  • IP Address
  • Subnet Mask
  • Default Gateway

These addresses should be stored in the DDRIVE of the front end PC in IP.mul

Étape 3 - Open the PLC Project

This is done using the TwinCAT Visual Studio interface. The location of the Visual Studio project will depend on the setup and age of the machine. Generally this is one of 3 places, to find out, use teamviewer database to list the computers associated with the machine

  1. If the PC has a "VM" virtual machine installed (2023 onwards), a project will be set up on this desktop - use Teamviewer to connect
  2. If the PC has a "C" camera machine (only selected customers and older TwinCAT2 machines)
  3. On the main front end PC (operator desktop)

Étape 4 - Backup (Archive) the current project

See Archiving a TwinCAT Project

Étape 5 - Set the route to the new PLC

Étape 6 - Change the Device

This step programs the project with the Mac address of the ethernet port for the system to use as the connection to the TwinCAT system. There are two ports on the front of the Beckhoff unit, Ethernet (Yellow cable) plugs in one, EtherCAT(green cable) in the other.

  1. Double click devices
  2. Adapter tab
  3. Click Search
  4. Select the "EtherCAT" Port (This may not be named correctly, one port is used for EtherCAT, the other for Ethernet)
  5. Click ok


Étape 7 - Activate the configuration

Étape 8 - Log in both Tc3Multi and PLC_Reset Projects

Étape 9 - Check the EtherCAT network

Ensure all devices are in OP mode



Étape 10 - Set Boot Settings to Run Mode

Click Apply

Username is Administrator and password is the standard Stuga one



Étape 11 - Ensure the params.saw Net ids updated

This step tells the front end the AMS net Id of the backend. The AMS net Id should be different for every Beckhoff PLC created

Two parameters need to be set

amsNetId=[xxx.xxx.xxx.xxx].1.1
twinCATAddress=[xxx.xxx.xxx.xxx].1.1




Étape 12 - Set the route for the front end to the back end PLC

Étape 13 - Full shutdown and restart to check

Shut down all the pcs, saving projects, etc and perform a full power cycle

Commentaires

Draft