Running Soft PLC and Keeping It Always On

Running Soft PLC and Keeping It Always On

Running Soft PLC

When you run Soft PLC through the terminal, it stays open as long as your terminal is open. During this time, you can stay online with the Focus HMI program. However, when you close your terminal, Soft PLC also shuts down and does not save your files. To solve this issue, there is a method to keep Soft PLC running continuously.

  • Visit here to get information about installing Soft PLC on Raspberry Pi.
  • Visit here to get information about installing Soft PLC on Orange Pi.

Keeping Soft PLC Always On

To keep Soft PLC running continuously, follow these steps:

  1. Run the SoftPLC.dll File with Screen Command:
Bash
sudo screen dotnet SoftPLC.dll

When you run this command in the terminal, Soft PLC will continue to run in the background even if you close the terminal.

Not:

If the “screen” command does not work, it means it is not installed on your device, and you need to install it. You can install it by running the following command:

Bash
sudo apt-get install screen
  1. Returning to the Terminal Interface:

If you want to return to the terminal interface and see the messages from Soft PLC, use the following command:

Bash
sudo screen -r

By following these steps, you can ensure that your Soft PLC runs uninterrupted, even when you close your terminal.

 

Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments