Specifying the object address scheme for devices? #305
-
Hello everyone, thanks for making this library first and foremost. I'm tasked with creating some monitoring software for DNP3 systems, to which end I'm creating a simulator to iterate against. I've done this for the IEC104 protocol before, and in that case there was a straightforward way to define the object address layout for the system in question - in other words, all the particular sensors/devices registered to the system - but I can't seem to find anything similar in this library. Is there a way to do this that I have missed? Thanks a lot |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Well, answering my own question by doing a bit of RTFM, it's specified here for outstations: https://docs.stepfunc.io/dnp3/1.4.1/guide/docs/api/outstation/database I suppose my next questions are:
Hope noob questions are alright here |
Beta Was this translation helpful? Give feedback.
-
Pretty much nothing is stateless in DNP3. The outstation is worse than the master in this regard though. I'm not sure what you mean by the devices situated in an outstation configuration. The outstation (server) is the remote device that the master (client) connects to, reads values from, and writes controls to.
Yes, on top of the ReadHandler::handle_binary_input will be called when measurement data is received from the outstation in question. |
Beta Was this translation helpful? Give feedback.
Are Master stations considered stateless in this protocol? In other words, are any and all devices situated in an outstation configuration?
Pretty much nothing is stateless in DNP3. The outstation is worse than the master in this regard though. I'm not sure what you mean by the devices situated in an outstation configuration. The outstation (server) is the remote device that the master (client) connects to, reads values from, and writes controls to.
..and then using that connection to filter messages?
Yes, on top of the
MasterChannel
there's a concept of an Association. A channel can talk to N devices connected to that channel. Over a serial port, this can be physically separate devices o…