2019-01-07 16:44:52 Main DEBUG: Bienvenue, Bienvenido, Willkommen, Hello, Namaskar, Welkom to OpenPnP version 2018-11-08_06-46-50.7a1b10c.
2019-01-07 16:44:52 Scripting TRACE: Scripting.on Startup
2019-01-07 16:44:52 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera usb-0000:00:1a.0-1.4 for camera TopCamera
2019-01-07 16:44:52 CameraView DEBUG: Failed to load camera specific reticle, checking default.
2019-01-07 16:44:52 CameraView DEBUG: No reticle preference found.
2019-01-07 16:44:52 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera usb-0000:00:1a.0-1.4 for camera TopCamera
2019-01-07 16:44:53 CameraView DEBUG: Failed to load camera specific reticle, checking default.
2019-01-07 16:44:53 CameraView DEBUG: No reticle preference found.
2019-01-07 16:44:53 OpenPnpCaptureCamera WARNING: No camera found with ID USB 2.0 Camera usb-0000:00:1a.0-1.4 for camera TopCamera
2019-01-07 16:49:59 ReferenceMachine DEBUG: setEnabled(true)
2019-01-07 16:50:00 GcodeDriver TRACE: [tcp://192.168.1.155:23] << Smoothie command shell
2019-01-07 16:50:00 GcodeDriver DEBUG: sendCommand(null, 250)...
2019-01-07 16:50:01 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 null, 250) => [Smoothie command shell]
2019-01-07 16:50:01 GcodeDriver DEBUG: sendCommand(null, 250)...
2019-01-07 16:50:01 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 null, 250) => []
2019-01-07 16:50:01 GcodeDriver DEBUG: sendCommand(G21 ; Set millimeters mode, 5000)...
2019-01-07 16:50:01 GcodeDriver TRACE: [tcp://192.168.1.155:23] >> G21 ; Set millimeters mode
2019-01-07 16:50:01 GcodeDriver TRACE: [tcp://192.168.1.155:23] << > ok
2019-01-07 16:50:06 MessageBoxes DEBUG: Enable Failure: Timeout waiting for response to G21 ; Set millimeters mode
2019-01-07 16:50:01 GcodeDriver TRACE: [tcp://192.168.1.155:23] << > ok
To access your Smoothieboard, you need to connect it to your network.
To do so, you plug an Ethernet cable into the Smoothieboard at one end, and into your Ethernet router at the other end.
Please note that you can't connect a Smoothieboard directly to your computer ( not unless you use a special type of cable and a special type of configuration on your computer ). You want to use a router for this.
Once configured and plugged in, reset the Smoothieboard and wait for it to connect to the network.
Hi
It seems the
> ok
comes back, so it can’t be a connectivity problem.
See the log:
2019-01-07 16:50:01 GcodeDriver TRACE: [tcp://192.168.1.155:23] << > ok
I guess the COMMAND_CONFIRM_REGEX is missing or wrong:
https://github.com/openpnp/openpnp/wiki/GcodeDriver#regular-expressions-receiving-responses
_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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/7d1669ac-6969-41ee-9a48-14e5c4a1ddd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
2019-01-07 19:25:05 ReferenceMachine DEBUG: setEnabled(true)
2019-01-07 19:25:05 GcodeDriver ERROR: Read error
2019-01-07 19:25:05 GcodeDriver TRACE: [tcp://192.168.1.155:23] << Smoothie command shell
2019-01-07 19:25:06 GcodeDriver DEBUG: sendCommand(null, 250)...
2019-01-07 19:25:06 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 null, 250) => [Smoothie command shell]
2019-01-07 19:25:06 GcodeDriver DEBUG: sendCommand(null, 250)...
2019-01-07 19:25:07 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 null, 250) => []
2019-01-07 19:25:07 GcodeDriver DEBUG: sendCommand(G21 ; Set millimeters mode, 5000)...
2019-01-07 19:25:07 GcodeDriver TRACE: [tcp://192.168.1.155:23] >> G21 ; Set millimeters mode
2019-01-07 19:25:07 GcodeDriver TRACE: [tcp://192.168.1.155:23] << > ok
2019-01-07 19:25:07 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 G21 ; Set millimeters mode, 5000) => [> ok]
2019-01-07 19:25:07 GcodeDriver DEBUG: sendCommand(G90 ; Set absolute positioning mode, 5000)...
2019-01-07 19:25:07 GcodeDriver TRACE: [tcp://192.168.1.155:23] >> G90 ; Set absolute positioning mode
2019-01-07 19:25:07 GcodeDriver TRACE: [tcp://192.168.1.155:23] << ok
2019-01-07 19:25:12 MessageBoxes DEBUG: Enable Failure: Timeout waiting for response to G90 ; Set absolute positioning mode
public String readLine() throws TimeoutException, IOException {
StringBuffer line = new StringBuffer();
while (true) {
try {
int ch = input.read();
if (ch == -1) {
return null;
}
else if (ch == '\n' || ch == '\r') {
if (line.length() > 0) {
return line.toString();
}
}
else {
line.append((char) ch);
}
}
catch (IOException ex) {
if (ex.getCause() instanceof SocketTimeoutException) {
throw new TimeoutException(ex.getMessage());
}
throw ex;
}
}
}
--
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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/530fe47c-00f0-49a5-9968-913803a09da3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/4402aa56-801c-4971-a90c-407b6ffa31a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/8cd1e1f5-2947-4b1c-b56d-dcb814b2b3c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> Ethernet is much more stable and gives galvanic isolation - which USB does not.
Except if you have an isolator like on the Azteeg X5 GT 32, also with Smoothieware (this should be a MUST for controllers, really). You can also add one externally, like this one (just as an example).
Note that the cameras live on the USB ground and supply only. They should not be grounded to the machine. The ELP camera mounting holes are not grounded BTW, I checked, so it’s OK to mount these to metal structures with metal screws.
If you use a hub at the machine, it should come before the isolator. The isolator is also too slow for the cameras (except for very expensive ones).
For more on grounding, see here (comments welcome).
_Mark
> Ethernet is much more stable and gives galvanic isolation - which USB does not.
Except if you have an isolator like on the Azteeg X5 GT 32, also with Smoothieware (this should be a MUST for controllers, really). You can also add one externally, like this one (just as an example).
Note that the cameras live on the USB ground and supply only. They should not be grounded to the machine. The ELP camera mounting holes are not grounded BTW, I checked, so it’s OK to mount these to metal structures with metal screws.
If you use a hub at the machine, it should come before the isolator. The isolator is also too slow for the cameras (except for very expensive ones).
For more on grounding, see here (comments welcome).
_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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/040101d4a6c8%242f9f3520%248edd9f60%24%40makr.zone.
For more options, visit https://groups.google.com/d/optout.
> Isolators are super expensive.
Guess it’s all relative :-)
Expensive for you as a board maker. Cheap for the guy who fried his computer’s motherboard :-)
Personally I don’t think you can do it without, if you are also concerned for your own safety, meaning you must ground a metal PNP machine, including cable shields. Some notebooks (Apple) are not grounded (doubly isolated PSU), then it’s probably OK, but most Computers are grounded and you might get problems through the mains ground loop.
I fried my motherboard once, by plugging in an external USB Hub auxiliary power supply into a different powerstrip on a long extension cable.
_Mark
> Isolators are super expensive.
Guess it’s all relative :-)
Expensive for you as a board maker. Cheap for the guy who fried his computer’s motherboard :-)
Personally I don’t think you can do it without, if you are also concerned for your own safety,
meaning you must ground a metal PNP machine, including cable shields. Some notebooks (Apple) are not grounded (doubly isolated PSU), then it’s probably OK, but most Computers are grounded and you might get problems through the mains ground loop.
I fried my motherboard once, by plugging in an external USB Hub auxiliary power supply into a different powerstrip on a long extension cable.
--
_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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/042b01d4a6d5%24c9032b60%245b098220%24%40makr.zone.
For more options, visit https://groups.google.com/d/optout.
2019-01-08 08:17:38 ReferenceMachine DEBUG: setEnabled(true)
2019-01-08 08:17:39 GcodeDriver TRACE: [tcp://192.168.1.155:23] << Smoothie command shell
2019-01-08 08:17:39 GcodeDriver DEBUG: sendCommand(null, 250)...
2019-01-08 08:17:39 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 null, 250) => [Smoothie command shell]
2019-01-08 08:17:39 GcodeDriver DEBUG: sendCommand(null, 250)...
2019-01-08 08:17:40 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 null, 250) => []
2019-01-08 08:17:40 GcodeDriver DEBUG: sendCommand(G21 ; Set millimeters mode, 5000)...
2019-01-08 08:17:40 GcodeDriver TRACE: [tcp://192.168.1.155:23] >> G21 ; Set millimeters mode
2019-01-08 08:17:40 GcodeDriver TRACE: [tcp://192.168.1.155:23] << > ok
2019-01-08 08:17:40 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 G21 ; Set millimeters mode, 5000) => [> ok]
2019-01-08 08:17:40 GcodeDriver DEBUG: sendCommand(G90 ; Set absolute positioning mode, 5000)...
2019-01-08 08:17:40 GcodeDriver TRACE: [tcp://192.168.1.155:23] >> G90 ; Set absolute positioning mode
2019-01-08 08:17:40 GcodeDriver TRACE: [tcp://192.168.1.155:23] << ok
2019-01-08 08:17:41 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 G90 ; Set absolute positioning mode, 5000) => [ok]
2019-01-08 08:17:41 GcodeDriver DEBUG: sendCommand(M82 ; Set absolute mode for extruder, 5000)...
2019-01-08 08:17:41 GcodeDriver TRACE: [tcp://192.168.1.155:23] >> M82 ; Set absolute mode for extruder
2019-01-08 08:17:41 GcodeDriver TRACE: [tcp://192.168.1.155:23] << ok
2019-01-08 08:17:41 GcodeDriver DEBUG: sendCommand(tcp://192.168.1.155:23 M82 ; Set absolute mode for extruder, 5000) => [ok]
2019-01-08 08:17:41 MessageBoxes DEBUG: Enable Failure: Port name - ; Method name - openPort(); Exception type - Port not found.
> Safety as in physical harm to the user ? That sounds outside the bounds of the conversation here ...
I’m talking about grounding the exposed metal parts of the device to AC ground. Which only then leads to the ground loop problem.
> Tens of thousands of smoothieboards in the wild, still to hear of a report of that.
Glad to hear you’re that successful! :-)
I guess the “ten thousands” are “9’999”s of 3D printers that still 99.9% of the time just print off the SD card and are not USB connected to the computer except perhaps for the initial setup. With Smoothieboard’s nice SD card firmware update / config.txt feature there is no reason to keep a USB connection after that.
Plus 3D printers have documented crappy safety, I doubt many of them have proper AC safety / grounding. The many, many documented instances of burning the house down are probably more related to runaway heating elements but failure to ground the device properly can also cause fires, because the fuse (or MOSFET) won’t blow, if a faulty AC (or high current DC) wire touches the wrong stuff and causes sparks and heat.
Somewhat related:
https://www.youtube.com/watch?v=3jYZDLOV4Jc
_m
> Safety as in physical harm to the user ? That sounds outside the bounds of the conversation here ...
I’m talking about grounding the exposed metal parts of the device to AC ground. Which only then leads to the ground loop problem.
> Tens of thousands of smoothieboards in the wild, still to hear of a report of that.
Glad to hear you’re that successful! :-)
I guess the “ten thousands” are “9’999”s of 3D printers that still 99.9% of the time just print off the SD card and are not USB connected to the computer except perhaps for the initial setup. With Smoothieboard’s nice SD card firmware update / config.txt feature there is no reason to keep a USB connection after that.
Plus 3D printers have documented crappy safety, I doubt many of them have proper AC safety / grounding. The many, many documented instances of burning the house down are probably more related to runaway heating elements but failure to ground the device properly can also cause fires, because the fuse (or MOSFET) won’t blow, if a faulty AC (or high current DC) wire touches the wrong stuff and causes sparks and heat.
Somewhat related:
https://www.youtube.com/watch?v=3jYZDLOV4Jc
_m
--
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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/045a01d4a71c%2454f62f50%24fee28df0%24%40makr.zone.
For more options, visit https://groups.google.com/d/optout.
Could you see this short discussion and give an answer how it is about the openPNP to the Smoothie communication over tcpip done? Maybe we need get some some more details from @wolfmanjm about it?
It's not matter to start some improvement at once until some facts are not confirmed, but could be worth just to collect information. https://groups.google.com/forum/m/#!topic/smoothieware-support/J0ZOZxkceeQ
--
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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b27af49c-e5cc-4d19-a833-151c24d7e983%40googlegroups.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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b6875a68-31fa-415f-aaf1-2fc5aa1ff8da%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/782db50d-a9af-48f7-ab7b-1f199df0b42c%40googlegroups.com.
> That's me pinging the gateway on my network, over WiFi. I can send and receive 64 bytes in the order of 100 *nanoseconds*.
That’s microseconds, but still awesome! I had no idea, always thought Wifi sucks. But my gigabit Ethernet pings at awful 15ms!
_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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/01a501d4a9f7%242cf90300%2486eb0900%24%40makr.zone.
Yeah… router’s quite new but there is a power saving “green” switch in between… hmmm.
_m
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jx8JqbVBxDMAp%2BOKywM-%3DtCdieVT8Vv4srebufyaZi74g%40mail.gmail.com.
Yep, definitely the switch (D-Link green).
Directly attached, always 1ms (Windows 7 does not seem to show less than 1ms).
Thanks for the hint :-)
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/01bb01d4a9fd%24690bd470%243b237d50%24%40makr.zone.
--
* This file is part of the uIP TCP/IP stack
*
* $Id: uip-conf.h,v 1.6 2006/06/12 08:00:31 adam Exp $
*/
/**
* \file
* An example uIP configuration file
* \author
* Adam Dunkels <adam@sics.se>
*/
The basic uIP TCP implementation only allows each TCP connection to have a single TCP segment in flight at any given time.
Because of the delayed ACK algorithm employed by most TCP receivers, uIP's limit on the amount of in-flight TCP segments seriously reduces the maximum achievable throughput for sending data from uIP.
The uip-split module is a hack which tries to remedy this situation. By splitting maximum sized outgoing TCP segments into two, the delayed ACK algorithm is not invoked at TCP receivers. This improves the throughput when sending data from uIP by orders of magnitude.
The uip-split module uses the uip-fw module (uIP IP packet forwarding) for sending packets. Therefore, the uip-fw module must be set up with the appropriate network interfaces for this module to work.
I have implemented small uIP app which handles UDP socket instantly - TCP in uIP is very limited and may have issues when pressed .
Does anybody have some tcpip client with timestamps logging? Could be good to send some gcode to Smoothie using other soft than OpenPNP and compare the delays if are identical as at OpenPNP case or not.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/9870530b-da70-46dd-aba0-8b443f5cda22%40googlegroups.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 post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/acb8c3b3-211d-491c-829e-d430dc512da0%40googlegroups.com.