THC probing for I H S

This is the place to talk about and share things related to CNC plasma machines using UCCNC

Re: THC probing for I H S

Postby jcoldon » Fri Apr 17, 2020 12:44 am

cant some one just post a macro that can change the ohmic and floating switch offsets using probe in1 and probe 2 and have it change the switch off set settings
never mind the ohmic. not giving a closer long enougth to make the offset change. i can mod the ohmic relay for longer closer

or how about using other inputs to signal the macro to change the offset settings. i could send signals to another input and still have the main probe 1 input for ohmic and floating switch

i just use a selection switch ohmic or floating switch buy surning on and off another input would that work
jcoldon
 
Posts: 26
Joined: Tue Jul 02, 2019 5:20 am

Re: THC probing for I H S

Postby jcoldon » Fri Apr 17, 2020 12:56 am

dezsoe wrote:Hello Guys,

Last week I had time to test this problem and I have bad news. While probing with two probes works fine, finding which probe touched is not working. I run some hundreds of probes and found that sometimes the ohmic sensor makes only a little spike which is enough for a successful probe, but when you try to find which probe is active, you'll find that none of them.

I wrote "sometimes", but in fact, it is many times. It depends on the surface quality and the probe feed rate. While probing slowly gives a more precise result, it makes much more "spike type" contacts, because the axis can stop in very short time (and distance), so the contact will not be stable. The best results were about 98% and the worse less than 10%.


how about just using an input other then the probe for a switch. were i can select manualy. when input is heigh it do one offset setting say ohmic. then when input is low it change the macro offset setting to another offset setting
this way the ohmic or the floating switch just goes to the probe inputs

would be nice if on the plasma screen you had a button that just selected ohmic or floating offset in the plasma profile screen and alows the offset settings put in on the screen
jcoldon
 
Posts: 26
Joined: Tue Jul 02, 2019 5:20 am

Re: THC probing for I H S

Postby jcoldon » Fri Apr 17, 2020 1:14 am

Greolt wrote:Just my thoughts on this,

The problem seems to be that the first or ohmic may not produce a steady reliable signal to be checked by the macro.

But the second or floating head input should provide a more reliable steady input signal.

Would it not suffice to have the macro assume that if the floating head input was not active, then it must have been triggered by the ohmic input?


that would be a nice idea the offset setting stay on ohmic setting then when floating switch is used it changes to that even if another input is needed it would work

i just have no idea how to make macrows
jcoldon
 
Posts: 26
Joined: Tue Jul 02, 2019 5:20 am

Re: THC probing for I H S

Postby Greolt » Fri Apr 17, 2020 2:04 am

Please take this as example only. I am no software coder, only an old carpenter.

This a my touch off macro as used for some time. But has been modified to include the ohmic signal and check which probe input has triggered and set the offset accordingly.

I stress only for example. It may well be wrong from a syntax point of view. Wait for a smarter contributors input.


//M20101 touch off macro

string Height = AS3.Getfield(2010); // Get the Peirce Height from a field I have on screen

bool FloatingHeadTrip = AS3.GetLED(74);

exec.Code("G31 Z -30 F800"); // Probe for touch

while(exec.IsMoving()){}

if (FloatingHeadTrip) // Check for floating head trip active

{

AS3.Setfield(-1.5, 228); // Set Z DRO with offset as required for floating head trigger

AS3.Validatefield(228);
}

else

{
AS3.Setfield(0, 228); // Set Z DRO with no offset for ohmic trigger

AS3.Validatefield(228);
}

exec.Code("G0 Z" + Height); // Raise Z to Peirce Height
Greolt
 
Posts: 234
Joined: Sun Sep 04, 2016 6:22 am

Previous

Return to CNC Plasma

Who is online

Users browsing this forum: No registered users and 4 guests