Commit Graph

1342 Commits

Author SHA1 Message Date
Mikayla Fischler
4ec07ca053 #64 rtu code cleanup and device bugfixes 2022-05-31 14:54:55 -04:00
Mikayla Fischler
1705d8993e #64 plc code cleanup 2022-05-31 14:14:17 -04:00
Mikayla Fischler
309ba06f8a #51 crypto system 2022-05-29 15:05:57 -04:00
Mikayla Fischler
e65a1bf6e1 #61 monitor configuration and init, render engine started, dmesg changes, ppm monitor listing changes 2022-05-29 14:34:09 -04:00
Mikayla Fischler
ff5b163c1d ppm patch to support multiple return value functions, changed lack of modem to emit fatal error 2022-05-29 14:26:40 -04:00
Mikayla Fischler
706bf4d3ba #9 turbine RTU tester 2022-05-27 18:18:12 -04:00
Mikayla Fischler
4d16d64cdc log bugfix 2022-05-27 18:17:52 -04:00
Mikayla Fischler
6df0a1d149 #9 MODBUS test code; fixed rtu, modbus, redstone_rtu, and rsio bugs 2022-05-27 18:10:06 -04:00
Mikayla Fischler
51111f707f more descriptive comments 2022-05-26 19:37:19 -04:00
Mikayla Fischler
214f2d9028 fixed supervisor clock not starting 2022-05-26 17:49:53 -04:00
Mikayla Fischler
78ddd4d782 #58 fixed bug with KEEP_ALIVE being sent as a LINK_REQ due to wrong protocol 2022-05-26 17:49:43 -04:00
Mikayla Fischler
7d7eecaa5e log use strval 2022-05-25 23:24:15 -04:00
Mikayla Fischler
4d7d3be93b power related utility functions put under util table 2022-05-24 22:58:42 -04:00
Mikayla Fischler
ffc997b84e removed redundant version tag 2022-05-24 22:56:41 -04:00
Mikayla Fischler
4b6a1c5902 fixed incorrect watchdog call 2022-05-24 22:55:27 -04:00
Mikayla Fischler
0cf81040fb moved string value to util and added sprtinf, adjusted prints to use tostring to prevent concatentation errors on some types 2022-05-24 22:48:31 -04:00
Mikayla Fischler
9fb6b7a880 #9 rsio test code, fixes per test results 2022-05-23 17:36:54 -04:00
Mikayla Fischler
a93f0a4452 #57 updates per safety pass, fixed plc_sys fields staying nil on degraded start, fixed repeated SCRAM messages when unlinked 2022-05-22 17:57:24 -04:00
Mikayla Fischler
26c6010ce0 #56 pcall threads and restart on crash (unless shutting down) 2022-05-21 13:56:14 -04:00
Mikayla Fischler
3b16d783d3 fixed bug with RSIO channel valid check 2022-05-21 13:55:22 -04:00
Mikayla Fischler
940ddf0d00 function for duplicate session search code 2022-05-21 12:30:14 -04:00
Mikayla Fischler
3f4fb63029 #52 basic reactor unit object 2022-05-21 12:24:43 -04:00
Mikayla Fischler
61965f295d added #29 to known issues 2022-05-19 10:49:17 -04:00
Mikayla Fischler
44d30ae583 #48 only log every 20 PPM faults (per function) 2022-05-19 10:35:56 -04:00
Mikayla Fischler
6a168c884d #23 device version reporting 2022-05-19 10:21:04 -04:00
Mikayla Fischler
dd553125d6 #54 don't trip RPS fault on terminate as it ends up being redundant with shutdown sequence 2022-05-19 09:19:51 -04:00
Mikayla Fischler
62d5490dc8 #53 RTU redstone parse checks 2022-05-18 14:30:48 -04:00
Mikayla Fischler
790571b6fc #55 correctly use device IDs vs unit IDs 2022-05-18 13:49:04 -04:00
Mikayla Fischler
cc856d4d80 redundant 'for_reactor' field removed from redstone RTU config 2022-05-18 13:32:44 -04:00
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