Hello Guest it is April 19, 2024, 02:32:22 AM

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 - smurph

181
Mach4 General Discussion / Re: Rtx64
« on: April 08, 2021, 01:03:39 AM »
All IntervalZero sells is the RTX64/EtherCAT master.  That gets installed on your PC.  For everything else, you will need to buy extra.  And it will need to be EtherCAT compatible.  As in, you will need to buy servo or stepper drives and any and all I/O modules.  There are literally 100s from which to choose. 

But again, you can't just use any I/O board that would hook to Ethernet.  It HAS to be EtherCAT. 

You would be wise to do a lot of research on EtherCAT before you jump headlong into it.  Mainly because it can get expensive!  It is the newest of the industrial technologies and thus comes with a higher price.  But the prices are getting better and better.  There may be some economical packages out there now.  I just don't know.  But doing your research will help you find the best value.

Steve


182
Mach4 General Discussion / Re: Rtx64
« on: April 08, 2021, 12:33:19 AM »
EtherCAT is purely an Ethernet Topology.  Each EtherCAT device (servo module or I/O module) will have two Ethernet ports, one in and one out.  Each module will have discrete terminals with which to wire.  So basically, with the RTX64/KINGSTAR product, you just run an Ethernet cable from your PC to your first module and daisy chain your modules from there.



Steve

183
Mach4 General Discussion / Re: Mach 4/LUA Ethernet Explicit Messaging
« on: April 08, 2021, 12:24:21 AM »
Mach4 comes with the LuaSockets module that can do what you want. 

http://w3.impa.br/~diego/software/luasocket/reference.html

Warning: It isn't for the feint or heart.  :(  But it is possible.

Steve

184
Mach4 General Discussion / Re: Mach4 hogging CPU time
« on: April 08, 2021, 12:13:45 AM »
Try running Mach with the Simulator plugin as the motion device.  The stock profile Mach4Mill using Sim uses .2% on my PC.  So it will be the motion plugin that is using most of the CPU.  And that stands to good reason.  The ESS uses a default 50Hz (20ms) loop interval and implements a default cycle time of 1 millisecond.  All of this is going one regardless of if the drives and motors are enabled or not.  There is a LOT going on under the hood. 

But the good news is that it isn't hogging 100% of the CPU.  And it still runs fine on my D2700MUD Atom board.

Steve

185
Mach4 General Discussion / Re: Rtx64
« on: April 07, 2021, 11:57:43 PM »
Yes, Mach 4 works with RTX64.  There is a Mach 4 plugin that runs KingStar EthernCAT Master on top of RTX64 .  RTX64 and KingStar are both IntervalZero products.

Steve

186
Roger,

I'm glad you found the issue! 

Also, unless you are running stepper motors, the loop is closed on your servo drive.  I used to really dislike the loop being closed on the servo drive because only Yaskawa seemed to do it right and not every project justified the cost of the Yaskawa drives/motors.  But now days, the other drive manufacturers have it pretty much figured out too.  And they actually do a decent job!  And it is soo much easier for the servo tuning challenged among us to work with the digital/position controlled servo drives.  As close to plug and play as you can get. 

Steve


187
Mach4 General Discussion / Re: mach4 uninstall problem
« on: April 04, 2021, 09:41:57 PM »
I made some changes to the macros that generated some problems, I decided to uninstall mach4 and reinstall it but the problems remained anyone knows why?

Delete all of the .mcc files in the macros directory.  The try to compile each one until you find the problem.  Uninstalling Mach4 will not clean your macros directory if you added or changed something.  So the errant macro is probably still there. 

Steve

188
You might try the Warp9 forum and see what Andy has to say.  This really shouldn't be an issue, as ESS threads beautifully.  Now, chasing an existing thread is probably not going to happen.  But again, ask Warp9. 

Steve

189
Roger,

There is nothing in the registry save for the installation directory.  And I doubt you have a corrupted install.  It is way more likely that your Ethernet card is not doing the job. 

A lot of the onboard Ethernet devices are built asymmetrically.  Meaning they are better at downloading than uploading and thus have large receive buffers and small transmit buffers.  Look at the device properties for the Ethernet device and see if you can increase the transmit buffers.  Also, turn off anything that is like "interrupt moderation" or "green Ethernet".  If you can't increase the transmit buffers equal to the receive buffers, get an new Ethernet card.

The resolution of your encoders really doesn't affect the data stream.  The Mach planner divides the trajectory plans into many time slices.  Each time slice has a planned number of steps that have to be executed in that time.  Most Controllers use a time slice (or cycle time) of 1 millisecond.  So a 2 micron resolution might move 1 step in 1 millisecond but a 1 micron resolution may move 2 steps in 1 millisecond.  So it is the resolution of time, not the resolution of position that affects the data stream.  For example, a cycle time of half a millisecond will stream twice the data than that of a cycle tome of 1 millisecond. 

Most motion controllers settle on 1 millisecond cycle times as it is a good all around number and is granular enough that the no faceting is detected at high speeds and is capable enough of running very smooth low speeds.  The ESS uses a 1 millisecond cycle time.  An interesting thing that we can derive from that and your machine's resolution is that your 1 micron resolution allows you to run as slow as 1 micron per millisecond without spreading a step across cycles. 

I have an D2700MUD Atom board that is capable of feeding my Galil at half a millisecond cycle times.  That is twice the data that you are moving with the ESS.  The Galil can actually go as low as one quarter of a millisecond on the cycle time.  But there is a point of diminishing returns.  So how does this little Atom board do it?  Well...  it has a good Ethernet device in it.  The Intel Pro series Ethernet chipsets are a favorite of mine.  The Realteks and Bigfoots, not so much.  My point is not all Ethernet chipsets are created equal. 

All this is to say that any decent PC with a decent Ethernet chipset should be able to feed an ESS without stuttering, even with a very low motion buffer depth.  I routinely run a buffer depth of 30 milliseconds on my Atom/Galil combination.  My loop interval is 10 milliseconds (feedback loop) so that gives the system 3 chances at filling the buffer to its' full depth.  No stutters ever.  That is why I suspect that your Ethernet card is just not doing what you need it too.  Because there are a lot of CRAP Ethernet chipsets in consumer PCs these days.  It is a throughput issue, not a corruption issue.

Steve

190
Mach4 General Discussion / Re: bug in dev. ver 700 and 703
« on: April 02, 2021, 01:52:46 AM »
What are these 612, 700, and 703 numbers?  Do you mean 4612, 4700, and 4703?