From: cmorley <gi...@gi...> - 2011-09-29 02:44:45
|
pncconf - set dac scale and dac max output to default of 10 While setting scale to max axis speed would be better. there is no way to know that so we default to setting it to represent voltage as in a +-10 volt servo amp having scale at 1 and max output at 10 was just wrong http://git.linuxcnc.org/?p=emc2.git;a=commitdiff;h=1ee985d --- src/emc/usr_intf/pncconf/pncconf.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/emc/usr_intf/pncconf/pncconf.py b/src/emc/usr_intf/pncconf/pncconf.py index 0ad7f77..4feae48 100755 --- a/src/emc/usr_intf/pncconf/pncconf.py +++ b/src/emc/usr_intf/pncconf/pncconf.py @@ -1089,7 +1089,7 @@ class Data: self[temp+"invertencoder"]= 0 self[temp+"3pwmscale"]= 1 self[temp+"3pwmdeadtime"]= 500 - self[temp+"outputscale"]= 1 + self[temp+"outputscale"]= 10 self[temp+"outputoffset"]= 0 self[temp+"maxoutput"]= 10 self[temp+"P"]= 1.0 |