TB0385 Upgrading to winMulti v6 : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
(Page créée avec « {{Tuto Details |Description=<translate>Upgrading to winMulti v6</translate> |Categories=Software |Difficulty=Medium |Duration=30 |Duration-type=minute(s) |Tags=TB0385, Win... »)
 
 
(Une révision intermédiaire par le même utilisateur non affichée)
Ligne 12 : Ligne 12 :
 
{{Materials}}
 
{{Materials}}
 
{{EPI}}
 
{{EPI}}
 +
{{Tuto Step
 +
|Step_Title=<translate>Update TwinCAT on Backend PC</translate>
 +
|Step_Content=<translate>Update TwinCAT on Backend PC using file g:\Design\TwinCAT3\ TC31-XAR-Setup.3.1.4022.2.exe
 +
 +
{{Info|...Can use v4022 if already installed}}<br /></translate>
 +
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=<translate>Ensure Camera PC is the front end (TB…)</translate>
 
|Step_Title=<translate>Ensure Camera PC is the front end (TB…)</translate>
Ligne 25 : Ligne 31 :
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Backup current backend PLC projects and setup</translate>
+
|Step_Title=<translate>Download backend PLC projects and setup</translate>
|Step_Content=<translate>Run VS, download from archive save in folder c:\TwinCAT\[BuildNo] (create folder if not there)</translate>
+
|Step_Content=<translate>Run VS,  
 +
 
 +
Open from Target
 +
 
 +
select in folder c:\TwinCAT\[BuildNo]Target</translate>
 +
}}
 +
{{Tuto Step
 +
|Step_Title=<translate>Arcrive current PLC</translate>
 +
|Step_Content=<translate>Right click on solution and create an archive project</translate>
 +
}}
 +
{{Tuto Step
 +
|Step_Title=<translate>Close VS</translate>
 +
|Step_Content=<translate></translate>
 +
}}
 +
{{Tuto Step
 +
|Step_Title=<translate>Rename the [build No] project</translate>
 +
|Step_Content=<translate>Find c:\TwinCAT Projects\Stuga\[BuildNo] folder
 +
 
 +
Rename to
 +
 
 +
c:\TwinCAT Projects\Stuga\[BuildNo]old
 +
 
 +
<br /></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Update TwinCAT on Backend PC</translate>
+
|Step_Title=<translate>Open VS and create a new project from the recent archive</translate>
|Step_Content=<translate>Update TwinCAT on Backend PC using file g:\Design\TwinCAT3\ TC31-XAR-Setup.3.1.4022.2.exe</translate>
+
|Step_Content=<translate>Crerate [buildNo] folder
 +
 
 +
 
 +
This will create a fresh folder for updating
 +
 
 +
<br /></translate>
 +
}}
 +
{{Tuto Step
 +
|Step_Title=<translate>Export Mapping</translate>
 +
|Step_Content=<translate></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Archive save project to zip file in c:\TwinCAT\[BuildNo]</translate>
+
|Step_Title=<translate>Rename tc3Multi*** PLC project file to tc3Multi</translate>
|Step_Content=<translate>(create folder if not there)</translate>
+
|Step_Content=<translate></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Rename tc3Multi*** PLC project file to tc3Multi_6_24</translate>
+
|Step_Title=<translate>Rename PLC_Reset *** PLC project file to PLC_Reset</translate>
 
|Step_Content=<translate></translate>
 
|Step_Content=<translate></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Rename PLC_Reset *** PLC project file to PLC_Reset_1_1</translate>
+
|Step_Title=<translate>Check Mappings</translate>
 
|Step_Content=<translate></translate>
 
|Step_Content=<translate></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>9. Blank out the contents of PLC project folder c:\TwinCAT\[buildNo]\ tc3Multi_6_24</translate>
+
|Step_Title=<translate>Export Mapping</translate>
 
|Step_Content=<translate></translate>
 
|Step_Content=<translate></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>10. Blank out the contents of PLC project folder c:\TwinCAT\[buildNo]\ PLC_Reset_1_1</translate>
+
|Step_Title=<translate>Close VS</translate>
 
|Step_Content=<translate></translate>
 
|Step_Content=<translate></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>File transfer</translate>
+
|Step_Title=<translate>File transfer of PLC projects</translate>
|Step_Content=<translate>File transfer from g:\design\TwinCAT3\Lab v6\tc3Multi_6_24 to c:\twincat\stuga\[BuildNo]\tcMulti_6_24</translate>
+
|Step_Content=<translate>File transfer from git tc3Multi
 +
 
 +
Copy to the [buildNo] folder and overwrite</translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>File transfer</translate>
+
|Step_Title=<translate>Open VS</translate>
|Step_Content=<translate>File transfer from g:\design\TwinCAT3\Lab v6\PLC_Reset_1_1 to c:\twincat\stuga\[BuildNo]\ PLC_Reset_1_1</translate>
+
|Step_Content=<translate></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>13. Ensure backend TwinCAT install is complete, which should end in a PC reboot</translate>
+
|Step_Title=<translate>Check Mappings</translate>
 
|Step_Content=<translate></translate>
 
|Step_Content=<translate></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Run VS and open the buildNo project</translate>
+
|Step_Title=<translate>Rebuild project</translate>
|Step_Content=<translate>The new versions of tc3Multi should be there – check the POUs->Version Info (PRG) to ensure it is a new version</translate>
+
|Step_Content=<translate>{{Info|...If there are any issues in importing, use ExportOpenXML / ImportOpenXML}}</translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 83 : Ligne 122 :
 
|Step_Title=<translate>Update axes.mul to new V and W numbers</translate>
 
|Step_Title=<translate>Update axes.mul to new V and W numbers</translate>
 
|Step_Content=<translate>(field at end of line, NOT the id number at start)</translate>
 
|Step_Content=<translate>(field at end of line, NOT the id number at start)</translate>
 +
}}
 +
{{Tuto Step
 +
|Step_Title=<translate>Link the reset input on PLC_Reset to the rest output on tcMulti</translate>
 +
|Step_Content=<translate>This should be there but check</translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 93 : Ligne 136 :
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Update the mHelpdesk Software Versions with the installed versions</translate>
+
|Step_Title=<translate>Update the controlSystems Log</translate>
|Step_Content=<translate></translate>
+
|Step_Content=<translate>https://stugaltd.monday.com/boards/304269981</translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 110 : Ligne 153 :
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=<translate>Check the inverter program is updated to latest version</translate>
 
|Step_Title=<translate>Check the inverter program is updated to latest version</translate>
|Step_Content=<translate></translate>
+
|Step_Content=<translate>This is not needed on a Yaskawa Inverter - follow the process</translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Link the reset input on PLC_Reset to the rest output on tcMulti</translate>
+
|Step_Title=<translate>Pauses Update</translate>
|Step_Content=<translate></translate>
+
|Step_Content=<translate>Ps_blowerPulseA=2500
}}
+
 
{{Tuto Step
+
ps_InvAccelTime300Hz=400
|Step_Title=<translate>Ps_blowerPulseA=2500</translate>
+
 
|Step_Content=<translate></translate>
+
ps_InvAccelTime50Hz=400
 +
 
 +
psInvDecelTime300Hz=400
 +
 
 +
psInvDecelTime50Hz=400
 +
 
 +
<br /></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 133 : Ligne 182 :
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>ps_InvAccelTime300Hz=250</translate>
+
|Step_Title=<translate>WIDTH SENSOR SETUP</translate>
|Step_Content=<translate></translate>
+
|Step_Content=<translate>{{Info|...Only if fitted}}</translate>
}}
 
{{Tuto Step
 
|Step_Title=<translate>ps_InvAccelTime50Hz=500</translate>
 
|Step_Content=<translate></translate>
 
}}
 
{{Tuto Step
 
|Step_Title=<translate>Width Sensor Setup</translate>
 
|Step_Content=<translate></translate>
 
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=<translate>Verify the width sensor is correctly wired in VS fieldbus device feedback</translate>
 
|Step_Title=<translate>Verify the width sensor is correctly wired in VS fieldbus device feedback</translate>
|Step_Content=<translate>The voltage input is displayed in the “Value” column and should read a low value when clamp is open and above 32000 when clamp closed (CLIS output on)</translate>
+
|Step_Content=<translate>The voltage input is displayed in the “Value” column and should read a low value when clamp is open and above 32000 when clamp closed (CLIS output on)
 +
 
 +
{{Info|...Only if fitted}}<br /></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=<translate>Map the IO in VS to the correct IO box / channel.</translate>
 
|Step_Title=<translate>Map the IO in VS to the correct IO box / channel.</translate>
|Step_Content=<translate>This is iAnalogueInputArray[0].</translate>
+
|Step_Content=<translate>This is iAnalogueInputArray[0].{{Info|...Only if fitted
 +
}}<br /></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 158 : Ligne 202 :
 
b.      widthMeasureScale=-0.0030469 <- Note the minus at the beginning
 
b.      widthMeasureScale=-0.0030469 <- Note the minus at the beginning
  
c.      widthMeasuringMode=1</translate>
+
c.      widthMeasuringMode=1{{Info|...Only if fitted
 +
}}<br /></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=<translate>Calibrate the widthMeasureOffset</translate>
 
|Step_Title=<translate>Calibrate the widthMeasureOffset</translate>
|Step_Content=<translate>Calibrate the widthMeasureOffset by using CLIS to measure some known profile widths. The measure result can be seen on frmService->Clear Blockages Tab</translate>
+
|Step_Content=<translate>Calibrate the widthMeasureOffset by using CLIS to measure some known profile widths. The measure result can be seen on frmService->Clear Blockages Tab{{Info|...Only if fitted
 +
}}<br /></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=<translate>Ensure all profiles with a rebate</translate>
 
|Step_Title=<translate>Ensure all profiles with a rebate</translate>
|Step_Content=<translate>Ensure all profiles with a rebate where CLIS will go underneath have the rebate distance correctly set up in the profile settings. This is all Z profiles. These can be set from the Settings->Profiles Tab</translate>
+
|Step_Content=<translate>Ensure all profiles with a rebate where CLIS will go underneath have the rebate distance correctly set up in the profile settings. This is all Z profiles. These can be set from the Settings->Profiles Tab{{Info|...Only if fitted
 +
}}<br /></translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=<translate>Ensure all profile without a rebate have the rebate measurement set at Zero</translate>
 
|Step_Title=<translate>Ensure all profile without a rebate have the rebate measurement set at Zero</translate>
|Step_Content=<translate></translate>
+
|Step_Content=<translate>{{Info|...Only if fitted
 +
}}</translate>
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 182 : Ligne 230 :
 
{{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 actuelle datée du 5 janvier 2023 à 17:38

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

Pas encore d'image

Upgrading to winMulti v6

Difficulté
Moyen
Durée
30 minute(s)

Sommaire

Étape 1 - Update TwinCAT on Backend PC

Update TwinCAT on Backend PC using file g:\Design\TwinCAT3\ TC31-XAR-Setup.3.1.4022.2.exe

...Can use v4022 if already installed

Étape 2 - Ensure Camera PC is the front end (TB…)

Étape 3 - Backup winMulti version – zip up c:\multi folder on front end

Étape 4 - Copy across latest winMulti version to c:\multi folder

Étape 5 - Download backend PLC projects and setup

Run VS,

Open from Target

select in folder c:\TwinCAT\[BuildNo]Target

Étape 6 - Arcrive current PLC

Right click on solution and create an archive project

Étape 7 - Close VS

Étape 8 - Rename the [build No] project

Find c:\TwinCAT Projects\Stuga\[BuildNo] folder

Rename to

c:\TwinCAT Projects\Stuga\[BuildNo]old


Étape 9 - Open VS and create a new project from the recent archive

Crerate [buildNo] folder


This will create a fresh folder for updating


Étape 10 - Export Mapping

Étape 11 - Rename tc3Multi*** PLC project file to tc3Multi

Étape 12 - Rename PLC_Reset *** PLC project file to PLC_Reset

Étape 13 - Check Mappings

Étape 14 - Export Mapping

Étape 15 - Close VS

Étape 16 - File transfer of PLC projects

File transfer from git tc3Multi

Copy to the [buildNo] folder and overwrite

Étape 17 - Open VS

Étape 18 - Check Mappings

Étape 19 - Rebuild project

...If there are any issues in importing, use ExportOpenXML / ImportOpenXML

Étape 20 - Ensure Boot Setting are set to start in Run Mode

 (Defaults to Config mode after the TwinCAT update)

Étape 21 - Change V axis Number to Axis 11 from 7

(axis->Settings tab Link to PLC button)

Étape 22 - Change W axis number to Axis 12 from 8

(axis->Settings tab Link to PLC button)

Étape 23 - Update axes.mul to new V and W numbers

(field at end of line, NOT the id number at start)

Étape 24 - Link the reset input on PLC_Reset to the rest output on tcMulti

This should be there but check

Étape 25 - Activate the new configuration from VS

Check the EtherCAT devices - May need a reload devices if the devices cannot see the fieldbus boxes

Étape 26 - Check that the emergency stop InS_Estop

Check that the emergency stop InS_Estop when reset gives a high input into the IO screen

Étape 27 - Update the controlSystems Log

https://stugaltd.monday.com/boards/304269981

Étape 28 - Ensure c:\multi\masterdir.saw is set to two lines of “c:\ddrive\”

Étape 29 - Run winMulti

Étape 30 - Settings-> IO Map stoppable outputs set on correct location (MH / Saw).

Only need to update the ones that are ticked

Étape 31 - Check the inverter program is updated to latest version

This is not needed on a Yaskawa Inverter - follow the process

Étape 32 - Pauses Update

Ps_blowerPulseA=2500

ps_InvAccelTime300Hz=400

ps_InvAccelTime50Hz=400

psInvDecelTime300Hz=400

psInvDecelTime50Hz=400


Étape 33 - zTurretSawType set to “Stuga” (value 1)

Étape 34 - Ensure the latest messages.saw is copied into c:\ddrive\

Étape 35 - Ensure Saw Infeed Gate Alarm not enabled

It is not an alarm and will stop transfer table if opened

Étape 36 - WIDTH SENSOR SETUP

...Only if fitted

Étape 37 - Verify the width sensor is correctly wired in VS fieldbus device feedback

The voltage input is displayed in the “Value” column and should read a low value when clamp is open and above 32000 when clamp closed (CLIS output on)

...Only if fitted

Étape 38 - Map the IO in VS to the correct IO box / channel.

This is iAnalogueInputArray[0].
...Only if fitted

Étape 39 - Set width measure parameters

a.      widthMeasureOffset=132.8

b.      widthMeasureScale=-0.0030469 <- Note the minus at the beginning

c.      widthMeasuringMode=1
...Only if fitted

Étape 40 - Calibrate the widthMeasureOffset

Calibrate the widthMeasureOffset by using CLIS to measure some known profile widths. The measure result can be seen on frmService->Clear Blockages Tab
...Only if fitted

Étape 41 - Ensure all profiles with a rebate

Ensure all profiles with a rebate where CLIS will go underneath have the rebate distance correctly set up in the profile settings. This is all Z profiles. These can be set from the Settings->Profiles Tab
...Only if fitted

Étape 42 - Ensure all profile without a rebate have the rebate measurement set at Zero

...Only if fitted

Étape 43 - Ps_sideClamp is used now as the delay

 Ps_sideClamp is used now as the delay for the side clamp before checking the width – this may need to be increased to allow side clamp to close on narrow profiles

Étape 44 - Width measuring can be switched off

If all fails, width measuring can be switched off with widthMeasuringMode=0

Commentaires

Draft