Commit Graph
404 Commits
Author SHA1 Message Date
Thiago Alves b7b3e0161b Revert alpine linux PR as that broke the installation on other Linuxes
When installing on Ubuntu (and possibly others) sudo support was broken after Alpine changes:
$ sudo ./start_openplc.sh 
Traceback (most recent call last):
  File "/home/factslinux/OpenPLC_v3/webserver/webserver.py", line 6, in <module>
    import serial.tools.list_ports
ModuleNotFoundError: No module named 'serial'
2025-01-18 10:58:31 -05:00
Thiago Alves c19b19930e Merge pull request #260 from MatejSpindler/Docker_fix
Docker fix
2025-01-10 10:40:40 -05:00
Matej Špindler 82693661af "active_program" is missing in persistent folder
Fixes:
Traceback (most recent call last):
  File "/workdir/webserver/webserver.py", line 2423, in <module>
    file = open("active_program", "r")
FileNotFoundError: [Errno 2] No such file or directory: 'active_program'
2025-01-09 21:12:23 +01:00
Matej Špindler f023f65d14 Correct persistent folder name in Dockerfile
Persistent folder in start_openplc.sh was changed in commit https://github.com/thiagoralves/OpenPLC_v3/commit/a8928f802fe8b39c280ba82ca8805c3adcae2095, but was not changed in Dockerfile.

When docker is running with empty folder for a volume, required files are not created in the volume location.
This commit fixes that.
2025-01-09 21:12:18 +01:00
Thiago Alves c490ebf82c Update release 2024-12-31 09:28:22 -05:00
Thiago Alves 4e1f262b26 Merge pull request #254 from Abestanis/feature/multi_adu_modbus
Use libmodbus to decode incoming Modbus TCP messages
2024-12-31 09:27:06 -05:00
Autonomy Server 091524e1d8 Update win32 MatIEC binary 2024-12-11 15:01:50 -05:00
Autonomy Server 138b62bdb3 Update MatIEC version 2024-12-11 15:00:37 -05:00
Thiago Alves 5807cb3285 Update release 2024-12-03 09:17:34 -05:00
Thiago Alves 48ebcaefc3 Fix extra include that broke support on many platforms 2024-12-03 09:16:53 -05:00
Thiago Alves fd3abd550e Merge pull request #258 from joluxer/alpine-install
Alpine install
2024-11-25 14:30:22 -05:00
joluxer 5ef38332bb Merge branch 'thiagoralves:master' into alpine-install 2024-11-25 14:42:58 +01:00
Autonomy Server 085636aea7 Refactor Persistent Storage - Fixed issues with Persistent Storage on some platforms 2024-11-04 15:54:27 -05:00
Thiago Alves 1a869f7a54 Update release 2024-10-30 16:57:52 -04:00
Thiago Alves 962d4dcb45 Allow programs to be compiled without debug info 2024-10-30 16:56:42 -04:00
Thiago Alves 1fc8e19934 Create debug.blank 2024-10-30 16:50:03 -04:00
Thiago Alves b2ef6d15d0 Update release string 2024-10-17 17:36:17 -04:00
Autonomy Server 2ddbf52612 Added ability to write to coils on monitoring 2024-10-17 17:27:21 -04:00
Autonomy Server 28965734fb Fix compilation error on missing custom_layer.h file 2024-10-15 18:18:09 -04:00
Autonomy Server ea789c51db Code cleanup; Added release version to login screen 2024-10-15 17:44:51 -04:00
Thiago Alves a523b4928e Fix compilation error on Sequent and SL-RP4 2024-10-11 15:10:48 -04:00
Autonomy Server 9696ba8363 Fix indentation - convert tabs to spaces 2024-10-08 17:06:04 -04:00
Thiago Alves 8fc7292f30 Merge pull request #256 from kostadinnp/orange-pi-support
Orange pi support
2024-09-25 12:30:27 -04:00
Thiago Alves d5d475c6bd Fix for CVE-2024-34026 2024-09-25 10:21:00 -04:00
Thiago Alves 0a3ba526d7 Add LICENSE file 2024-09-23 12:02:33 -04:00
Autonomy Server df16a98db2 Applied security fixes by Cisco Talos 2024-09-17 12:09:29 -04:00
Kostadin Popov e0ed93dfd8 Temporary disable analog outputs (not tested) 2024-09-13 10:42:01 +03:00
Kostadin Popov 1c0c187a68 Add Orange Pi Zero2/Zero2 LTS/Zero2 B to hardware layers 2024-09-11 05:15:45 +03:00
Kostadin Popov a73f780e99 Adding Orange Pi as a platform in the hardware layer changing script 2024-09-11 05:12:43 +03:00
Kostadin Popov cfaf50861b Adding Orange Pi as a platform in the compiling script 2024-09-10 18:12:00 +03:00
Kostadin Popov be0f9041b9 Adding Orange Pi as a platform in the installation script 2024-09-10 15:46:15 +03:00
Sebastian Scholz 5bf7feaddc Use libmodbus to decode incoming Modbus TCP messages
This allows us to better handle
multiple Modbus ADUs in a single TCP frame.
2024-09-02 20:21:17 +02:00
Thiago Alves 3c08a69a65 Added --noconfirm to pacman 2024-08-26 15:41:26 -04:00
Thiago Alves 8604093bf6 Start with DNP3 disabled by default 2024-08-26 15:16:47 -04:00
Thiago Alves ff53169754 Include option to install on MSYS2 2024-08-26 15:15:14 -04:00
Thiago Alves df34c73ad1 Merge pull request #252 from Abestanis/fix/write_multiple_registers_error_handling
Fix error handling in WriteMultipleRegisters
2024-08-08 13:55:52 -04:00
Sebastian Scholz e3306a2963 Fix error handling in WriteMultipleRegisters 2024-08-08 19:26:57 +02:00
Thiago Alves 0fc844986a Merge pull request #251 from Abestanis/feature/modbus_cleanup
Extract common code between `WriteRegister` and `WriteMultipleRegisters`
2024-08-08 10:41:49 -04:00
Sebastian Scholz 71c7965329 Extract common code between WriteRegister and WriteMultipleRegisters 2024-08-08 16:20:42 +02:00
Thiago Alves fe6ff50379 Merge pull request #250 from Abestanis/fix/modbus_write_multiple_registers_64
Fix handling write requests of 64 bit values from modbus
2024-08-07 07:19:41 -04:00
Sebastian Scholz eab7154662 Fix handling write requests of 64 bit values from modbus 2024-08-06 18:02:51 +02:00
joluxer 5957c2e6ee Update README.md 2024-08-01 18:28:55 +02:00
joluxer ea146d28d5 Make the webserver core build with GCC-13 with clean includes. 2024-08-01 16:25:19 +02:00
joluxer 4e4db60390 Make installation work on Alpine Linux.
Adds detection for the APK package installer and
detects the OpenRC startup system.
2024-08-01 16:20:15 +02:00
joluxer 46c0079f21 Merge remote-tracking branch 'refs/remotes/origin/alpine-install' into alpine-install 2024-08-01 15:08:04 +02:00
joluxer f9c14364c9 Create OpenRC startup script during installation. 2024-08-01 15:07:52 +02:00
joluxer e68616b368 Add install commands for Alpine Linux. 2024-08-01 14:54:30 +02:00
Thiago Alves 599596cad4 Merge pull request #247 from jmhbnz/master
Fix issues with Dockerfile
2024-07-23 19:34:12 -04:00
James Blair 906984fe7f Refactor Dockerfile to reduce layers. 2024-07-24 10:59:15 +12:00
James Blair 5e393c3bc5 Update debian base image to resolve vulnerabilities. 2024-07-24 10:49:23 +12:00