PROFINET Device  v1.04.03
PROFINET Library Configuration, Limits and Settings

PROFINET Library is been provided in different configurations in order to reduce the overhead of occupied and not used memory allocated by default. The Configuartion and Limits set you can read back here as a reference. More...

Overview

PROFINET Library is been provided in different configurations in order to reduce the overhead of occupied and not used memory allocated by default. The Configuartion and Limits set you can read back here as a reference.

Macros

#define PNC_MAX_PII   1440
 Length of process image inputs in byte. More...
 
#define PNC_MAX_PIO   1440
 Length of process image outputs in byte. More...
 
#define PNC_SLOT_MAX   19
 maximum Number of equipped slots in device More...
 
#define PNC_SLOT_EQUIPPED   19
 Number of equipped slots in device. More...
 
#define PNC_SUB_SLOT_MAX   (PNC_SLOT_MAX + 3)
 DAP has 4 subslots, all other slots have 1 subslot. More...
 
#define PNC_DATA_DESC_SUB_MAX   2
 Maximum number of elements per subSlots supported in device. More...
 
#define PNC_DA_AR_MAX   1
 Maximum number of Device Access application relation supported. More...
 
#define PNC_IOD_AR_MAX   2
 Maximum number of application relation supported (with out implicit connection) More...
 
#define PNC_CR_PER_AR_MAX   2
 Maximum number CRs supported per AR. More...
 
#define PNC_DFP_CR_PER_AR_MAX   2
 Maximum number fo DFP CRs supported per AR. More...
 
#define PNC_INTF_MAX   1
 Maximum of 1 interface supported. More...
 
#define PNC_PORTS_PER_INTF_MAX   2
 Maximum number of real ports per interface. More...
 
#define PNC_PEERS_PER_PORT_MAX   1
 Maximum number of peers per port. More...
 
#define PNC_MAX_LOG_ENTRIES   16
 Maximum number of entries in the Logbook ASE (Minimum 16 [61158-6-10{2010}:6.2.4.51]) More...
 
#define PNC_MAX_MANU_SPEC_DIAG_ITEM   1
 Maximum number of manufacturer specific diagnosis items. More...
 
#define PNC_MAX_MANU_SPEC_ALARMS   0
 Maximum number of manufacturer specific alarms. More...
 
#define PNC_MAX_DIAG_ITEM   (PNC_PORTS_PER_INTF_MAX + PNC_MAX_MANU_SPEC_DIAG_ITEM)
 Maximum number of diagnosis items. More...
 
#define PNC_MAX_ALARM_ITEM   ((PNC_SLOT_MAX - 1) * 2 + PNC_MAX_DIAG_ITEM + PNC_MAX_MANU_SPEC_ALARMS)
 Maximum number of alarms (at least two for each sub slot with process data) More...
 
#define PNC_MAX_IM_CARRIERS   5
 Maximum number of I&M Data Sets can be stored on stack IMPORTANT: must be consistent with PN_API_IM_MAX_CARRIERS and PN_API_IM_APP_MAX_IM_CARRIERS. More...
 
#define PNC_MAX_MOD_SUBST_ENTRIES   30
 Maximum number of Module Substitutes Entries can be stored on stack. More...
 
#define PNC_MAX_SUBMOD_SUBST_ENTRIES   20
 Maximum number of Submodule Substitutes Entries can be stored on stack. More...
 
#define PNC_IOCR_DATA_MAX   (PNC_SLOT_MAX / 2 + 4)
 Maximum of slot / subslot data points in the device. More...
 
#define PNC_IOCR_IOCS_MAX   (PNC_SLOT_MAX / 2 + 4)
 Maximum of slot / subslot data client state points in the device. More...
 
#define PNC_MAX_ASSOCIATES   (PNC_IOD_AR_MAX + 1)
 Number of associates, each AR is an associate and application (SOL) is one. More...
 
#define PNC_MAX_OWNER_PRIO   (PNC_IOD_AR_MAX + 1)
 One owner priority level for each AR and one for application (SOL) More...