
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
69
Functions for the DP-V1 Master Class 1 (DPC1)
Name Purpose
DP_ds_read
This function sends a "Read Data Record" call to a DP-V1
slave.
DP_ds_write
This function sends a "Write Data Record" call to a DP-V1
slave.
DP_read_alarm This function fetches a DPC1 alarm or a DPC1 status
message.
DP_alarm_ack
This function sends an "Alarm Acknowledge" call to a DP-
V1 slave.
DP_get_cref This function obtains the communication reference (c_ref)
from the slave address and the user ID for DP-V1 jobs.
DP_get_actual_cfg This function reads out the current configuration data of a
slave.
Auxiliary Functions
Name Purpose
DP_get_err_txt This function outputs error information in plain language.
DP_enable_event
This function activates the waiting for status changes or
diagnostic information on slaves.
DP_get_result This function fetches the confirmation of an asynchronous
call and other software events.
DP_disable_event Cancels DP_enable_event
Fast Logic
Name Purpose
DP_fast_logic_on Assigns parameters to the CP 5613/CP 5614 for
automatic monitoring of a slave and data transfer to
another slave.
DP_fast_logic_off Cancels the parameter assignment made with
DP_fast_logic_on.
Komentarze do niniejszej Instrukcji