Z axis

More
6 years 5 months ago #168763 by motal2004
Replied by motal2004 on topic Z axis
My plasma machine does have an arcok singal output...
I will re wire my Cnc pigtail to raw voltage and connect the arcOK signal in to the Mesa 7i96 board, and try again.
So putting the following line in my hal file
setp hm2_7i96.0.encoder.00.scale -1
setp hm2_7i96.0.encoder.00.filter 1
setp hm2_7i96.0.encoder.00.counter-mode 1
What’s the counter-mode for?

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

More
6 years 5 months ago #168764 by phillc54
Replied by phillc54 on topic Z axis
It sets the encoder into unidirectional mode so it only counts the rising edge of phase A and phase B is ignored

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

More
6 years 5 months ago - 6 years 5 months ago #168765 by PCW
Replied by PCW on topic Z axis
Setting the encoder counter into up/down mode instead of the default quadrature mode
so it can count frequency on its "A' input

(B is not ignored, it will change the count direction but if unconnected
the default direction is down, also if the "B" input is not brought out,
it will also default to counting down)
Last edit: 6 years 5 months ago by PCW.
The following user(s) said Thank You: phillc54

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

More
6 years 5 months ago #168782 by rodw
Replied by rodw on topic Z axis
I thought you were having the weekend off ! :huh:

motal2004 wrote: My plasma machine does have an arcok singal output...
I will re wire my Cnc pigtail to raw voltage and connect the arcOK signal in to the Mesa 7i96 board, and try again.


I think you said there were resistors in line with the raw arc voltage. Make sure you deduct that value from the resistance used to scale the THCAD. eg if there is a total of 200 k resistance and your scale calculation says to use a 3.9M resistor, you use 3.7M instead.
I'd also suggest you aim for a full scale of 200 volts until you get that Hypertherm! The maths is in the THCAD manual

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

More
6 years 5 months ago #168783 by phillc54
Replied by phillc54 on topic Z axis

PCW wrote: (B is not ignored, it will change the count direction but if unconnected
the default direction is down, also if the "B" input is not brought out,
it will also default to counting down)

Is that why we set the scale to -1

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

More
6 years 5 months ago #168786 by tommylight
Replied by tommylight on topic Z axis

phillc54 wrote:

PCW wrote: (B is not ignored, it will change the count direction but if unconnected
the default direction is down, also if the "B" input is not brought out,
it will also default to counting down)

Is that why we set the scale to -1

Me thinks so ! :)
Was wondering why is that always -1, now i know .
Thanks.

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

Time to create page: 0.122 seconds
Powered by Kunena Forum