Yongxing
[203128%2F8959755%2Fmceclip0]
 
I have multiple boards. How do I configure the project configuration? in runtime or in editor? Thanks
Reply 0 0
Yongxing
[203128%2F8959941%2Fmceclip0]
Reply 0 0
thiagoralves
What hardware are your trying to use OpenPLC with?
Reply 0 0
Yongxing
I will use RENESAS hardware or SIEMENS hardware to create an engineering configuration, whcih similar to codesys.
This is my idea:
a. I establish the master station and slave station through modbus communication in openplc runtime ? I hope I am right
b. I establish the master station and slave station through other communication in openplc runtime ? for example i2c , can ?
c. In openplc_editor, how to use the transfer program to plc function?
Thanks
Reply 0 0
thiagoralves
If you're using the Windows/Linux runtime, then yes, you setup the slaves through the webserver of the OpenPLC Runtime. The OpenPLC Runtime only supports Modbus TCP or Modbus RTU slaves. No I2C or CAN at the moment. To transfer the PLC program from the editor to the Windows/Linux Runtime you need to click on the orange down arrow at the top toolbar to export the project as an .st file. Then on the runtime you go to Programs and upload the .st file to the runtime and start running it.
Reply 0 0
Yongxing
Thanks for your reply.
a. [203128%2F8966985%2Fmceclip0], what does this button do? It downloads the logic diagram directly to the hardware?
 
 
 
b. [203128%2F8966988%2Fmceclip0]
which device is the communication with ? Can I use other hardware? for example, RENESAS hardware or SIEMENS hardware in linux.
Reply 0 0
Yongxing
In OpenPlc_editor,  I Cannot configure the engineering configuration? I have to configure the engineering configuration in the slave in runtime?
Thanks
Reply 0 0
thiagoralves
You can only use the hardware that is listed in there for direct upload. Renesas and Siemens are not officially supported. If you want to add them you would have to create board support files and drivers on OpenPLC for that.
 
The communication window configures the Modbus protocol and device connectivity (WiFi, Ethernet, etc).
 
For Linux devices running Debian-based distros you can just install the Linux runtime according to instructions here: https://autonomylogic.com/docs/installing-openplc-runtime-on-linux-systems/
 
Once the runtime is running you can just upload the program you exported from the editor clicking on the orange down arrow according to instructions here: https://autonomylogic.com/docs/2-2-uploading-programs-to-openplc-runtime/
Reply 0 0
Yongxing
Thanks for your reply.
a. [203128%2F8968075%2Fmceclip0] what does hardware do?
b. I need to create board support files and drives, in here? [203128%2F8968079%2Fmceclip0]
 
Thanks.
Reply 0 0
thiagoralves
You're looking at two different things. The board type on the first picture is for a microcontroller board. The source code for that is embedded into the editor at /editor/arduino/src. The source code you showed is for the Linux runtime, which is not the same as the microcontroller runtime. The Linux runtime will run only on Linux targets. A driver for the Linux runtime must be written inside the hardware_layers folder.
Reply 0 0
Yongxing
Thanks for your reply.
Reply 0 0
Reply