Advanced Search

Search Results (Searched for: )

  • papagno-source
  • papagno-source
25 Dec 2024 17:29
Replied by papagno-source on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

Ok I will try these commands, but I ask you, if I wanted to read or write in a PDO a float 64 value would it be possible?

This will mean that the pin that will be created will be declared as float 64.

halType="double"?

or hal non support pin declared 64 bit ?
  • gblcody
  • gblcody's Avatar
25 Dec 2024 15:39
Replied by gblcody on topic Probe basic Install errors

Probe basic Install errors

Category: Basic Configuration

Tommylight,
Thanks for that tweak, I removed those hal calls in the ini file and that error is now gone. I'm now back to my issue of "Can't execute DISPLAY program probe_basic "

Any suggestions?

Attached are my error report and config files

Thanks again for the support and Merry Christmas! 
  • abdulasis12
  • abdulasis12
25 Dec 2024 15:31 - 25 Dec 2024 15:33

Skew correction/perpendicularity correction (millkins or millkins_xyz)

Category: Basic Configuration

Thank you for fast reply

I try
sudo halcompile --install src/emc/kinematics/trtfuncs.c
I change to dir downloads and change cmd to  : sudo halcompile --install trtfuncs.c
this correct ?
then like halcompile respond but found error about code inside file, or can't use halcompile ?
I see in error red letter on  " ; "  don't know problem from its or not.

thank you,
Asis
 
 
  • PCW
  • PCW's Avatar
25 Dec 2024 14:52
Replied by PCW on topic PC for Mesa 5i25T

PC for Mesa 5i25T

Category: Driver Boards

I would first verify that you have 5V at the 7I77 in case this is an analog
output voltage issue.

Another possibility is encoder count rate issues, especially if there is significant
quadrature distortion. You can try disabling the encoder filter to test this.

 
  • beauxnez
  • beauxnez
25 Dec 2024 14:33 - 25 Dec 2024 14:54

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

hello
 I have 3 cards for 3d printer BTT skr1.4 turbo, MKS tinybee too mard of the parallel port
 is it possible to make my cutter work with qtplasmac with this kind of card?
  • Lcvette
  • Lcvette's Avatar
25 Dec 2024 13:07

Probe Basic M6G43 (m6_tool_call_tool_page) not working

Category: QtPyVCP

You would add that in to an m6 remap, see the probe basic atc sim for an example of remap.
  • Lcvette
  • Lcvette's Avatar
25 Dec 2024 13:05
Replied by Lcvette on topic To Probe Basic from Gmoccapy

To Probe Basic from Gmoccapy

Category: QtPyVCP

Sure you put everything from post gui hal back in? Look for conflicts. Somewhere you are using program.idle maybe in a pendant, you need to connect both instances so it can be used.
  • Lcvette
  • Lcvette's Avatar
25 Dec 2024 13:03
Replied by Lcvette on topic To Probe Basic from Gmoccapy

To Probe Basic from Gmoccapy

Category: QtPyVCP

It's your machine 5 axis? You put the geometry in that is in your lower ini.

xyz
xyza
xyzab
xyzac
  • lukin1156
  • lukin1156
25 Dec 2024 12:55
Replied by lukin1156 on topic PC for Mesa 5i25T

PC for Mesa 5i25T

Category: Driver Boards

I connected 5V to the card and the result improved. Unfortunately, there are still problems. Now it is possible to achieve a feed of 15000mm/min in one direction, but only 10500mm/min in the other direction. This happens with all axes. The video shows a program where the table moves in a R150 circle. When moving up to 10000mm/min, the follow error is acceptable, but when moving faster, it starts to accelerate after a certain limit.

I am attaching the .hal and .ini for the X axis.

#*******************
#  AXIS X JOINT 0
#*******************

setp   pid.x.Pgain     [JOINT_0]P
setp   pid.x.Igain     [JOINT_0]I
setp   pid.x.Dgain     [JOINT_0]D
setp   pid.x.bias      [JOINT_0]BIAS
setp   pid.x.FF0       [JOINT_0]FF0
setp   pid.x.FF1       [JOINT_0]FF1
setp   pid.x.FF2       [JOINT_0]FF2
setp   pid.x.deadband  [JOINT_0]DEADBAND
setp   pid.x.maxoutput [JOINT_0]MAX_OUTPUT
setp   pid.x.error-previous-target true

net x-index-enable  =>  pid.x.index-enable
net x-enable        =>  pid.x.enable
net x-pos-cmd       =>  pid.x.command
net x-pos-fb        =>  pid.x.feedback
net x-output        <=  pid.x.output

# ---PWM Generator signals/setup---

setp   hm2_5i25.0.7i77.0.1.analogout0-scalemax  [JOINT_0]OUTPUT_SCALE
setp   hm2_5i25.0.7i77.0.1.analogout0-minlim    [JOINT_0]OUTPUT_MIN_LIMIT
setp   hm2_5i25.0.7i77.0.1.analogout0-maxlim    [JOINT_0]OUTPUT_MAX_LIMIT

net x-output     => hm2_5i25.0.7i77.0.1.analogout0
net x-pos-cmd    <= joint.0.motor-pos-cmd
net x-enable     <= joint.0.amp-enable-out
# enable _all_ sserial pwmgens
net x-enable   => hm2_5i25.0.7i77.0.1.analogena

# ---Encoder feedback signals/setup---

setp    hm2_5i25.0.encoder.00.counter-mode 0
setp    hm2_5i25.0.encoder.00.filter 1
setp    hm2_5i25.0.encoder.00.index-invert 0
setp    hm2_5i25.0.encoder.00.index-mask 0
setp    hm2_5i25.0.encoder.00.index-mask-invert 0
setp    hm2_5i25.0.encoder.00.scale  [JOINT_0]ENCODER_SCALE

net x-pos-fb               <=  hm2_5i25.0.encoder.00.position
net x-vel-fb               <=  hm2_5i25.0.encoder.00.velocity
net x-pos-fb               =>  joint.0.motor-pos-fb
net x-index-enable    joint.0.index-enable  <=>  hm2_5i25.0.encoder.00.index-enable
net x-pos-rawcounts        <=  hm2_5i25.0.encoder.00.rawcounts

# ---setup home / limit switch signals---

net x-home-sw     =>  joint.0.home-sw-in
net x-neg-limit     =>  joint.0.neg-lim-sw-in
net x-pos-limit     =>  joint.0.pos-lim-sw-in

[AXIS_X]
MAX_VELOCITY = 250.0
MAX_ACCELERATION = 500.0
MIN_LIMIT = -250
MAX_LIMIT = 225

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 250.0
MAX_ACCELERATION = 750.0
P = 6
I = 0
D = 0
FF0 = 0
FF1 = 0.04
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
ENCODER_SCALE = 1000
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -250
MAX_LIMIT = 225
HOME_OFFSET = 0.0
HOME_SEQUENCE = 2
HOME_SEARCH_VEL = 000000
HOME_LATCH_VEL = 0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = YES
HOME_SEQUENCE = 1
#******************************************
  • Aciera
  • Aciera's Avatar
25 Dec 2024 12:24 - 25 Dec 2024 12:27

Skew correction/perpendicularity correction (millkins or millkins_xyz)

Category: Basic Configuration

1. It's not a '.comp' file but '.c' (the 'comp' format is a more recently added way of creating kinematics files ) also you must not change the file name as the trt-kinematics consists of more than just 'trtfuncs.c'
2. if you want to try to compile it with halcompile just use my file to replace the standard 'trtfuncs.c' file and then do
sudo halcompile --install src/emc/kinematics/trtfuncs.c
3. If halcompile fails to compile it then you probably need to build linuxcnc locally from the repo first,  replace the 'trtfuncs.c' and recompile using 'make'
linuxcnc.org/docs/master/html/code/building-linuxcnc.html
  • ihavenofish
  • ihavenofish
25 Dec 2024 11:58
Replied by ihavenofish on topic PathPilot V2 source code

PathPilot V2 source code

Category: PathPilot

if its not the lastest one for the 1500mx, it is not the one we are talking about. keep that in mind. the older one is the same tp as is already in linuxcnc.
  • abdulasis12
  • abdulasis12
25 Dec 2024 11:51 - 25 Dec 2024 11:58

Skew correction/perpendicularity correction (millkins or millkins_xyz)

Category: Basic Configuration

Hi , Aciera
I see in your sim and result  its so AWSOME ....

I want to try, I create file name 
xyzbc-trt-kins.comp  and inside I put your code skew + xyzbc .
and compile it's.
but show error can't to unpack

what I'm wrong for compile file ?

FYI: I compile on new PC to test first , Because I fear this made my CNC PC broken and can't to working.

Thank you,
Asis

 
  • Hakan
  • Hakan
25 Dec 2024 11:41 - 25 Dec 2024 12:29
Replied by Hakan on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

No, it is your drive.
Sorry, I am not being very helpful.
But you got to start with what the drive delivers to linuxcnc.
I doubt that it is a 64-bit float. Maybe a 64-bit integer, but also unlikely.
Anyway, you need to know what datatype the drive delivers.
When that is known, it can be converted and taken care of.

Actually the "ethercat pdos" doesn't list the datatype.
You can try with "lcec-configgen", it is better at guessing the datatype.
Nothing beats the manual though.
  • papagno-source
  • papagno-source
25 Dec 2024 11:29
Replied by papagno-source on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

Sorry, but I can't understand why look at what the drive can handle.
The problem is related to linuxcnc.
The created pin of pos-command is declared as a 32-bit float.
The drive returns more than 8,000.000 revolution counts and so after the movement of 326 cm, the variable becomes negative.
My question is: can we declare the created pin pos-command as a 64-bit float, so that we can handle larger values?

how do we do it, declaring: halType="double"?
  • aikiaviator
  • aikiaviator
25 Dec 2024 11:29
Replied by aikiaviator on topic To Probe Basic from Gmoccapy

To Probe Basic from Gmoccapy

Category: QtPyVCP

Ahh... missed AXES = 3, now in. Tried GEOMETRY = xyzac (can you confirm this would be correct?)

And I put everything back into Post Gui, except still posts the following and wont let kickoff.

 
Displaying 21256 - 21270 out of 21863 results.
Time to create page: 0.479 seconds
Powered by Kunena Forum