Commit Graph

963 Commits

Author SHA1 Message Date
Mikayla Fischler
6184078c3f #52 work in progress on reactor units 2022-05-18 13:28:43 -04:00
Mikayla Fischler
9c034c366b #8 base class for RTU unit sessions, handle MODBUS error responses 2022-05-17 17:16:04 -04:00
Mikayla Fischler
31ede51c42 still queue packets if RTU is busy, determine busy state by queue length rather than flag 2022-05-17 10:35:55 -04:00
Mikayla Fischler
0eff8a3e6a #8 cleaned up closing logic, added connected flags to RTU unit sessions 2022-05-16 17:13:54 -04:00
Mikayla Fischler
136b09d7f2 util filter table 2022-05-16 17:11:46 -04:00
Mikayla Fischler
bdd8af1873 dmesg logging 2022-05-16 12:50:51 -04:00
Mikayla Fischler
11b89b679d #8 redstone RTU output commands 2022-05-16 11:54:34 -04:00
Mikayla Fischler
530a40b0aa changed DISCONNECT constant value to -1 to not conflict with redstone values 2022-05-16 11:52:03 -04:00
Mikayla Fischler
4834dbf781 changed redstone I/O capabilities, added analog read/write scaling functions 2022-05-16 10:38:47 -04:00
Mikayla Fischler
374bfb7a19 #8 handle redstone RTU MODBUS replies, bugfixes 2022-05-14 20:42:28 -04:00
Mikayla Fischler
94931ef5a2 #8 bugfixes, redstone RTU session 2022-05-14 20:27:06 -04:00
Mikayla Fischler
bc6453de2b RTU bugfixes, adjusted comms sleep timer 2022-05-14 20:07:26 -04:00
Mikayla Fischler
533d398f9d comment change 2022-05-14 13:34:51 -04:00
Mikayla Fischler
d3a926b25a fixed require issues caused by using bootloader 2022-05-14 13:32:42 -04:00
Mikayla Fischler
6b74db70bd #8 fixed RTU unit type check 2022-05-13 12:23:30 -04:00
Mikayla Fischler
282d3fcd99 added queue_data class 2022-05-13 12:23:01 -04:00
Mikayla Fischler
72da718015 optimized session lookup 2022-05-13 11:38:56 -04:00
Mikayla Fischler
bf0e92d6e4 refactoring 2022-05-13 11:08:22 -04:00
Mikayla Fischler
c53ddf1638 renamed RTU_ADVERT_TYPES to RTU_UNIT_TYPES 2022-05-13 10:27:57 -04:00
Mikayla Fischler
45f5843598 #8 renamed rtu_session_unit type to unit_session 2022-05-13 09:49:24 -04:00
Mikayla Fischler
fc39588b2e #8 RTU session for emachine and turbine, RTU session creation, adjusted sequence number logic in svsessions 2022-05-13 09:45:11 -04:00
Mikayla Fischler
635e7b7f59 RTU advertisement sends as basic array, re-ordered input registers on turbine RTU 2022-05-13 09:39:28 -04:00
Mikayla Fischler
13fcf265b7 updated types, added dumping mode and rtu_advertisement 2022-05-13 09:38:32 -04:00
Mikayla Fischler
8b43c81fc0 class definition in only comments 2022-05-13 09:38:10 -04:00
Mikayla Fischler
e624dd431b tank_fluid and coordinate table types 2022-05-12 15:37:42 -04:00
Mikayla Fischler
969abca95d RTU device changes, bugfixes, docs 2022-05-12 15:36:27 -04:00
Mikayla Fischler
9695e94608 plc session terminology change, changed number/integer types 2022-05-11 13:05:20 -04:00
Mikayla Fischler
b985362757 #8 RTU session for boiler, added transaction controller 2022-05-11 13:02:21 -04:00
Mikayla Fischler
0d090fe9e2 #47 supervisor luadoc, bugfixes 2022-05-11 12:31:19 -04:00
Mikayla Fischler
95c4d51e67 #47 RTU send should be table not any 2022-05-11 12:09:04 -04:00
Mikayla Fischler
c6987f6f67 #47 RTU luadoc, bugfixes 2022-05-11 12:03:15 -04:00
Mikayla Fischler
5ad14205f3 #47 not going to do file level diagnostic disables 2022-05-11 12:01:18 -04:00
Mikayla Fischler
02541184bd bootloader 2022-05-11 11:31:02 -04:00
Mikayla Fischler
bced8bf566 #47 packet frames 2022-05-10 21:51:04 -04:00
Mikayla Fischler
faac421b63 #47 reactor plc docs and bugfixes 2022-05-10 21:49:40 -04:00
Mikayla Fischler
22a6159520 updated globals list, fixed packet references that were linking to old controller mistakenly 2022-05-10 17:17:55 -04:00
Mikayla Fischler
f4e397ebb1 removed old controller code to not pollute workspace with globals 2022-05-10 17:16:34 -04:00
Mikayla Fischler
87de804a9e proper module format 2022-05-10 17:09:02 -04:00
Mikayla Fischler
e3a4ed5363 catch nil cases, supervisor use loop clock 2022-05-10 17:08:38 -04:00
Mikayla Fischler
3c688bfafa #47 scada-common doc comments 2022-05-10 17:06:27 -04:00
Mikayla Fischler
6e1ece8183 watchdog cleanup and loop clock object 2022-05-10 13:06:13 -04:00
Mikayla Fischler
168341db39 code cleanup and bugfixes 2022-05-10 12:01:56 -04:00
Mikayla Fischler
d7e38d6393 supression of warnings, added lua diagnostics global list 2022-05-10 11:41:49 -04:00
Mikayla Fischler
cd0d7aa5a3 cleanup/fixes of scada common code 2022-05-10 11:35:52 -04:00
Mikayla Fischler
25558df22d RTU/PLC code cleanup, #46 changed KEEP_ALIVE to scada message type and use it for the RTU too 2022-05-09 15:00:16 -04:00
Mikayla Fischler
679d98c8bf #8 work in progress on RTU sessions and added unit object 2022-05-09 09:35:39 -04:00
Mikayla Fischler
469ee29b5a cleanup of rtu comms 2022-05-09 09:34:26 -04:00
Mikayla Fischler
96e535fdc4 global scope optimizations 2022-05-07 13:39:12 -04:00
Mikayla Fischler
4aab75b842 rsio optimizations 2022-05-06 11:11:53 -04:00
Mikayla Fischler
17a46ae642 mqueue optimizations 2022-05-06 10:53:12 -04:00