MESA 7I76E Analog out, dir and en not working

More
23 Apr 2017 17:39 #91895 by nonkeldw
Hello,

This is my first post on this forum.
I have a MESA 7i76E card for controlling my EMCO TURN120 lathe machine.
After running the PNCconf i got a strange error!
LinuxCNC is not able to bootup i got this error: "Parameter or pin 'hm2_7i76e.0.7i76.0.0.spinout-minlim' not found"?

After day's of google and try and error, i can't find a solution.

Any ideas how to solve this problem?

Thanks!
Nonkel DW

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

More
23 Apr 2017 18:12 #91899 by PCW
This usually means that you have no field power on the isolated I/O section

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

More
25 Apr 2017 17:56 #92089 by nonkeldw
Thanks for your answer.
After connecting the field power (12V). The dir and EN works!
But, the analog out not yet.. Whem i run M3 S100 or M3 S1000 the anloge output stay 0V

Connection overview:
TB4-1 = GND VFD
TB4-2 = Analog in VFD
TB4-3 = 10V VFD
TB4-4 = NC
TB4-5 = EN input VFD
TB4-6 = 15V VFD
TB4-7 = REV input VFD
TB4-8 = 15V VFD

Any ideas how to solve this problem?

Thanks!
Nonkel DW

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

More
25 Apr 2017 18:26 #92092 by PCW
Can you post your hal and ini files?

Its likely something is not connected/scaled correctly in the ha/inil files

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

More
25 Apr 2017 18:57 #92096 by nonkeldw
Thanks for your answer.

See attachment for my Hal and ini file.

My hardware setup:
I have a single ended encoder on my spindel, this encoder generatie 150 PPR with a index signal.
I connect the encoder signal on connector TB3-7 and my index signal on TB3-13.

Is that correct with my Hall files?

Thanks
Attachments:

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

More
26 Apr 2017 03:26 #92118 by PCW
The hal file looks basically OK
You might check that you have 10V measured from TB4.4 to TB4.1
and that spindle-vel-cmd-rpm-abs is the expected value (and spindle-enable is true)

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

More
26 Apr 2017 18:37 #92163 by nonkeldw
Thanks for your reply.
My analog output works!
Thanks!

But my feedback doesn't work, my hardware connections are correct?

Thanks

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

More
28 Apr 2017 12:10 #92255 by andypugh

But my feedback doesn't work, my hardware connections are correct?


Hard to tell. The HAL looks OK, but you have only listed the VFD hardware connections, not the spindle-encoder connections.

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

More
28 Apr 2017 17:00 #92287 by nonkeldw
Sorry, my mistake.

My hardware connections for my spindel-encoder:
TB3-6: +5V for encoder
TB3-7: TTL Pulse encoder (150 ppr)
TB3-9: GND for encoder
TB3-13: TTL Index Pulse

Thanks!

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

More
28 Apr 2017 17:35 #92292 by PCW
Since you do not have a quadrature encoder you must set the encoder counter
to up/down mode, changing

setp hm2_7i76e.0.encoder.00.counter-mode 0

to

setp hm2_7i76e.0.encoder.00.counter-mode 1

(you may also need to invert the scale, that is from 150 to -150 to get the count direction correct)

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

Moderators: PCWjmelson
Time to create page: 0.202 seconds
Powered by Kunena Forum