CmpDNP3OutstationSessionConfig (STRUCT)ΒΆ
TYPE CmpDNP3OutstationSessionConfig : STRUCT
Parameters to outstation session
- InOut:
Name
Type
Comment
masterAddressUINTDestination address (master address) for this session. If validateSourceAddress is TMWDEFS_TRUE, this will be the address to compare the masters source address to. If validateSourceAddress is TMWDEFS_FALSE, this address will be used as the address to send unsolicited responses. All other responses will be sent to the source address received from the master.
outstationAddressUINTSource address (outstation address) for this session.
validateSourceAddressBOOLSpecify whether or not to validate source address in received frames. DNP3 frames contain both a source address field and a destination address field. If TMWDEFS_FALSE the TMW DNP3 SCL does not validate the source address and frames whose destination address matches a configured slave session will be accepted. Setting this to TMWDEFS_TRUE requires both source and destination addresses to match a local slave session before the frame is accepted.
samplingRateTIMESpecify the timeframe between samples of each data point.
enableUnsolicitedResponseBOOLEnable (TRUE) unsolicited responses of the outstation. If enabled the outstation will send an initial unsolicited response to give the peer a chance to disable them. If disabled (FALSE), unsolicited respopnses will be deactivated a peer will not be able to activate them.