DNP3 reads its settings from the DNP3.cfg file in the top directory --- what is in this currently are defaults. I have put a description above each one but if there are any confusion refer to the OpenDNP3 docs
DNP3 uses the same addressing as Modbus for larger types(32B starts at MIN_32B_RANGE index, 64B starts at MIN_64B_RANGE index)
Added optional command line arguments that allow one to specify to only run modbus at a specific port, or to only run dnp3 at a specific port, or to run both at non standard ports. This is used like so:
./core/openplc -m 500 -d 20001
Which will run modbus at port 500 and dnp3 at port 20001
Without arguments, both will be run at port 502 for modbus and 20000 for DNP3
Added DNP3 support to Open PLC using OpenDNP3
Must install OpenDNP3 (instructions for Windows and Linux installs at https://www.automatak.com/opendnp3/docs/guide/current/build/requirements/)
DNP3 reads its settings from the DNP3.cfg file in the top directory --- what is in this currently are defaults. I have put a description above each one but if there are any confusion refer to the OpenDNP3 docs
DNP3 uses the same addressing as Modbus for larger types(32B starts at MIN_32B_RANGE index, 64B starts at MIN_64B_RANGE index)
Added optional command line arguments that allow one to specify to only run modbus at a specific port, or to only run dnp3 at a specific port, or to run both at non standard ports. This is used like so: ./core/openplc -m 500 -d 20001 Which will run modbus at port 500 and dnp3 at port 20001
Without arguments, both will be run at port 502 for modbus and 20000 for DNP3