sorry ... a messages out of theme .... I see your solution about singletone userspace comp .... i have tested other solution from other user of makinekit .... it seems to work, but I'm not know where is the right place to messages these ....
regards Giorgio ________________________________ Da: Sebastian Kuzminsky <s...@highlab.com> Inviato: lunedì 10 aprile 2017 20.18 A: Enhanced Machine Controller (EMC) Oggetto: Re: [Emc-users] halui.max-velocity ... On 04/10/2017 02:18 AM, giorgio foga wrote: > using JA I try to send halui.max-velocity.decrease/increase trought > modbus .... after more test I see it work well but the result is > unespected for my config. With axis gui I have max-velocity slider > that show 210000mm/min max velocity ... it is ok ... but if I use > setp halui.max-velocity.scale ...... i try for test these value > 100-10-1 .... and It seems it not working well, but when I try to use > 0.1 and 0.01 I see it work perfect but with undesired result .... in > the past after any test th max-velocity, after press pycp.button -> > halui.max-velocity.decrease ... the max-value on axis gui go to 60.0 > and it stop .... using scale = 0.1 or 0.01 I see the max-value and > slider on axis gui goto 60, 59, 58... or 59.9, 59.8, 59.7 etc etc... > So I see it work but why it go from 210000 (my right value) to > 60.0??? I control axis.py file to undestand why but I have notn see > anything at odds to my config. > > I use angular and linear axis too .... obviusly I not seeing the > right things. Hi Giorgio, I don't totally understand what you're reporting, but I think maybe you're running into a problem with different units being used in different places. The .ini file file has [TRAJ]MAX_VELOCITY, [AXIS_*]MAX_VELOCITY and [JOINT_*]MAX_VELOCITY in machine units (mm in your case) per second: http://linuxcnc.org/docs/devel/html/config/ini-config.html#_traj_section INI Configuration - LinuxCNC<http://linuxcnc.org/docs/devel/html/config/ini-config.html#_traj_section> linuxcnc.org A comment line is started with a ; or a # mark. When the ini reader sees either of these marks at the start a line, the rest of the line is ignored by the software. http://linuxcnc.org/docs/devel/html/config/ini-config.html#_axis__lt_letter_gt_section INI Configuration - LinuxCNC<http://linuxcnc.org/docs/devel/html/config/ini-config.html#_axis__lt_letter_gt_section> linuxcnc.org A comment line is started with a ; or a # mark. When the ini reader sees either of these marks at the start a line, the rest of the line is ignored by the software. But the Axis GUI presents Max Velocity in machine units per minute. I just ran this test: I started the sim/axis/axis_mm.ini config, and saw that Axis shows a max velocity of 3200 mm/min. This corresponds to the .ini file's [TRAJ]MAX_LINEAR_VELOCITY of 53.34 mm/s. I then used halcmd to poke at halui. I first saw that halui.max-velocity.value was 53.33333 (mm/s), roughly as expected. I set halui.max-velocity.scale to 0.1 (mm/s) and then halui.max-velocity.decrease to 1. That made halui.max-velocity.value change to 53.23333 mm/s, and the Axis Max Velocity slider changed to 3193.9 mm/min, which is also right. I also tested with halui.max-velocity.scale set to 10 mm/s and 100 mm/s, and both worked as expected. I also tried on an inch machine with both linear and rotary axes, and while there's only controls for max linear velocity, that config worked as expected too. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users Emc-users Info Page - SourceForge<https://lists.sourceforge.net/lists/listinfo/emc-users> lists.sourceforge.net This list is for users of the Enhanced Machine Controller (EMC). Topics include how to obtain, install, configure, and use EMC, as well as other general EMC related ... ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users