User manual

IEC61131 User and Reference Manual
April 22, 2008
259
dnplog
Log a DNP event for a point
Description
This function logs a DNP change event for the specified DNP point.
A change event is logged for the pType and pAddress specified when the enable input
changes from OFF to ON. The error output is not energized if the function is successful and
a change event was logged.
The error output is energized if the function failed and a change event was not logged. The
error output indicates that the specified DNP point is invalid, or the DNP configuration has
not been created.
dnplog
error
enable
pType
pAddress
Arguments
Inputs
Type
Description
enable
Boolean
Set to TRUE to trigger this function.
pType
Integer
DNP point type.
0 = Binary Input
1 = 16-bit Analog Input
2 = 32-bit Analog Input
3 = Float Analog Input
5 = 16-bit Counter Input
6 = 32-bit Counter Input
pAddress
Integer
DNP point address.
Outputs
Type
Description
error
Boolean
Returned error status.