CIFMESSAGEHEADERtyp (STRUCT) ¶ TYPE CIFMESSAGEHEADERtyp : STRUCT InOut: Name Type Comment RX BYTE TX BYTE LEN BYTE NR BYTE Number is inserted by the driver. A BYTE F BYTE B BYTE E BYTE
CIFMESSAGERAWtyp (STRUCT) ¶ TYPE CIFMESSAGERAWtyp : STRUCT InOut: Name Type Comment M BOOL To semd a message, set the whole structure to 0 and then SND to TRUE. To just poll for a received message set M to TRUE and RCV to FALSE. RCV is always set by the driver, when a message is received. But: to just poll for a message without sending one, you must know the NR-member of MESSAGEHEADERSND, if you set SND. If you don’t set SND, the message is always polled from the card. In that case, if you set RCV before the call, the message is not deleted from the cards’ stack, just read. If RCV (in that case) is FALSE before the call, the message is read and deleted. Whatever you do, remember to delete messages you just read (with RCV set), if you want to accept it. SND BOOL MESSAGEHEADERSND CIFMESSAGEHEADERtyp DATASND ARRAY [0..254] OF BYTE RCV BOOL MESSAGEHEADERRCV CIFMESSAGEHEADERtyp DATARCV ARRAY [0..254] OF BYTE
FIRMWAREINFO (STRUCT) ¶ TYPE FIRMWAREINFO : STRUCT InOut: Name Type abFirmwareName STRING(15) abFirmwareVersion STRING(15)
Profibus DP ¶ DPM_BUS_DP (Struct) DPM_INIT_PARAMETERS (Struct) DPM_SL (Struct) DPM_SL_PRM_ADD_TAB (Struct) DPM_SL_PRM_CFG_DATA (Struct) DPM_SL_PRM_DATA (Struct) DPM_SL_PRM_SET (Struct) DPM_SL_PRM_SET_Definitions (GVL) DPM_SL_PRM_USR_DATA (Struct)
DPM_BUS_DP (STRUCT) ¶ TYPE DPM_BUS_DP : STRUCT InOut: Name Type Comment wBus_Para_Len WORD length of BUS_DP byFDL_Add BYTE master address byBaudrate BYTE baudrate, see. #defines wTSL WORD slot-time wMin_TSDR WORD min. station delay responder wMax_TSDR WORD max. station delay responder byTQUI BYTE quite time byTSET BYTE setup time ulTTR DWORD target rotation time byG BYTE gap update byHSA BYTE highest active station address byMax_Retry_Limit BYTE retries if error occurs Bp_Flag BYTE auto_clear on/off wMin_Slave_Intervall WORD min. slave intervall time wPoll_Timeout WORD poll timeout wData_Control_Time WORD data control time abyOctet ARRAY [0..5] OF BYTE wMaster_User_Data_Len WORD achMaster_Class2_Name STRING(31) abyMaster_User_Data ARRAY [0..0] OF BYTE
DPM_INIT_PARAMETERS (STRUCT) ¶ TYPE DPM_INIT_PARAMETERS : STRUCT InOut: Name Type byMode BYTE byCycleTime BYTE byFormat BYTE byWatchDogTimeLow BYTE byWatchDogTimeHigh BYTE byRedundant BYTE bySlStateMethod BYTE byEnableBits BYTE wIdentNumber WORD abyReserved ARRAY [0..5] OF BYTE
DPM_SL (STRUCT) ¶ TYPE DPM_SL : STRUCT InOut: Name Type PrmSet DPM_SL_PRM_SET PrmData DPM_SL_PRM_DATA CfgData DPM_SL_PRM_CFG_DATA AddTab DPM_SL_PRM_ADD_TAB UsrData DPM_SL_PRM_USR_DATA
DPM_SL_PRM_ADD_TAB (STRUCT) ¶ TYPE DPM_SL_PRM_ADD_TAB : STRUCT InOut: Name Type Comment wAdd_Tab_Len WORD length of ADD_TAB byInput_Count BYTE counter of following input offsets byOutput_Count BYTE counter of following ouput offsets awEA_Offset ARRAY [0..243] OF WORD user defined offsets
DPM_SL_PRM_CFG_DATA (STRUCT) ¶ TYPE DPM_SL_PRM_CFG_DATA : STRUCT InOut: Name Type Comment wCfg_Data_Len WORD length of CFG_DATA abyCfg_Data ARRAY [0..254] OF BYTE configuration data of the slave station
DPM_SL_PRM_DATA (STRUCT) ¶ TYPE DPM_SL_PRM_DATA : STRUCT InOut: Name Type Comment wPrmDataLen WORD length of PRM_PRM_DATA Station_Status BYTE status of supported functions byWD_Fact_1 BYTE watchdog factor 1 byWD_Fact_2 BYTE watchdog factor 2 byMin_Tsdr BYTE min. station delay reponder wIdent_Number WORD ident number of the station, motorola format byGroup_Ident BYTE fixed group number aybUsr_Prm_Data ARRAY [0..241] OF BYTE