Re: LPC port of RepRapFirmware January 05, 2019 04:02AM |
Registered: 11 years ago Posts: 341 |
Quote
dc42
In RRF 2.03 I'll be adding a new M-code to assign endstops. Endstop inputs are already numbered from 0 to some maximum in other commands such as M591. The mapping is currently fixed at X=0, Y=1 etc. and that will become the default mapping in firmware 2.03. The new M-code will also provide for using multiple endstops on a single axis, which will avoid the need to create additional temporary axes when homing with multiple endstops.
The M558 P4 option that used to select the E0 endstop input on Duets already (in firmware 2.02) accepts a C parameter to specify the endstop input number, default 3. So you can now connect the Z probe to any endstop input. The P5 and P6 options that refer to Z and E1 endstop inputs are deprecated in favour of P4 with C3 or C5.
Re: LPC port of RepRapFirmware January 06, 2019 03:15AM |
Registered: 11 years ago Posts: 341 |
Re: LPC port of RepRapFirmware January 06, 2019 03:52AM |
Registered: 8 years ago Posts: 19 |
Re: LPC port of RepRapFirmware January 06, 2019 04:01AM |
Registered: 11 years ago Posts: 341 |
Quote
JoVo
That sounds good. I will test today. You say up to 10 ajax retries. I'll try. Yesterday I provided the test printer with limit switch(s) and wanted to try to make it work.
The first print attempts I made were not great - layer shift - but that's probably my mistake.
Thx for your great work
Re: LPC port of RepRapFirmware January 06, 2019 04:10AM |
Registered: 8 years ago Posts: 19 |
Re: LPC port of RepRapFirmware January 06, 2019 12:32PM |
Registered: 8 years ago Posts: 19 |
Re: LPC port of RepRapFirmware January 07, 2019 10:30PM |
Registered: 11 years ago Posts: 341 |
Re: LPC port of RepRapFirmware January 08, 2019 02:09AM |
Registered: 7 years ago Posts: 1,007 |
Quote
sdavi
New binaries with experimental support for boards with Min/Max endstops.
**Upgrading to this version you need to check endstop configuration and connections**
This should now allow M574 to select the position of the endstop, and it now also updates the RRF endstops array to allow it to select the hardware pin corresponding to Min or Max. This also now requires the probe to be selected with P4 and the C param (new in 2.02) to select the endstop header the probe is connected to. When using P4 if you run M558 again it will report it as P5 mode as this workaround updates the RRF Probe pin definition and converts it to "P5" mode otherwise it would conflict with the Endstop workaround......Hopefully this will be easier to implement when the RRF has that new endstop M-code in the future.
Boards with only X,Y,Z and Probe headers there is no change.
I've put a readme in the edgerelease directory that explains the changes.
Re: LPC port of RepRapFirmware January 08, 2019 01:10PM |
Registered: 8 years ago Posts: 19 |
Re: LPC port of RepRapFirmware January 08, 2019 04:24PM |
Registered: 11 years ago Posts: 341 |
Quote
JoVo
For MKSSBASE-NETWORK it works also ...
two little issue: Webgui is not so stable as before - lost connecting twice and "LogicalPin" the number changed 62 to 60 so my fan would not work
Re: LPC port of RepRapFirmware January 08, 2019 07:39PM |
Registered: 8 years ago Posts: 19 |
Re: LPC port of RepRapFirmware January 08, 2019 10:01PM |
Registered: 11 years ago Posts: 341 |
Quote
JoVo
could it be that web control something cached? Now lot of hour later webgui is stable (I configured dual-z today - works also )
Last issue for me is Temperature (Chart) this is not a straight line - it has a lot of spikes up to 10 C ° most of them up to 5 °.
For some test prints, the system was stopped due to incorrect temperature. PID was done.
Re: LPC port of RepRapFirmware January 10, 2019 06:01AM |
Registered: 8 years ago Posts: 19 |
Quote
sdavi
Quote
JoVo
could it be that web control something cached? Now lot of hour later webgui is stable (I configured dual-z today - works also )
Last issue for me is Temperature (Chart) this is not a straight line - it has a lot of spikes up to 10 C ° most of them up to 5 °.
For some test prints, the system was stopped due to incorrect temperature. PID was done.
Check the values of M305 and make sure they are correct for your thermistors, check wiring etc etc. Are they stable when not printing etc ?
Re: LPC port of RepRapFirmware January 10, 2019 08:51AM |
Registered: 11 years ago Posts: 14,685 |
Quote
JoVo
after a "M84" they are stable!
Re: LPC port of RepRapFirmware January 10, 2019 11:42AM |
Registered: 8 years ago Posts: 19 |
Quote
dc42
Quote
JoVo
after a "M84" they are stable!
That sounds like motor current is affecting the thermistor reading. Possible causes include:
1. Both wires from the thermistor should go directly from the thermistor to the thermistor connector on the controller. The thermistor should not share a common ground wire with anything else.
2. If the controller PCB layout wasn't doesn properly with separate analog and digital grounds, then it could be a "feature" of whatever controller board you are using. The Smoothieware build for that board might have extra temperature smoothing in it to hide the issue.
Re: LPC port of RepRapFirmware January 10, 2019 02:17PM |
Registered: 7 years ago Posts: 1,007 |
Quote
dc42
Quote
JoVo
after a "M84" they are stable!
That sounds like motor current is affecting the thermistor reading. Possible causes include:
1. Both wires from the thermistor should go directly from the thermistor to the thermistor connector on the controller. The thermistor should not share a common ground wire with anything else.
2. If the controller PCB layout wasn't doesn properly with separate analog and digital grounds, then it could be a "feature" of whatever controller board you are using. The Smoothieware build for that board might have extra temperature smoothing in it to hide the issue.
Re: LPC port of RepRapFirmware January 10, 2019 04:56PM |
Registered: 11 years ago Posts: 14,685 |
Quote
MKSA
The schematic mentions Analog and Digital ground (the ground plane by looking at the board itself). The TH 0V are labelled DGND, the stepper drivers 0V are on the AGND, (analog ground). No Signal ground though
Therefore MKS knows about them. In addition the board looks well made. So one can safely assume it is OK.
Re: LPC port of RepRapFirmware January 10, 2019 05:06PM |
Registered: 8 years ago Posts: 19 |
Quote
MKSA
Quote
dc42
Quote
JoVo
after a "M84" they are stable!
That sounds like motor current is affecting the thermistor reading. Possible causes include:
1. Both wires from the thermistor should go directly from the thermistor to the thermistor connector on the controller. The thermistor should not share a common ground wire with anything else.
2. If the controller PCB layout wasn't doesn properly with separate analog and digital grounds, then it could be a "feature" of whatever controller board you are using. The Smoothieware build for that board might have extra temperature smoothing in it to hide the issue.
2) I don't have any temp variation issue, idling or while printing. Hot end is PID, bed ON OFF
The schematic mentions Analog and Digital ground (the ground plane by looking at the board itself). The TH 0V are labelled DGND, the stepper drivers 0V are on the AGND, (analog ground). No Signal ground though
Therefore MKS knows about them. In addition the board looks well made. So one can safely assume it is OK.
Fact is, considering its low cost, it is quite a neat board. Too bad they cut corners by not putting a LPC1769 processor and better stepper drivers than the 8825.
Re: LPC port of RepRapFirmware January 11, 2019 01:29AM |
Registered: 7 years ago Posts: 1,007 |
Quote
dc42
Quote
MKSA
The schematic mentions Analog and Digital ground (the ground plane by looking at the board itself). The TH 0V are labelled DGND, the stepper drivers 0V are on the AGND, (analog ground). No Signal ground though
Therefore MKS knows about them. In addition the board looks well made. So one can safely assume it is OK.
If they really are wired that way round, it's the wrong way round. Thermistors should be connected to analog ground, stepper motors to power ground, which may be a common ground plane with digital ground.
I wouldn't trust MKS to get it right. They didn't design the board, they copied the Smoothieboard design and made some changes that broke it, such as replacing a crystal by a ceramic resonator, which wasn't stable enough for the Ethernet interface. They corrected that error in a subsequent revision, but who knows what other bad decisions they made?
Re: LPC port of RepRapFirmware January 26, 2019 03:51PM |
Registered: 6 years ago Posts: 10 |
Re: LPC port of RepRapFirmware January 27, 2019 12:10AM |
Registered: 11 years ago Posts: 341 |
Quote
dot_bob
I just purchased a couple of Duet 2 WiFi's from Matter Hackers and while I was attempting at getting one running on a coreXY I stumbled upon this port. I have a couple of machines that run on Marlin 2.0 with a MKS sbase, RE-ARM, and AZSM mini. I plan to try this port on most of them.
I am starting on a Tevo Little Monster delta which is mostly stock but comes with a MKS sbase standard. Playing with it last night I have the web interface up and running and the steppers moving. I am fairly new to ReprapFirmware so I am learning as I go but everything so far seems pretty straight forward. I also have the code building with visual studio code using the windows-arm-none-eabi extension.
The plan right now is seeing if I can get the reprap discount full graphics display and a BLTouch working. Has anyone tried getting a BLTouch working with this firmware yet?
Re: LPC port of RepRapFirmware January 28, 2019 11:16AM |
Registered: 10 years ago Posts: 76 |
Re: LPC port of RepRapFirmware January 28, 2019 12:46PM |
Registered: 7 years ago Posts: 1,007 |
Quote
StlLooking
A bit of a long preamble, but I get to the question near the end.
I am keen to give this a try having just ripped the MKS-SBASE (v1.3) and the useless smoothiware out of my Anycubic Delta Plus. I have put the Trigorilla Board (TB ) back in with Marlin 1.1.9 but am missing the touch TFT-LCD. I would like to go back to the MKS-SBASE board for the touch LCD, so this sounds promising.
But, I cannot tear out the TB and put the MKS back in to play with stuff as I need the printer working. Is it possible to set this up on the bench, as in, plug the bare MKS into the PC and do some testing? I can plug in a thermistor and switch-probe etc.
Is there any instructions for installing this on a delta? I noticed a mention of using the MKS-base config above and that appears very similar to the smoothiware config, so I am a little confused as to what I need and how to do it. I found some stuff on YT, but it seems to be all for the wifi board connections.
Thanks
Re: LPC port of RepRapFirmware January 28, 2019 02:48PM |
Registered: 10 years ago Posts: 76 |
Quote
MKSA
There are links in this thread about how to install RRF. Similar to Smoothie, no compile/upload just copy.
Configuration is all done via Gcode mainly in config.sys. Gcode are well documented but one has to pay attention to the differences with the Marlin Gcodes. Got to "translate" you Smoothie, Marlin config.
Plenty of reading/learning though.
Re: LPC port of RepRapFirmware January 28, 2019 03:17PM |
Registered: 6 years ago Posts: 10 |
Re: LPC port of RepRapFirmware January 28, 2019 03:46PM |
Registered: 7 years ago Posts: 1,007 |
Re: LPC port of RepRapFirmware January 28, 2019 05:38PM |
Registered: 11 years ago Posts: 14,685 |
Re: LPC port of RepRapFirmware January 29, 2019 01:38AM |
Registered: 6 years ago Posts: 10 |
Quote
StlLooking
Quote
MKSA
I then plugged the TFT32 in (same setup from smoothie installation) and it is not seeing the thermostor plugged into any of the 3-thermistor sockets.
Could you or someone else, please point me at (or attach here) all the files I need on the SD to at least see something on the LCD and /or the TFT. They do not need to be setup for a delta as I just have the board on the desk and I would like to get it working before worrying about the actual setup.
Thanks
Connect the TFT32 and run the command "M575 P1 B115200 S0" This will put the aux port to 115200 baud and turn off checksum. With this command my TFT2.8 is working.
Re: LPC port of RepRapFirmware January 29, 2019 01:56AM |
Registered: 7 years ago Posts: 1,007 |
Re: LPC port of RepRapFirmware February 04, 2019 01:32AM |
Registered: 6 years ago Posts: 10 |