User manual

IEC61131 User and Reference Manual
April 22, 2008
263
dnpstn
Get DNP diagnostic data for a remote station
Description
This function block provides DNP diagnostic data for a specific DNP remote station address.
Diagnostic information is totaled for all DNP communication with the station.
dnpstn
success
failTotal
failNew
formatErrors
fRcvd
fSent
mRcvd
mSent
address
clear
Arguments
Inputs
Type
Description
address
Integer
DNP address.
clear
Boolean
Set to TRUE to clear all counters for selected DNP
station.
Outputs
Type
Description
success
Integer
Number of DNP command transactions initiated and
successfully completed to this station.
failTotal
Integer
Number of DNP command transactions initiated and
failed to this station.
failNew
Integer
Number of failed DNP command transactions since last
successful DNP command transaction.
formatErrors
Integer
Number of DNP messages received with formatting
errors from this station (including CRC errors and
unrecognized commands).
fRcvd
Integer
Number of DNP message frames received from this
station.
fSent
Integer
Number of DNP message frames sent to this station.
mRcvd
Integer
Number of complete DNP messages received from this
station.
mSent
Integer
Number of complete DNP messages sent to this station.
See Also
dnpevent, dnpconn