63
« on: August 05, 2007, 04:36:34 AM »
I have cross posted this in the general discussion but have come to realize it may be a VB question
My Z axis will be controlled with a pnematic actuator to toggle the Z up and down. On the Z axis will be the A axis stepper for a tangential knife.
My questions is how shall I configure Mach 3 to toggle the Z axis up and down via an output from the Grex. Under settings I can enable tangential control with a lift angle and Z lift.
With the A axis for turning the knife is it as simple as enabling the Motor Output for the axis and let the Tangential button do the rest for turn the axis
My original post above
I have since watched the scripting tutorial and I am guessing that this is what I will do. Any thoughts on this appreciated.
When generating a tool path in Lazy cam I will setup a tool off set called cutter. My z limits will be -150 and cutter offset of +50. and set my Z raise in tangential control to raise +50 if radius +45
I will right a M code macro something like this. I have no VB experience but this is what I'm looking to do.
M50 code
Get Z DRO
If Z is =<-50 then output 1 set to 0 ( Meaning should +45 radius be exceeded, Z will be driven -150 + 50 offset +50 generated by tangent control = Z-50 turn off output 1)
Get Z DRO
If Z is >-50 then output 1 set to 1
Do you think this will cut it? and can I enter this M50 in the Gcode once at the start or will I have to enter it after any change in Z value with in the Gcode. I'm tipping the M50 will have to follow any z command
I am a total newby to it all and slowly feeling my way, any advice appreciate including VB coding tips
Thanks Jason