Commit Graph
364 Commits
Author SHA1 Message Date
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 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
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
James Blair 52f7f2a7ee Fix incorrect Dockerfile RUN cp. 2024-07-24 10:31:07 +12:00
Thiago Alves 93cd00a838 Use .venv python instead of system python on PSM 2024-07-16 14:20:35 -04:00
Thiago Alves 020a276f48 Fixes many debugger errors 2024-07-12 09:08:42 -04:00
Thiago Alves 49d62341df Fix error about missing debug info on recompilation 2024-07-12 09:07:22 -04:00
Thiago Alves 992b287e9b Added debugger header file 2024-07-12 09:04:09 -04:00
Thiago Alves 59e404fc72 Fix dummy debug file errors 2024-07-12 09:03:08 -04:00
Thiago Alves bcb47eb8ee Add dummy program debug info 2024-07-12 09:02:23 -04:00
Thiago Alves 22f4bc233c Fix IEC_TIMESPEC declaration 2024-07-12 08:51:35 -04:00
Thiago Alves 1132d47c37 Fix compiler script 2024-07-12 08:49:32 -04:00
Thiago Alves 4d571f62cf Debugger template 2024-07-11 14:52:25 -04:00
Thiago Alves 37c066d298 Compile debugger 2024-07-11 14:48:40 -04:00
Thiago Alves b7244fdae2 Preliminary debug support 2024-07-11 14:45:06 -04:00
Thiago Alves 9cd8f1b53a Fix F_TRIG behavior 2024-06-28 07:02:02 -04:00
Thiago Alves 16bf8bac1a Merge pull request #241 from PaoloElMarinelo/patch-1
Add inputs I13 and I14
2024-05-28 19:45:15 -03:00
PaoloElMarinelo 0e9b501852 Add inputs I13 and I14
redefine MAX_INPUT and add GPIO.21 and GPIO.22 to enable inputs I13 and I14
2024-05-28 20:58:12 +02:00
Thiago Alves e421d830dc Merge pull request #238 from PaoloElMarinelo/PaoloElMarinelo-patch-3
Update background_installer.sh
2024-05-28 07:08:55 -03:00
Thiago Alves 0ce3812783 Merge pull request #240 from ggiraudon/master
active_program should be part of persistent storage in dockers
2024-05-28 07:03:51 -03:00
Guillaume Giraudon 821bd0c497 Move active_program file instead of creating it 2024-05-27 21:17:37 +00:00
Guillaume Giraudon 3394044658 active_program should be part of persistent storage in dockers 2024-05-27 20:58:20 +00:00
PaoloElMarinelo 9a1125b09f Update background_installer.sh
adding unipi argument on platform name to easily install wiringpi on Raspberry Pi OS 64-bit working with Unipi v1.1 or Unipi Lite PLCs.
adding instruction to disable the Neuron Modbus service.
2024-05-27 21:14:32 +02:00
Thiago Alves abe106b41f Fix compilation issue after changing persistent storage 2024-05-26 11:41:32 -03:00
Thiago Alves 4e8e0d3503 Added modifications from gexod to include %MD and %ML into the persistent file
See https://openplc.discussion.community/post/variable-retain-function-9914880?highlight=retain&trail=30
2024-05-25 07:51:43 -03:00
Thiago Alves b4702061dc Fix issue with BOOL_BOOL comparisons
More details: https://openplc.discussion.community/post/tuple-object-has-no-attribute-startswith-13184735?highlight=array&trail=15
2024-04-09 22:24:33 -04:00
Thiago Alves 0ae689b470 Merge pull request #229 from r2k-in-the-vortex/master
some more cast warnings reduced
2024-04-01 16:18:48 -04:00
Thiago Alves a44fea84b8 Merge pull request #233 from PaoloElMarinelo/patch-1
Update neuron.cpp
2024-04-01 16:17:30 -04:00
Thiago Alves 80a3d85a18 Merge pull request #234 from PaoloElMarinelo/PaoloElMarinelo-patch-1
Update background_installer.sh
2024-04-01 16:17:21 -04:00
PaoloElMarinelo b32565ab82 Update background_installer.sh 2024-04-01 21:55:29 +02:00
PaoloElMarinelo 568c8c34bf Update neuron.cpp
Extended I/Os search range. Addition of a search range for user LEDs.
2024-03-29 09:55:19 +01:00
Thiago Alves 7a36c38e88 Merge pull request #230 from Chrismettal/master
Add PiPLC Hardware layer + Modbus RTS/CTS GPIO capability
2024-03-20 16:48:00 -04:00
Chrismettal 2a4812aefd Fix build error 2024-03-19 22:00:54 +01:00
Chrismettal 63bf1483f0 Pass Modbus RTS settings as global var through ladder.h 2024-03-19 21:57:01 +01:00
Chrismettal 4221665a59 Revert "Pass Modbus RTS settings through new hardware layer settings struct"
This reverts commit d38100eb94.
2024-03-19 21:52:03 +01:00
Chrismettal 8a937dc17d Revert "Remove double definitions of custom layer settings"
This reverts commit 5221feec39.
2024-03-19 21:51:27 +01:00
Chrismettal 0fa411b493 Revert "Clarify fork reason in Readme"
This reverts commit 7296681f75.
2024-03-17 21:09:29 +01:00
Chrismettal 9a11505a50 Revert "Change clone link to fork"
This reverts commit efad7bab55.
2024-03-17 21:09:14 +01:00
Chrismettal c462f3d7d8 Update PiPLC hardware layer for pigpio 2024-03-17 12:11:25 +01:00
Chrismettal 72181e62e8 Fix build error 2024-03-17 10:57:34 +01:00
Chrismettal 5221feec39 Remove double definitions of custom layer settings 2024-03-17 10:57:34 +01:00
Chrismettal d38100eb94 Pass Modbus RTS settings through new hardware layer settings struct 2024-03-17 10:57:34 +01:00
Chrismettal efad7bab55 Change clone link to fork 2024-03-17 10:57:34 +01:00