IoConfigParameterIDs (GVL) ¶ InOut: Scope Name Type Initial Constant PB_PRM_MASTER_PRM_SET UDINT 16#50000 PB_PRM_SLAVE_PRM_DATA UDINT 16#50000 PB_PRM_SLAVE_STATEION_ADDRESS UDINT 16#50001 PB_PRM_SLAVE_PRM_SET UDINT 16#50002 PB_PRM_SLAVEMODCHANNEL_CFG_DATA UDINT 16#50000 PB_PRM_SLAVEMODCHANNEL_EXTPRM_DATA UDINT 16#50001 PB_PRM_SLAVEMODCHANNEL_INDEX UDINT 16#70000 PB_PRM_CFG_NUM_OF_INPUTS UDINT 16#0 PB_PRM_CFG_NUM_OF_OUTPUTS UDINT 16#10000
IoDrvHilscher (FB) ¶ FUNCTION_BLOCK IoDrvHilscher EXTENDS IoDrvBase Methods: DiagSetBits ForceSwap InitInfo CIFGetDevFlag CIFGetHostFlag CIFIsDevFlagSet CIFIsHostFlagSet CIFResetDevFlag CIFSetDevFlag CIF_DeleteFlash CIF_GetControlMode CIF_GetMasterState CIF_GetRcsError CIF_InitMessage CIF_MessageRaw CIF_PrepareConfiguration CIF_Reset CIF_ResetWatchdog CIF_SendMessage CIF_SetDeviceFlags CIF_Shutdown CIF_StartBusCycle CIF_StartWithReset CIF_WaitDevFlag CIF_WaitHostFlag CIF_WarmStart ConvertDeviceInfo FB_Exit FB_Init FB_Reinit IoDrvGetModuleDiagnosis IoDrvIdentify IoDrvLogModuleDiagnosis IoDrvReadInputs IoDrvScanModules IoDrvStartBusCycle IoDrvUpdateConfiguration IoDrvUpdateMapping IoDrvWatchdogTrigger IoDrvWriteOutputs IsSupportedCard QueryInterface Structure: DPM-Access CIFGetDevFlag (Method) CIFGetHostFlag (Method) CIFIsDevFlagSet (Method) CIFIsHostFlagSet (Method) CIFResetDevFlag (Method) CIFSetDevFlag (Method) CIF_DeleteFlash (Method) CIF_GetControlMode (Method) CIF_GetMasterState (Method) CIF_GetRcsError (Method) CIF_InitMessage (Method) CIF_MessageRaw (Method) CIF_PrepareConfiguration (Method) CIF_Reset (Method) CIF_ResetWatchdog (Method) CIF_SendMessage (Method) CIF_SetDeviceFlags (Method) CIF_Shutdown (Method) CIF_StartBusCycle (Method) CIF_StartWithReset (Method) CIF_WaitDevFlag (Method) CIF_WaitHostFlag (Method) CIF_WarmStart (Method) ConvertDeviceInfo (Method) IsSupportedCard (Method) DiagSetBits (Method) ForceSwap (Method) IBase FB_Exit (Method) FB_Init (Method) FB_Reinit (Method) QueryInterface (Method) ICmpIoDrv IoDrvGetModuleDiagnosis (Method) IoDrvIdentify (Method) IoDrvLogModuleDiagnosis (Method) IoDrvReadInputs (Method) IoDrvScanModules (Method) IoDrvStartBusCycle (Method) IoDrvUpdateConfiguration (Method) IoDrvUpdateMapping (Method) IoDrvWatchdogTrigger (Method) IoDrvWriteOutputs (Method) InitInfo (Method)
PBSlaveDiag.SetCommunicationState (METH) ¶ METHOD SetCommunicationState : DED.ERROR InOut: Scope Name Type Return SetCommunicationState DED.ERROR Input eRequestedState DEVICE_TRANSITION_STATE
Global_Definitions (GVL) ¶ InOut: Scope Name Type Initial Comment Constant CMPID_CmpIoDrvHilscher DWORD 16#1001 CLASSID_CCmpIoDrvHilscher DWORD 16#1001 LIBRARY_VERSION UDINT 16#3040000 MAX_CARDS INT 4 CIFERR_OK BYTE 0 CIFWAIT_RESET BOOL FALSE CIFWAIT_SET BOOL TRUE CIFTIMEOUT_INF TIME TIME#0ms CIFTIMEOUT_WAITREADY TIME TIME#10s0ms CIFTIMEOUT_DELETEDB TIME TIME#5s0ms CIFTIMEOUT_WAITINIT TIME TIME#1s0ms CIFTIMEOUT_DDLMDOWNLOAD TIME TIME#10s0ms CIFTIMEOUT_MESSAGE TIME TIME#10s0ms CIFTIMEOUT_WAITACTIVEMASTERGONE TIME TIME#5s0ms HOSTCOM_FLAG BYTE 16#1 Host flags (HOST_FLAGS) written by the device DEVACK_FLAG BYTE 16#2 PDACK_FLAG BYTE 16#4 STATECOM_FLAG BYTE 16#8 dev_reserved_flag BYTE 16#10 COM_FLAG BYTE 16#20 RUN_FLAG BYTE 16#40 READY_FLAG BYTE 16#80 READY_RUN_FLAG BYTE 16#C0 Check if RUN_FLAG and READY_FLAG are set HOSTACK_FLAG BYTE 16#1 Device flags (DEV_FLAGS) written by the host DEVCOM_FLAG BYTE 16#2 PDCOM_FLAG BYTE 16#4 STATEACK_FLAG BYTE 16#8 host_reserved_flag BYTE 16#10 NOTREADY_FLAG BYTE 16#20 INIT_FLAG BYTE 16#40 RESET_FLAG BYTE 16#80 COLDSTART BYTE 16#80 Reset mode definition WARMSTART BYTE 16#40 BOOTSTART BYTE 16#C0 MST1_ACTIVE BYTE 16#1 Redundancy definitions MST2_PASSIVE BYTE 16#2 NO_REDUNDANCY BYTE 16#0 byMsgNr BYTE
Help Functions ¶ CIF_MemCpy (Function) CIF_MemSet (Function) CIF_StrLen (Function)
CIF_MemCpy (FUN) ¶ FUNCTION CIF_MemCpy : DWORD InOut: Scope Name Type Return CIF_MemCpy DWORD Input pbyDest POINTER TO BYTE pbySrc POINTER TO BYTE dwSize DWORD
CIF_MemSet (FUN) ¶ FUNCTION CIF_MemSet : DWORD InOut: Scope Name Type Return CIF_MemSet DWORD Input pbyBuffer POINTER TO BYTE byValue BYTE dwSize DWORD
CIF_StrLen (FUN) ¶ FUNCTION CIF_StrLen : DINT InOut: Scope Name Type Return CIF_StrLen DINT Input pString POINTER TO STRING
HilscherCardMgr (FB) ¶ FUNCTION_BLOCK HilscherCardMgr Methods: AutoDetect DetectISACards DetectPCICards FB_Exit FB_Init FB_Reinit IsHilscherIsaDevice MapCards UnmapCards Structure: AutoDetect (Method) DetectISACards (Method) DetectPCICards (Method) FB_Exit (Method) FB_Init (Method) FB_Reinit (Method) IsHilscherIsaDevice (Method) MapCards (Method) UnmapCards (Method)
HilscherCardMgr.AutoDetect (METH) ¶ METHOD AutoDetect : INT InOut: Scope Name Type Return AutoDetect INT