Hello Guest it is April 25, 2024, 08:17:09 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 - DazTheGas

751
Mach4 Videos / Re: Mach4 - Arduino and Touchscreen
« on: May 18, 2015, 03:43:29 PM »
After lots of research today I've ordered an Arduino yun in replacement for the Leonardo, it's got dedicated Ethernet and Linux bridged to the Arduino opening up a whole new avenue for communication between Mach 4 and external devices.

DazTheGas

752
Mach4 General Discussion / Mach4 SDK
« on: May 18, 2015, 07:20:56 AM »
Is there a Mach4 SDK anywhere..

DazTheGas

753
Mach4 General Discussion / Re: Lua Signal Table
« on: May 18, 2015, 05:39:31 AM »
Quote
I have run into a problem with signal tables from the scripting manual in it it has the sig table like this

You got a link to this manual..

DazTheGas

754
Mach4 Videos / Re: Mach4 - Arduino and Touchscreen
« on: May 17, 2015, 06:16:48 PM »
Very handy to know.

DazTheGas

755
Mach4 Videos / Re: Mach4 - Arduino and Touchscreen
« on: May 17, 2015, 10:42:01 AM »
Quote
I don't know much (actually nothing at all) about the keyboard plug-in

I am the same, I only know from trial and error when i was going to use the plugin, but after decided to make use of the ESS

Quote
An Ethernet version of what? The Arduino or the plug in.?

There is an ethernet version of the arduino.

Quote
the M4 scripting manual . . . .

Can I get a copy too  ;)

DazTheGas

756
Mach4 Videos / Re: Mach4 - Arduino and Touchscreen
« on: May 17, 2015, 09:13:03 AM »
The one in the video is an arduino leonado emulating a keyboard thus connected by usb, this was purely to show that the keyboard plugin can be used if required. And they do a Ethernet version.

At the moment I am designing a shield that connects to the ESS and uses the input and output signals and uses a mega chip to run the 4D screen and external functions, this wont be used for jogging as the screen will be mounted in the case, but could be used for homing and moving to preset points etc. All signals will then be sent and recieved through the ESS, and as something comes up that is required I dont have to wait for someone else to implement it. I have been testing out with great success in the PLC script a form off sending out a series of output signals and the mega displaying something (er a bit like binary if you like). will keep you posted on that.


Yes the keyboard plugin does have its drawbacks, only this morning mach4 was in the background whilst I came to have a look at this board (did you and daniellyall stay up all night??) and went to reply to a thread, DAM!!! the 4 keys were still assigned to jogging from yesterday and the machine started moveing, but has been tested using the signal inputs not keyboard with success, they must use internal mach4 functions.

Although even that dont put me off the keyboard principle, its all down to what you can achieve in the PLC script, IE most things are safer to run in the PLC a simple function, if wxlua screen lost focus then dissable keyboard plugin etc.


DazTheGas

757
Mach4 General Discussion / Re: X-axis reverse not working
« on: May 17, 2015, 03:33:14 AM »
all active high and lows for ess need to be done in the plugin config, change the state of the x axis dir pin.

DazTheGas

758
Mach4 General Discussion / Re: X-axis reverse not working
« on: May 17, 2015, 03:03:04 AM »
where are you trying to reverse the motor, if you are using the ess then all reversing of the motors needs to be done within the plugin config-inputs by making a motor dir input active high or active low.

DazTheGas

759
I have dug into mach4 today in relation to the jogging, you can get bad behaviour from it, but all depends on the code that you implement with it.

if its using the keyboard emulator as I was today, even if the machine is disabled the machine could still jog... but it would be continuous and only by pressing enable then disable or estop could stop the machine. This is where it comes down to the backend of what you put in it. My answer was to map keys to an input signal  in a function that would only work if the machine state was enabled, this worked perfect with cycleing between constant and step.

other ideas I have in pipeline is to send an output signal to my touchscreen to enable/disable jogging depending on the machine state.

DazTheGas




760
Mach4 Videos / Re: Mach4 - Arduino and Touchscreen
« on: May 16, 2015, 03:01:26 PM »
it was a bit weird trying to sync 2 camcorders and screen capture at same time.

DazTheGas