
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
C79000-G8976-C108-01
121
Parameters
Name Description
cp_name
Configured name of the CP 5614, for example,
"CP5613_5614_1" for the first inserted CP.
user_handle
Pointer to the user handle variable - if successful, the user
handle assigned to the user program is entered here.
slave_mode Setting for the slave mode (the individual flags are logically
linked in bits):
DPS_SM_SIMPLE simple slave with automatic
checking of the parameter
assignment and
configuration data
DPS_SM_V1_ENABLE activate DP-V1 services
DPS_SM_FREEZE_SUPP support freeze
DPS_SM_SYNC_SUPP support sync
station_addr Station address of the slave
addr_change 1 means: allow address change on the bus
0 means: do not allow address change on the bus
pno_ident_nr Number assigned to this slave by the PROFIBUS users
organization during certification, for example, 0x0008 for the
sample user program. This number is represented in Intel
format.
user_wd Formula: User_wd*10ms = monitoring time of the user
program. If the watchdog is not restarted in this time, the
slave drops out of productive operation (Data_Ex). The
value 0 deactivates the watchdog.
Up to version 1.1, the watchdog is not implemented and the
value 0 must be entered.
Table continued on next page
Comentarios a estos manuales