Grz
Hello,
Is it possible to communicate in ethernet or modbus, or wifi, with a mega 2560 card under Openplc in ladder?
I can't find any example on the forum... when information exists the links are broken.
In advance, thank you for your answer...
Best regard.
Pierre
Reply 0 0
Sangito
OPENPLC doesn't support adding of arduino librairy, so no option tu support sheild with communication.
You could program a modbus bridge ou a serial bridge to support network communication via the serial port of you mega 2560.
Reply 0 0
thiagoralves
That’s correct, except that the Ethernet shield is an Arduino standard, supported by the standard Ethernet library that is included in OpenPLC for Modbus TCP on many boards, so it could actually work
Reply 0 0
Grz
Hello Thiago,
I return to this old message to know if there are examples please?
if not what networks would be possible on mega 2560 with OpenPlc Please?
Thanking you in advance for your response,
best regard
Pierre 
Reply 0 0
thiagoralves
By default you can only use Modbus RTU through the built in USB port or through any of the serial pins. Just tick "enable modbus rtu" checkbox on the upload dialog. 
Reply 0 0
Grz
Hello everyone
 
Does anyone have please an example of a ladder program to use a serial port of the mega 2560 with OpenPLC or an example with another means of communication for an RS485 link.
 
Thanking you in advance for your response,
best regard
 
Pierre
Reply 0 0
Reply