mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2025-09-17 12:41:11 +00:00
Page:
Reactor PLC Legacy Config
Pages
Alarms
Alternative Installation Strategies
Annunciator Panels
Characters
Color Accessibility
Configurator Tools
Coordinator Configurator
Coordinator Legacy Config
Coordinator
Design and Regulatory References
FAQ and Common Problems
Glossary
High Rate Calculation
Home
Known Issues
Legacy Config
Legacy Coordinator Settings File
Main View Screen
Mekanism API Notes
Networking
Operating Procedure
PPM
Pocket
Process Control Closed Loop Controller
Project Files
Quickstart
RSIO
RTU Gateway Configurator
RTU Gateway Legacy Config
RTU Gateway
Reactor PLC Configurator
Reactor PLC Legacy Config
Reactor PLC
Reactor Temperature Calculation
Status Messages
Supervisor Configurator
Supervisor Legacy Config
Supervisor
System Setup
System Views
Threading
Unit View Screens
Valve and Flow Screen
Waste Setup
No results
3
Reactor PLC Legacy Config
Mikayla edited this page 2024-05-04 12:15:16 -04:00
Warning
ARCHIVED PAGE: The reactor PLC no longer uses a
config.lua
file. Please see the page on the Reactor PLC Configurator.
For details on common fields, see this page. Reactor PLC specific fields are identified below.
The reactor ID is the unit ID and should increment one per reactor. EMERGENCY_COOL
can be enabled and set to control a Mekanism pressurized tube via redstone sensitivity to allow/prevent emergency coolant flow when reactor coolant is low.
local config = {}
-- set to false to run in offline mode (safety regulation only)
config.NETWORKED = true
-- unique reactor ID
config.REACTOR_ID = 1
-- for offline mode, this redstone interface will turn off (open a valve)
-- when emergency coolant is needed due to low coolant
-- config.EMERGENCY_COOL = { side = "right", color = nil }
-- supervisor comms channel
config.SVR_CHANNEL = 16240
-- PLC comms channel
config.PLC_CHANNEL = 16241
-- max trusted modem message distance (0 to disable check)
config.TRUSTED_RANGE = 0
-- time in seconds (>= 2) before assuming a remote device is no longer active
config.COMMS_TIMEOUT = 5
-- facility authentication key (do NOT use one of your passwords)
-- this enables verifying that messages are authentic
-- all devices on the same network must use the same key
-- config.AUTH_KEY = "SCADAfacility123"
-- log path
config.LOG_PATH = "/log.txt"
-- log mode
-- 0 = APPEND (adds to existing file on start)
-- 1 = NEW (replaces existing file on start)
config.LOG_MODE = 0
-- true to log verbose debug messages
config.LOG_DEBUG = false
return config
- User Manual
- Computer Applications
- Notable System Components
- Notes
- Investigations
- References & Resources
- Legacy
If you need help beyond this wiki, open a support discussion or ask on Discord! If you prefer videos, they can be found on my YouTube channel.