Commit Graph

317 Commits

Author SHA1 Message Date
Mikayla Fischler
d0b2820160 logging optimizations 2022-05-06 10:48:46 -04:00
Mikayla Fischler
89be79192f #44 RPS optimizations, manual trip, RPS handles all reactor state control 2022-05-05 13:14:14 -04:00
Mikayla Fischler
c4df8eabf9 #43 rename ISS to RPS 2022-05-05 11:55:04 -04:00
Mikayla Fischler
b575899d46 #33 lua module/require architecture changeover 2022-05-04 13:37:01 -04:00
Mikayla Fischler
1cb5a0789e #27 mekanism 10.1+ RTU support 2022-05-04 11:23:45 -04:00
Mikayla Fischler
635c70cffd moved MODBUS file thanks to utilizing types file 2022-05-03 11:28:29 -04:00
Mikayla Fischler
dc1c1db5e6 MODBUS bugfixes, utilize new types file 2022-05-03 11:27:40 -04:00
Mikayla Fischler
c76200b0e3 shared global types 2022-05-03 10:44:18 -04:00
Mikayla Fischler
1ac4de65a9 added close to valid scada types and fixed length checks for packet decoders 2022-05-02 17:34:24 -04:00
Mikayla Fischler
c19a58380c fixed cancel not being exposed for watchdog functions 2022-05-02 17:33:54 -04:00
Mikayla Fischler
b280201446 #41 cancel session watchdog timer 2022-05-02 11:44:10 -04:00
Mikayla Fischler
76c81395b7 #41 close session connections 2022-05-02 11:42:24 -04:00
Mikayla Fischler
cd46c69a66 defined push_data to be implemented 2022-05-01 15:35:07 -04:00
Mikayla Fischler
c805b6e0c5 log init function to set path and write mode 2022-04-29 13:32:37 -04:00
Mikayla Fischler
84e7ad43bc #39 RTU unit threads 2022-04-29 13:19:01 -04:00
Mikayla Fischler
aff166e27d added util adaptive_delay to replace repeated code 2022-04-27 19:06:01 -04:00
Mikayla Fischler
f067da31b4 #38 handle out of space when logging 2022-04-27 18:43:07 -04:00
Mikayla Fischler
82726520b8 that was a stack not a queue, nice 2022-04-27 16:24:28 -04:00
Mikayla Fischler
d40937b467 this was supposed to be in that pr merge oops 2022-04-27 16:06:30 -04:00
Mikayla Fischler
68011d6734 #32 new threaded PLC code 2022-04-27 12:21:10 -04:00
Mikayla Fischler
f7f723829c #7 work on PLC session comms, bugfixes with comms, general supervisor bugfixes 2022-04-25 21:00:50 -04:00
Mikayla Fischler
0fc49d312d #32 parallel reactor PLC code 2022-04-25 11:40:53 -04:00
Mikayla Fischler
c46a7b2486 added time functions to util, also task_wait 2022-04-25 10:36:47 -04:00
Mikayla Fischler
86b0d155fa #31 PPM cannot assume that we will get a fault on failure, apparently sometimes we will only get a nil return so the system can no longer check ACCESS_OK, now each device has its own fault tracking 2022-04-24 12:04:31 -04:00
Mikayla Fischler
812d10f374 use epoch() instead of time() 2022-04-23 11:54:09 -04:00
Mikayla Fischler
912011bfed #30 modbus comms changes 2022-04-22 20:21:28 -04:00
Mikayla Fischler
78a1073e2a #30 comms rework 2022-04-22 15:43:25 -04:00
Mikayla Fischler
6daf6df2d0 active-backup supervisor setups are no longer planned 2022-04-22 11:15:16 -04:00
Mikayla Fischler
1bf0d352a1 supervisor sessions work in progress 2022-04-22 11:07:59 -04:00
Mikayla Fischler
17d0213d58 RTU/PPM bugfixes 2022-04-22 10:58:18 -04:00
Mikayla Fischler
f7c11febe5 check if interface exists before trying to get its device or type 2022-04-22 10:21:15 -04:00
Mikayla Fischler
b10a8d9479 send ISS status automatically along with PLC status 2022-04-21 12:40:21 -04:00
Mikayla Fischler
4842f9cb0d moved packet constructors and fixes to comms namespace references in plc comms code 2022-04-21 10:26:02 -04:00
Mikayla Fischler
6a5e0243be catch terminations that are caught by PPM 2022-04-18 10:31:24 -04:00
Mikayla Fischler
377cf8e6fc scope fixes, load comms api, debug prints 2022-04-18 09:35:08 -04:00
Mikayla Fischler
7d9a664d38 rsio bugfixes 2022-04-18 00:11:23 -04:00
Mikayla Fischler
a6e1134dc3 changed modbus init function name, fixed bugs with RTU startup, improved PPM debug prints 2022-04-18 00:10:47 -04:00
Mikayla Fischler
2a21d7d0be #14, #15 ppm access fault handling, report modbus exceptions, handle ppm faults in PLC/RTU code 2022-04-17 21:12:25 -04:00
Mikayla Fischler
b085baf91b #12 specifically get wireless modems 2022-04-07 11:44:17 -04:00
Mikayla Fischler
ba1dd1b50e #4 PLC degraded start and reconnects appear to be working now, fixed prints, and bugfixes to PPM 2022-04-05 17:29:27 -04:00
Mikayla Fischler
895750ea14 print, println, println_ts 2022-04-05 17:28:19 -04:00
Mikayla Fischler
5b32f83890 writeLine has newline of course.. 2022-04-05 16:08:55 -04:00
Mikayla Fischler
02763c9cb3 #4 PLC peripheral disconnect handling and small bugfixes/cleanup 2022-04-03 12:08:22 -04:00
Mikayla Fischler
7c2d89e70f allow suppressing of PPM errors 2022-04-02 11:45:43 -04:00
Mikayla Fischler
36fb4587a1 consistent packet constructors/receiving 2022-04-02 08:28:43 -04:00
Mikayla Fischler
5eaeb50000 broke up comms file, setup base coordinator code 2022-03-25 12:17:46 -04:00
Mikayla Fischler
be73b17d46 RTU linking and requesting advertisement 2022-03-23 16:17:58 -04:00
Mikayla Fischler
60674ec95c RTU startup code and comms 2022-03-23 15:41:08 -04:00
Mikayla Fischler
74ae57324b redstone I/O rework 2022-03-23 15:36:14 -04:00
Mikayla Fischler
1e23a2fd67 work on RTU startup and comms 2022-03-15 12:02:31 -04:00
Mikayla Fischler
5642e3283d fixes to modbus_packet() 2022-03-15 11:58:52 -04:00
Mikayla Fischler
6e1e4c4685 ppm includes get_type function now 2022-03-15 11:58:22 -04:00
Mikayla Fischler
a9d4458103 redstone I/O constants defined, digital I/O functions with active high/low mappings added 2022-03-15 11:58:08 -04:00
Mikayla Fischler
17874c4658 cleanup/improvements to PLC comms 2022-03-14 14:19:21 -04:00
Mikayla Fischler
5cff346cb5 ppm function renames, edited log messages, and changed protected calls to return true if function has no return 2022-03-10 14:21:03 -05:00
Mikayla Fischler
a0b2c1f3e2 changed ppm to not wrap under ppm() function 2022-03-10 14:12:07 -05:00
Mikayla Fischler
ea84563bb4 added protected peripheral manager and file system logger 2022-03-10 14:09:21 -05:00
Mikayla Fischler
3c67ee08a8 redstone RTU I/O 2022-02-08 15:42:06 -05:00
Mikayla Fischler
8429cbfd6e scada alarms 2022-01-25 13:51:43 -05:00
Mikayla Fischler
14cb7f96fc supervisor comms init 2022-01-22 14:47:54 -05:00
Mikayla Fischler
ffca88845b work on PLC comms 2022-01-22 14:26:25 -05:00
Mikayla Fischler
b3a2cfabc6 reactor plc reorganization and some comms updates 2022-01-14 16:33:09 -05:00
Mikayla Fischler
018b228976 some comms cleanup and added wrapper for generic packet 2022-01-14 16:32:20 -05:00
Mikayla Fischler
00a81ab4f0 modbus comms implementation 2022-01-14 12:42:11 -05:00
Mikayla Fischler
4dfdb218e2 SCADA supervisor code started 2022-01-13 10:23:38 -05:00
Mikayla Fischler
78cbb9e67d RTU object and started modbus 2022-01-13 10:12:44 -05:00
Mikayla Fischler
c78db71b14 comms and util files 2022-01-13 10:11:42 -05:00