Defines (GVL) ¶ InOut: Scope Name Type Initial Comment Constant DP_MAX_NUMBER_STATIONS UINT 127 DP_MAX_NUMBER_SLAVES UINT 125 DP_GLOBAL_STATION_ADDRESS UINT 127 DP_DEFAULT_SLAVE_ADDRESS UINT 126 DP_NO_MASTER_ADDRESS UINT 255 DP_MAX_SLAVE_ADDRESS UINT 125 DP_MAX_TELEGRAM_LEN UINT 244 246 NOT supported DP_STATUS_INFO_LEN UINT 128 DP_MASTER_USER_DATA_LEN UINT 34 DP_MASTER_CLASS2_NAME_LEN UINT 32 DP_MIN_SLAVE_DIAG_LEN UINT 6 MIN/MAX length OF service data DP_MIN_PRM_DATA_LEN UINT 9 DP_MIN_CFG_DATA_LEN UINT 3 DP_MIN_SLAVE_PARA_LEN UINT 32 DP_MIN_BUS_PARA_LEN UINT 66 DP_MAX_SLAVE_DIAG_DATA_LEN UINT 244 SLAVE- != MASTER- MAX_DIAG_LEN DP_MAX_MASTER_DIAG_DATA_LEN UINT 242 DP_MAX_EXT_DIAG_DATA_LEN UINT 238 DP_MAX_OUTPUT_DATA_LEN UINT 244 DP_MAX_INPUT_DATA_LEN UINT 244 DP_MAX_PRM_DATA_LEN UINT 244 DP_MAX_CFG_DATA_LEN UINT 244 DP_MAX_AAT_DATA_LEN UINT 492 DP_MAX_USER_PRM_DATA_LEN UINT 234 DP_MAX_DOWNLOAD_DATA_LEN UINT 240 DP_MAX_UPLOAD_DATA_LEN UINT 240 DP_MAX_REM_SLAVE_DATA_LEN UINT 238 DP_MAX_SLAVE_USER_DATA_LEN UINT 65470 DP_MAX_MASTER_USER_DATA_LEN UINT 65470 DP_MAX_SET_BUSPARAMETER_LEN UINT 196 DP_MAX_MSAC2_DATA_LEN UINT 220 PB_TRUE USINT 16#FF PB_FALSE USINT 16#0
FMBUserInterfaceDefines (GVL) ¶ InOut: Name Type Initial Comment FMB_SET_VALUE USINT 15 FMB_READ_VALUE USINT 16 FMB_LSAP_STATUS USINT 17 FMB_FM2_EVENT USINT 19 FMB_RESET USINT 20 FMB_EXIT USINT 21 FMB_SET_BUSPARAMETER USINT 22 FMB_READ_BUSPARAMETER USINT 24 FMB_VALIDATE_MASTER USINT 25 FMB_GET_LIVE_LIST USINT 26 FMB_SET_CONFIGURATION USINT 27 FMB_EXCEPTION USINT 28 FM2_FAULT_ADDRESS USINT 16#1 duplicate address recognized FM2_FAULT_PHY USINT 16#2 phys.layer is malfunctioning FM2_FAULT_TTO USINT 16#3 TIME out on bus detected FM2_FAULT_SYN USINT 16#4 no receiver synchronization FM2_FAULT_OUT_OF_RING USINT 16#5 station out OF ring FM2_GAP_EVENT USINT 16#6 new station in ring FM2_MAC_ERROR USINT 16#13 fatal MAC error FM2_HW_ERROR USINT 16#14 fatal HW error
InterfaceDefines (GVL) ¶ InOut: Scope Name Type Initial Comment Constant DEVICE_DP_MANAGEMENT USINT 1 DEVICE_DP_SERVICE USINT 2 DEVICE_DP_SLAVE_DATA USINT 3 DEVICE_DP_MSAC USINT 9 DEVICE_FDL_MANAGEMENT USINT 4 DEVICE_FDL_SAP USINT 5 DEVICE_FMS_MANAGEMENT USINT 6 DEVICE_FMS_CR USINT 7 DEVICE_BASIC_MANAGEMENT USINT 8 REQ_IRQ USINT 16#F0 IND/CON IRQ is received ACK_IRQ USINT 16#F acknowledge REQ/RES DP_SLAVE_IO_REQ_IRQ USINT 16#E0 MASTER: DP-SLAVE-IO IND/REQ DP_SLAVE_IO_ACK_IRQ USINT 16#E MASTER: DP-SLAVE-IO acknowldege IND/REQ DP_DATA_STOP_REQ_IRQ USINT 16#D0 MASTER: data transfer stop REQ received DP_DATA_STOP_ACK_IRQ USINT 16#D MASTER: data transfer stop Acknowldege TRC_REQ_IRQ USINT 16#C0 TRACE REQ is received TRC_ACK_IRQ USINT 16#C TRACE acknowledge EXCEPTION_REQ_IRQ USINT 16#B0 Exception Request EXCEPTION_ACK_IRQ USINT 16#B Exception Acknowledge DPS_SLAVE_INP_REQ_IRQ USINT 16#A0 SLAVE: DP-SLAVE-INPUT request DPS_SLAVE_INP_ACK_IRQ USINT 16#A SLAVE: DP-SLAVE-INPUT Acknowldege DPS_SLAVE_OUTP_REQ_IRQ USINT 16#90 SLAVE: DP-SLAVE-OUTPUT request DPS_SLAVE_OUTP_ACK_IRQ USINT 16#9 SLAVE: DP-SLAVE-OUTPUT Acknowldege CON_IND_RECEIVED INT 16#1 ind. or con. has been received NO_CON_IND_RECEIVED INT 16#0 nothing has been received NEG USINT 16#1 POS USINT 16#0 LOW USINT 16#0 HIGH USINT 16#1 REQ USINT 16#0 CON USINT 16#1 IND USINT 16#2 RES USINT 16#3 USR USINT 16#0 FMS USINT 16#1 LLI USINT 16#2 FDL USINT 16#3 FM7 USINT 16#4 FMB USINT 16#5 FMS_USR USINT 16#6 FM7_USR USINT 16#7 FMB_USR USINT 16#8 DPS USINT 16#9 DPS_USR USINT 16#A DP USINT 16#B DP_USR USINT 16#C FDLIF USINT 16#D FDLIF_USR USINT 16#E PAPI USINT 16#F0 identifier Application-Layer-IF ID_DP_SLAVE_IO_IMAGE USINT 16#80 ID_DP_STATUS_IMAGE USINT 16#81 ID_DP_SLAVE_IO_CONFIG_IMAGE USINT 16#82 ID_DPS_SLAVE_INPUT_IMAGE USINT 16#90 ID_DPS_SLAVE_OUTPUT_IMAGE USINT 16#91 ID_EXCEPTION_IMAGE USINT 16#F0 ID_FW_VERS_IMAGE USINT 16#F1 ID_SERIAL_DEVICE_NUMBER USINT 16#F2 ID_TRACE_IMAGE USINT 16#F3
InterfaceErrors (GVL) ¶ InOut: Scope Name Type Initial Constant E_OK INT 0 E_IF_FATAL_ERROR INT 7 E_IF_INIT_INVALID_PARAMETER INT 8 E_IF_LOADER_ERROR INT 9 E_IF_NO_CNTRL_RES INT 10 E_IF_INVALID_CNTRL_TYPE_VERSION INT 11 E_IF_INVALID_LAYER INT 12 E_IF_INVALID_SERVICE INT 13 E_IF_INVALID_PRIMITIVE INT 14 E_IF_INVALID_DATA_SIZE INT 15 E_IF_INVALID_COMM_REF INT 16 E_IF_INVALID_CMI_CALL INT 19 E_IF_CMI_ERROR INT 20 E_IF_RESOURCE_UNAVAILABLE INT 21 E_IF_NO_PARALLEL_SERVICES INT 22 E_IF_SERVICE_CONSTR_CONFLICT INT 23 E_IF_SERVICE_NOT_SUPPORTED INT 24 E_IF_SERVICE_NOT_EXECUTABLE INT 25 E_IF_INVALID_VERSION INT 26 E_IF_STATE_CONFLICT INT 27 E_IF_NO_CNTRL_PRESENT INT 28 E_IF_INVALID_PARAMETER INT 30 E_IF_INIT_FAILED INT 31 E_IF_EXIT_FAILED INT 32 E_IF_PAPI_NOT_INITIALIZED INT 33 E_IF_NO_DEVICE_CONNECTION INT 34 E_IF_SLAVE_DIAG_DATA INT 16#F0 E_IF_SLAVE_ERROR INT 16#F1 E_IF_INVALID_DP_STATE INT 16#F2 E_IF_READING_REGISTRY INT 16#F3 E_IF_OS_ERROR INT 16#FF
Datastructs ¶ FMB Structs SOFTING_T_FMB_CONFIG_CRL (Struct) SOFTING_T_FMB_CONFIG_DP (Struct) SOFTING_T_FMB_CONFIG_FDLIF (Struct) SOFTING_T_FMB_CONFIG_SM7 (Struct) SOFTING_T_FMB_CONFIG_VFD (Struct) SOFTING_T_FMB_FM2_EVENT_IND (Struct) SOFTING_T_FMB_SET_CONFIGURATION_REQ (Struct) Profibus DP SOFTING_T_DP_AAT_DATA (Struct) SOFTING_T_DP_BUS_PARA_SET (Struct) SOFTING_T_DP_CFG_DATA (Struct) SOFTING_T_DP_PRM_DATA (Struct) SOFTING_T_DP_SLAVE_PARA_SET (Struct) SOFTING_T_DP_SLAVE_USER_DATA (Struct) SOFTING_T_DP_ACT_PARAM_IND (Struct) SOFTING_T_DP_ACT_PARAM_REQ (Struct) SOFTING_T_DP_ACT_PARAM_RES_CON (Struct) SOFTING_T_DP_DATA_TRANSFER_CON (Struct) SOFTING_T_DP_DIAG_DATA (Struct) SOFTING_T_DP_DOWNLOAD_IND (Struct) SOFTING_T_DP_DOWNLOAD_REQ (Struct) SOFTING_T_DP_DOWNLOAD_RES_CON (Struct) SOFTING_T_DP_END_SEQ_IND (Struct) SOFTING_T_DP_END_SEQ_REQ (Struct) SOFTING_T_DP_END_SEQ_RES_CON (Struct) SOFTING_T_DP_EXIT_MASTER_CON (Struct) SOFTING_T_DP_GET_MASTER_DIAG_REQ (Struct) SOFTING_T_DP_GET_MASTER_DIAG_RES_CON (Struct) SOFTING_T_DP_GET_PRM_REQ (Struct) SOFTING_T_DP_GET_SLAVE_DIAG_CON (Struct) SOFTING_T_DP_GET_SLAVE_DIAG_IND (Struct) SOFTING_T_DP_GET_SLAVE_PARAM_CON (Struct) SOFTING_T_DP_GET_SLAVE_PARAM_REQ (Struct) SOFTING_T_DP_INIT_MASTER_CON (Struct) SOFTING_T_DP_INIT_MASTER_REQ (Struct) SOFTING_T_DP_SET_BUSPARAMETER_CON (Struct) SOFTING_T_DP_SET_BUSPARAMETER_REQ (Struct) SOFTING_T_DP_SET_PRM_CON (Struct) SOFTING_T_DP_SET_PRM_REQ (Struct) SOFTING_T_DP_SLAVE_PARAM_SLAVE_INFO (Struct) SOFTING_T_DP_SLAVE_PARAM_SYS_INFO (Struct) SOFTING_T_DP_START_SEQ_IND (Struct) SOFTING_T_DP_START_SEQ_REQ (Struct) SOFTING_T_DP_START_SEQ_RES_CON (Struct) SOFTING_T_DP_UPLOAD_REQ (Struct) SOFTING_T_DP_UPLOAD_RES_CON (Struct) SOFTING_T_PROFI_SERVICE_DESCR (Struct)
FMB Structs ¶ SOFTING_T_FMB_CONFIG_CRL (Struct) SOFTING_T_FMB_CONFIG_DP (Struct) SOFTING_T_FMB_CONFIG_FDLIF (Struct) SOFTING_T_FMB_CONFIG_SM7 (Struct) SOFTING_T_FMB_CONFIG_VFD (Struct) SOFTING_T_FMB_FM2_EVENT_IND (Struct) SOFTING_T_FMB_SET_CONFIGURATION_REQ (Struct)
SOFTING_T_FMB_CONFIG_DP (STRUCT) ¶ TYPE SOFTING_T_FMB_CONFIG_DP : STRUCT InOut: Name Type Comment max_number_slaves USINT maximum number DP Slaves supported max_slave_output_len USINT MAX. length OF slave output data max_slave_input_len USINT MAX. length OF slave input data max_slave_diag_len USINT MAX. length OF one diag entry max_slave_diag_entries UINT MAX. number entries in diag buffer max_bus_para_len UINT MAX. length OF bus parameter set max_slave_para_len UINT MAX. length OF slave parameter set
SOFTING_T_FMB_CONFIG_CRL (STRUCT) ¶ TYPE SOFTING_T_FMB_CONFIG_CRL : STRUCT InOut: Name Type Comment max_no_fal_sdbs UINT MAX. number OF FAL-SDBs max_no_fdl_sdbs UINT MAX. number OF FDL-SDBs max_no_data_buffer UINT MAX. number OF PDU buffers max_no_api_buffer UINT MAX. number OF API buffers max_no_poll_entries UINT MAX. number OF poll list entries max_no_subscr_entries UINT MAX. number OF subscr.list entries resrc_check USINT FOR future use max_no_parallel_req USINT FOR future use max_no_parallel_ind USINT FOR future use dummy USINT alignment BYTE
SOFTING_T_FMB_CONFIG_FDLIF (STRUCT) ¶ TYPE SOFTING_T_FMB_CONFIG_FDLIF : STRUCT InOut: Name Type Comment send_req_credits USINT MAX. number OF send credits FOR SDA AND SDN services srd_req_credits USINT MAX. number OF send credits FOR SRD services receive_credits USINT MAX. number OF receive credits max_no_resp_saps USINT max. number of FDL responder SAPs
SOFTING_T_FMB_CONFIG_SM7 (STRUCT) ¶ TYPE SOFTING_T_FMB_CONFIG_SM7 : STRUCT InOut: Name Type reserved UINT