mirror of
https://github.com/thiagoralves/OpenPLC_v2.git
synced 2025-05-08 16:12:11 +08:00
62 lines
1.4 KiB
INI
62 lines
1.4 KiB
INI
# ----------------------------------------------------------------
|
|
# Configuration file for DNP3
|
|
#-----------------------------------------------------------------
|
|
|
|
|
|
# Use this file to fill out DNP3 settings for your Open PLC
|
|
# Uncomment settings as you want them
|
|
|
|
|
|
# Link Settings
|
|
#-----------------------------------------------------------------
|
|
|
|
# local address
|
|
local_address = 10
|
|
|
|
# master address allowed
|
|
remote_address = 1
|
|
|
|
# keep alive timeout
|
|
# time (s) or MAX
|
|
# keep_alive_timeout = MAX
|
|
|
|
|
|
# Parameters
|
|
#-----------------------------------------------------------------
|
|
|
|
# enable unsolicited reporting if master allows it
|
|
# True or False
|
|
enable_unsolicited = True
|
|
|
|
# how long (seconds) the outstation will allow a operate
|
|
# to follow a select
|
|
# select_timeout = 10
|
|
|
|
# max control commands for a single APDU
|
|
# max_controls_per_request = 16
|
|
|
|
# maximum fragment size the outstation will recieve
|
|
# default is the max value
|
|
# max_rx_frag_size = 2048
|
|
|
|
# maximum fragment size the outstation will send if
|
|
# it needs to fragment. Default is the max falue
|
|
# max_tx_frag_size = 2048
|
|
|
|
# size of the event buffer
|
|
event_buffer_size = 10
|
|
|
|
# number of values the outstation will report at once
|
|
# AKA database size
|
|
database_size = 10
|
|
|
|
#Timeout for solicited confirms
|
|
# in MS
|
|
# sol_confirm_timeout = 5000
|
|
|
|
#Timeout for unsolicited confirms (ms)
|
|
# unsol_conrfirm_timeout = 5000
|
|
|
|
#Timeout for unsolicited retries (ms)
|
|
# unsol_retry_timeout = 5000
|