Mill controller with touch screen and some external inputs.
- vmihalca
- Offline
- Platinum Member
Less
More
- Posts: 344
- Thank you received: 21
23 Apr 2019 20:40 #131689
by vmihalca
Mill controller with touch screen and some external inputs. was created by vmihalca
Hi guys,
I wanna build a controller for my syil x7 mill, something similar with how MachMate looks like.
I bought a 11.6 inch touch screen display, it should arrive soon.
The controller will also include the minipc that is already working fine with Mesa7i76e.
So from my controller to the mill, I will have an ethernet cable to connect the ethernet port with the Mesa 7i76e.
I also want some encoders for feed override, rapids override and spindle override + buttons for cycle start, feed hold, estop and power on. In order to do the wiring from these to the mesa board thats inside the mill cabinet, I will use a DB25 paralel port cable, it has enough wires for all the inputs.
Now I have a few questions:
1. on what pins do I have to wire cycle start and feed hold buttons? I know feed hold has motion.feed-hold (if I remember correctly)
2. the encoders for override knobs, will be some 20 pules encoders. How many encoders can I read on the Mesa, right now I am using the spindle encoder for rigid tapping. Can I wire the rest on some inputs?
3. I am using probe screen, but when I click the text inputs where I have to change the values, the on screen keyboard does not pops up. Any idea what to do on that?
These are the questions I have now, I will have many more.
Cheers!
I wanna build a controller for my syil x7 mill, something similar with how MachMate looks like.
I bought a 11.6 inch touch screen display, it should arrive soon.
The controller will also include the minipc that is already working fine with Mesa7i76e.
So from my controller to the mill, I will have an ethernet cable to connect the ethernet port with the Mesa 7i76e.
I also want some encoders for feed override, rapids override and spindle override + buttons for cycle start, feed hold, estop and power on. In order to do the wiring from these to the mesa board thats inside the mill cabinet, I will use a DB25 paralel port cable, it has enough wires for all the inputs.
Now I have a few questions:
1. on what pins do I have to wire cycle start and feed hold buttons? I know feed hold has motion.feed-hold (if I remember correctly)
2. the encoders for override knobs, will be some 20 pules encoders. How many encoders can I read on the Mesa, right now I am using the spindle encoder for rigid tapping. Can I wire the rest on some inputs?
3. I am using probe screen, but when I click the text inputs where I have to change the values, the on screen keyboard does not pops up. Any idea what to do on that?
These are the questions I have now, I will have many more.
Cheers!
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 355
24 Apr 2019 06:19 #131739
by pl7i92
Replied by pl7i92 on topic Mill controller with touch screen and some external inputs.
Hi
you can use almost every GPIO of the 7i76
you shoudt take a look on the HALUI pins you can go with
linuxcnc.org/docs/html/man/man1/halui.1.html
IN the Postgui file its better for external buttons and safe as 1000 times per second called
connect like
net button-ext-run halui.program.run <= hm2_7i76e.0.7i76.0.0.input-00
you can use also gegative logic witch i preefer so to check if buttons is present
hm2_7i76e.0.7i76.0.0.input-00
and
hm2_7i76e.0.7i76.0.0.input-00-not
you can use almost every GPIO of the 7i76
you shoudt take a look on the HALUI pins you can go with
linuxcnc.org/docs/html/man/man1/halui.1.html
IN the Postgui file its better for external buttons and safe as 1000 times per second called
connect like
net button-ext-run halui.program.run <= hm2_7i76e.0.7i76.0.0.input-00
you can use also gegative logic witch i preefer so to check if buttons is present
hm2_7i76e.0.7i76.0.0.input-00
and
hm2_7i76e.0.7i76.0.0.input-00-not
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
Less
More
- Posts: 344
- Thank you received: 21
24 Apr 2019 06:37 #131741
by vmihalca
Replied by vmihalca on topic Mill controller with touch screen and some external inputs.
How many extra encoders can I wire to Mesa 7i76e.
Now I have used just the spindle encoder.
Now I have used just the spindle encoder.
Please Log in or Create an account to join the conversation.
- cmcnc
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
24 Apr 2019 06:59 - 24 Apr 2019 07:01 #131743
by cmcnc
Replied by cmcnc on topic Mill controller with touch screen and some external inputs.
Last edit: 24 Apr 2019 07:01 by cmcnc.
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 355
24 Apr 2019 09:33 #131748
by pl7i92
Replied by pl7i92 on topic Mill controller with touch screen and some external inputs.
you can have a 7i83 to get more encoders if you need them
real encoder inputs
for only settings like a knob the inputs of the 7i76 will do it
real encoder inputs
for only settings like a knob the inputs of the 7i76 will do it
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10835
- Thank you received: 3577
24 Apr 2019 10:04 - 24 Apr 2019 10:05 #131755
by rodw
Replied by rodw on topic Mill controller with touch screen and some external inputs.
The 7i76e has two MPG encoders. Remember you can also add an axis select switch. Using a binary coded switch is very efficient in terms of the number of pins used vs the available options. Initially I was going to add a MPG for both the X and Y axes but once I got my head around this, I just used one. Then I purchased a Wireless pendent with a 6 axis control. I used a Mux8/Select8 combo to access these 6 inputs (with 2 unused select options). 3 of them are still free so I'd like to experiment with the reverse run features of plasmac to see if I could run back and forth a paused program with the MPG on an unused input.
So if you used the 2 MPG's and 2 8 way binary selector switches (that would each consume 3 pins), you would be able to control 16 features with 2 MPG's very easily but this could be expanded.
So if you used the 2 MPG's and 2 8 way binary selector switches (that would each consume 3 pins), you would be able to control 16 features with 2 MPG's very easily but this could be expanded.
Last edit: 24 Apr 2019 10:05 by rodw.
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds