emcoturn 120 / 220 tool turret hal outputs

More
7 years 2 months ago #141107 by Erikcnc

PCW wrote: OK change of plans... if PWM on the enable signal is what you want, then

Set the PWM output type to 1

connect IN1 to DIR+
connect IN2 to DIR-
connect ENA to STEP-

invert the step pin (now PWMgen out0)

How you invert the PWMGen depends on the LinuxCNC version
What version are you running?


Thanks for your reply!

Version linuxcnc i got is 2.7.14

Please Log in to join the conversation.

More
7 years 2 months ago #141125 by PCW
setp hm2_7i76e.0.gpio.009.invert_output true
will invert the PWM output pin (7I76E STEP04-)
So
1. it will start up off = low
2. PWM of 0 will be low
3. PWM of 100% will be high

Please Log in to join the conversation.

More
7 years 2 months ago #141131 by Erikcnc

PCW wrote: setp hm2_7i76e.0.gpio.009.invert_output true
will invert the PWM output pin (7I76E STEP04-)
So
1. it will start up off = low
2. PWM of 0 will be low
3. PWM of 100% will be high



al wired up on tb3 dir / step 4
story continues.

turret isnt rotating. it starts with tool 0. in mdi T3 M6 its waiting for the tool.

Please Log in to join the conversation.

More
7 years 2 months ago #141141 by Erikcnc
i have the feeling that the halfile missing something.
Code:
#direction signal for toolchanger net sig-forward emcochanger.forward => pin?

it wil not turn and i dont know why.

if i ask for toolchange, only emcoganger.toolchange goes true in halshow

Please Log in to join the conversation.

More
7 years 2 months ago #141151 by Erikcnc
current hal file and comp

Please Log in to join the conversation.

More
7 years 2 months ago #141158 by PCW
net Xen => hm2_7i76e.0.pwmgen.00.enable

signal Xen doesn't seem to have a driver

Please Log in to join the conversation.

More
7 years 2 months ago #141174 by Erikcnc

PCW wrote: net Xen => hm2_7i76e.0.pwmgen.00.enable

signal Xen doesn't seem to have a driver


Do i have to change that with something else?

I tried:
Code:
setp Hm2_7i76e.0.pwmgen.00.enable true

to make it true. Doesn't seem to help.

Please Log in to join the conversation.

More
7 years 2 months ago #141183 by PCW
What is the hm2_7i76e.0.pwmgen.00.value when you expect (and do not get) motion?
What is the voltage in the 7I76Es STEP4- pin when motion is commanded?

Xen should probably connect to machine on or some signal that enable the toolchanger

Please Log in to join the conversation.

More
7 years 2 months ago #141195 by Erikcnc

PCW wrote: What is the hm2_7i76e.0.pwmgen.00.value when you expect (and do not get) motion?
What is the voltage in the 7I76Es STEP4- pin when motion is commanded?

Xen should probably connect to machine on or some signal that enable the toolchanger


hm2_7i76e.0.pwmgen.00.value is 100% when asking for toolchange in MDI

i messure between step- and ground 5v.

Please Log in to join the conversation.

More
7 years 2 months ago #141203 by PCW
OK well that points to a wiring/hardware issue

Please Log in to join the conversation.

Time to create page: 1.406 seconds
Powered by Kunena Forum