>theory, where in Linuxcnc do I set the amplifier_scale? I do not off
>hand see it as an ini file parameter or component pin / parameter.
The hal name varies depending upon the hardware in use and the
configuration.
Examples from the configurations directory
(/usr/share/doc/linuxcnc/examples/sample-configs)
in the (2.5) distribution:
hm2-servo/hm2-servo.hal:setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale
[AXIS_0]OUTPUT_SCALE
motenc/motenc_motion.hal:setp motenc.0.dac-00-gain [AXIS_0]OUTPUT_SCALE
ppmc/ppmc_motion.hal:setp ppmc.0.DAC.00.scale [AXIS_0]OUTPUT_SCALE
stg/stg_motion.hal:setp stg.0.dac-gain [AXIS_0]OUTPUT_SCALE
univpwm/univpwm_motion.hal:setp ppmc.0.pwm.00.scale [AXIS_0]OUTPUT_SCALE
vti/vti_motion.hal:setp vti.0.dac-gain [AXIS_0]OUTPUT_SCALE
The man page for hostmot2 (man hostmot2) explains:
...
(float rw) scale
Scaling factor to convert 'value' from arbitrary units to duty
cycle: dc = value / scale. Duty cycle has an effective
range of -1.0 to +1.0 inclusive, anything outside that range gets
clipped. The default scale is 1.0.
I don't see man pages for hal_motenc, hal_ppmc, or hal_stg.
Scaling is similar for hal_ppmc and hal_stg but note that hal_motenc uses
a direct gain not a _reciprocal_ scale.
The new 5i25-7i77 (autoconfigured) seems to use:
hm2_5i25.*.7i77.*.*.analogoutN-scalemax
--
Dewey Garrett
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users