Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
25 Dec 2024 18:20
Replied by Hakan on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

No that is not possible. BitLen refers to the ethercat data. It is 32-bit. It is what the device gives out. That's what I tried to make you verify hehe.
You can not change that to 64-bit, it is 32-bit. Device specification.

The line I showed, which is your first line, is ok. It makes a hal pin of type 64-bit float (or double as it is called) from 32-bit integer data from your device.

An alternative is to not make it a float, but keep it a 32-bit integer in hal is
<pdoEntry idx="607A" subIdx="00" bitLen="32" halPin="poscommand" halType="s32"/>

This can help debugging, and there are type conversion functions in hal to turn it into a float.
 
  • HPW
  • HPW
25 Dec 2024 18:11 - 28 Dec 2024 16:02
Replied by HPW on topic 3 Achs Fräse mit MESA 7C80 und Raspi 4

3 Achs Fräse mit MESA 7C80 und Raspi 4

Category: Deutsch

Hi PCW.

I´m working on it...

best regards

H.P.

UPDATE:
It´s finally done. Raspi5 with 7C80 is running.
  • Lcvette
  • Lcvette's Avatar
25 Dec 2024 17:58 - 25 Dec 2024 18:08
Replied by Lcvette on topic Probe_Basic Bugs?

Probe_Basic Bugs?

Category: QtPyVCP

instead of using the letter, use the joint number and see if this resolves! change the word axis: to joint: also

machine.home.joint:0
machine.home.joint:1
machine.home.joint:2
machine.home.joint:4
machine.home.joint:5
  • papagno-source
  • papagno-source
25 Dec 2024 17:55 - 25 Dec 2024 17:57
Replied by papagno-source on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

so the possibilities of declaring a variable other than float are:

<pdoEntry idx="607A" subIdx="00" bitLen="64" halPin="poscommand" halType="float-sisgend" scale="838860.7"/>

<pdoEntry idx="607A" subIdx="00" bitLen="64" halPin="poscommand" halType="floa-ieee" scale="838860.7"/>

<pdoEntry idx="607A" subIdx="00" bitLen="64" halPin="poscommand" halType="float-double-ieee" scale="838860.7"/>
 

with bitLen = 64

it's correct ?
  • Hakan
  • Hakan
25 Dec 2024 17:51 - 25 Dec 2024 18:10
Replied by Hakan on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

It is already a 64-bit float or "double" as everyone calls it except in the ethercat-conf.xml file. Where it is called float.
Linuxcnc switched from 32-bit floats to 64-bit floats somewhere version 2.4 or so.

If this line works for you, then that is the best you can do.
<pdoEntry idx="607A" subIdx="00" bitLen="32" halPin="poscommand" halType="float" scale="838860.7"/>
This takes a signed integer from Ethercat, obviously the device's encoder position comes as a signed 32-bit integer. This is then converted into a halfloat, which is a double. I think this is what you ask for. All floats in hal are 64-bit doubles.

The conversions to float aren't named very good
"float": ethercat signed 32-bit integer to 64-bit hal float
"float-unsigned": ethercat unsigned 32-bit integer to 64-bit hal float
"float-ieee": ethercat floating point 32-bit REAL to 64-bit hal float
"float-double-ieee": ethercat floating point 64-bit LREAL to 64-bit hal float
  • CNC_ANDI
  • CNC_ANDI
25 Dec 2024 17:46 - 25 Dec 2024 17:49
Replied by CNC_ANDI on topic Probe_Basic Bugs?

Probe_Basic Bugs?

Category: QtPyVCP

is not working fore me
machine.home.axis:c is ref my b axis
machine.home.axis:z is ref y2
machine.home.axis:b is ref my Z
  • 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
#******************************************
Displaying 21121 - 21135 out of 21893 results.
Time to create page: 0.416 seconds
Powered by Kunena Forum