EVTPARAM_CmpMgr_PrepareExitCommProcessing (STRUCT) ¶ TYPE EVTPARAM_CmpMgr_PrepareExitCommProcessing : STRUCT <category>Event parameter</category> <element name=”bLastCall” type=”IN”>This value will be TRUE for the last call of this event, otherwise FALSE.</element> <element name=”bFurtherCallNecessary” type=”OUT”>Callees of the event can set this value to <c>TRUE</c> if they expect a further call of the same event with inbetween comm cycle calls. It is not expected that a callee sets this value to <c>FALSE</c>!</element> InOut: Name Type bLastCall DINT bFurtherCallNecessary DINT
EVTPARAM_CmpMgr_Shutdown (STRUCT) ¶ TYPE EVTPARAM_CmpMgr_Shutdown : STRUCT <category>Event parameter</category> <element name=”pDummy” type=”IN”>Dummy parameter</element> InOut: Name Type pDummy POINTER TO BYTE
LicenseFunctions (STRUCT) ¶ TYPE LicenseFunctions : STRUCT InOut: Name Type dwStructSize DWORD pfGetUserLicenseValue POINTER TO BYTE pfConfDynLicChallenge POINTER TO BYTE pfReqDynLicChallenge POINTER TO BYTE dwVersion DWORD
Operations (GVL) ¶ InOut: Scope Name Type Initial Constant OP_FILE_TRANSFER_DOWNLOAD DWORD 1 OP_FILE_TRANSFER_UPLOAD DWORD 2
PlcOperationControl (FB) ¶ FUNCTION_BLOCK PlcOperationControl IMPLEMENTS ICmpEventCallback Properties: xDisableAll xDisableApplicationBreakpoint xDisableApplicationDelete xDisableApplicationDownload xDisableApplicationForce xDisableApplicationOnlineChange xDisableApplicationReset xDisableApplicationResetOrigin xDisableApplicationStart xDisableApplicationStop xDisableApplicationWrite xDisableFileTransferDownload xDisableFileTransferUpload Structure: xDisableAll (Property) xDisableApplicationBreakpoint (Property) xDisableApplicationDelete (Property) xDisableApplicationDownload (Property) xDisableApplicationForce (Property) xDisableApplicationOnlineChange (Property) xDisableApplicationReset (Property) xDisableApplicationResetOrigin (Property) xDisableApplicationStart (Property) xDisableApplicationStop (Property) xDisableApplicationWrite (Property) xDisableFileTransferDownload (Property) xDisableFileTransferUpload (Property)
PlcOperationControl.xDisableAll (PROP) ¶ PROPERTY xDisableAll : BOOL
PlcOperationControl.xDisableApplicationBreakpoint (PROP) ¶ PROPERTY xDisableApplicationBreakpoint : BOOL
PlcOperationControl.xDisableApplicationDelete (PROP) ¶ PROPERTY xDisableApplicationDelete : BOOL
CTUD (FB) ¶ FUNCTION_BLOCK CTUD Increments and decrements a given value Note Datatype WORD , which is used for PV in CODESYS, does not match the IEC standard, which for PV defines datatype INT . (* Example declaration *) CTUDInst : CUTD ; (* Example in ST *) CTUDInst ( CU := VarBOOL1 , CD := VarBOOL2 , RESET := VarBOOL3 , LOAD := VarBOOL4 , PV := VarWORD1 ); VarBOOL5 := CTUDInst.QU ; VarBOOL6 := CTUDInst.QD ; VarWORD2 := CTUDInst.CV ; InOut: Scope Name Type Comment Input CU BOOL Rising edge: Incrementing CV by one CD BOOL Rising edge: Decrementing CV by one RESET BOOL TRUE : Reset CV to 0 LOAD BOOL TRUE : Set CV to the start value PV PV WORD Start value for decrementing / upper limit for incrementing Output QU BOOL TRUE if CV >= PV QD BOOL TRUE if CV = 0 CV WORD Current counter value
Miscellaneous ¶ RTC (FunctionBlock)