Hi vespaman
I'm not sure but doesn't the 48VB have two sides with feeders? If
so, it needs 7 axes (two peelers), and as Jan has already pointed
out, a Smoothieboard can only control 6 axes.
Jan/vespaman can you please explain what the options are with the mentioned USB-422 vs RS232? Is that a difference between models 48 and 36? Do any of them support proper serial flow control? Because AFAIK that's the only real sore point with using the built-in board.
_Mark
vespaman, seems your post was delayed for a day!
> if I understand correctly, the "Confirmation Flow Control" is hindering performance, right?
Yes. Is must be enabled if the serial connection does not have
flow control itself. Enabling it prevents some valuable
optimizations.
I don't know if XON/XOFF would be an option for serial flow
control (in the absence of true hardware flow control). According
to some discussions I read, it depends on the implementation of
the USB bridge, and the of the MCU side. Given the STM32 has ample
RAM, maybe the buffer sizes could be increased and XON/XOFF
watermarks set generously to
cover the inherently delayed reaction of software flow control.
We've had multiple examples where it did not work
reliably, so I'm currently not very hopeful.
_Mark
Am 10.02.2022 um 18:01 schrieb vespaman:
Hi Jan,thanks for summing up good & (mostly) bad regarding using original board vs smoothie. I'd say the most troublesome with that, is the memory issue, and if PAXIS=7 is not supported, I suppose it is not really an option, if I want it to work properly. (But why 7 axis (X,Y,Z and then two for peelers)?). Are the pumps also 'axis'?
Also I suppose smoothie-ware, at least currently are running open loop? I guess with the original board, there's at least the chance that someone will try to implement closed loop at some time.
Is there a way to properly test the serial communication of the original board ideally before erasing it, and if not, after? I think that a proper communication is really important, otherwise trouble will follow somehow. And if I understand correctly, the "Confirmation Flow Control" is hindering performance, right?The 422 can only really go up to 480kbps, since the isolation 422 driver IC on the 48VB does not do faster.
I think yes :-) i would like to test your firmware - trying to avoid broken drag pins and pump failures sounds like a good thing.
The whole config thing, with 36 vs 48 vs openpnp2 vs openpnp1(?) vs firmware this and firmware that is really something that should be summarized somewhere, it is really very confusing to understand which versions of everything to use, since it is not (afaict) a linear versioning of e.g. firmware?
Since I don't have a deadline for when I need the machine, I don't mind testing. I anyway have to learn openpnp, so this is a good opportunity.
I need to start to collect things that are compatible. So I suppose the first question is if anyone are using Jan's firmware with a 48VB, and openpnp 2.x? Would you mind sharing?
Thanks,Micael
To unsubscribe from this group and stop receiving emails from it, send an email to desktop-pick-and-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/fa10edac-3266-4c1d-9400-4bb55730baddn%40googlegroups.com.
Wouldn't it be better to go down the road of implementing USB
serial, instead of bothering with past-century serial tech?
Somehow I remember someone said there is a (unpopulated?) CAN
connector that could be reused to get the USB signals?
_Mark
Hi Jan,
Good to hear about you also thinking about the encoder, and closed loop! I will spend some time to familiarize myself with the smoothie code base, although I am a C programmer, and it was many years since I did any ++ work. I did briefly look at the serial code, to try to understand why there are issues though, and it looks to me like it is interrupt driven without any sort of buffering. So maybe part of the serial issues some are due to occasional overruns? AFAICT this MPU does not have any hardware buffering in the UART block, but are instead relying on DMA if buffering is needed. I think that, while 115kbs ought to be good, if higher speeds are wanted, most certainly a unbuffered interrupt solution might not be the way. I also don't know how much pressure there is on interrupts in smoothie, but maybe it is substantial(?) given the nature of the IO's. If we can get DMA to work, the need for flow control should really go away.
I was surprised to see that the serial level translator maxed out at 115kbps, but that could be fixed in different ways, like you say, should there be a need.
I hope this message makes it to the list without being deleted. It was rather frustrating yesterday, wanting to answer you guys, but not one message going through.
Will try to flash the board during this weekend.
Cheers,
Micael
To unsubscribe from this group and stop receiving emails from it, send an email to desktop-pick-and-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/59dd8552-debd-4247-a18f-520985509f81n%40googlegroups.com.
Sounds like good progress!
> Doing so, I suspect that we will not really need the HW handshaking, at least not at 115200. But @921k we probably will.
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/6d334053-585f-40dc-9c22-9ab9134da7d5n%40googlegroups.com.
> Do you have any thoughts/suggestion for how big serial buffer we should aim at?
Not sure.
As I understand it, RTS/CTS are truly bit-synchronous (unlike
XON/XOFF), so there is no need for extensive buffering to cover
any delays. As long as you can store the longest G-code commands,
I guess you're OK. Maybe not even that is needed, because the
G-code parser provides a large enough string buffer.
I also guess that one or more packet(s) will be buffered in the
USB stack.
And more buffering could happen on the device driver level, on
the PC side.
I don't know how these levels work together. I guess it would be
good to cover the delay until a backed up sender process (like
OpenPnP) can be woken up again. But where, I have no clue.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/d5468efa-f136-4cd4-b9dc-033239f4d9fbn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/40f85bb1-ea8f-2629-ad88-5874c61dc7d2%40googlemail.com.
--
You received this message because you are subscribed to the Google Groups "Desktop Pick and Place" group.
To unsubscribe from this group and stop receiving emails from it, send an email to desktop-pick-and-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/39634b31-3fc1-4b5d-bf73-5b1ed936a5c4n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/5cb54ee7-0430-4fd8-9966-2001ca52dda0n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/46a0f9e9-5750-4039-8967-b7847f958675n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Desktop Pick and Place" group.
To unsubscribe from this group and stop receiving emails from it, send an email to desktop-pick-and-...@googlegroups.com <mailto:desktop-pick-and-...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/desktop-pick-and-place/058185ae-a8b0-4f15-b3ad-cbd8640f18ecn%40googlegroups.com <https://groups.google.com/d/msgid/desktop-pick-and-place/058185ae-a8b0-4f15-b3ad-cbd8640f18ecn%40googlegroups.com?utm_medium=email&utm_source=footer>.