• Download
  • Documentation
  • Forum
  • Learning
  • Store
  • Sponsor
Menu
  • Download
  • Documentation
  • Forum
  • Learning
  • Store
  • Sponsor

1. Get Started

  • 1.1 OpenPLC Overview
  • 1.2 Installing OpenPLC Editor
  • 1.3 Installing OpenPLC Runtime on Windows
  • 1.4 Installing OpenPLC Runtime on Linux
  • 1.5 Installing OpenPLC Runtime on Microcontrollers

2. OpenPLC Runtime

  • 2.1 OpenPLC Runtime Overview
  • 2.2 Uploading Programs to OpenPLC Runtime
  • 2.3 Input, Output and Memory Addressing
  • 2.4 Physical Addressing
  • 2.5 Modbus Addressing
  • 2.6 Slave Devices

3. OpenPLC Editor

  • 3.1 OpenPLC Editor Overview
  • 3.2 Creating Your First Project on OpenPLC Editor
  • 3.3 Adding new blocks to OpenPLC Editor’s library
  • Página inicial
  • 2. OpenPLC Runtime
  • 2.2 Uploading Programs to OpenPLC Runtime

2.2 Uploading Programs to OpenPLC Runtime

The OpenPLC runtime has a built-in webserver that allows you to configure OpenPLC and also to upload new programs for it to run. Micro implementations of the OpenPLC Runtime (i.e. versions of the runtime that go on microcontrollers and Arduino boards) do not have the built-in webserver. Instead, all runtime configurations for the micro runtime are done straight from the OpenPLC Editor upload dialog (see 1.5 Installing OpenPLC Runtime on Microcontroller Boards).

The OpenPLC webserver can be accessed by opening a web browser on your computer and typing the IP address of your OpenPLC device at port 8080. For more information about OpenPLC Runtime Webserver, check 2.1 OpenPLC Runtime Overview

After logging in on the webserver, you will see OpenPLC dashboard with some information about the current running program and the runtime logs.

To upload your new program, go to the Programs section on the left menu. In there you should see a list of all your programs uploaded recently. You can revert back to a previously uploaded program by just clicking on it in the list and then confirming on the next page. To upload a new program, click on “Choose File”, select your .st file and then click on “Upload Program”.

On the window that appears, just fill out some information about your program so that you know what it is about next time you try to load it again. Once you’re done, click on “Upload program” to finally load your new .st file into OpenPLC.

Once the file is uploaded, you will be directed back to the dashboard screen and the OpenPLC status will change to “compiling”. The logs about the compilation process are displayed on the runtime logs box. Once the compilation process is finished, the status will change to “running” and your new program will be run. If there was an error on your program, the status will change to “stopped” and the errors will be displayed on the runtime logs box.

What are your Feelings
Updated on 2022-07-06

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *