Advanced Search

Search Results (Searched for: )

  • Diel
  • Diel
25 Dec 2024 21:16

QtPlasmaC v2.9 do not wait for the time in parameter "Start Fail Timer"

Category: Plasmac

Thank you very much for the reply. I will check the procedure to set lost arc delay. I believe it will be very helpful.
Everything does work fine and I am do have proper grounding and shielding.
What really happens is:
The Hipertherm PowerMax 105, when it turns it off the plasma, it have a overflux cicle for about 20 seconds that sends air pressure through the torch (for colling purpouses). During this overflux cycle of the plasma souce, it does not work to close the contact to turn the plasma ON again. The first try just reduce the air flow but it does not start the arc. It needs to turn the relay off and then ON again to start the plasma (or we have to wait the overflux to end).
When doing some small cuts as little holes arond a circle it takes too much time to wait for the overflux after every little hole. That is why we are trying to get the retries to turn the plasma ON to work.
The tests I was doing were without the plasma source itself. I was using the contact of the relay used to turn on the plasma to indicate arc OK to LinuxCNC. On the other hand I installed a push button in serial conection to avoid the ok signal to be send to Linux. Linux sets the alarm right after reading the M3 and setting the relay. It does not wait to set up the alarm as well it does not retry to turn the relay on again.
Any information on how to use this resource will help a lot.
Thank you.
  • Diel
  • Diel
25 Dec 2024 21:13

QtPlasmaC v2.9 do not wait for the time in parameter "Start Fail Timer"

Category: Plasmac

Thank you very much for the reply.
Everything does work fine and I am do have proper grounding and shielding.
What really happens is:
The Hipertherm PowerMax 105, when it turns it off the plasma, it have a overflux cicle for about 20 seconds that sends air pressure through the torch (for colling purpouses). During this overflux cycle of the plasma souce, it does not work to close the contact to turn the plasma ON again. The first try just reduce the air flow but it does not start the arc. It needs to turn the relay off and then ON again to start the plasma (or we have to wait the overflux to end).
When doing some small cuts as little holes arond a circle it takes too much time to wait for the overflux after every little hole. That is why we are trying to get the retries to turn the plasma ON to work.
The tests I was doing were without the plasma source itself. I was using the contact of the relay used to turn on the plasma to indicate arc OK to LinuxCNC. On the other hand I installed a push button in serial conection to avoid the ok signal to be send to Linux. Linux sets the alarm right after reading the M3 and setting the relay. It does not wait to set up the alarm as well it does not retry to turn the relay on again.
Any information on how to use this resource will help a lot.
Thank you.
  • sin-do-re
  • sin-do-re
25 Dec 2024 20:02 - 25 Dec 2024 20:09

Arc G02 G03 Issue while converting FastNEST Gcode to LinuxCNC

Category: General LinuxCNC Questions

Hello Everyone.
Merry Christmas.

FastCAM/FastNest is a Chinese software for generating G-Code for plasma and other 2d cutting machines.

It features some decent stuff like nesting, cutter compensation (g40,g41), and common cut, so i've decided to buy it and use it.
The way it generates the g-code is quite weird, though, because it doesnt introduce some lines like G01 (...) and G02 (...),
G92X0Y0
G21
G91
G00X377.359Y53.137
G41
M07
G03X-8.486I-4.243J-4.243
X8.132Y-19.632I8.132J-8.132
Y23.I0.J11.5
X-8.132Y-3.368I0.J-11.5
Y-7.071I3.536J-3.536
M08
G40
G00X8.486Y87.071
G41
M07
G03X-8.486I-4.243J-4.243
X8.132Y-19.632I8.132J-8.132
Y23.I0.J11.5
X-8.132Y-3.368I0.J-11.5
Y-7.071I3.536J-3.536
M08
G40
G00X148.486Y7.071
G41
M07
G03X-8.486I-4.243J-4.243
X8.132Y-19.632I8.132J-8.132
Y23.I0.J11.5
X-8.132Y-3.368I0.J-11.5
Y-7.071I3.536J-3.536
M08
G40
G00X8.486Y-72.929
G41
M07
G03X-8.486I-4.243J-4.243
X8.132Y-19.632I8.132J-8.132
Y23.I0.J11.5
X-8.132Y-3.368I0.J-11.5
Y-7.071I3.536J-3.536
M08
G40
G00X80.132Y-30.061
G41
M07
G01Y-6.
X-584.
Y150.
X584.
Y-150.
Y-5.
M08
G40
G00X111.878Y372.359
G41
M07
G03Y-8.486I4.243J-4.243
X19.632Y8.132I8.132J8.132
X-23.I-11.5J0.
X3.368Y-8.132I11.5J0.
X7.071I3.536J3.536
M08
G40
G00X-87.071Y8.486
G41
M07
G03Y-8.486I4.243J-4.243
X19.632Y8.132I8.132J8.132
X-23.I-11.5J0.
X3.368Y-8.132I11.5J0.
X7.071I3.536J3.536
M08
G40
G00X-7.071Y148.486
G41
M07
G03Y-8.486I4.243J-4.243
X19.632Y8.132I8.132J8.132
X-23.I-11.5J0.
X3.368Y-8.132I11.5J0.
X7.071I3.536J3.536
M08
G40
G00X72.929Y8.486
G41
M07
G03Y-8.486I4.243J-4.243
X19.632Y8.132I8.132J8.132
X-23.I-11.5J0.
X3.368Y-8.132I11.5J0.
X7.071I3.536J3.536
M08
G40
G00X30.061Y80.132
G41
M07
G01X6.
Y-584.
X-150.
Y584.
X150.
X5.
M08
G40
G00X-48.132Y377.364
G41
M07
G03Y-8.486I4.243J-4.243
X19.632Y8.132I8.132J8.132
X-23.I-11.5J0.
X3.368Y-8.132I11.5J0.
X7.071I3.536J3.536
M08
G40
G00X-87.071Y8.486
G41
M07
G03Y-8.486I4.243J-4.243
X19.632Y8.132I8.132J8.132
X-23.I-11.5J0.
X3.368Y-8.132I11.5J0.
X7.071I3.536J3.536
M08
G40
G00X-7.071Y148.486
G41
M07
G03Y-8.486I4.243J-4.243
X19.632Y8.132I8.132J8.132
X-23.I-11.5J0.
X3.368Y-8.132I11.5J0.
X7.071I3.536J3.536
M08


the converted code looks like this, below.
the problem, is i still have arc errors where the radius doesn't match from start to end, which is normal as the arcs really dont make sense in the original program.
am i missing something? the referential im using is wrong? 
can anyone point me in the right direction?
thank you

;begin pre-amble
 G21 (units: metric)
 G40 (cutter compensation: off)
 G90 (distance mode: absolute)
 M52 P1 (adaptive feed: on)
 M65 P2 (enable THC)
 M65 P3 (enable torch)
 M68 E3 Q0 (velocity 100%)
 G64 P0.254 Q0.025 (tracking tolerances: 0.254mm)
;end pre-amble
;begin material setup
 T0 M6 (select plasma tool)
 G43 H0 (apply tool offsets)
 M190 P1 (numero do material a utilizar)
 M66 P3 L3 Q2 (wait for valid change)
 F#<_hal[plasmac.cut-feed-rate]>
;end material setup
G00X377.359Y53.137
G41

M3 $0 S1 (plasma start)
G03 X-8.486 Y53.137 I-4.243 J-4.243
G03 X8.132 Y-19.632 I8.132 J-8.132
G02 X8.132 Y23.000 I0.000 J11.500
G03 X-8.132 Y-3.368 I0.000 J-11.500
G03 X-8.132 Y-7.071 I3.536 J-3.536
M5 $0 (plasma end)
G40

G00X8.486Y87.071
G41

M3 $0 S1 (plasma start)
G03 X-8.486 Y87.071 I-4.243 J-4.243
G03 X8.132 Y-19.632 I8.132 J-8.132
G02 X8.132 Y23.000 I0.000 J11.500
G03 X-8.132 Y-3.368 I0.000 J-11.500
G03 X-8.132 Y-7.071 I3.536 J-3.536
M5 $0 (plasma end)
G40

G00X148.486Y7.071
G41

M3 $0 S1 (plasma start)
G03 X-8.486 Y7.071 I-4.243 J-4.243
G03 X8.132 Y-19.632 I8.132 J-8.132
G02 X8.132 Y23.000 I0.000 J11.500
G03 X-8.132 Y-3.368 I0.000 J-11.500
G03 X-8.132 Y-7.071 I3.536 J-3.536
M5 $0 (plasma end)
G40

G00X8.486Y-72.929
G41

M3 $0 S1 (plasma start)
G03 X-8.486 Y-72.929 I-4.243 J-4.243
G02 X8.132 Y-19.632 I8.132 J-8.132
G02 X8.132 Y23.000 I0.000 J11.500
G03 X-8.132 Y-3.368 I0.000 J-11.500
G03 X-8.132 Y-7.071 I3.536 J-3.536
M5 $0 (plasma end)
G40

G00X80.132Y-30.061
G41

M3 $0 S1 (plasma start)
G01 Y-6.000
G01 X-584.000
G01 Y150.000
G01 X584.000
G01 Y-150.000
G01 Y-5.000
M5 $0 (plasma end)
G40

G00X111.878Y372.359
G41

M3 $0 S1 (plasma start)
G03 X111.878 Y-8.486 I4.243 J-4.243
G02 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X-87.071Y8.486
G41

M3 $0 S1 (plasma start)
G03 X-87.071 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X-7.071Y148.486
G41

M3 $0 S1 (plasma start)
G03 X-7.071 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X72.929Y8.486
G41

M3 $0 S1 (plasma start)
G03 X72.929 Y-8.486 I4.243 J-4.243
G02 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X30.061Y80.132
G41

M3 $0 S1 (plasma start)
G01 X6.000
G01 Y-584.000
G01 X-150.000
G01 Y584.000
G01 X150.000
G01 X5.000
M5 $0 (plasma end)
G40

G00X-48.132Y377.364
G41

M3 $0 S1 (plasma start)
G03 X-48.132 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X-87.071Y8.486
G41

M3 $0 S1 (plasma start)
G03 X-87.071 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X-7.071Y148.486
G41

M3 $0 S1 (plasma start)
G03 X-7.071 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X72.929Y8.486
G41

M3 $0 S1 (plasma start)
G03 X72.929 Y-8.486 I4.243 J-4.243
G02 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X30.061Y80.132
G41

M3 $0 S1 (plasma start)
G01 X6.000
G01 Y-584.000
G01 X-150.000
G01 Y584.000
G01 X150.000
G01 X5.000
M5 $0 (plasma end)
G40

G00X-48.132Y377.364
G41

M3 $0 S1 (plasma start)
G03 X-48.132 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X-87.071Y8.486
G41

M3 $0 S1 (plasma start)
G03 X-87.071 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X-7.071Y148.486
G41

M3 $0 S1 (plasma start)
G03 X-7.071 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X72.929Y8.486
G41

M3 $0 S1 (plasma start)
G03 X72.929 Y-8.486 I4.243 J-4.243
G02 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X30.061Y80.132
G41

M3 $0 S1 (plasma start)
G01 X6.000
G01 Y-584.000
G01 X-150.000
G01 Y584.000
G01 X150.000
G01 X5.000
M5 $0 (plasma end)
G40

G00X-48.132Y377.364
G41

M3 $0 S1 (plasma start)
G03 X-48.132 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X-87.071Y8.486
G41

M3 $0 S1 (plasma start)
G03 X-87.071 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
G40

G00X-7.071Y148.486
G41

M3 $0 S1 (plasma start)
G03 X-7.071 Y-8.486 I4.243 J-4.243
G03 X19.632 Y8.132 I8.132 J8.132
G02 X-23.000 Y8.132 I-11.500 J0.000
G03 X3.368 Y-8.132 I11.500 J0.000
G03 X7.071 Y-8.132 I3.536 J3.536
M5 $0 (plasma end)
  • papagno-source
  • papagno-source
25 Dec 2024 19:39
convert 32 bit float in 64 bit float was created by papagno-source

convert 32 bit float in 64 bit float

Category: HAL

Good morning.
If a variable declared as float exceeds the maximum positive limit, adding the value 1 changes its sign to negative. Is there a component that can manage the saturation of a float variable even after its saturation in both positive and negative directions?
  • tommylight
  • tommylight's Avatar
25 Dec 2024 19:33
Replied by tommylight on topic IP Blocked

IP Blocked

Category: Forum Questions

Unblocked your IP, but it wont last, read below please:
No double posting, deleting the other topic.
-
Blocked IP's are unblocked after 1/2 hour for the first incursion (i think), 2 times in 24h, then permanently.
Did you bother to read the above posts as to how to avoid getting blocked?
Using 5 devices in a short period of time might also be considered by the server as a "brute force attack", and those are usually permanently blocked.
-
Yeah, i just checked, you have to stop whatever is trying to log in here, you got 6 rolling blocks in a very short time period today.
  • papagno-source
  • papagno-source
25 Dec 2024 19:14
Replied by papagno-source on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

Ok thanks for support , i check the output encoder variable type if 32 or 64 bit.

But remember in some test if impose bitLen=64 have error because 64 bit not can use and this as limit.

I thing remain only gear reducer in drive 1/1 to 1/100.

again Thanks the your time.
  • Hakan
  • Hakan
25 Dec 2024 19:04
Replied by Hakan on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

We are there again. There are many things you can change.
But you can not change the data the drive's encoder gives out.
Ethercat only transports the data.
You should need to modify the device, how the device makes data available.
Not only as a 32-bit variable as it is today, but as a 64-bit variable. But you can not do that.
It is the drive that needs to give you that type of data.  The drive needs to be modified,
a new PDO needs to be created with 64-bit encoder data. How can you do that?
How can you make the drive give out encoder position as a 64-bit integer?
You can not do that. It is what it is.
Ethercat only transports the PDO data the device has. Can not create new PDOs.

What you can do is to write a hal component that handles when the encoder wraps around.
  • papagno-source
  • papagno-source
25 Dec 2024 18:30 - 25 Dec 2024 18:35
Replied by papagno-source on topic PDO variable 64 bit

PDO variable 64 bit

Category: EtherCAT

Ok, I think this is the limit and that is not being able to declare bitLen = 64.
Since bitLen = 32 is declared, the 32 bits saturate after 328 cm with a 10 mm pitch screw.

Ok, I think this is the limit and that is not being able to declare bitLen = 64.
Since bitLen = 32 is declared, the 32 bits saturate after 328 cm with a 10 mm pitch screw.

Is it not possible to extend to 64, by modifying the bitLen code?

You cannot assign a 32 bit to 64 bits.
The encoder value increases continuously and if the input variable has a length of 32 bits, when it has reached the maximum value, it will become negative to continue counting from the - sign towards 0 and continue counting in + until the next limit is reached.

Grotuius have send code the datatype handler.ccpp and is declared unint 64 in float 64.
case 0x0011: // double
{
double val;
str >> val;
*(uint64_t *) target =
cpu_to_le64(*(uint64_t *) (void *) &val);
break;
}
break;

Is it not possible to extend to 64, by modifying the bitLen code?
  • Lcvette
  • Lcvette's Avatar
25 Dec 2024 18:27
Replied by Lcvette on topic Probe_Basic Bugs?

Probe_Basic Bugs?

Category: QtPyVCP

try that and let me know if it works, if so you will need to also adjust the unhome buttons in the WCS sidebar tab to use joint numbers
and you may want to add your 4th/5th axis buttons there as well.
 
  • 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
Displaying 21241 - 21255 out of 21863 results.
Time to create page: 0.499 seconds
Powered by Kunena Forum