Mesa 7i96 Ethernet board

More
13 Apr 2019 20:51 #130792 by hottabich
Replied by hottabich on topic Mesa 7i96 Ethernet board
Hello! Please help me in the Gemoccapy Interface to connect gmoccapy. spindle_feedback_bar and gmoccapy.spindle_at_speed_led. How to register in postgui.hal.

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

More
15 Apr 2019 06:36 #130890 by pl7i92
Replied by pl7i92 on topic Mesa 7i96 Ethernet board
there shoudt already be a NET Spindle-at speed
look into the HAL of the mashine

then in postgui simple use this net
net spindle-at-speed gmoccapy.spindle_at_speed_led

if not you can use the pin of the spindle
net led spindle.0.at-speed gmoccapy.spindle_at_speed_led

you can use HAL SHOW to see if you got thise pins alredy connect so you dont run into error
The following user(s) said Thank You: hottabich

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

More
15 Apr 2019 13:26 - 15 Apr 2019 16:58 #130902 by hottabich
Replied by hottabich on topic Mesa 7i96 Ethernet board
I write "net spindle-vel-cmd => gmoccapy.spindle_feedback_bar" in postgui.hal - and get error "Pin gmoccapy.spindle_feedback_bar doesn't exists". When the Halshow command run, everything works. With gmoccapy.spindle_at_speed_led is similar. How I should register that command? I do not understand how it can work with halcmd, but doesn't work when I put same command in postgui.hal.

File Attachment:

File Name: postgui.hal
File Size:0 KB
Attachments:
Last edit: 15 Apr 2019 16:58 by hottabich.

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

More
20 Apr 2019 09:55 #131285 by andypugh
Replied by andypugh on topic Mesa 7i96 Ethernet board
Is the postgui.hal file called as a POSTGUI file in the INI, or as an ordinary one?

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

More
20 Apr 2019 17:52 - 20 Apr 2019 18:00 #131322 by hottabich
Replied by hottabich on topic Mesa 7i96 Ethernet board
That's all I have.

File Attachment:

File Name: linuxcnc_mesa7i96.zip
File Size:23 KB

File Attachment:

File Name: linux_mesa...4-20.hal
File Size:8 KB
Attachments:
Last edit: 20 Apr 2019 18:00 by hottabich.
The following user(s) said Thank You: TheFabricatorAG

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

More
20 Apr 2019 23:30 - 20 Apr 2019 23:30 #131343 by andypugh
Replied by andypugh on topic Mesa 7i96 Ethernet board
You have
[HAL]
HALFILE = linux_mesa7i96.hal
HALFILE = io.hal
HALFILE = custom.hal
HALFILE = postgui.hal
HALUI = halui

You need
[HAL]
HALFILE = linux_mesa7i96.hal
HALFILE = io.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui.hal
HALUI = halui

linuxcnc.org/docs/2.7/html/config/ini-config.html#_hal_section
Last edit: 20 Apr 2019 23:30 by andypugh.
The following user(s) said Thank You: hottabich

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

More
21 Apr 2019 07:52 #131376 by hottabich
Replied by hottabich on topic Mesa 7i96 Ethernet board
Thank you so much! I am 66 years old and without knowledge of English was lost in the beaten information. Linux newbie. Thanks again to you and the whole community for your not easy work!

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

More
20 Nov 2019 01:12 - 20 Nov 2019 17:48 #150705 by qwerasdferty
so after years of fighting with computers and parallel ports I have decided to get myself a Mesa 7i96.

I have setup a Raspberry pi 4 with debian 10 and linuxcnc 2.8, but the 7i96 config tool doesn't seem to run under debian 10 I think based on one of John's message in the 7i96 configuration tool thread. I followed John's instructions for installing it but I can't get it to work.

So I have started down the road of creating my own hal and ini files from the 7i90 examples. I seem to have the three stepper motors config working but now I need to get my spindle going.

I'm not quite sure how to port my old spindle configuration over to the new hal and ini format.

I am using a frequency to isolated analog output board to control my spindle controller. In my old config I used a stepgen to control the frequency which would in turn drive and relate to spindle RPM.

I'm not really sure in the new ini and hal configs how to port this over to the new format and to work with the 7i96.

I have a ctrl_type set to velocity.......at the end and p for position control.

how do I define my spindle in the ini and in the hal for this velocity control.......yet using the stepgen for frequency generation?

below is part of my old hal file
loadrt stepgen step_type=0,0,0,0 ctrl_type=p,p,p,v
#**********************************************************
#   Spindle Control
#   Use a scale module for offset and scaling of the stepgen
#   Offset and scale are determined by first calculating and testing
#
loadrt scale count=1
setp scale.0.in 0
setp scale.0.gain 1.5
setp scale.0.offset 0
addf scale.0 servo-thread
#   Connect spindle speed to scaler
#
net spindle-cmd spindle.0.speed-out => scale.0.in #
#   Connect scaler output to stepgen velocity
#
net spindle-freq <= scale.0.out => stepgen.3.velocity-cmd #

#
#   Initialise the stepgen for the spindle
#
setp stepgen.3.position-scale 1
setp stepgen.3.maxvel 2500
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 20000
setp stepgen.3.dirsetup 20000
setp stepgen.3.maxaccel 400

#
#   Enable
#
#setp parport.0.pin-17-out-invert 1
#net spindle-enable <= spindle.0.on => stepgen.3.enable parport.0.pin-17-out
Last edit: 20 Nov 2019 17:48 by qwerasdferty.

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

More
24 Nov 2019 22:38 #151152 by andypugh
Replied by andypugh on topic Mesa 7i96 Ethernet board
Can you give us a pin list for your 7i96?

(just start linuxcnc then open a terminal and type "halcmd show pin *7i96*" , then paste the output here (preferably in code tags)

Things should look pretty much the same as your current setup, except you set the spindle stepgen to velocity mode with a parameter:

linuxcnc.org/docs/2.8/html/man/man9/hostmot2.9.html#stepgen

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

More
26 Jul 2021 16:14 #215962 by xenon-alien
Hello!
Can anyone share a hole folder with a 3 axis configuration for a LCNC 2.7.15 and MESA 7i96? (Debian 9)
I will try later the 2.8 version. (I'm new in LCNC and there are a lot of changes)

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

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