Microline withTwinCAT3 Setup Notes : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
Ligne 44 : Ligne 44 :
  
 
Set at 100%. Seems to easy
 
Set at 100%. Seems to easy
 +
 +
After a power off, and on, the problem came back. Checking the drive Kff, it was set to 50%
 +
 +
With some trial and error, the CoE parameter for this setting was identified (2302){{#annotatedImageLight:Fichier:Microline withTwinCAT3 Setup Notes Image 2302.png|0=651px|hash=|jsondata=|mediaClass=Image|type=frameless|align=center|src=https://stuga.dokit.app/images/f/fc/Microline_withTwinCAT3_Setup_Notes_Image_2302.png|href=./Fichier:Microline withTwinCAT3 Setup Notes Image 2302.png|resource=./Fichier:Microline withTwinCAT3 Setup Notes Image 2302.png|caption=|size=651px}}This has now need set up as a startup parameter, so will exist even after a drive change
  
 
=Spindles=
 
=Spindles=
Ligne 56 : Ligne 60 :
 
<br />
 
<br />
  
= Unloading =
+
=Unloading=
 
Check parameters in sl;oadpos
 
Check parameters in sl;oadpos
  
Poitions of pushers relatibe to spindle c/l
+
Positions of pushers relatibe to spindle c/l
  
 
1780
 
1780
Ligne 73 : Ligne 77 :
  
  
longejpos should then be 3425</translate>
+
longejpos should then be 1600
 +
 
 +
= CLOSV (IORef 408) =
 +
This gave a really difficult issue to trace. Root cause as yet unknown, but problem can be bypassed using Ioref 418 instead of 408. Same issue as Nextmove Controller upgrades
 +
<br /></translate>
 
{{PageLang
 
{{PageLang
 
|Language=en
 
|Language=en

Version du 30 août 2022 à 15:57

Auteur avatarGareth Green | Dernière modification 21/09/2022 par Gareth Green en cours de rédaction

Pas encore d'image

Notes on issues encountered with Microline transfer to TwinCAT3 setup

In_OCUT1 / LOADD

The infeed 2007 does not have a LOADD sensor.

Confusion over how the code can handle this. It must have worked ok on other infeeds like this (eg Z046).

When investigating in the code, errors found on function blocks fbMotorConvey on inputs to

iArrayError

bNoSensorsCovered

iMeasureErrorMsg

These normally connect to fbArrayMeasure function block, but this does not exist in MHInfeed_2007

Alarms

Disabled alarm for Ipull out - this was a misleading error when it is loading to gripper

Tuning X axis drive

Following error on X axis stopped the axis on loading

When tuning took place, the bar was not clamped

Tried a reversing move with clamps on.

At Speed 10, following error was 0.2

At speed 50, following error was 1

At speed 100, the following error was 2mm

This shows a proportional increse in following error as spee increases


Tried changing drive P-Gain, no effect

Changed 3.02 Kff Gain (feed forward. Was on zero

Following error dropped proportionally to ff gain 0-100%

Set at 100%. Seems to easy

After a power off, and on, the problem came back. Checking the drive Kff, it was set to 50%

With some trial and error, the CoE parameter for this setting was identified (2302)

Microline withTwinCAT3 Setup Notes Image 2302.png

This has now need set up as a startup parameter, so will exist even after a drive change

Spindles

invert300Hz=1

InverterOkHigh=1

Input In_InvOk mapped to 90 and configured in alarms

ringType=Mk3with DP


Unloading

Check parameters in sl;oadpos

Positions of pushers relatibe to spindle c/l

1780

3055


Clear positions

2150

3425


longejpos should then be 1600

CLOSV (IORef 408)

This gave a really difficult issue to trace. Root cause as yet unknown, but problem can be bypassed using Ioref 418 instead of 408. Same issue as Nextmove Controller upgrades

Commentaires

Draft