DelarnTheBard
I got a few old 3D printer board. I upgraded some of my old ones. So now I got those boards that are sleeping.

Would they be usefull as slaves ?
Reply 0 0
thiagoralves
If they can talk Modbus, yes
Reply 0 0
DelarnTheBard
Thanks Will check that
Reply 0 0
CloudHead84

If they are Arduino mega or Arduino nano based (so most grbl boards) you could flash them with the OpenPLC slave firmware.
Then OpenPLC can talk to them over usb/modbus.
Then you need to modify the pin IO configuration according to the hardware of the board.

you will need the Arduino IDE for both steps.

Reply 1 0
DelarnTheBard
the old melzi is an ATMEGA644
Reply 0 0
thiagoralves
You can use this MightyCore board list  https://github.com/MCUdude/MightyCore to add support for the ATmega 644 on the Arduino IDE. Then it should be very straightforward to port OpenPLC firmware to this board. Start with the Mega firmware, then all you will have to change will be the pinout.
Reply 1 0
Reply