Siemens SIMATIC NET CP 5613 Manual page 118

Dp base programming interface
Table of Contents

Advertisement

Description of the DP Functions, Data, and Error Codes
Note 3
Section 4.3.10 "Querying the Fast Logic Status" describes how the user program
can query the current status of the fast logic trigger.
Just as with other events, there is a semaphore for fast logic that is switched to
enable when a fast logic trigger occurs. See section 4.1.22 DP_init_sema_object.
Note 4
Once a fast logic trigger has been triggered by the CP 5613/CP 5614, the user
program should check whether the slave whose ouput byte was written by the fast
logic is still in the READY state. If this is not the case, the slave accepts the
modified byte only when changes back to the READY state. (See section 4.3.5
"Querying the State of a DP Slave")
Note 5
The time between the change in the process image of the CP 5613 for the selected
input byte and setting the selected output byte is approximately 40 µs.
Syntax
DPR_DWORD DP_fast_logic_on (
Parameters
Name
user_handle
fast_logic_id
118
DPR_DWORD
DPR_WORD
DP_FAST_LOGIC_T
DP_ERROR_T
User handle assigned with the DP_open call.
Selects the fast logic tigger
Range of values: 0 to (DPR_MAX_FASTLOGIC_CNT – 1) -
DPR_MAX_FASTLOGIC_CNT is set to 4.
DP Base Programming Interface for CP 5613/CP 5614
user_handle,
fast_logic_id,
*fast_logic,
*error );
Description
Table continued on next page
C79000-G8976-C108-02
// in
// in
// in
// out

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic net cp 5614

Table of Contents