User manual

IEC61131 User and Reference Manual
April 22, 2008
260
dnppoll
Trigger a DNP class poll of a slave device
Description
This function triggers a DNP Class Poll message to request the specified data classes from
a DNP slave.
The DNP class poll is sent to the station when the enable input changes from OFF to ON.
The error output is set to false if the function was successful.
The error output is set to true if the class poll message failed. The error output indicates the
specified slave address has not been configured in the DNP Routing Table, or the DNP
configuration has not been created.
dnppoll
error
enable
station
cls0
cls1
cls2
cls3
Arguments
Inputs
Type
Description
enable
Boolean
Set to TRUE to trigger this function.
station
Integer
DNP slave station address.
cls0
Boolean
Poll for Class 0 data
cls1
Boolean
Poll for Class 1 data
cls2
Boolean
Poll for Class 2 data
cls3
Boolean
Poll for Class 3 data
Outputs
Type
Description
error
Boolean
Returned error status.
Notes
This function is available on the SCADAPack 330, SCADAPack 350 and SCADAPack 32
only.
The function sets internal flags to trigger a DNP poll message, and returns immediately. The
DNP message will be sent some time after the function call.