External corner lock signal

More
20 May 2019 00:41 #134315 by phoenix
Hii guys...
I want external corner lock signal to give to my thc
My thc works on start pause and corner lock signal
I already figured out external start and pause switch
Ibwant to do the same for corner lock
I am using my own thc
Any ideas how i lt can be done....
Regards

Please Log in or Create an account to join the conversation.

More
20 May 2019 06:33 #134331 by pl7i92
Replied by pl7i92 on topic External corner lock signal
Always 2 Posts for the Same Question BAD Behavior

you can USE motion.in-position for that
but that will always act on move fiished

THC workes on VOLTIGE of the Plasma
it is 80USD as of a TGC200 or a 200USD Proma UP/Down
it corrects on its own mesurment no need to be programmed
just signals to the contoller move up or move down
#
# Set up the Encoder for the THC
setp encoder.0.counter-mode 1
# added by tc
net freq-in parport.0.pin-11-in => encoder.0.phase-A
net thc-vel-in encoder.0.velocity => thc.encoder-vel
# these will need to be adjusted
setp thc.scale-offset 119000
setp thc.vel-scale 0.00037866834
#
setp thc.velocity-tol 100
setp thc.voltage-tol 1.0

I think it also needs this for z-axis:

# position command and feedback hijacked by thc comp
net emcmot.02.pos-cmd thc.z-pos-in <= axis.2.motor-pos-cmd
net thc-pos-cmd thc.z-pos-out => stepgen.2.position-cmd
net motor.02.pos-fb axis.2.motor-pos-fb <= thc.z-fb-out 

Please Log in or Create an account to join the conversation.

More
20 May 2019 06:50 #134335 by rodw
Replied by rodw on topic External corner lock signal

Bhushan wrote: Hii guys...
I want external corner lock signal to give to my thc
My thc works on start pause and corner lock signal
I already figured out external start and pause switch
Ibwant to do the same for corner lock
I am using my own thc
Any ideas how i lt can be done....
Regards


There is a corner lock component I wrote here.
forum.linuxcnc.org/plasma-laser/32658-thc-cornerlock-component

Assuming you are making an external THC, you would use the output pin to turn on a signal to your hardware to tell you to stop THC adjustment.

Note that you need to work on the feedrate sent from Gcode. You could use a remap command to send that to a motion analog pin with M67 or M68 and use that pin as the input to the corner lock component.

Please Log in or Create an account to join the conversation.

Time to create page: 0.153 seconds
Powered by Kunena Forum