PBSlaveDiag.GetSpecificDeviceErrorAsync (METH) ¶ METHOD GetSpecificDeviceErrorAsync : DED.PROC_STATE Returns the device error of the current node InOut: Scope Name Type Comment Return GetSpecificDeviceErrorAsync DED.PROC_STATE Input eCmd PROC_CMD eCommand pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.SIZE eError DED.ERROR
PBSlaveDiag.GetSpecificDeviceState (METH) ¶ METHOD GetSpecificDeviceState : DED.ERROR InOut: Scope Name Type Return GetSpecificDeviceState DED.ERROR Input pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.COUNT
DEVINFO (STRUCT) ¶ TYPE DEVINFO : STRUCT InOut: Name Type Comment bDpmSize BYTE Device dpm size (2,8…) bDevType BYTE Device TYPE (manufactor code) bDevModel BYTE Device model (manufactor code) abDevIdentifier ARRAY [0..2] OF BYTE Device identification characters
DIAG_STATES (GVL) ¶ InOut: Scope Name Type Initial Constant STATE_OFFLINE BYTE 16#0 STATE_STOP BYTE 16#40 STATE_CLEAR BYTE 16#80 STATE_OPERATE BYTE 16#C0
DPM (UNION) ¶ TYPE DPM : UNION InOut: Name Type p2K POINTER TO DPM_2KB p8K POINTER TO DPM_8KB
DPM_2KB (STRUCT) ¶ TYPE DPM_2KB : STRUCT InOut: Name Type Comment abSendProcessData ARRAY [0..511] OF BYTE Send process data image abReceiveProcessData ARRAY [0..511] OF BYTE Receive process data image tDpm DPM_COM Definition OF the standard DPM
DPM_8KB (STRUCT) ¶ TYPE DPM_8KB : STRUCT InOut: Name Type Comment abSendProcessData ARRAY [0..3583] OF BYTE Send process data image abReceiveProcessData ARRAY [0..3583] OF BYTE Receive process data image tDpm DPM_COM Definition OF the standard DPM
DPM_CARD_DESC (STRUCT) ¶ TYPE DPM_CARD_DESC : STRUCT InOut: Name Type pIoDrvHilscher POINTER TO ICmpIoDrv pInput POINTER TO BYTE pOutput POINTER TO BYTE pDpmCom POINTER TO DPM_COM hShm RTS_IEC_HANDLE ulAddress DWORD ulSize DWORD wDeviceInfo WORD bMsgRawInUse BYTE tBusCycleStart TIME pDPM DPM ulBusNr UDINT
DPM_COM (STRUCT) ¶ TYPE DPM_COM : STRUCT InOut: Name Type Comment abDeviceMailbox ARRAY [0..287] OF BYTE Mailbox HOST –> DEVICE (288 Bytes) tDevVersion VERSIONINFO DEV verion information ( 32 Bytes) abHostMailbox ARRAY [0..287] OF BYTE Mailbox DEVICE –> HOST (288 Bytes) tFirmwareInfo FIRMWAREINFO Firmware info ( 32 Bytes) tTask1Parameter TASKPARAM Task 1 parameter ( 64 Bytes) tTask2Parameter TASKPARAM Task 2 parameter ( 64 Bytes) tTask1State TASKSTATE Task 1 state ( 64 Bytes) tTask2State TASKSTATE Task 2 state ( 64 Bytes) tTaskInfoList TASKINFOLIST Task 1 TO 7 info field (112 Bytes) tRcsInfo RCSINFO Operating system information ( 8 Bytes) tDeviceInfo DEVINFO DEVICE information ( 6 Bytes) bHostFlags BYTE DPM communication DEVICE->HOST ( 1 BYTE ) bDevFlags BYTE DPM communication HOST->DEVICE ( 1 BYTE )
DPM_DIAGNOSTICS (STRUCT) ¶ TYPE DPM_DIAGNOSTICS : STRUCT InOut: Name Type bGlobalBits BYTE bState BYTE Error tError usBus_Error_Cnt WORD usBus_Off_Cnt WORD usMsg_Time_Out WORD usRx_Overflow WORD abReserved ARRAY [0..3] OF BYTE abNdCfg ARRAY [0..15] OF BYTE abNdState ARRAY [0..15] OF BYTE abNd_diag ARRAY [0..15] OF BYTE