cc-mek-scada/reactor-plc/config.lua

21 lines
554 B
Lua
Raw Normal View History

local config = {}
-- set to false to run in offline mode (safety regulation only)
config.NETWORKED = true
-- unique reactor ID
2022-09-05 20:21:59 +00:00
config.REACTOR_ID = 1
-- port to send packets TO server
config.SERVER_PORT = 16000
-- port to listen to incoming packets FROM server
config.LISTEN_PORT = 14001
-- max trusted modem message distance (0 to disable check)
config.TRUSTED_RANGE = 0
2022-04-29 17:36:00 +00:00
-- log path
config.LOG_PATH = "/log.txt"
2022-04-29 17:36:00 +00:00
-- log mode
-- 0 = APPEND (adds to existing file on start)
-- 1 = NEW (replaces existing file on start)
config.LOG_MODE = 0
return config