Dnp3 python - outstation

Sir, how are you ?

If i install python on RUT140 and execute it

from pydnp3 import opendnp3

Will work ?

I intend to implement the OUTSTATION in Python on RUT140, using the package DNP3.

import logging
from pydnp3 import opendnp3, asiodnp3

# Configure logging
logging.basicConfig(level=logging.INFO)

# Create a DNP3Manager
manager = asiodnp3.DNP3Manager(1)

# Create a channel
channel = manager.AddTCPServer("server", opendnp3.levels.NOTHING, 5000, "0.0.0.0", 20000)

# Create an outstation
config = asiodnp3.OutstationStackConfig(opendnp3.DatabaseSizes.AllTypes(10))
outstation = channel.AddOutstation("outstation", asiodnp3.DefaultOutstationApplication(), asiodnp3.DefaultOutstationCommandHandler(), config)

Or…
Can you send the Makefile to me to compile the PYDNP3 on RUTOS SDK?

or the IPK…

This topic was automatically closed after 60 days. New replies are no longer allowed.