SCADA supervisor code started

This commit is contained in:
Mikayla Fischler
2022-01-13 10:23:38 -05:00
parent 78cbb9e67d
commit 4dfdb218e2
4 changed files with 72 additions and 10 deletions

18
supervisor/config.lua Normal file
View File

@@ -0,0 +1,18 @@
-- type ('active','backup')
-- 'active' system carries through instructions and control
-- 'backup' system serves as a hot backup, still recieving data
-- from all PLCs and coordinator(s) while in backup to allow
-- instant failover if active goes offline without re-sync
SYSTEM_TYPE = 'active'
-- scada network
SCADA_NET_PFX = 16000
-- failover synchronization
SCADA_FO_CHANNEL = 16001
-- listen port for SCADA supervisor access
SCADA_SV_CHANNEL = 16002
-- listen port for PLC's
SCADA_PLC_LISTEN = 16003
-- expected number of reactors
NUM_REACTORS = 4