7i77 DAC Offset

More
01 Sep 2019 08:47 #143765 by J0hN
7i77 DAC Offset was created by J0hN
Hallo

Wir sind gerade dabei eine Drahtbiegemaschine auf LinuxCNC umzurüsten ,
als Hardware haben wir die 6i25 + 7i77 , die Anlage hat 3 elektrische Servo Achsen und 2 hydraulische Servo Achsen , usw. .... sind gerade dabei im Open Loop die Achsen von Hand in Betrieb zunehmen , die Achse fährt positiv / negativ , schnell , langsam ... aber bei 0 V driftet sie leicht weg , dazu habe ich den DAC Offset auf ca. -0,15 gesetzt , Achse steht !

Hier meine Frage ... unter welchem Parameter wird der DAC Offset gespeichert ? ,
bzw. von Hand eingegeben ? ... ich kann diesen Wert nicht in der INI oder HAL finden ...

Gruß,

J0hN

Please Log in or Create an account to join the conversation.

More
01 Sep 2019 09:07 #143767 by nkp
Replied by nkp on topic 7i77 DAC Offset
If you are using a component pid:
linuxcnc.org/docs/2.7/html/man/man9/pid.9.html
 pin pid.N.bias
 bias is a constant amount that is added to the output. In most cases it should be left at zero. However, it can sometimes be useful to compensate for offsets in servo amplifiers, or to balance the weight of an object that moves vertically. bias is turned off when the PID loop is disabled, just like all other components of the output. If a non-zero output is needed even when the PID loop is disabled, it should be added with an external HAL sum2 block.
 ==============
 
 or:
 linuxcnc.org/docs/2.7/html/man/man9/scale.9.html


loadrt scale count = 1
addf scale.0 servo-thread
setp scale.0.gain 1
setp scale.0.offset -0,15



#out = in * gain + offset

Please Log in or Create an account to join the conversation.

More
01 Sep 2019 09:55 #143768 by tommylight
Replied by tommylight on topic 7i77 DAC Offset

... aber bei 0 V driftet sie leicht weg , dazu habe ich den DAC Offset auf ca. -0,15 gesetzt , Achse steht !

J0hN

Das ist normal, und das sollte night mit offset gestopt.

forum.linuxcnc.org/10-advanced-configura...ning-detailed-how-to

Am erst die enable soll funken, die treiber sollen nur mit dem enable signal von 7i77 eingeschalten verden. Dan die tuning.

Please Log in or Create an account to join the conversation.

Time to create page: 0.254 seconds
Powered by Kunena Forum