- Posts: 1111
- Thank you received: 0
mesa 7i77 hal file
these te start of my file generated from pncconfig .... I want to create a config with 6 encode and 6 analog, and some i/o with 5i25 and 1 X 7i77 ...
these row ::
Please Log in to join the conversation.
Page 5 shows that there are no PWM inputs to the 7i77, so num_pwmgens=0 is correct, or could just be left out (there are not any to turn off).
The analog outputs are probably on smart-serial channel 2, you can check that by turning them off with a 0x0 config.
Page 21 of the manual tell you what the alternate modes of channel 1 are (for example 300 would turn on all the extra features of the DIO pins). What you want channel 3 set to depends on what you have connected to the extension channel. If there isn't anything there then 00x can save a bit of CPU time.
Please Log in to join the conversation.
in 0 mode I can utilize 6 encoder 6 analogue and 32 I + 16 O is right?
So there are some other in my hal file that not work .... I have correctly set in a firs config A rotary axis in velocity mode ..... than (with same motor and drive) I copy the A config to X Y and Z ..... but now the nalogue out seems to set at 1% of out .... I'll explain: first setting A angular axis max_vel 9xx°/sec If run Gcode with F3000 A90 F3000 A-90, The result is at max speed, 10V analogue out and max speed of motor ... In the second config I have X Y Z A at the same config old first A ..... but these time if run Gcode with F3000 X90 Y90 Z90 A90 F3000 X-90 Y-90 Z-90 A-90 the result is 0.35V analogue out and motor at 5-8rpm ....... Not understand why.
Attachment not found
Attachment not found
If set MAX_ANGULAR_VELOCITY to 10000 is the same ....
Please Log in to join the conversation.
k-1 wrote: If run Gcode with F3000 A90 F3000 A-90, The result is at max speed, 10V analogue out and max speed of motor ... In the second config I have X Y Z A at the same config old first A ..... but these time if run Gcode with F3000 X90 Y90 Z90 A90 F3000 X-90 Y-90 Z-90 A-90 the result is 0.35V analogue out and motor at 5-8rpm ....... Not understand why.
This is a quirk of G-code. If only angular axes are involved then the F-word is degrees per minute
If there are mixed linear and angular moves then the feedrate is in mm/min or inches/min.
I know that you have set all the axes to be angular, but I am not sure that LinuxCNC believes you....
This comes down to a deeply-rooted problem in LinuxCNC, it is very confused about axes and joints. On some levels XYZ can not be angular, they are positions in cartesian space. Joints 0,1,2 can very much be angular, though. It might be that despite being declared as ANGULAR the XYZ velocities are still controlled by the [TRAJ] linear settings.
This is likely to be better in the Joints_Axes development branch, which attempts to make a clearer distinction between joints and axes, and where ANGULAR is a joint property, not an axis property.
What is the physical layout of your machine?
Please Log in to join the conversation.
Please Log in to join the conversation.
The simplest way to find out is probably to open one of the complex kins simulators (puma robot, perhaps) then edit the DISPLAY= to touchy, and see if it works.
But, this isn't a JA thing, this is a world-mode / joint-mode thing and you will have the same issue in any version if using deltakins.
Please Log in to join the conversation.
Change ini file and hal file is is all you need to do to use joint_axes ?
regards
giorgio
Please Log in to join the conversation.
k-1 wrote: Change ini file and hal file is is all you need to do to use joint_axes ?
Yes, and there is a conversion script that automatically converts to the new format if you try to open a non-JA configuration.
Please Log in to join the conversation.
