User manual

IEC61131 User and Reference Manual
April 22, 2008
264
dnpsync
Trigger DNP clock synchronization to a slave device
Description
This function sends a Clock Synchronization message to a DNP slave.
The Clock Synchronization message 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 Time Synchronization message failed. This indicates the
specified slave address has not been configured in the DNP Routing Table, or the DNP
configuration has not been created.
dnpsync
error
enable
station
Arguments
Inputs
Type
Description
enable
Boolean
Set to TRUE to trigger this function.
station
Integer
DNP slave station address.
Outputs
Type
Description
error
Boolean
Returned error status.
Notes
This function is available on the SCADAPack 330, SCADAPack 350 and SCADAPack32
only.
The function sets internal flags to trigger a DNP message and returns immediately. The DNP
message will be sent some time after the function call.