Hello Guest it is April 28, 2024, 08:20:15 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 - tgirard

Pages: « 1 2 3 4 »
11
Mach4 General Discussion / Re: Making a connection through rs232 in Mach4
« on: November 25, 2019, 07:50:33 PM »
@mcardoso,
I sent a message to you earlier today. I'd really like to get this working on my machine. I did as you said but keep getting the "Cannot Open Serial Port" Error along with three "Lua:Error while running chunkattempt to call a nil valuestack traceback". I'm not a coder for a living but I can usually figure things out with minimal guidance. If you could maybe help me just get connected I'd greatly appreciate it.

12
Mach4 General Discussion / Re: Arduino, Mach4 and ModbusIP.
« on: July 17, 2019, 01:41:40 PM »
To Everyone who has read this thread, I no longer work in the CNC field and now only Dabble a little bit with my machine at home. I haven't played with the Modbus stuff for years and so really have not kept up with how Mach4 works with Modbus. I hope that someone else who works in CNC more often can take the thread and help people or link another thread that would be more helpful.

I hope you find what you need somewhere here :)

-Tim

13
You see, if you just sit at your computer and wait long enough, the answer will arrive...

Thanks for responding with a solution mcardoso!!! Even when these threads are years old, it is soo nice to have the solution, not only for myself (I don't need it now but YOU KNOW I've got to try it) and for others who run into this.

-Tim
KN6BJG

14
I just updated to the latest version of Mach4 (Version 4.2.0.3390) and it killed motion control on the PMDX-411.
Has anyone else seen this?
Is this the right forum?
I'll shoot over to the PMDX site and see if they have a support channel I can report this in but I thought the Mach folks should know

15
Mach4 General Discussion / Re: Arduino, Mach4 and ModbusIP.
« on: April 09, 2016, 02:53:37 PM »
Hi Sparkey3
Yes, I did have to uncomment the #define TCP_KEEP_ALIVE in ModbusIP.h

Thanks for posting that :)

16
Mach4 General Discussion / Re: Arduino, Mach4 and ModbusIP.
« on: February 11, 2016, 10:00:41 AM »
Hey Sorry for the delay in responding.
Yes, I did have to modify the Modbus.h to use ethernet2 instead of Ethernet.
Dang it, I can't remember what the Illegal  state error is but I bet you dollars to donuts it's  the setup count is incorrect between Mach and modbus (Base 1 for Mach and Base 0 for Modbus)

17
Yup... I fully understand that. My problem is I don't like .chms so I usually build a PDF so I can use the features of PDF and access the file easier on my phone, I just assume that some people are like me and understand it might not be the latest

18
I built a pdf file with active navigation out of the .chm file
Enjoy :)

19
Mach4 General Discussion / Re: Arduino, Mach4 and ModbusIP.
« on: December 14, 2015, 10:22:10 AM »
I made a video if anyone is interested
https://www.youtube.com/watch?v=B0w1lwUv5_o

20
Mach4 General Discussion / Re: Arduino, Mach4 and ModbusIP.
« on: December 13, 2015, 01:24:56 PM »
I got it figured out for anyone whos interested.
When Setting up the registers on the arduino, You only specifiy the register position number like this:

//Modbus Registers Offsets (0-9999)
const int reg1 = 0;
const int reg2 = 1;
const int reg3 = 2;
const int reg4 = 3;
const int reg5 = 4;

That's because Andre adds 40001 in the Modbus Arduino library to this number to give your final number. The software is Base0 where Mach is Base1. So in Mach you use 1 through 5. I'm watching the arduino update some DROs on my screens without any problems. This is really cool as it allows me to do all kinds of really cool things and push the values to Mach. Feel free to ask if I didn't explain this well or if you want to see more :)

Pages: « 1 2 3 4 »