Hello Guest it is March 28, 2024, 08:34:22 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - oscbe112

Pages: 1
1
Brains Development / Re: Arduino -> modbus -> Brain
« on: November 08, 2014, 06:55:47 AM »
Hi!
Always fun to inspire others, please let us know of your progress.

When it comes to my pendant project I concider it finished. Its not the best approach if you want to be able to change and configure a lot, then you'd better go with a keyboard and map the keys in mach3. But with that said it works great for what I intended.
The only thing that is missing is the handles on the sides (see pictures).. actually bought a 3D printer.. so I'm just lazy to not have done them yet.


So unfortunately I didnt find my arduino sketch but its built on this library: https://sites.google.com/site/jpmzometa/arduino-mbrt/arduino-modbus-slave
On the arduino side I'm just sending commands to the mach3 via modbus, its stored in variables, the brain decides what happens when the variables change.

Sure you could have a screen and touch interface. But I think its a lot of work with arduino.. And also i'd most definitely prefer fysical buttons when interfacing a moving cnc machine..
Just a thought from my side, if you need touchscreen interface, maybe raspberry pie could be an alternative? cheep, hdmi output, usb for interfacing touchscreens, easy to program.

2
Brains Development / Re: Arduino -> modbus -> Brain
« on: February 26, 2012, 02:23:36 PM »
1. Fail !
2. Works

Its weird because I've already tried this, but well now it works!

Thanks for the help

3
Problem solved, M-macros within the G-code keep track of this parameters for me

Thanks for the input

4
Good one!

How to keep track of which was the latest cut (there can be several)?


5
The complete Gcode is calculated pre start based of the parameters that is collected from the user interface. Eg. the Gcode is static.

My first thought:

1. Program Start
2. Program STOP
3. User press "Rewind to last cut" [<]
4. CB check current Gcode line
5. CB opens file -> searches Gcode for keyword like "Cut"
6. CB determines which "cut" that is closest (backwards) to current line
7. CB set next line
8. User is happy, and press Start to try again!


Please tell me there is a better way :)

6
VB and the development of wizards / Rewind to previous sequence in G-code
« on: February 19, 2012, 05:36:25 AM »
I have a difficult task for you  ;)

I've built a screen that builds a cutting G-code program based of inputs from the user.

The program is simple and consist of [start parameters] -> [x number of cuts in a sequence] -> [End Parameters]

My question for you: Is it possible for the user to be able to rewind to the previous cutting sequence?

=> User is running cut number 2 -> User stops in the middle of the procedure -> Press "Rewind" button -> VB set next line to the start of Cut number 2 -> Press start



Program example:

->Parameters<-

Cut 1
.
.
Cut 2
.
.
And so on...
.
.
->End<-


7
Brains Development / Re: Arduino -> modbus -> Brain
« on: February 19, 2012, 04:54:22 AM »
Anyone that can help me with the AND statements?

8
Brains Development / Re: Arduino -> modbus -> Brain
« on: January 28, 2012, 12:50:43 PM »


1. Ok I got it. But having problem with the AND statement. It only works for one of the two inputs. See attached pictures

2. I suspect that the bug is caused on the other end.

3. Hmm..., no shortcut here  :-\


Thanks Poppabear

9
Brains Development / Arduino -> modbus -> Brain
« on: January 28, 2012, 09:32:47 AM »
Hi Guys,

Building a arduino[modbus] based Pendant for my machine but has run in some trouble with brain, plz help


1. I'm jogging the axis by buttonpress. When using the buttons I want it to jog while I press the buttons, just like the binded keys at my keyboard. It starts jogging but never stops! What am I missing?

# It haven't crashed. Everything else works.
# Keyboard jogging works
# "Cont jog" is selected
# According to control brain it all works, the input is turned on only when pressed.
# When trying in "Step mode" it works just fine, it steps the amount selected in "incremental step".

2. I'm using 2 analog inputs FRO and Jog%. One of the registers has stopped working, when I use another one it works but this is strange. The Arduino handles this registers the same way. Is there a limit of registers you can use (I'm using 22)? Is there some known bug causing this?

3. How do you configure brain to actuate a button on the screen that isnt in the buttonlist?

Pages: 1