Hello Guest it is April 23, 2024, 07:34:03 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bob1

Pages: 1
1
I see

Well I´m not very into my Cam yet. ( all new for me )

First I thought I´d have to edit the post processor - which doesn´t seem to be that easy aswell :-)

But it´s ok im pleased now ;-)

Bob

2
Thanks again Ian.

I got it working now.
But I still wrote it into a macro, since I don´t want to edit the G-code every time after it comes from my Cam-System.
So now, it does the touch probe automatically with every M3. And thats the way I wanted it, yeah I´m lucky  ;D :)
Thank you again!

I made a short clip to prove that It´s working ;)

Bob

3
Thanks Ian,

Yes, I ve got a sensor to do the floating head method. But I ´ve got a home sensor for homing of the Z-axis as well



here on that picture you can see the lower sensor for the probe and the upper sensor for homing.

I still want to use the upper one for homing.
So wouldn´t it be better to use the G31 option?

Which input do I have to use then? ( Touch probe?)

Could you explain what "-ve" is?
Quote
to be -ve (in home/limits).


Btw:
Quote
I'm not sure if you have been told to do this via a VB macro by your school
It´s not a school project it´s my private project :-)

Thank you!


4
Hi,

Thank you Jason!

I tryied it with your code and the axis is stopping.

But I want it to return straight after it has stopped, and move it incremental to maybe Z +5 ( sorry I didn´t mentioned that in my first explanation ).
With the G31, it is stopping when the Input is active, but not moving any more when the input is active, when I disable the input manually it starts to move back.

Maybe to be clearer I wanna do something like the guy in this short clip (Machine is doing a touch probe with the torch before every cut)

I tryied it like that :

Code: [Select]
Code "G31 Z -20 F100"
While isMoving()
If (IsInputActive(Input1)) Then
Code "G91"
Code G0 Z5
Sleep 100                
End If
Wend

But aint working

Any ideas?

Thanks
Bob

5
Hello all!

First a littel introduction of myself. I´m a student at a technical school in Germany.
At the moment I´m building a CNC plasma-router, running with mach3.

I want to write a macro that should automatically set the right hight from the sheet metal.

For this application I need to code something that will stop the movement of the Z-axis when a Input Signal is active.

I wanted to try something like that:

Code: [Select]
Input = IsActive(INPUT1)

If Not (IsActive(Input)) Then
Code "G1Z-20F100"                 "Z-Axis is moving a in Z - to touch down on the sheet an trigger the sensor"
While isMoving()
Sleep 100
Wend
Else
DoOEMButton(1003)                   "I wanted to stop the Axis moving with that, but this seems to be wrong in that way!"
End If


This code doesn´t work for me ( Unfortunately, I dont have a big idea about basic  :(  )

So I just want to stop an Axis movment by an Sensor.
Can anybody help me with that problem?

Thank you in advance!

Greets
Bob

P.S. Sorry if there are to much mistakes in my speech  ;D

Pages: 1