IoConfigParameter (STRUCT) ¶ TYPE IoConfigParameter : STRUCT Parameter description. This entry describes completely a parameter of an connector. InOut: Name Type Comment dwParameterId DWORD ID of the parameter. This ID is specified in the device description. dwValue XWORD Value (if is valud < 4 bytes) or a pointer to the value of the parameter. wType WORD Type class of the parameter. See category “Type class” for detailed information. wLen WORD Length of the parameter in bits. dwFlags DWORD Parameter value flags. See category “Parameter value flags” for detailed information. Bit 16 to 31 are used for extended parameters (size exceeding 65535 Bits,8192 Bytes) dwDriverSpecific XWORD Driver specific entry. Reserved for the usage in the driver.
IoConfigTaskMap (STRUCT) ¶ TYPE IoConfigTaskMap : STRUCT Mapping description for each task. InOut: Name Type Comment dwTaskId DWORD Index of the IEC task. wType WORD Input or output type. See category “Task map types” for detailed information. wNumOfConnectorMap WORD Number of connector maps int the connector map list. pConnectorMapList POINTER TO IoConfigConnectorMap Pointer to the connector map list.
LockScopes (GVL) ¶ Scopes for mutual-exclusion locks to be used with the dwLockScope parameters of the functions IoMgrLockEnter() and IoMgrLockLeave() . Note: Use both locks IOMGR_LOCK_WRITE_OUTPUTS OR IOMGR_LOCK_READ_INPUTS in the function IoDrvStartBusCycle() . InOut: Scope Name Type Initial Comment Constant IOMGR_LOCK_READ_INPUTS DWORD 16#1 Lock critical sections in IoDrvReadInputs() and IoDrvStartBusCycle(). IOMGR_LOCK_WRITE_OUTPUTS DWORD 16#2 Lock critical sections in IoDrvWriteOutputs() and IoDrvStartBusCycle().
ParameterValueFlags (GVL) ¶ Parameter value flags InOut: Scope Name Type Initial Comment Constant PVF_FUNCTION WORD 16#1 Functional access TO the parameter, Value is a FUNCTION POINTER. PVF_POINTER WORD 16#2 Value is a pointer to the value PVF_VALUE WORD 16#4 Value can be interpreted directly as a value (max. 32 Bit datatypes). PVF_READ WORD 16#10 Parameter can be read. PVF_WRITE WORD 16#20 Parameter can be written PVF_BIDIRECTIONAL WORD 16#100 Output is bidirectional. There will be a call in IoDrvWriteOutputs as well as in IoDrvReadInputs
TaskMapTypes (GVL) ¶ Types of IO-channels in a task map InOut: Scope Name Type Initial Comment Constant TMT_INPUTS WORD 16#1 Input connector maps TMT_OUTPUTS WORD 16#2 Output connector maps
ICmpEventMgr ¶ EVTPARAM_CmpIoMgr (Struct) EventIDs (GVL)
EVTPARAM_CmpIoMgr (STRUCT) ¶ TYPE EVTPARAM_CmpIoMgr : STRUCT InOut: Name Type pConnectorList POINTER TO IoConfigConnector nCount DINT
EventIDs (GVL) ¶ InOut: Scope Name Type Initial Comment Constant CMPID_CmpIoMgr DWORD 16#12 EVTPARAMID_CmpIoMgr WORD 16#1 Parameter ID EVTVERSION_CmpIoMgr WORD 16#1 Parameter version EVT_PrepareUpdateConfiguration DWORD 16#10001 Event is sent before updating the IO-configuration. EVT_UpdateConfigurationDone DWORD 16#10002 Event is sent after updating the IO-configuration. EVT_ConfigAppStartedDone DWORD 16#10003 Event is sent after the config application is started. EVT_PrepareConfigAppStopped DWORD 16#10004 Event is sent before the config application is stopped. EVT_ConfigAppStoppedDone DWORD 16#10008 Event is sent after the config application is stopped.
ICmpIoDrv ¶ BusCycleType (GVL)
BusCycleType (GVL) ¶ Type of the bus cycle to differenciate between: InOut: Scope Name Type Initial Comment Constant BCT_START UDINT 16#1 Bus Cycle is executed at the beginning of the task cycle BCT_END UDINT 16#2 Bus Cycle is executed at the end of the task cycle