emcoturn 120 / 220 tool turret hal outputs

More
01 Aug 2019 13:43 #141107 by Erikcnc

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 or Create an account to join the conversation.

More
01 Aug 2019 16:19 #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
The following user(s) said Thank You: Erikcnc

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

More
01 Aug 2019 17:42 - 01 Aug 2019 17:58 #141131 by Erikcnc

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.
Last edit: 01 Aug 2019 17:58 by Erikcnc.

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

More
01 Aug 2019 20:27 - 01 Aug 2019 21:07 #141141 by Erikcnc
i have the feeling that the halfile missing something.
#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
Last edit: 01 Aug 2019 21:07 by Erikcnc.

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

More
01 Aug 2019 21:08 - 01 Aug 2019 21:10 #141151 by Erikcnc
current hal file and comp
Attachments:
Last edit: 01 Aug 2019 21:10 by Erikcnc.

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

More
01 Aug 2019 22:42 #141158 by PCW
net Xen => hm2_7i76e.0.pwmgen.00.enable

signal Xen doesn't seem to have a driver
The following user(s) said Thank You: Erikcnc

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

More
02 Aug 2019 06:29 - 02 Aug 2019 07:45 #141174 by Erikcnc

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:
setp Hm2_7i76e.0.pwmgen.00.enable true

to make it true. Doesn't seem to help.
Last edit: 02 Aug 2019 07:45 by Erikcnc.

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

More
02 Aug 2019 13:14 #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
The following user(s) said Thank You: Erikcnc

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

More
02 Aug 2019 15:52 #141195 by Erikcnc

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 or Create an account to join the conversation.

More
02 Aug 2019 16:44 #141203 by PCW
OK well that points to a wiring/hardware issue
The following user(s) said Thank You: Erikcnc

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

Time to create page: 0.179 seconds
Powered by Kunena Forum