--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c9d7d9fa-58d7-4304-b905-38c977b67005%40googlegroups.com.
勇気とユーモア
Yes it's Smoothie.
"Nothing can be done"
Take slowest ethernet as possible that latency is not hardware releated.
I assume that this is 100% software releated...
Sadly I seems to be forced to use unreliable USB instead reliable
ethernet to gain 2X speed. That's sad news.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/372ce477-e317-550f-4cce-71bb414e0998%40gmail.com.
勇気とユーモア
Can't find Smoopi project's
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d0044962-bf92-136a-9b35-24eb9b99cf2c%40gmail.com.
勇気とユーモア
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/310a51d3-1f75-2969-d522-4d5003960050%40gmail.com.
勇気とユーモア
On 8. 05. 20 13:24, Arthur Wolf wrote:
>
>
> Adding a UDP interface to Smoothie would be trivial, it's just nobody
> has bothered/needed to do so up to this point...
> And having the web interface isn't in any way preventing from having
> that ...
>
>
Wel I'm think that there are no room for implementation.
I't seems
strange for me that nobody run over ethernet and have same problem.
At least one big + for ethernet is that by definition do groung loop
isolation. And Ground loop isolatihg USB is nightmare.
Of course there
are cameras on USB but at least they can be isolated from rest of machine.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b35a6c4e-56d0-326c-8a67-a6c52355664b%40gmail.com.
勇気とユーモア
On Fri, May 8, 2020 at 1:33 PM Slavko Kocjancic <esl...@gmail.com> wrote:On 8. 05. 20 13:24, Arthur Wolf wrote:
>
>
> Adding a UDP interface to Smoothie would be trivial, it's just nobody
> has bothered/needed to do so up to this point...
> And having the web interface isn't in any way preventing from having
> that ...
>
>
Wel I'm think that there are no room for implementation.I don't know what you mean, there definitely is.I't seems
strange for me that nobody run over ethernet and have same problem.People just use USB, if you are even a tiny bit careful anyone can get it to work just fine. Ethernet is more of a convenience thing for most users, having the interface to do config etc.At least one big + for ethernet is that by definition do groung loop
isolation. And Ground loop isolatihg USB is nightmare.Smoothie has tens of thousands of users using USB, all happily using their machine. I from time to time have to help a user figuring out a USB issue, I am yet to find one for whom we don't find a solution ...
Of course there
are cameras on USB but at least they can be isolated from rest of machine.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b35a6c4e-56d0-326c-8a67-a6c52355664b%40gmail.com.
--勇気とユーモア
I have several hundredths of professional machines which use both USB ( older generation) and ethernet .While USB is OK for hobby environment, it is almost no-go for professional machines.
Most is related to grounding issues when you have longer cables
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e572fd26-510d-4f40-9cc0-90d115f8edf8%40googlegroups.com.
勇気とユーモア
Yes Arthur, but 99% of them are 3D printers or CNC users. And theyhave in their computer only one USB for Smoothie, maybe another for some mouse.
For Openpnp we need have connected Smoothie, few other USB sub-drivers and two cameras - and it's really hard to compare to your typical customer's setup (if we speak about the computer/cpu load) plus Java doesn't help.That's why using ethernet for Smoothie would be nice if working same good (fast) as USB. 3ms mentioned by Jaroslaw could be quite good.
Smoothie has tens of thousands of users using USB, all happily using their machine. I from time to time have to help a user figuring out a USB issue, I am yet to find one for whom we don't find a solution ...
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/f69f6f56-159c-462a-bf03-74f558205116%40googlegroups.com.
勇気とユーモア
On 8. 05. 20 15:06, Marek T. wrote:
> I have completely forgotten about this option. Really worth to remember.
>
> /You can always just use a UART, that won't have the issues of USB,
> and will have the same speeds and latency. Fully supported by
> Smoothie out of the box. Make it differential if you are going over
> a meter. Pretty cheap too. Really no need for Ethernet./
>
I wasn't avared too on that.
Btw I have USB issue some time ago and it was not possible to solve that
without isolation. The industrial fan (80kW power) line was on other
side of drywal to office. And in same wall in office was chanel with usb
cable 3m long to some device.
Whatever I do (grounding, shielding,
toroids, ....) the USB drop communication when fan starts. (the power
for device and computer are not from same fuse box). Changing that to
isolated RS485 solve all problems.
If controller (smothie) and computer is powered from same fuse (usually
same extension cord) there should be no problem. But if you have general
UPS for all computers in building for example then you WILL have ground
loop troubles.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6070371f-348b-dc33-baad-a3346135b996%40gmail.com.
勇気とユーモア
On Fri, May 8, 2020 at 3:38 PM Slavko Kocjancic <esl...@gmail.com> wrote:On 8. 05. 20 15:06, Marek T. wrote:
> I have completely forgotten about this option. Really worth to remember.
>
> /You can always just use a UART, that won't have the issues of USB,
> and will have the same speeds and latency. Fully supported by
> Smoothie out of the box. Make it differential if you are going over
> a meter. Pretty cheap too. Really no need for Ethernet./
>
I wasn't avared too on that.
Btw I have USB issue some time ago and it was not possible to solve that
without isolation. The industrial fan (80kW power) line was on other
side of drywal to office. And in same wall in office was chanel with usb
cable 3m long to some device.That's a design issue then. Nobody should design industrial systems with USB cables 3 meters long. Most of the USB cables I use in customer's machines are about 10cm long ...
Whatever I do (grounding, shielding,
toroids, ....) the USB drop communication when fan starts. (the power
for device and computer are not from same fuse box). Changing that to
isolated RS485 solve all problems.
If controller (smothie) and computer is powered from same fuse (usually
same extension cord) there should be no problem. But if you have general
UPS for all computers in building for example then you WILL have ground
loop troubles.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6070371f-348b-dc33-baad-a3346135b996%40gmail.com.
--勇気とユーモア
How do you connect main machine controller - which is placed in separate machine compartment - to main control computer when machine itself is 2x3 m??
Most of my machines look like this - and here ethernet between machine and computer is the only viable solution.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c3f819d3-b0a2-49fb-b4d5-386d59de66b0%40googlegroups.com.
勇気とユーモア
> That's bad design then...
Come on Arthur, you're not serious now.
Your UART hint was the right answer. More is not needed or asked.
Smoothie's Ethernet implementation is flawed. You should simply admit it and move on and improve it for Smoothie 2.0.
Personally I use an USB isolator (already on the Azteeg
X5 GT 32 board) and make sure the cameras are not grounded
to the machine. And everything is good even with my 5m cable.
Others can add an external isolator like this one.
> Most of the USB cables I use in customer's machines are about 10cm long ...
Now if Smoothieboard requires that, then that is real
bad design.
There is a USB specification that tells us we can add 5m cables
if we like. And for the USB 1.1 bandwidth we use, that's really
not asked too much.
https://en.wikipedia.org/wiki/USB#Cabling
So the good design decision would be to finally
add the Isolator to Smoothie 2.0. At least for the prime
and the pro.
_Mark
Slavko , all that you are describing that's exactly what TCP is
doing and with many optimizations. I doubt you (or anyone) can do
it better/faster with reasonable effort.
"TCP provides reliable, ordered, and error-checked delivery of a stream of octets (bytes) between applications running on hosts communicating via an IP network."
https://en.wikipedia.org/wiki/Transmission_Control_Protocol
TCP is old enough (1974) to make sure it runs efficiently on
MCUs, certainly as a single connection. There are highly optimized
implementations available.
One-to-one connection UDP only makes sense if you can afford to
drop information in exchange for very low latency like on an audio
transmission etc. and that is certainly not the case here.
_Mark
> an email to ope...@googlegroups.com
> <mailto:ope...@googlegroups.com>.
Hi Marek,
Remember, I still need two connections because I have the 1080p30fps
/ 720p60fps ELP cameras and those use higher bandwidth than
the OpenPnP-recommended "standard" ELP cameras with just 720p30fps
i.e. only one of my cameras is supported per USB root hub.
So I have two USB cables running to the machine. On the machine
there is a tiny passive hub for the bottom camera and the
controller, which has the isolator.
The second USB cable goes to the down-looking camera.
So the cameras and the hub and the isolator run on the computer's
ground. Everything else is on machine ground.
https://makr.zone/grounding-the-machine/283/
_Mark
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b5f447ae-a65a-43a9-ad27-08962ccde2a2%40googlegroups.com.
> That's bad design then...
Come on Arthur, you're not serious now.
Your UART hint was the right answer. More is not needed or asked.
Smoothie's Ethernet implementation is flawed. You should simply admit it and move on and improve it for Smoothie 2.0.
Personally I use an USB isolator (already on the Azteeg X5 GT 32 board) and make sure the cameras are not grounded to the machine. And everything is good even with my 5m cable. Others can add an external isolator like this one.
> Most of the USB cables I use in customer's machines are about 10cm long ...
Now if Smoothieboard requires that, then that is real bad design.
There is a USB specification that tells us we can add 5m cables if we like. And for the USB 1.1 bandwidth we use, that's really not asked too much.
https://en.wikipedia.org/wiki/USB#Cabling
So the good design decision would be to finally add the Isolator to Smoothie 2.0. At least for the prime and the pro.
_Mark
Am 08.05.2020 um 16:54 schrieb Arthur Wolf:
On Fri, May 8, 2020 at 4:39 PM Jarosław Karwik <jarosla...@gmail.com> wrote:
How do you connect main machine controller - which is placed in separate machine compartment - to main control computer when machine itself is 2x3 m??
Most of my machines look like this - and here ethernet between machine and computer is the only viable solution.
That's bad design then, it's another issue.
Most CNC routers I've had to work with had the cnc controller and the controlling computer in the same stand a few centimeters appart.
Even if they aren't, if you have to have a long cable, you don't stream the gcode over it, you run whatever software inside the machine, and control it remotely.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b3b7962b-d577-7271-edce-8df64e6e00d1%40makr.zone.
勇気とユーモア
> TCP make a lot of other thing too. I'm just curious where
that massive lattency or whatewer is produced. I mean over 2
second delay per part!?!?
That's not TCP per se, its Smoothie. I believe MCUs can be very
fast for TCP.
_Mark
> TCP make a lot of other thing too. I'm just curious where that massive lattency or whatewer is produced. I mean over 2 second delay per part!?!?
That's not TCP per se, its Smoothie. I believe MCUs can be very fast for TCP.
_Mark
Am 08.05.2020 um 18:51 schrieb Slavko Kocjancic:
Mark I know that.
TCP make a lot of other thing too. I'm just curious where that massive lattency or whatewer is produced. I mean over 2 second delay per part!?!?
...but for now I drive PnP with laptop. Just 2 USB ports/one controller.
Both camera works. But with hub seems that (at least) one camera froze over time. So with that hardware I can go just over TCP.
For future will probably use ordinary computer with serial port or at least USB port with isolation.
Slavko.
On 8. 05. 20 18:22, ma...@makr.zone wrote:
Slavko , all that you are describing that's exactly what TCP is doing and with many optimizations. I doubt you (or anyone) can do it better/faster with reasonable effort.
/"//TCP provides //reliable <https://en.wikipedia.org/wiki/Reliability_(computer_networking)>//, ordered, and //error-checked <https://en.wikipedia.org/wiki/Error_detection_and_correction>//delivery of a stream of //octets <https://en.wikipedia.org/wiki/Octet_(computing)>//(bytes) between applications running on hosts communicating via an IP network."/
https://en.wikipedia.org/wiki/Transmission_Control_Protocol
TCP is old enough (1974) to make sure it runs efficiently on MCUs, certainly as a single connection. There are highly optimized implementations available. <https://en.wikipedia.org/wiki/UIP_(micro_IP)>
One-to-one connection UDP only makes sense if you can afford to drop information in exchange for very low latency like on an audio transmission etc. and that is certainly not the case here.
_Mark
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/368aaaa2-aa42-4a6a-231d-5d0fffff6d5a%40makr.zone.
勇気とユーモア
> Well, you would need dc/dc converter.
Yes, the Azteeg is powered from the machine PSU with a proper
DC/DC. As it always should be, IMHO.
It has both a 12V and a 5V DC/DC right on the board so you're set
for the commonly used Voltages for LED rings and logic.
The MCU will not be powered, if you connect USB but the
machine PSU is off.
The MCU will not lose control if you unplug USB. The
machine stays homed and you can reconnect. You can run any
connection you like (like the mentioned UART, best isolated as
well, of course).
http://www.panucatt.com/azteeg_X5_GT_reprap_3d_printer_controller_p/ax5gt.htm
http://panucattdevices.freshdesk.com/support/solutions/folders/1000226597
Smoothieboard leaves this to the user. It has a +5V connector or you can buy a strange module:
http://smoothieware.org/voltageregulator
http://smoothieware.org/cnc-mill-guide#logic-power
USB issues because of missing isolator are at least openly documented:
Make sure your USB cable is as short as possible ( less than
50 centimeters or two feet is ideal ), is shielded, and ideally
has ferrite beads.
Make sure your machine and the computer controlling it are
plugged into the same power strip.
Make sure your local electrical installation is not subject to
variations and interference.
Make sure there are no large motors,
fridges, neon bulbs or other strong sources of electrical
interference in the same room.
That last sentence is really almost funny in a machine context.
:-D
http://smoothieware.org/usb#take-care
Summary:
On-board DC/DC and USB isolator are a must, IMHO.
_Mark
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/52e7206e-d076-434e-823e-25b91aa3106e%40googlegroups.com.
> TCP make a lot of other thing too. I'm just curious where that massive lattency or whatewer is produced. I mean over 2 second delay per part!?!?
That's not TCP per se, its Smoothie. I believe MCUs can be very fast for TCP.
Smoothie has a lot to do other than TCP. We have optimized things a lot over the years, but there are limits to how much you can do that.v2 will have a lot more RAM and cycles, and the network code there is already much faster/reactive than the v1 code.
I agree and that's why I don't blame Smoothie at all. The Azteeg doesn't even have the Ethernet port.
But if you don't have (usable) Ethernet, then you have to do USB right. For a Machine environment.
> Make sure there are no large
motors, fridges, neon bulbs or other strong sources of
electrical interference in the same room.