diff --git a/Arbiter/KFEArbiter/KFEArbiter.tmc b/Arbiter/KFEArbiter/KFEArbiter.tmc index 817ad86..c1927f0 100644 --- a/Arbiter/KFEArbiter/KFEArbiter.tmc +++ b/Arbiter/KFEArbiter/KFEArbiter.tmc @@ -1,40 +1,6493 @@ -PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024_Implicit_KindOfTask16INT_implicit_cyclic0_implicit_event1_implicit_external2_implicit_freewheeling3_Implicit_Jitter_Distribution48wRangeMaxWORD160wCountJitterNegWORD1616wCountJitterPosWORD1632hide_Implicit_Task_Info704dwVersionDWORD320pszNameSTRING(80)3232nPriorityINT1664KindOf_Implicit_KindOfTask1680bWatchdogBOOL896bProfilingTaskBOOL8104dwEventFunctionPointerBYTE32128pszExternalEventSTRING(80)32160dwTaskEntryFunctionPointerBYTE32192dwWatchdogSensitivityDWORD32224dwIntervalDWORD32256dwWatchdogTimeDWORD32288dwLastCycleTimeDWORD32320dwAverageCycleTimeDWORD32352dwMaxCycleTimeDWORD32384dwMinCycleTimeDWORD32416diJitterDINT32448diJitterMinDINT32480diJitterMaxDINT32512dwCycleCountDWORD32544wTaskStatusWORD16576wNumOfJitterDistributionsWORD16592pJitterDistribution_Implicit_Jitter_Distribution32608bWithinSPSTimeSlicingBOOL8640byDummyBYTE8648bShouldBlockBOOL8656bActiveBOOL8664dwIECCycleCountDWORD32672hideST_System40xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832analysis-33T_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener32PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult64bBusyBOOL8159341212bErrorBOOL8159341244hrErrorCodeHRESULT32159341252nStringSizeUDINT32159341236sResultSTRING(255)2048159341248__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult32conditionalshowGetStringBOOL8sResultSTRING(80)32nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32propertymonitoringcall__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyno_assignTcSourceInfoType32UDINT0124plcAttribute_qualified_onlyplcAttribute_strictTcSerializedSourceInfoType96eTypeTcSourceInfoType320obDataUDINT3232cbDataUDINT3264ITcSourceInfo32ITcUnknownGetNumTypesHRESULT32nCountUDINT32GetTypesHRESULT32ppSourceInfoTypesTcSerializedSourceInfoType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32ppDataPVOID32ITcEvent32ITcUnknownGetEventClassHRESULT32eventClassGUID32GetEventIdHRESULT32eventIdUDINT32GetSeverityHRESULT32severityTcEventSeverity32GetSourceInfoHRESULT32pipSourceInfoITcSourceInfo32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32GetTextHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32I_TcSourceInfo32PVOID__getguidGUID128property__getipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32propertymonitoringcall__getsNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8EqualsToBOOL8ipOtherI_TcSourceInfo32TcEventEntry192uuidEventClassGUID1280nEventIdUDINT32128eSeverityTcEventSeverity16160I_TcEventBase32PVOID__geteSeverityTcEventSeverity16propertymonitoringcall__getEventClassGUID128property__getipSourceInfoI_TcSourceInfo32propertymonitoringcall__getnEventIdUDINT32propertymonitoringcall__getsEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getsEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getstEventEntryTcEventEntry192propertyEqualsToBOOL8ipOtherI_TcEventBase32EqualsToEventClassBOOL8OtherEventClassGUID128EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16EqualsToEventEntryExBOOL8stOtherTcEventEntry192GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputRequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputIQueryInterface32PVOID__GetInterfacePointerBOOL8pRefDWORD32__GetInterfaceReferenceBOOL8nInterfaceIdDINT32pRefDWORD32TcEventArgumentType16INT012345678910111213141516171819plcAttribute_qualified_onlyplcAttribute_strictITcArguments32ITcUnknownCountHRESULT32nCountUDINT32AddArgumentHRESULT32eTypeTcEventArgumentType16pDataPVOID32cbDataUDINT32GetHRESULT32nIndexUDINT32eTypeTcEventArgumentType32ppDataPVOID32ClearHRESULT32GetArgumentTypesHRESULT32pArgumentTypesTcEventArgumentType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32pDataBYTE32I_TcArguments32IQueryInterface__getipDataITcArguments32propertyconditionalshowAddBlobI_TcArguments32pDataPVOID32cbDataUINT16AddBoolI_TcArguments32valueBOOL8AddByteI_TcArguments32valueBYTE8AddDIntI_TcArguments32valueDINT32AddDWordI_TcArguments32valueDWORD32AddEventReferenceExI_TcArguments32stEventEntryTcEventEntry192AddEventReferenceIdI_TcArguments32nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments32nEventIdUDINT32EventClassGUID128AddIntI_TcArguments32valueINT16AddLIntI_TcArguments32valueLINT64AddLRealI_TcArguments32valueLREAL64AddRealI_TcArguments32valueREAL32AddSIntI_TcArguments32valueSINT8AddStringI_TcArguments32valueSTRING(80)32ItemTypeInOutAddStringByValueI_TcArguments32valueT_MaxString2048AddUDIntI_TcArguments32valueUDINT32AddUIntI_TcArguments32valueUINT16AddULIntI_TcArguments32valueULINT64AddUSIntI_TcArguments32valueUSINT8AddUtf8EncodedStringI_TcArguments32valueSTRING(80)32ItemTypeInOutAddWordI_TcArguments32valueWORD16AddWStringI_TcArguments32valueWSTRING(80)32ItemTypeInOutAddWStringByValueI_TcArguments32valueWSTRING(255)4096ClearI_TcArguments32FB_TcSourceInfo2784I_TcSourceInfonIdUDINT32159341156159341180sNameSTRING(255)2048159341192159341204__setbCutInstancePathByLastInstbCutInstancePathByLastInstBOOL8propertyClearExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo32ipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefault_sInstancePathSTRING(255)2048__getguidGUID128guidGUID128property__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo32__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase3360I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2784256.bCutInstancePathByLastInst1conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult643168conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83232conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult643264conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL83328conditionalshoweSeverityTcEventSeverity16159341300ipSourceInfoI_TcSourceInfo32159341280nEventIdUDINT32159341368sEventClassNameSTRING(255)2048159341328sEventTextSTRING(255)2048159341372EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult32ItemTypeInOutipTmpEventITcEvent32ipResultITcAsyncStringResult32hrHRESULT32ReleaseHRESULT32UpdateLangId__getipSourceInfoI_TcSourceInfo32ipSourceInfoI_TcSourceInfo32propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshow__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent32property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent32propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult64uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSYOnArgumentsChanged__getsEventClassNameSTRING(255)2048sEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getipArgumentsI_TcArguments32ipArgumentsI_TcArguments32propertyGetEventTextHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult32ItemTypeInOutipTmpEventITcEvent32ipResultITcAsyncStringResult32hrHRESULT32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32ipTmpEventITcEvent32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult64uselocation__REQUESTEVENTCLASSNAME__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTCLASSNAME__BBUSYEqualsToEventEntryExBOOL8stOtherTcEventEntry192__getnEventIdUDINT32nEventIdUDINT32ipTmpEventITcEvent32propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyno_assignI_TcMessage32I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage3424FB_TcEventBaseI_TcMessagenTimeSentULINT64159341396SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo32InitipMessageITcMessage32ipArgumentsITcArguments32ipSourceInfoITcSourceInfo32conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage232nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo32hrHRESULT32ipArgumentsITcArguments32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshowSendHRESULT32nTimeStampULINT64TcEncodingFILETIMEReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIG + + + + PlcAppSystemInfo + 2048 + + ObjId + OTCID + 32 + 0 + + + TaskCnt + UDINT + 32 + 32 + + + OnlineChangeCnt + UDINT + 32 + 64 + + + Flags + DWORD + 32 + 96 + + + AdsPort + UINT + 16 + 128 + + + BootDataLoaded + BOOL + 8 + 144 + + + OldBootData + BOOL + 8 + 152 + + + AppTimestamp + DT + 32 + 160 + + + KeepOutputsOnBP + BOOL + 8 + 192 + + + ShutdownInProgress + BOOL + 8 + 200 + + + LicensesPending + BOOL + 8 + 208 + + + BSODOccured + BOOL + 8 + 216 + + + LoggedIn + BOOL + 8 + 224 + + + TComSrvPtr + ITComObjectServer + 32 + 256 + + + TcComInterface + + + + + AppName + STRING(63) + 512 + 512 + + + ProjectName + STRING(63) + 512 + 1024 + + + + + + + + + + _Implicit_KindOfTask + 16 + INT + + _implicit_cyclic + 0 + + + _implicit_event + 1 + + + _implicit_external + 2 + + + _implicit_freewheeling + 3 + + + + _Implicit_Jitter_Distribution + 48 + + wRangeMax + WORD + 16 + 0 + + + wCountJitterNeg + WORD + 16 + 16 + + + wCountJitterPos + WORD + 16 + 32 + + + + hide + + + + + _Implicit_Task_Info + 704 + + dwVersion + DWORD + 32 + 0 + + + pszName + STRING(80) + 32 + 32 + + + nPriority + INT + 16 + 64 + + + KindOf + _Implicit_KindOfTask + 16 + 80 + + + bWatchdog + BOOL + 8 + 96 + + + bProfilingTask + BOOL + 8 + 104 + + + dwEventFunctionPointer + BYTE + 32 + 128 + + + pszExternalEvent + STRING(80) + 32 + 160 + + + dwTaskEntryFunctionPointer + BYTE + 32 + 192 + + + dwWatchdogSensitivity + DWORD + 32 + 224 + + + dwInterval + DWORD + 32 + 256 + + + dwWatchdogTime + DWORD + 32 + 288 + + + dwLastCycleTime + DWORD + 32 + 320 + + + dwAverageCycleTime + DWORD + 32 + 352 + + + dwMaxCycleTime + DWORD + 32 + 384 + + + dwMinCycleTime + DWORD + 32 + 416 + + + diJitter + DINT + 32 + 448 + + + diJitterMin + DINT + 32 + 480 + + + diJitterMax + DINT + 32 + 512 + + + dwCycleCount + DWORD + 32 + 544 + + + wTaskStatus + WORD + 16 + 576 + + + wNumOfJitterDistributions + WORD + 16 + 592 + + + pJitterDistribution + _Implicit_Jitter_Distribution + 32 + 608 + + + bWithinSPSTimeSlicing + BOOL + 8 + 640 + + + byDummy + BYTE + 8 + 648 + + + bShouldBlock + BOOL + 8 + 656 + + + bActive + BOOL + 8 + 664 + + + dwIECCycleCount + DWORD + 32 + 672 + + + + hide + + + + + ST_System + Defacto system structure, must be included in all projects + 40 + + xSwAlmRst + BOOL + Global Alarm Reset - EPICS Command + 8 + 0 + + + xAtVacuum + BOOL + System At Vacuum + 8 + 8 + + + xFirstScan + BOOL + This boolean is true for the first scan, and is false thereafter, use for initialization of stuff + 8 + 16 + + + xOverrideMode + BOOL + This bit is set when using the override features of the system + 8 + 24 + + + xIOState + BOOL + ECat Bus Health + 8 + 32 + + + + analysis + -33 + + + + + T_MaxString + TwinCAT PLC string of max. length of 255 bytes + 1 byte null delimiter. + 2048 + STRING(255) + + + TcEventSeverity + 16 + INT + + TCEVENTSEVERITY_Verbose + 0 + + + TCEVENTSEVERITY_Info + 1 + + + TCEVENTSEVERITY_Warning + 2 + + + TCEVENTSEVERITY_Error + 3 + + + TCEVENTSEVERITY_Critical + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + + E_Subsystem + 16 + WORD + + NILVALUE + 0 + Undefined system + + + VACUUM + 1 + Vacuum control system + + + MPS + 2 + Machine protection system + + + MOTION + 3 + Motion control systems + + + FIELDBUS + 4 + EtherCAT networks + + + SDS + 5 + Sample delivery system + + + OPTICS + 6 + Optics control system + + + + I_ArgumentsChangeListener + 32 + PVOID + + OnArgumentsChanged + + + + ITcAsyncResult + 32 + ITcUnknown + + GetIsBusy + HRESULT + 32 + + bIsBusy + BOOL32 + 32 + + + + GetHasError + HRESULT + 32 + + bError + BOOL32 + 32 + + + + GetErrorCode + HRESULT + 32 + + hresult + HRESULT + 32 + + + + + FB_AsyncStrResult + 64 + + bBusy + BOOL + 8 + 159341212 + + + bError + BOOL + 8 + 159341244 + + + hrErrorCode + HRESULT + 32 + 159341252 + + + nStringSize + UDINT + 32 + 159341236 + + + sResult + STRING(255) + 2048 + 159341248 + + + __getbBusy + BOOL + 8 + + bBusy + BOOL + 8 + + + b32IsBusy + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + Init + + ipResult + ITcAsyncStringResult + 32 + + + + conditionalshow + + + + + GetString + BOOL + 8 + + sResult + STRING(80) + 32 + + + nResult + buffer size in bytes + UDINT + 32 + + + + __getnStringSize + UDINT + 32 + + nStringSize + UDINT + 32 + + + + property + + + monitoring + call + + + + + __getbError + BOOL + 8 + + bError + BOOL + 8 + + + b32HasError + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + __getsResult + STRING(255) + 2048 + + sResult + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + monitoring + call + + + + + + PouType + FunctionBlock + + + enable_dynamic_creation + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + no_assign + + + + + TcSourceInfoType + 32 + UDINT + + Undefined + 0 + + + Id + 1 + + + Guid + 2 + + + Name + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + TcSerializedSourceInfoType + 96 + + eType + TcSourceInfoType + 32 + 0 + + + obData + UDINT + 32 + 32 + + + cbData + UDINT + 32 + 64 + + + + ITcSourceInfo + 32 + ITcUnknown + + GetNumTypes + HRESULT + 32 + + nCount + UDINT + 32 + + + + GetTypes + HRESULT + 32 + + ppSourceInfoTypes + TcSerializedSourceInfoType + 32 + + + + GetDataSize + HRESULT + 32 + + cbData + UDINT + 32 + + + + GetData + HRESULT + 32 + + ppData + PVOID + 32 + + + + + ITcEvent + 32 + ITcUnknown + + GetEventClass + HRESULT + 32 + + eventClass + GUID + 32 + + + + GetEventId + HRESULT + 32 + + eventId + UDINT + 32 + + + + GetSeverity + HRESULT + 32 + + severity + TcEventSeverity + 32 + + + + GetSourceInfo + HRESULT + 32 + + pipSourceInfo + ITcSourceInfo + 32 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + + GetText + HRESULT + 32 + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + GetEventClassName + HRESULT + 32 + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + + I_TcSourceInfo + 32 + PVOID + + __getguid + GUID + 128 + + + property + + + + + __getipData + ITcSourceInfo + 32 + + + property + + + conditionalshow + + + + + __getnId + UDINT + 32 + + + property + + + monitoring + call + + + + + __getsName + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcSourceInfo + 32 + + + + + TcEventEntry + 192 + + uuidEventClass + GUID + 128 + 0 + + + nEventId + UDINT + 32 + 128 + + + eSeverity + TcEventSeverity + 16 + 160 + + + + I_TcEventBase + 32 + PVOID + + __geteSeverity + TcEventSeverity + 16 + + + property + + + monitoring + call + + + + + __getEventClass + GUID + 128 + + + property + + + + + __getipSourceInfo + I_TcSourceInfo + 32 + + + property + + + monitoring + call + + + + + __getnEventId + UDINT + 32 + + + property + + + monitoring + call + + + + + __getsEventClassName + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getsEventText + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getstEventEntry + TcEventEntry + 192 + + + property + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcEventBase + 32 + + + + EqualsToEventClass + BOOL + 8 + + OtherEventClass + GUID + 128 + + + + EqualsToEventEntry + BOOL + 8 + + OtherEventClass + GUID + 128 + + + nOtherEventID + UDINT + 32 + + + eOtherSeverity + TcEventSeverity + 16 + + + + EqualsToEventEntryEx + BOOL + 8 + + stOther + TcEventEntry + 192 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + + RequestEventClassName + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + RequestEventText + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + + IQueryInterface + 32 + PVOID + + __GetInterfacePointer + BOOL + 8 + + pRef + DWORD + 32 + + + + __GetInterfaceReference + BOOL + 8 + + nInterfaceId + DINT + 32 + + + pRef + DWORD + 32 + + + + + TcEventArgumentType + 16 + INT + + Undefined + 0 + + + Boolean + 1 + + + Int8 + 2 + + + Int16 + 3 + + + Int32 + 4 + + + Int64 + 5 + + + UInt8 + 6 + + + UInt16 + 7 + + + UInt32 + 8 + + + UInt64 + 9 + + + Float + 10 + + + Double + 11 + + + Char + 12 + + + WChar + 13 + + + StringType + 14 + + + WStringType + 15 + + + EventReference + 16 + + + FormatString + 17 + + + ExternalTimestamp + 18 + + + Blob + 19 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + ITcArguments + 32 + ITcUnknown + + Count + HRESULT + 32 + + nCount + UDINT + 32 + + + + AddArgument + HRESULT + 32 + + eType + TcEventArgumentType + 16 + + + pData + PVOID + 32 + + + cbData + UDINT + 32 + + + + Get + HRESULT + 32 + + nIndex + UDINT + 32 + + + eType + TcEventArgumentType + 32 + + + ppData + PVOID + 32 + + + + Clear + HRESULT + 32 + + + GetArgumentTypes + HRESULT + 32 + + pArgumentTypes + TcEventArgumentType + 32 + + + + GetDataSize + HRESULT + 32 + + cbData + UDINT + 32 + + + + GetData + HRESULT + 32 + + pData + BYTE + 32 + + + + + I_TcArguments + 32 + IQueryInterface + + __getipData + ITcArguments + 32 + + + property + + + conditionalshow + + + + + AddBlob + I_TcArguments + 32 + + pData + PVOID + 32 + + + cbData + UINT + 16 + + + + AddBool + I_TcArguments + 32 + + value + BOOL + 8 + + + + AddByte + I_TcArguments + 32 + + value + BYTE + 8 + + + + AddDInt + I_TcArguments + 32 + + value + DINT + 32 + + + + AddDWord + I_TcArguments + 32 + + value + DWORD + 32 + + + + AddEventReferenceEx + I_TcArguments + 32 + + stEventEntry + TcEventEntry + 192 + + + + AddEventReferenceId + I_TcArguments + 32 + + nEventId + UDINT + 32 + + + + AddEventReferenceIdGuid + I_TcArguments + 32 + + nEventId + UDINT + 32 + + + EventClass + GUID + 128 + + + + AddInt + I_TcArguments + 32 + + value + INT + 16 + + + + AddLInt + I_TcArguments + 32 + + value + LINT + 64 + + + + AddLReal + I_TcArguments + 32 + + value + LREAL + 64 + + + + AddReal + I_TcArguments + 32 + + value + REAL + 32 + + + + AddSInt + I_TcArguments + 32 + + value + SINT + 8 + + + + AddString + I_TcArguments + 32 + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddStringByValue + I_TcArguments + 32 + + value + T_MaxString + 2048 + + + + AddUDInt + I_TcArguments + 32 + + value + UDINT + 32 + + + + AddUInt + I_TcArguments + 32 + + value + UINT + 16 + + + + AddULInt + I_TcArguments + 32 + + value + ULINT + 64 + + + + AddUSInt + I_TcArguments + 32 + + value + USINT + 8 + + + + AddUtf8EncodedString + I_TcArguments + 32 + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddWord + I_TcArguments + 32 + + value + WORD + 16 + + + + AddWString + I_TcArguments + 32 + + value + WSTRING(80) + 32 + + + ItemType + InOut + + + + + + AddWStringByValue + I_TcArguments + 32 + + value + WSTRING(255) + 4096 + + + + Clear + I_TcArguments + 32 + + + + FB_TcSourceInfo + 2784 + I_TcSourceInfo + + nId + UDINT + 32 + 159341156 + 159341180 + + + sName + STRING(255) + 2048 + 159341192 + 159341204 + + + __setbCutInstancePathByLastInst + + bCutInstancePathByLastInst + BOOL + 8 + + + + property + + + + + Clear + + + ExtendName + BOOL + 8 + + sExtension + STRING(255) + 2048 + + + + __getipData + ITcSourceInfo + 32 + + ipData + ITcSourceInfo + 32 + + + + property + + + conditionalshow + + + + + __getnId + UDINT + 32 + + nId + UDINT + 32 + + + + property + + + monitoring + call + + + + + ResetToDefault + + _sInstancePath + STRING(255) + 2048 + + + + __getguid + GUID + 128 + + guid + GUID + 128 + + + + property + + + + + __setnId + + nId + UDINT + 32 + + + monitoring + call + + + + + + property + + + monitoring + call + + + + + __setguid + + guid + GUID + 128 + + + + property + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcSourceInfo + 32 + + + + __getsName + STRING(255) + 2048 + + sName + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __setsName + + sName + STRING(255) + 2048 + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + FB_TcEventBase + 3360 + I_ArgumentsChangeListener + + fbSourceInfo + FB_TcSourceInfo + 2784 + 256 + + + .bCutInstancePathByLastInst + 1 + + + + + conditionalshow + + + + + __REQUESTEVENTCLASSNAME__FBRESULT + FB_AsyncStrResult + 64 + 3168 + + + conditionalshow + + + + + __REQUESTEVENTCLASSNAME__BBUSY + BOOL + 8 + 3232 + + + conditionalshow + + + + + __REQUESTEVENTTEXT__FBRESULT + FB_AsyncStrResult + 64 + 3264 + + + conditionalshow + + + + + __REQUESTEVENTTEXT__BBUSY + BOOL + 8 + 3328 + + + conditionalshow + + + + + eSeverity + TcEventSeverity + 16 + 159341300 + + + ipSourceInfo + I_TcSourceInfo + 32 + 159341280 + + + nEventId + UDINT + 32 + 159341368 + + + sEventClassName + STRING(255) + 2048 + 159341328 + + + sEventText + STRING(255) + 2048 + 159341372 + + + EqualsToEventClass + BOOL + 8 + + OtherEventClass + GUID + 128 + + + _EventClass + GUID + 128 + + + + GetEventClassName + HRESULT + 32 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + fbResult + FB_AsyncStrResult + 32 + + + ItemType + InOut + + + + + ipTmpEvent + ITcEvent + 32 + + + ipResult + ITcAsyncStringResult + 32 + + + hr + HRESULT + 32 + + + + Release + HRESULT + 32 + + + UpdateLangId + + + __getipSourceInfo + I_TcSourceInfo + 32 + + ipSourceInfo + I_TcSourceInfo + 32 + + + + property + + + monitoring + call + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcEventBase + 32 + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + __getEventClass + GUID + 128 + + EventClass + GUID + 128 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + + + __geteSeverity + TcEventSeverity + 16 + + eSeverity + TcEventSeverity + 16 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + monitoring + call + + + + + __getstEventEntry + TcEventEntry + 192 + + stEventEntry + TcEventEntry + 192 + + + + property + + + + + OnCreate + HRESULT + 32 + + + EqualsToEventEntry + BOOL + 8 + + OtherEventClass + GUID + 128 + + + nOtherEventID + UDINT + 32 + + + eOtherSeverity + TcEventSeverity + 16 + + + + RequestEventText + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + fbResult + FB_AsyncStrResult + 64 + + + uselocation + __REQUESTEVENTTEXT__FBRESULT + + + + + bBusy + BOOL + 8 + + + uselocation + __REQUESTEVENTTEXT__BBUSY + + + + + + OnArgumentsChanged + + + __getsEventClassName + STRING(255) + 2048 + + sEventClassName + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getipArguments + I_TcArguments + 32 + + ipArguments + I_TcArguments + 32 + + + + property + + + + + GetEventText + HRESULT + 32 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + fbResult + FB_AsyncStrResult + 32 + + + ItemType + InOut + + + + + ipTmpEvent + ITcEvent + 32 + + + ipResult + ITcAsyncStringResult + 32 + + + hr + HRESULT + 32 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + + RequestEventClassName + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + fbResult + FB_AsyncStrResult + 64 + + + uselocation + __REQUESTEVENTCLASSNAME__FBRESULT + + + + + bBusy + BOOL + 8 + + + uselocation + __REQUESTEVENTCLASSNAME__BBUSY + + + + + + EqualsToEventEntryEx + BOOL + 8 + + stOther + TcEventEntry + 192 + + + + __getnEventId + UDINT + 32 + + nEventId + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + monitoring + call + + + + + __getsEventText + STRING(255) + 2048 + + sEventText + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + no_assign + + + + + I_TcMessage + 32 + I_TcEventBase + + Send + HRESULT + 32 + + nTimeStamp + ULINT + 64 + + + + + ITcMessage + 32 + ITcEvent + + SetJsonAttribute + HRESULT + 32 + + sJsonAttribute + PCCH + 32 + + + + GetArguments + HRESULT + 32 + + pipArguments + ITcArguments + 32 + + + + Send + HRESULT + 32 + + timeStamp + ULINT + 64 + + + + + ITcMessage2 + 32 + ITcMessage + + GetTimeSent + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + + FB_TcMessage + 3424 + FB_TcEventBase + I_TcMessage + + nTimeSent + ULINT + 64 + 159341396 + + + SetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + ItemType + InOut + + + + + + CreateEx + HRESULT + 32 + + stEventEntry + TcEventEntry + 192 + + + ipSourceInfo + optional (otherwise a default source info is taken) + I_TcSourceInfo + 32 + + + + Init + + ipMessage + ITcMessage + 32 + + + ipArguments + ITcArguments + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + + conditionalshow + + + + + __getnTimeSent + ULINT + 64 + + nTimeSent + ULINT + 64 + + + ipMessage2 + ITcMessage2 + 32 + + + nTimeStamp + ULINT + 64 + + + + property + + + monitoring + call + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + Create + HRESULT + 32 + + eventClass + GUID + 128 + + + nEventId + UDINT + 32 + + + eSeverity + TcEventSeverity + 16 + + + ipSourceInfo + optional (otherwise a default source info is taken) + I_TcSourceInfo + 32 + + + hr + HRESULT + 32 + + + ipArguments + ITcArguments + 32 + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + Send + HRESULT + 32 + + nTimeStamp + set 0 to get the current time automatically + ULINT + 64 + + + TcEncoding + FILETIME + + + + + + Release + HRESULT + 32 + + + + PouType + FunctionBlock + + + reflection + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + F_TRIG + Falling Edge detection. -]]>64CLKBOOL832ItemTypeInputQBOOL840ItemTypeOutputMBOOL8481conditionalshowPouTypeFunctionBlockconditionalshow_all_localsR_TRIG + 64 + + CLK + BOOL + signal to detect + 8 + 32 + + + ItemType + Input + + + + + Q + BOOL + falling edge at signal detected + 8 + 40 + + + ItemType + Output + + + + + M + BOOL + 8 + 48 + + 1 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + R_TRIG + Rising Edge detection. -]]>64CLKBOOL832ItemTypeInputQBOOL840ItemTypeOutputMBOOL848conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LogMessage81600sMsgT_MaxString204832ItemTypeInputeSevrTcEventSeverity1620800ItemTypeInputeSubsystemE_Subsystem162096ItemTypeInputsJsonSTRING(7000)560082112{}ItemTypeInputnMinTimeViolationAcceptableINT16581285ItemTypeInputnLocalTripThresholdTIME32581441ItemTypeInputnTrickleTripThresholdTIME> LocalTripThreshold]]>3258176100ItemTypeInputnTripResetPeriodTIME3258208600000ItemTypeInputbEnableAutoResetBOOL8582401ItemTypeInputbInitializedBOOL8582480bInitFailedBOOL8582560sSubsystemSourceSTRING(80)64858264fbMessageFB_TcMessage3258912fbMessagesFB_TcMessage051712058944fbSourceFB_TcSourceInfo278476064ipResultMessageI_TcMessage3278848hrHRESULT3278880hrLastInternalErrorHRESULT3278912eTraceLevelTcEventSeverity16789440bFirstCallBOOL8789601sPathT_MaxString204878968instance-pathnoinitnTimesViolatedINT1681024LastCallTimeULINT6481088CurrentCallTimeULINT6481152DeltaSinceLastCallULINT6481216WhenTripsClearedULINT6481280ftTrippedReleasedF_TRIG6481344bLocalTrickleTrippedBOOL881408bLocalTrippedBOOL881416bTrippedBOOL881424pytmc + + 64 + + CLK + BOOL + Signal to detect + 8 + 32 + + + ItemType + Input + + + + + Q + BOOL + rising edge at signal detected + 8 + 40 + + + ItemType + Output + + + + + M + BOOL + 8 + 48 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LogMessage + 81600 + + sMsg + T_MaxString + Message to send + 2048 + 32 + + + ItemType + Input + + + + + eSevr + TcEventSeverity + 16 + 2080 + + 0 + + + + ItemType + Input + + + + + eSubsystem + E_Subsystem + Subsystem + 16 + 2096 + + + ItemType + Input + + + + + sJson + STRING(7000) + JSON to add to the message + 56008 + 2112 + + {} + + + + ItemType + Input + + + + + nMinTimeViolationAcceptable + INT + How many times the min. time can be violated before the CB trips + 16 + 58128 + + 5 + + + + ItemType + Input + + + + + nLocalTripThreshold + TIME + Minimum time between calls allowed, pairs with nMinTimeViolationAcceptable + 32 + 58144 + + 1 + + + + ItemType + Input + + + + + nTrickleTripThreshold + TIME + Trickle trip, activated by global threshold, should be >> LocalTripThreshold + 32 + 58176 + + 100 + + + + ItemType + Input + + + + + nTripResetPeriod + TIME + Time for auto-reset + 32 + 58208 + + 600000 + + + + ItemType + Input + + + + + bEnableAutoReset + BOOL + Enable circuit breaker auto-reset (true by default) + 8 + 58240 + + 1 + + + + ItemType + Input + + + + + bInitialized + BOOL + 8 + 58248 + + 0 + + + + bInitFailed + BOOL + 8 + 58256 + + 0 + + + + sSubsystemSource + STRING(80) + 648 + 58264 + + + fbMessage + FB_TcMessage + 32 + 58912 + + + fbMessages + FB_TcMessage + + 0 + 5 + + 17120 + 58944 + + + fbSource + FB_TcSourceInfo + 2784 + 76064 + + + ipResultMessage + I_TcMessage + 32 + 78848 + + + hr + HRESULT + 32 + 78880 + + + hrLastInternalError + HRESULT + 32 + 78912 + + + eTraceLevel + TcEventSeverity + 16 + 78944 + + 0 + + + + bFirstCall + BOOL + 8 + 78960 + + 1 + + + + sPath + T_MaxString + 2048 + 78968 + + + instance-path + + + noinit + + + + + nTimesViolated + INT + //////////////////////////// + 16 + 81024 + + + LastCallTime + ULINT + 64 + 81088 + + + CurrentCallTime + ULINT + 64 + 81152 + + + DeltaSinceLastCall + ULINT + 64 + 81216 + + + WhenTripsCleared + ULINT + 64 + 81280 + + + ftTrippedReleased + F_TRIG + 64 + 81344 + + + bLocalTrickleTripped + BOOL + 8 + 81408 + + + bLocalTripped + BOOL + 8 + 81416 + + + bTripped + BOOL + Won't emit messages if true + 8 + 81424 + + + pytmc + pv: Tripped io: i field: DESC Log message FB tripped - bResetBreakerBOOL881432pytmc + + + + + + bResetBreaker + BOOL + 8 + 81432 + + + pytmc + pv: Reset io: o field: DESC Rising-edge reset of trip - rtResetBreakerR_TRIG6481440rtTrippedR_TRIG6481504CircuitBreakerPouTypeFunctionBlockreflectionST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2T_AmsNetID192STRING(23)E_RouteTransportType16UINTeRouteTransport_None0eRouteTransport_TCP_IP1eRouteTransport_IIO_LIGHTBUS2eRouteTransport_PROFIBUS_DP3eRouteTransport_PCI_ISA_BUS4eRouteTransport_ADS_UDP5eRouteTransport_FATP_UDP6eRouteTransport_COM_PORT7eRouteTransport_USB8eRouteTransport_CAN_OPEN9eRouteTransport_DEVICE_NET10eRouteTransport_SSB11eRouteTransport_SOAP12ST_AmsRouteEntry1184sNameSTRING(31)2560sNetIDT_AmsNetID192256sAddressSTRING(79)640448eTransportE_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152E_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg96eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID32640TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112ST_TimeZoneInformation864biasDINT + + + + + rtResetBreaker + R_TRIG + 64 + 81440 + + + rtTripped + R_TRIG + 64 + 81504 + + + CircuitBreaker + + + + PouType + FunctionBlock + + + reflection + + + + + ST_LibVersion + 288 + + iMajor + UINT + 16 + 0 + + + iMinor + UINT + 16 + 16 + + + iBuild + UINT + 16 + 32 + + + iRevision + UINT + 16 + 48 + + + nFlags + DWORD + 32 + 64 + + + sVersion + STRING(23) + 192 + 96 + + + + T_ULARGE_INTEGER + 64 bit unsigned integer + 64 + + dwLowPart + DWORD + Lower double word + 32 + 0 + + + dwHighPart + DWORD + Higher double word + 32 + 32 + + + + E_WATCHDOG_TIME_CONFIG + 16 + INT + + eWATCHDOG_TIME_DISABLED + 0 + + + eWATCHDOG_TIME_SECONDS + 1 + + + eWATCHDOG_TIME_MINUTES + 2 + + + + E_HashPrefixTypes + 16 + INT + + HASHPREFIX_IEC + 0 + 2#, 8#, 16# + + + HASHPREFIX_STDC + 1 + 0 for octal type, 0x, 0X for hex else none + + + + E_SBCSType + 16 + INT + + eSBCS_WesternEuropean + 1 + Windows 1252 (default) + + + eSBCS_CentralEuropean + 2 + Windows 1251 + + + + T_AmsNetID + TwinCAT AMS netID address string. + 192 + STRING(23) + + + E_RouteTransportType + 16 + UINT + + eRouteTransport_None + 0 + + + eRouteTransport_TCP_IP + 1 + + + eRouteTransport_IIO_LIGHTBUS + 2 + + + eRouteTransport_PROFIBUS_DP + 3 + + + eRouteTransport_PCI_ISA_BUS + 4 + + + eRouteTransport_ADS_UDP + 5 + + + eRouteTransport_FATP_UDP + 6 + + + eRouteTransport_COM_PORT + 7 + + + eRouteTransport_USB + 8 + + + eRouteTransport_CAN_OPEN + 9 + + + eRouteTransport_DEVICE_NET + 10 + + + eRouteTransport_SSB + 11 + + + eRouteTransport_SOAP + 12 + + + + ST_AmsRouteEntry + TwinCAT AMS route entry struct + 1184 + + sName + STRING(31) + String containing route name + 256 + 0 + + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 256 + + + sAddress + STRING(79) + String containing route network Ipv4 address or host name. + 640 + 448 + + + eTransport + E_RouteTransportType + Route transport type + 16 + 1088 + + + tTimeout + TIME + Route timeout + 32 + 1120 + + + dwFlags + DWORD + Additional flags + 32 + 1152 + + + + E_ArgType + 16 + INT + + ARGTYPE_UNKNOWN + 0 + + + ARGTYPE_BYTE + 1 + + + ARGTYPE_WORD + 2 + + + ARGTYPE_DWORD + 3 + + + ARGTYPE_REAL + 4 + + + ARGTYPE_LREAL + 5 + + + ARGTYPE_SINT + 6 + + + ARGTYPE_INT + 7 + + + ARGTYPE_DINT + 8 + + + ARGTYPE_USINT + 9 + + + ARGTYPE_UINT + 10 + + + ARGTYPE_UDINT + 11 + + + ARGTYPE_STRING + 12 + string of type T_MaxString! + + + ARGTYPE_BOOL + 13 + + + ARGTYPE_BIGTYPE + 14 + byte buffer + + + ARGTYPE_ULARGE + 15 + unsigned 64 bit ingeger (T_ULARGE_INTEGER, ULINT) + + + ARGTYPE_UHUGE + 16 + unsigned 128 bit integer (T_UHUGE_INTEGER) + + + ARGTYPE_LARGE + 17 + signed 64 bit integer (T_LARGE_INTEGER, LINT) + + + ARGTYPE_HUGE + 18 + signed 128 bit integer (T_HUGE_INTEGER) + + + ARGTYPE_LWORD + 19 + LWORD value + + + + T_Arg + Argument type + 96 + + eType + E_ArgType + Argument data type + 16 + 0 + + 0 + + + + cbLen + UDINT + Argument data byte length (if eType = ARGTYPE_STRING => cbLen = length of string + 1 (null delimiter). + 32 + 32 + + 0 + + + + pData + PVOID + Pointer to first argument data byte + 32 + 64 + + 0 + + + + + TIMESTRUCT + System Time Structure + 128 + + wYear + WORD + Year: 1970..2106 + 16 + 0 + + + wMonth + WORD + Month: 1..12 (January = 1, February = 2 and so on) + 16 + 16 + + + wDayOfWeek + WORD + Day of the week: 0..6 (Sunday = 0, Monday = 1, .. , Saturday = 6 and so on) + 16 + 32 + + + wDay + WORD + Day of the month: 1..31 + 16 + 48 + + + wHour + WORD + Hour: 0..23 + 16 + 64 + + + wMinute + WORD + Minute: 0..59 + 16 + 80 + + + wSecond + WORD + Second: 0..59 + 16 + 96 + + + wMilliseconds + WORD + Milliseconds: 0..999 + 16 + 112 + + + + ST_TimeZoneInformation + 864 + + bias + DINT + Specifies the current bias, in minutes, for local time translation on this computer. The bias is the difference, in minutes, between Coordinated Universal Time (UTC) and local time. - UTC = local time + bias ]]>320standardNameSTRING(31)25632standardDateTIMESTRUCT128288standardBiasDINT32416daylightNameSTRING(31)256448daylightDateTIMESTRUCT128704daylightBiasDINT32832ST_SockAddr160nPortUDINT320sAddrSTRING(15)12832T_HSOCKET352handleUDINT320localAddrST_SockAddr16032remoteAddrST_SockAddr160192T_ThrottleTimes416TIME013hideUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)16UINTLowerBorder0UpperBorder1000UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder0UpperBorder100E_AssertionType8BYTEType_UNDEFINED0Type_ANY1Type_BOOL2Type_BYTE3Type_DATE4Type_DATE_AND_TIME5Type_DINT6Type_DWORD7Type_INT8Type_LINT9Type_LREAL10Type_LTIME11Type_LWORD12Type_REAL13Type_SINT14Type_STRING15Type_TIME16Type_TIME_OF_DAY17Type_UDINT18Type_UINT19Type_ULINT20Type_USINT21Type_WORD22Type_WSTRING23Type_Array2D_LREAL24Type_Array2D_REAL25Type_Array3D_LREAL26Type_Array3D_REAL27Type_Array_BOOL28Type_Array_BYTE29Type_Array_DINT30Type_Array_DWORD31Type_Array_INT32Type_Array_LINT33Type_Array_LREAL34Type_Array_LWORD35Type_Array_REAL36Type_Array_SINT37Type_Array_UDINT38Type_Array_UINT39Type_Array_ULINT40Type_Array_USINT41Type_Array_WORD42ST_TestCaseResult6192TestNameT_MaxString20480TestClassNameT_MaxString20482048TestIsFailedBOOL84096TestIsSkippedBOOL84104FailureMessageT_MaxString20484112FailureTypeE_AssertionType86160NumberOfAssertsUINT166176ST_TestSuiteResult621296NameT_MaxString20480IdentityUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)162048NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162064NumberOfFailedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162080TestCaseResultsST_TestCaseResult11006192002096ST_TestSuiteResults621296064NumberOfTestSuitesUINT160NumberOfTestCasesUINT1616NumberOfSuccessfulTestCasesUINT1632NumberOfFailedTestCasesUINT1648TestSuiteResultsST_TestSuiteResult1100062129600064I_TestResults32PVOIDGetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16UINTLowerBorder1UpperBorder1000FB_TestResults621296256I_TestResultsTestSuiteResultsST_TestSuiteResults62129606464StoringTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16621296128StoringTestSuiteTriggerR_TRIG64621296160StoredTestSuiteResultsBOOL8621296224StoredGeneralTestResultsBOOL8621296232GetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32PouTypeFunctionBlockI_TestResultLogger32PVOIDLogTestSuiteResultsUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100FB_AdsTestResultLogger + 32 + 0 + + + standardName + STRING(31) + Specifies a null-terminated string associated with standard time + on this operating system. + 256 + 32 + + + standardDate + TIMESTRUCT + Specifies a SYSTEMTIME structure that contains a date and local time when the + transition from daylight saving time to standard time occurs on this operating system. + 128 + 288 + + + standardBias + DINT + Specifies a bias value to be used during local time translations that occur during standard time. + 32 + 416 + + + daylightName + STRING(31) + Specifies a null-terminated string associated with daylight saving time on this operating system. + For example, this member could contain "PDT" to indicate Pacific Daylight Time. + 256 + 448 + + + daylightDate + TIMESTRUCT + Specifies a SYSTEMTIME structure that contains a date and local time when the transition + from standard time to daylight saving time occurs on this operating system. + 128 + 704 + + + daylightBias + DINT + Specifies a bias value to be used during local time translations that occur during daylight saving time. + 32 + 832 + + + + ST_SockAddr + Local or remote endpoint address to which to connect a socket + 160 + + nPort + UDINT + Internet Protocol (IP) port. + 32 + 0 + + + sAddr + STRING(15) + String containing an (Ipv4) Internet Protocol dotted address. + 128 + 32 + + + + T_HSOCKET + Connectionless or connection oriented socket handle + 352 + + handle + UDINT + Connection handle + 32 + 0 + + + localAddr + ST_SockAddr + Local address to which to connect a socket + 160 + 32 + + + remoteAddr + ST_SockAddr + Remote endpoint address to which to connect a socket + 160 + 192 + + + + T_ThrottleTimes + 416 + TIME + + 0 + 13 + + + + hide + + + + + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + UINT + + + LowerBorder + 0 + + + UpperBorder + 1000 + + + + + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 0 + + + UpperBorder + 100 + + + + + E_AssertionType + 8 + BYTE + + Type_UNDEFINED + 0 + + + Type_ANY + 1 + + + Type_BOOL + 2 + Primitive types + + + Type_BYTE + 3 + + + Type_DATE + 4 + + + Type_DATE_AND_TIME + 5 + + + Type_DINT + 6 + + + Type_DWORD + 7 + + + Type_INT + 8 + + + Type_LINT + 9 + + + Type_LREAL + 10 + + + Type_LTIME + 11 + + + Type_LWORD + 12 + + + Type_REAL + 13 + + + Type_SINT + 14 + + + Type_STRING + 15 + + + Type_TIME + 16 + + + Type_TIME_OF_DAY + 17 + + + Type_UDINT + 18 + + + Type_UINT + 19 + + + Type_ULINT + 20 + + + Type_USINT + 21 + + + Type_WORD + 22 + + + Type_WSTRING + 23 + + + Type_Array2D_LREAL + 24 + Array types + + + Type_Array2D_REAL + 25 + + + Type_Array3D_LREAL + 26 + + + Type_Array3D_REAL + 27 + + + Type_Array_BOOL + 28 + + + Type_Array_BYTE + 29 + + + Type_Array_DINT + 30 + + + Type_Array_DWORD + 31 + + + Type_Array_INT + 32 + + + Type_Array_LINT + 33 + + + Type_Array_LREAL + 34 + + + Type_Array_LWORD + 35 + + + Type_Array_REAL + 36 + + + Type_Array_SINT + 37 + + + Type_Array_UDINT + 38 + + + Type_Array_UINT + 39 + + + Type_Array_ULINT + 40 + + + Type_Array_USINT + 41 + + + Type_Array_WORD + 42 + + + + ST_TestCaseResult + 6192 + + TestName + T_MaxString + 2048 + 0 + + + TestClassName + T_MaxString + 2048 + 2048 + + + TestIsFailed + BOOL + 8 + 4096 + + + TestIsSkipped + BOOL + 8 + 4104 + + + FailureMessage + T_MaxString + 2048 + 4112 + + + FailureType + E_AssertionType + 8 + 6160 + + + NumberOfAsserts + UINT + 16 + 6176 + + + + ST_TestSuiteResult + 621296 + + Name + T_MaxString + Full class name + 2048 + 0 + + + Identity + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) + Should be 0..GVL_Param_TcUnit.MaxNumberOfTestSuites-1 but gives unknown compiler error + 16 + 2048 + + + NumberOfTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2064 + + + NumberOfFailedTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2080 + + + TestCaseResults + ST_TestCaseResult + + 1 + 100 + + 619200 + 2096 + + + + ST_TestSuiteResults + 621296064 + + NumberOfTestSuites + UINT + The total number of test suites + 16 + 0 + + + NumberOfTestCases + UINT + The total number of test cases (for all test suites) + 16 + 16 + + + NumberOfSuccessfulTestCases + UINT + The total number of test cases that had all ASSERTS successful + 16 + 32 + + + NumberOfFailedTestCases + UINT + The total number of test cases that had at least one ASSERT failed + 16 + 48 + + + TestSuiteResults + ST_TestSuiteResult + + 1 + 1000 + + Test results for each individiual test suite + 621296000 + 64 + + + + I_TestResults + 32 + PVOID + + GetAreTestResultsAvailable + BOOL + 8 + + + GetTestSuiteResults + ST_TestSuiteResults + 32 + + + + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 1000 + + + + + FB_TestResults + This function block holds results of the complete test run, i.e. results for all test suites + 621296256 + I_TestResults + + TestSuiteResults + ST_TestSuiteResults + 621296064 + 64 + + + StoringTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 621296128 + + + StoringTestSuiteTrigger + R_TRIG + 64 + 621296160 + + + StoredTestSuiteResults + BOOL + 8 + 621296224 + + + StoredGeneralTestResults + BOOL + 8 + 621296232 + + + GetAreTestResultsAvailable + BOOL + 8 + + + GetTestSuiteResults + ST_TestSuiteResults + 32 + + + + PouType + FunctionBlock + + + + + I_TestResultLogger + 32 + PVOID + + LogTestSuiteResults + + + + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 100 + + + + + FB_AdsTestResultLogger + This function block reports the results from the tests using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the "Error List" of Visual Studio (which can print Errors, Warnings and Messages). -]]>224I_TestResultLoggerTestResultsI_TestResults3264PrintingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)1696PrintingTestSuiteTriggerR_TRIG64128PrintedFinalTestResultsBOOL8192PrintedTestSuitesResultsBOOL8200LogTestSuiteResultsTcUnitTestResultsST_TestSuiteResults32StringToPrintT_MaxString2048TestsInTestSuiteCounterUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648PouTypeFunctionBlockRTS_IEC_RESULT32UDINTACCESS_MODE32UDINTAM_READ0AM_WRITE1AM_APPEND2AM_READ_PLUS3AM_WRITE_PLUS4AM_APPEND_PLUS5RTS_IEC_SIZE32BYTERTS_IEC_HANDLE32BYTEFB_FileControl + 224 + I_TestResultLogger + + TestResults + I_TestResults + 32 + 64 + + + PrintingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 96 + + + PrintingTestSuiteTrigger + R_TRIG + 64 + 128 + + + PrintedFinalTestResults + BOOL + 8 + 192 + + + PrintedTestSuitesResults + BOOL + 8 + 200 + + + LogTestSuiteResults + + TcUnitTestResults + ST_TestSuiteResults + 32 + + + StringToPrint + T_MaxString + 2048 + + + TestsInTestSuiteCounter + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + TEST_STATUS_SKIP + STRING(80) + 648 + + + TEST_STATUS_PASS + STRING(80) + 648 + + + TEST_STATUS_FAIL + STRING(80) + 648 + + + + + PouType + FunctionBlock + + + + + RTS_IEC_RESULT + 32 + UDINT + + + ACCESS_MODE + 32 + UDINT + + AM_READ + 0 + Open an existing file with Read access. If file does not exist, Open fails + + + AM_WRITE + 1 + Create new file with Write access. If file does exist, content is discarded + + + AM_APPEND + 2 + Open an existing file with Append (only write) access. If file does not exist, Open fails + + + AM_READ_PLUS + 3 + Open an existing file with Read/Write access. If file does not exist, Open fails + + + AM_WRITE_PLUS + 4 + Create new file with Read/Write access. If file does exist, content is discarded + + + AM_APPEND_PLUS + 5 + Open an existing file with Append (read/write) access. If file does not exist, Open creates a new file + + + + RTS_IEC_SIZE + 32 + BYTE + + + RTS_IEC_HANDLE + 32 + BYTE + + + FB_FileControl + This functionblock can open, close, read, write and delete files on the local filesystem -]]>96FileAccessModeACCESS_MODE32325FileHandleRTS_IEC_HANDLE3264ReadRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32FileSizeRTS_IEC_SIZE32ItemTypeOutputCloseRTS_IEC_RESULT32OpenRTS_IEC_RESULT32FileNameT_MaxString2048FileAccessModeACCESS_MODE32DeleteRTS_IEC_RESULT32FileNameT_MaxString2048WriteRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32PouTypeFunctionBlockE_XmlError8BYTEOk0ErrorMaxBufferLen1ErrorStringLen2Error3FB_StreamBuffer + 96 + + FileAccessMode + ACCESS_MODE + 32 + 32 + + 5 + + + + FileHandle + RTS_IEC_HANDLE + 32 + 64 + + + Read + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + FileSize + RTS_IEC_SIZE + 32 + + + ItemType + Output + + + + + + Close + RTS_IEC_RESULT + 32 + + + Open + RTS_IEC_RESULT + 32 + + FileName + File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) + T_MaxString + 2048 + + + FileAccessMode + ACCESS_MODE + 32 + + + + Delete + RTS_IEC_RESULT + 32 + + FileName + File name can contain an absolute or relative path to the file. Path entries must be separated with a forward slash (/) + T_MaxString + 2048 + + + + Write + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + + + PouType + FunctionBlock + + + + + E_XmlError + 8 + BYTE + + Ok + 0 + + + ErrorMaxBufferLen + 1 + + + ErrorStringLen + 2 + + + Error + 3 + + + + FB_StreamBuffer + This functionblock acts as a stream buffer for use with FB_XmlControl -]]>128_PointerToStringBufferBYTE3232_BufferSizeUDINT3264_LengthUDINT3296CutOffT_MaxString2048StartPosUDINT32CutLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCutBYTE32PointerToByteBufferBYTE32FindUDINT32SearchStringSTRING(80)648StartPosUDINT32LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32FindBackUDINT32SearchStringT_MaxString2048LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32__getLengthUDINT32LengthUDINT32propertyClearCountUDINT32__setAppendAppendT_MaxString2048ByteInBYTE32ByteBufferBYTE32property__getBufferSizeUDINT32BufferSizeUDINT32property__setLengthLengthUDINT32propertySetBufferBOOL8PointerToBufferAddressBYTE32SizeOfBufferUDINT32CopyT_MaxString2048StartPosUDINT32EndPosUDINT32CopyLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCopyBYTE32PointerToBufferBYTE32CurPosUDINT32PouTypeFunctionBlockFB_XmlControl + 128 + + _PointerToStringBuffer + BYTE + 32 + 32 + + + _BufferSize + UDINT + 32 + 64 + + + _Length + UDINT + 32 + 96 + + + CutOff + T_MaxString + 2048 + + StartPos + UDINT + 32 + + + CutLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + + + + Loop + UDINT + 32 + + + PointerToByteToCut + BYTE + 32 + + + PointerToByteBuffer + BYTE + 32 + + + + Find + UDINT + 32 + + SearchString + STRING(80) + 648 + + + StartPos + UDINT + 32 + + + Loop + UDINT + 32 + + + Search + UDINT + 32 + + + PointerToBuffer + BYTE + 32 + + + PointerToSearch + BYTE + 32 + + + + FindBack + UDINT + 32 + + SearchString + T_MaxString + 2048 + + + Loop + UDINT + 32 + + + Search + UDINT + 32 + + + PointerToBuffer + BYTE + 32 + + + PointerToSearch + BYTE + 32 + + + + __getLength + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + Clear + + Count + UDINT + 32 + + + + __setAppend + + Append + T_MaxString + 2048 + + + ByteIn + BYTE + 32 + + + ByteBuffer + BYTE + 32 + + + + property + + + + + __getBufferSize + UDINT + 32 + + BufferSize + UDINT + 32 + + + + property + + + + + __setLength + + Length + UDINT + 32 + + + + property + + + + + SetBuffer + BOOL + 8 + + PointerToBufferAddress + Set buffer address (ADR ...) + BYTE + 32 + + + SizeOfBuffer + Set buffer size (SIZEOF ...) + UDINT + 32 + + + + Copy + T_MaxString + 2048 + + StartPos + UDINT + 32 + + + EndPos + UDINT + 32 + + + CopyLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + + + + Loop + UDINT + 32 + + + PointerToByteToCopy + BYTE + 32 + + + PointerToBuffer + BYTE + 32 + + + CurPos + UDINT + 32 + + + + + PouType + FunctionBlock + + + + + FB_XmlControl + Organizes parsing and composing of XML data. Data can be treated as STRING or char array. Buffer size of file can be set via GVL_Param_TcUnit (xUnitBufferSize) -]]>5696XmlBufferFB_StreamBuffer12832TagListBufferFB_StreamBuffer128160TagsT_MaxString2048288TagListSeekBufferFB_StreamBuffer1282336TagsSeekSTRING(80)6482464TagBufferFB_StreamBuffer1283136TagT_MaxString20483264TagOpenBOOL85312SelectUDINT325344SearchPositionUDINT325376TAG_OPENSTRING(1)165408<TAG_CLOSESTRING(1)165424>END_TAG_CLOSESTRING(2)245440/>SPACESTRING(1)165464 EQUALSSTRING(1)165480=QUOTESTRING(1)165496"BACK_SLASHSTRING(1)165512\FORWARD_SLASHSTRING(1)165528/OPEN_COMMENTSTRING(5)485544<!-- CLOSE_COMMENTSTRING(4)405592 -->TABSTRING(2)245632 CR_LFSTRING(4)405656 -NewParameterNameT_MaxString2048ValueT_MaxString2048NewTagNameT_MaxString2048CloseTagT_MaxString2048ClosedTagT_MaxString2048WriteDocumentHeaderHeaderT_MaxString2048NewCommentCommentT_MaxString2048__getLengthUDINT32LengthUDINT32propertyNewTagDataDataT_MaxString2048SetBufferPointerToBufferBYTE32SizeOfBufferUDINT32ClearBufferToStartBufferPouTypeFunctionBlockFB_xUnitXmlPublisher + 5696 + + XmlBuffer + FB_StreamBuffer + 128 + 32 + + + TagListBuffer + FB_StreamBuffer + 128 + 160 + + + Tags + T_MaxString + 2048 + 288 + + + TagListSeekBuffer + FB_StreamBuffer + 128 + 2336 + + + TagsSeek + STRING(80) + 648 + 2464 + + + TagBuffer + FB_StreamBuffer + 128 + 3136 + + + Tag + T_MaxString + 2048 + 3264 + + + TagOpen + BOOL + 8 + 5312 + + + Select + UDINT + 32 + 5344 + + + SearchPosition + UDINT + 32 + 5376 + + + TAG_OPEN + STRING(1) + 16 + 5408 + + < + + + + TAG_CLOSE + STRING(1) + 16 + 5424 + + > + + + + END_TAG_CLOSE + STRING(2) + 24 + 5440 + + /> + + + + SPACE + STRING(1) + 16 + 5464 + + + + + + EQUALS + STRING(1) + 16 + 5480 + + = + + + + QUOTE + STRING(1) + 16 + 5496 + + " + + + + BACK_SLASH + STRING(1) + 16 + 5512 + + \ + + + + FORWARD_SLASH + STRING(1) + 16 + 5528 + + / + + + + OPEN_COMMENT + STRING(5) + 48 + 5544 + + <!-- + + + + CLOSE_COMMENT + STRING(4) + 40 + 5592 + + --> + + + + TAB + STRING(2) + 24 + 5632 + + + + + + CR_LF + STRING(4) + 40 + 5656 + + + + + + + NewParameter + + Name + T_MaxString + 2048 + + + Value + T_MaxString + 2048 + + + + NewTag + + Name + T_MaxString + 2048 + + + + CloseTag + T_MaxString + 2048 + + ClosedTag + T_MaxString + 2048 + + + + WriteDocumentHeader + + Header + T_MaxString + 2048 + + + + NewComment + + Comment + T_MaxString + 2048 + + + + __getLength + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + NewTagData + + Data + T_MaxString + 2048 + + + + SetBuffer + + PointerToBuffer + ADR(..) + BYTE + 32 + + + SizeOfBuffer + SIZEOF(..) + UDINT + 32 + + + + ClearBuffer + + + ToStartBuffer + + + + PouType + FunctionBlock + + + + + FB_xUnitXmlPublisher + Publishes test results into an xUnit compatible Xml file -]]>530304I_TestResultLoggerTestResultsI_TestResults3264AccessModeACCESS_MODE32964FileFB_FileControl96128XmlFB_XmlControl5696224BufferInitialisedBOOL859200BufferBYTE0655355242805928WritingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16530208PublishTriggerR_TRIG64530240DeleteOpenWriteCloseRTS_IEC_RESULT32LogTestSuiteResultsUnitTestResultsST_TestSuiteResults32CurrentSuiteNumberUINT16CurrentTestCountUINT16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648InitialisedBOOL8PouTypeFunctionBlockFB_TcUnitRunner + 530304 + I_TestResultLogger + + TestResults + I_TestResults + 32 + 64 + + + AccessMode + ACCESS_MODE + 32 + 96 + + 4 + + + + File + FB_FileControl + 96 + 128 + + + Xml + FB_XmlControl + 5696 + 224 + + + BufferInitialised + BOOL + 8 + 5920 + + 0 + + + + Buffer + BYTE + + 0 + 65535 + + 524280 + 5928 + + + WritingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 530208 + + + PublishTrigger + R_TRIG + 64 + 530240 + + + DeleteOpenWriteClose + RTS_IEC_RESULT + 32 + + + LogTestSuiteResults + + UnitTestResults + ST_TestSuiteResults + 32 + + + CurrentSuiteNumber + UINT + 16 + + + CurrentTestCount + UINT + 16 + + + TEST_STATUS_SKIP + STRING(80) + 648 + + + TEST_STATUS_PASS + STRING(80) + 648 + + + TEST_STATUS_FAIL + STRING(80) + 648 + + + + Initialised + BOOL + 8 + + + + PouType + FunctionBlock + + + + + FB_TcUnitRunner + This function block is responsible for holding track of the tests and executing them. -]]>621826944AllTestSuitesFinishedBOOL8320TestResultsFB_TestResults62129625664AdsTestResultLoggerFB_AdsTestResultLogger224621296320old_input_assignmentsTestResultLoggerI_TestResultLogger32621296544AbortRunningTestSuitesBOOL8621296576xUnitXmlPublisherFB_xUnitXmlPublisher530304621296608old_input_assignmentsXmlTestResultPublisherI_TestResultLogger32621826912AbortRunningTestSuiteTestsRunTestSuiteTestsCounterUINT16BusyPrintingBOOL8NumberOfTestSuitesFinishedUINT16PouTypeFunctionBlockTYPE_CLASS32DWORDTYPE_BOOL0TYPE_BIT1TYPE_BYTE2TYPE_WORD3TYPE_DWORD4TYPE_LWORD5TYPE_SINT6TYPE_INT7TYPE_DINT8TYPE_LINT9TYPE_USINT10TYPE_UINT11TYPE_UDINT12TYPE_ULINT13TYPE_REAL14TYPE_LREAL15TYPE_STRING16TYPE_WSTRING17TYPE_TIME18TYPE_DATE19TYPE_DATEANDTIME20TYPE_TIMEOFDAY21TYPE_POINTER22TYPE_REFERENCE23TYPE_SUBRANGE24TYPE_ENUM25TYPE_ARRAY26TYPE_PARAMS27TYPE_USERDEF28TYPE_NONE29TYPE_ANY30TYPE_ANYBIT31TYPE_ANYDATE32TYPE_ANYINT33TYPE_ANYNUM34TYPE_ANYREAL35TYPE_LAZY36TYPE_LTIME37TYPE_BITCONST38AnyType96pValueBYTE320diSizeDINT3232TypeClassTYPE_CLASS3264linkalwaysE_TypeFieldParam16INTTYPEFIELD_UNKNOWN0TYPEFIELD_B1TYPEFIELD_O2TYPEFIELD_U3TYPEFIELD_C4TYPEFIELD_F5TYPEFIELD_D6TYPEFIELD_S7TYPEFIELD_XU8TYPEFIELD_XL9TYPEFIELD_EU10TYPEFIELD_EL11ST_FormatParameters160bPercentBOOL80bFlagsBOOL88bWidthBOOL816bDotBOOL824bPrecisionBOOL832bTypeBOOL840bAlignBOOL848bSignBOOL856bNullBOOL864bBlankBOOL872bHashBOOL880iWidthINT1696iPrecisionINT16112bWidthAsteriskBOOL8128bPrecisionAsteriskBOOL8136eTypeE_TypeFieldParam16144conditionalshowFB_FormatString7840sFormatT_MaxString204832ItemTypeInputarg1T_Arg962080ItemTypeInputarg2T_Arg962176ItemTypeInputarg3T_Arg962272ItemTypeInputarg4T_Arg962368ItemTypeInputarg5T_Arg962464ItemTypeInputarg6T_Arg962560ItemTypeInputarg7T_Arg962656ItemTypeInputarg8T_Arg962752ItemTypeInputarg9T_Arg962848ItemTypeInputarg10T_Arg962944ItemTypeInputbErrorBOOL error, FALSE => no error ]]>83040ItemTypeOutputnErrIdUDINT323072ItemTypeOutputsOutT_MaxString20483104ItemTypeOutputpFormatBYTE3251520conditionalshowpOutBYTE3251840conditionalshowiRemOutLenINT165216conditionalshowbValidBOOL85232conditionalshowstFmtST_FormatParameters1605248conditionalshownArrayElemINT165408conditionalshownArgumentUDINT325440conditionalshowparArgsT_Arg1103205472conditionalshowsArgStrT_MaxString20485792conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_Test + 621826944 + + AllTestSuitesFinished + BOOL + 8 + 32 + + 0 + + + + TestResults + FB_TestResults + 621296256 + 64 + + + AdsTestResultLogger + FB_AdsTestResultLogger + 224 + 621296320 + + + old_input_assignments + + + + + TestResultLogger + I_TestResultLogger + 32 + 621296544 + + + AbortRunningTestSuites + BOOL + 8 + 621296576 + + + xUnitXmlPublisher + FB_xUnitXmlPublisher + 530304 + 621296608 + + + old_input_assignments + + + + + XmlTestResultPublisher + I_TestResultLogger + 32 + 621826912 + + + AbortRunningTestSuiteTests + + + RunTestSuiteTests + + Counter + UINT + 16 + + + BusyPrinting + BOOL + 8 + + + NumberOfTestSuitesFinished + UINT + 16 + + + + + PouType + FunctionBlock + + + + + TYPE_CLASS + 32 + DWORD + + TYPE_BOOL + 0 + + + TYPE_BIT + 1 + + + TYPE_BYTE + 2 + + + TYPE_WORD + 3 + + + TYPE_DWORD + 4 + + + TYPE_LWORD + 5 + + + TYPE_SINT + 6 + + + TYPE_INT + 7 + + + TYPE_DINT + 8 + + + TYPE_LINT + 9 + + + TYPE_USINT + 10 + + + TYPE_UINT + 11 + + + TYPE_UDINT + 12 + + + TYPE_ULINT + 13 + + + TYPE_REAL + 14 + + + TYPE_LREAL + 15 + + + TYPE_STRING + 16 + + + TYPE_WSTRING + 17 + + + TYPE_TIME + 18 + + + TYPE_DATE + 19 + + + TYPE_DATEANDTIME + 20 + + + TYPE_TIMEOFDAY + 21 + + + TYPE_POINTER + 22 + + + TYPE_REFERENCE + 23 + + + TYPE_SUBRANGE + 24 + + + TYPE_ENUM + 25 + + + TYPE_ARRAY + 26 + + + TYPE_PARAMS + 27 + + + TYPE_USERDEF + 28 + + + TYPE_NONE + 29 + + + TYPE_ANY + 30 + + + TYPE_ANYBIT + 31 + + + TYPE_ANYDATE + 32 + + + TYPE_ANYINT + 33 + + + TYPE_ANYNUM + 34 + + + TYPE_ANYREAL + 35 + + + TYPE_LAZY + 36 + + + TYPE_LTIME + 37 + + + TYPE_BITCONST + 38 + + + + AnyType + 96 + + pValue + BYTE + 32 + 0 + + + diSize + DINT + 32 + 32 + + + TypeClass + TYPE_CLASS + 32 + 64 + + + + linkalways + + + + + E_TypeFieldParam + 16 + INT + + TYPEFIELD_UNKNOWN + 0 + Unknown/not set + + + TYPEFIELD_B + 1 + b or B: binary number + + + TYPEFIELD_O + 2 + o or O: octal number + + + TYPEFIELD_U + 3 + u or U: unsigned decimal number + + + TYPEFIELD_C + 4 + c or C: one ASCII character + + + TYPEFIELD_F + 5 + f or F: float number ( normalized format ) + + + TYPEFIELD_D + 6 + d or D: signed decimal number + + + TYPEFIELD_S + 7 + s or S: string + + + TYPEFIELD_XU + 8 + X: hecadecimal number (upper case characters ) + + + TYPEFIELD_XL + 9 + x: hecadecimal number (lower case characters ) + + + TYPEFIELD_EU + 10 + E: float number ( scientific format ) + + + TYPEFIELD_EL + 11 + e: float number ( scientific format ) + + + + ST_FormatParameters + 160 + + bPercent + BOOL + 8 + 0 + + + bFlags + BOOL + 8 + 8 + + + bWidth + BOOL + 8 + 16 + + + bDot + BOOL + 8 + 24 + + + bPrecision + BOOL + 8 + 32 + + + bType + BOOL + 8 + 40 + + + bAlign + BOOL + Default :Right align + 8 + 48 + + + bSign + BOOL + Default: Sign only for negative values + 8 + 56 + + + bNull + BOOL + Default: No padding + 8 + 64 + + + bBlank + BOOL + Default: No blanks + 8 + 72 + + + bHash + BOOL + Default: No blanks + 8 + 80 + + + iWidth + INT + 16 + 96 + + + iPrecision + INT + 16 + 112 + + + bWidthAsterisk + BOOL + 8 + 128 + + + bPrecisionAsterisk + BOOL + 8 + 136 + + + eType + E_TypeFieldParam + format type parameter + 16 + 144 + + + + conditionalshow + + + + + FB_FormatString + Converts and formats up to 10 T_Arg values to string + 7840 + + sFormat + T_MaxString + Format string + 2048 + 32 + + + ItemType + Input + + + + + arg1 + T_Arg + Format argument 1, use F_INT, F_UINT; F_WORD, F_DWORD, F_LREAL... functions to initialize the argument inputs + 96 + 2080 + + + ItemType + Input + + + + + arg2 + T_Arg + Format argument 2 + 96 + 2176 + + + ItemType + Input + + + + + arg3 + T_Arg + Format argument 3 + 96 + 2272 + + + ItemType + Input + + + + + arg4 + T_Arg + Format argument 4 + 96 + 2368 + + + ItemType + Input + + + + + arg5 + T_Arg + Format argument 5 + 96 + 2464 + + + ItemType + Input + + + + + arg6 + T_Arg + Format argument 6 + 96 + 2560 + + + ItemType + Input + + + + + arg7 + T_Arg + Format argument 7 + 96 + 2656 + + + ItemType + Input + + + + + arg8 + T_Arg + Format argument 8 + 96 + 2752 + + + ItemType + Input + + + + + arg9 + T_Arg + Format argument 9 + 96 + 2848 + + + ItemType + Input + + + + + arg10 + T_Arg + Format argument 10 + 96 + 2944 + + + ItemType + Input + + + + + bError + BOOL + TRUE => error, FALSE => no error + 8 + 3040 + + + ItemType + Output + + + + + nErrId + UDINT + Error code + 32 + 3072 + + + ItemType + Output + + + + + sOut + T_MaxString + Output stirng + 2048 + 3104 + + + ItemType + Output + + + + + pFormat + BYTE + 32 + 5152 + + 0 + + + + conditionalshow + + + + + pOut + BYTE + 32 + 5184 + + 0 + + + + conditionalshow + + + + + iRemOutLen + INT + 16 + 5216 + + + conditionalshow + + + + + bValid + BOOL + 8 + 5232 + + + conditionalshow + + + + + stFmt + ST_FormatParameters + 160 + 5248 + + + conditionalshow + + + + + nArrayElem + INT + 16 + 5408 + + + conditionalshow + + + + + nArgument + UDINT + 32 + 5440 + + + conditionalshow + + + + + parArgs + T_Arg + + 1 + 10 + + 320 + 5472 + + + conditionalshow + + + + + sArgStr + T_MaxString + 2048 + 5792 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_Test + This function block holds all data that defines a test. -]]>4192TestNameT_MaxString204832TestIsFinishedBOOL82080TestIsSkippedBOOL82088NumberOfAssertionsUINT162096TestIsFailedBOOL82112AssertionMessageT_MaxString20482120AssertionTypeE_AssertionType84168GetAssertionTypeE_AssertionType8SetFailedSetNameNameT_MaxString2048GetNameT_MaxString2048SetNumberOfAssertionsNoOfAssertionsUINT16IsSkippedBOOL8SetFinishedBOOL8GetAssertionMessageT_MaxString2048SetSkippedSetAssertionMessageAssertMessageT_MaxString2048SetAssertionTypeAssertTypeE_AssertionType8IsFinishedBOOL8GetNumberOfAssertionsUINT16IsFailedBOOL8PouTypeFunctionBlockUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100FW_GetCurTaskIndex64nIndexBYTE832ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX128indexBYTE832ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex6464conditionalshowPouTypeFunctionBlockconditionalshow_all_localsTypeClass16INTTYPE_BOOL0TYPE_BIT1TYPE_BYTE2TYPE_WORD3TYPE_DWORD4TYPE_LWORD5TYPE_SINT6TYPE_INT7TYPE_DINT8TYPE_LINT9TYPE_USINT10TYPE_UINT11TYPE_UDINT12TYPE_ULINT13TYPE_REAL14TYPE_LREAL15TYPE_STRING16TYPE_WSTRING17TYPE_TIME18TYPE_DATE19TYPE_DATEANDTIME20TYPE_TIMEOFDAY21TYPE_POINTER22TYPE_REFERENCE23TYPE_SUBRANGE24TYPE_ENUM25TYPE_ARRAY26TYPE_PARAMS27TYPE_USERDEF28TYPE_NONE29TYPE_ANY30TYPE_ANYBIT31TYPE_ANYDATE32TYPE_ANYINT33TYPE_ANYNUM34TYPE_ANYREAL35TYPE_LAZY36TYPE_LTIME37TYPE_BITCONST38TYPE_INTERFACE-4096U_ExpectedOrActual4096boolExpectedOrActualBOOL80bitExpectedOrActualBIT80byteExpectedOrActualBYTE80sintExpectedOrActualSINT80usintExpectedOrActualUSINT80intExpectedOrActualINT160uintExpectedOrActualUINT160wordExpectedOrActualWORD160dwordExpectedOrActualDWORD320dateandtimeExpectedOrActualDATE_AND_TIME320dintExpectedOrActualDINT320realExpectedOrActualREAL320timeExpectedOrActualTIME320dateExpectedOrActualDATE320udintExpectedOrActualUDINT320timeofdayExpectedOrActualTIME_OF_DAY320lwordExpectedOrActualLWORD640lintExpectedOrActualLINT640ulintExpectedOrActualULINT640lrealExpectedOrActualLREAL640ltimeExpectedOrActualLTIME640stringExpectedOrActualT_MaxString20480wstringExpectedOrActualWSTRING(255)40960ST_AssertResult12288ExpectedU_ExpectedOrActual40960ActualU_ExpectedOrActual40964096MessageT_MaxString20488192TestInstancePathT_MaxString204810240ST_AssertResultInstances12352AssertResultST_AssertResult122880DetectionCountUINT1612288DetectionCountThisCycleUINT1612304FB_AssertResultStatic + 4192 + + TestName + T_MaxString + 2048 + 32 + + + TestIsFinished + BOOL + 8 + 2080 + + + TestIsSkipped + BOOL + 8 + 2088 + + + NumberOfAssertions + UINT + 16 + 2096 + + + TestIsFailed + BOOL + 8 + 2112 + + + AssertionMessage + T_MaxString + 2048 + 2120 + + + AssertionType + E_AssertionType + 8 + 4168 + + + GetAssertionType + E_AssertionType + 8 + + + SetFailed + + + SetName + + Name + T_MaxString + 2048 + + + + GetName + T_MaxString + 2048 + + + SetNumberOfAssertions + + NoOfAssertions + UINT + 16 + + + + IsSkipped + BOOL + 8 + + + SetFinished + BOOL + 8 + + + GetAssertionMessage + T_MaxString + 2048 + + + SetSkipped + + + SetAssertionMessage + + AssertMessage + T_MaxString + 2048 + + + + SetAssertionType + + AssertType + E_AssertionType + 8 + + + + IsFinished + BOOL + 8 + + + GetNumberOfAssertions + UINT + 16 + + + IsFailed + BOOL + 8 + + + + PouType + FunctionBlock + + + + + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 100 + + + + + FW_GetCurTaskIndex + 64 + + nIndex + BYTE + 8 + 32 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + conditionalshow + + + + + GETCURTASKINDEX + This function block GETCURTASKINDEX finds the task index of the task from which it is called. + 128 + + index + BYTE + Returns the current task index of the calling task. + 8 + 32 + + + ItemType + Output + + + + + fbGetCurTaskIndex + FW_GetCurTaskIndex + 64 + 64 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + TypeClass + 16 + INT + + TYPE_BOOL + 0 + + + TYPE_BIT + 1 + + + TYPE_BYTE + 2 + + + TYPE_WORD + 3 + + + TYPE_DWORD + 4 + + + TYPE_LWORD + 5 + + + TYPE_SINT + 6 + + + TYPE_INT + 7 + + + TYPE_DINT + 8 + + + TYPE_LINT + 9 + + + TYPE_USINT + 10 + + + TYPE_UINT + 11 + + + TYPE_UDINT + 12 + + + TYPE_ULINT + 13 + + + TYPE_REAL + 14 + + + TYPE_LREAL + 15 + + + TYPE_STRING + 16 + + + TYPE_WSTRING + 17 + + + TYPE_TIME + 18 + + + TYPE_DATE + 19 + + + TYPE_DATEANDTIME + 20 + + + TYPE_TIMEOFDAY + 21 + + + TYPE_POINTER + 22 + + + TYPE_REFERENCE + 23 + + + TYPE_SUBRANGE + 24 + + + TYPE_ENUM + 25 + + + TYPE_ARRAY + 26 + + + TYPE_PARAMS + 27 + + + TYPE_USERDEF + 28 + + + TYPE_NONE + 29 + + + TYPE_ANY + 30 + + + TYPE_ANYBIT + 31 + + + TYPE_ANYDATE + 32 + + + TYPE_ANYINT + 33 + + + TYPE_ANYNUM + 34 + + + TYPE_ANYREAL + 35 + + + TYPE_LAZY + 36 + + + TYPE_LTIME + 37 + + + TYPE_BITCONST + 38 + + + TYPE_INTERFACE + -4096 + + + + U_ExpectedOrActual + 4096 + + boolExpectedOrActual + BOOL + 8 + 0 + + + bitExpectedOrActual + BIT + 8 + 0 + + + byteExpectedOrActual + BYTE + 8 + 0 + + + sintExpectedOrActual + SINT + 8 + 0 + + + usintExpectedOrActual + USINT + 8 + 0 + + + intExpectedOrActual + INT + 16 + 0 + + + uintExpectedOrActual + UINT + 16 + 0 + + + wordExpectedOrActual + WORD + 16 + 0 + + + dwordExpectedOrActual + DWORD + 32 + 0 + + + dateandtimeExpectedOrActual + DATE_AND_TIME + 32 + 0 + + + dintExpectedOrActual + DINT + 32 + 0 + + + realExpectedOrActual + REAL + 32 + 0 + + + timeExpectedOrActual + TIME + 32 + 0 + + + dateExpectedOrActual + DATE + 32 + 0 + + + udintExpectedOrActual + UDINT + 32 + 0 + + + timeofdayExpectedOrActual + TIME_OF_DAY + 32 + 0 + + + lwordExpectedOrActual + LWORD + 64 + 0 + + + lintExpectedOrActual + LINT + 64 + 0 + + + ulintExpectedOrActual + ULINT + 64 + 0 + + + lrealExpectedOrActual + LREAL + 64 + 0 + + + ltimeExpectedOrActual + LTIME + 64 + 0 + + + stringExpectedOrActual + T_MaxString + 2048 + 0 + + + wstringExpectedOrActual + WSTRING(255) + 4096 + 0 + + + + ST_AssertResult + 12288 + + Expected + U_ExpectedOrActual + 4096 + 0 + + + Actual + U_ExpectedOrActual + 4096 + 4096 + + + Message + T_MaxString + 2048 + 8192 + + + TestInstancePath + T_MaxString + 2048 + 10240 + + + + ST_AssertResultInstances + 12352 + + AssertResult + ST_AssertResult + 12288 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertResult" + 16 + 12288 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertResult" in this specific PLC-cycle + 16 + 12304 + + + + FB_AssertResultStatic + This function block is responsible for keeping track of which asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times (if the assert fails). @@ -43,7 +6496,451 @@ - Value of actual - Message (string) - Test instance path (string) -]]>24640320AssertResultsST_AssertResult110001228800064TotalAssertsUINT16122880640GetCurrentTaskIndexGETCURTASKINDEX12812288096AssertResultInstancesST_AssertResultInstances110001235200012288256CycleCountUDINT3224640256FirstCycleExecutedBOOL824640288CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16GetNumberOfAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfAssertsUINT16CreateAssertResultInstanceExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8AddAssertResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockST_AssertArrayResult4224ExpectedsSizeUDINT320ExpectedsTypeClassTypeClass1632ActualsSizeUDINT3264ActualsTypeClassTypeClass1696MessageT_MaxString2048112TestInstancePathT_MaxString20482160ST_AssertArrayResultInstances4256AssertArrayResultST_AssertArrayResult42240DetectionCountUINT164224DetectionCountThisCycleUINT164240FB_AssertArrayResultStatic + 24640320 + + AssertResults + ST_AssertResult + + 1 + 1000 + + 12288000 + 64 + + + TotalAsserts + UINT + 16 + 12288064 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + 128 + 12288096 + + + AssertResultInstances + ST_AssertResultInstances + + 1 + 1000 + + 12352000 + 12288256 + + + CycleCount + UDINT + 32 + 24640256 + + + FirstCycleExecuted + BOOL + 8 + 24640288 + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + GetNumberOfAssertsForTest + UINT + 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + + CreateAssertResultInstance + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + AddAssertResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + ST_AssertArrayResult + 4224 + + ExpectedsSize + UDINT + Size in bytes of the expecteds-array + 32 + 0 + + + ExpectedsTypeClass + TypeClass + The data type of the expecteds-array + 16 + 32 + + + ActualsSize + UDINT + Size in bytes of the actuals-array + 32 + 64 + + + ActualsTypeClass + TypeClass + The data type of the actuals-array + 16 + 96 + + + Message + T_MaxString + 2048 + 112 + + + TestInstancePath + T_MaxString + 2048 + 2160 + + + + ST_AssertArrayResultInstances + 4256 + + AssertArrayResult + ST_AssertArrayResult + 4224 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertArrayResult" + 16 + 4224 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertArrayResult" in this specific PLC-cycle + 16 + 4240 + + + + FB_AssertArrayResultStatic + This function block is responsible for keeping track of which array-asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times @@ -54,94 +6951,7382 @@ - Datatype of the actuals - Message (string) - Test instance path (string) -]]>8480256AssertArrayResultsST_AssertArrayResult11000422400032TotalArrayAssertsUINT1642240320GetCurrentTaskIndexGETCURTASKINDEX1284224064AssertArrayResultInstancesST_AssertArrayResultInstances1100042560004224192CycleCountUDINT328480192FirstCycleExecutedBOOL88480224CreateAssertResultInstanceExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8GetNumberOfArrayAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfArrayAssertsUINT16CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16AddAssertArrayResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockI_AssertMessageFormatter32PVOIDLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048FB_AdjustAssertFailureMessageToMax253CharLength + 8480256 + + AssertArrayResults + ST_AssertArrayResult + + 1 + 1000 + + 4224000 + 32 + + + TotalArrayAsserts + UINT + 16 + 4224032 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + 128 + 4224064 + + + AssertArrayResultInstances + ST_AssertArrayResultInstances + + 1 + 1000 + + 4256000 + 4224192 + + + CycleCount + UDINT + 32 + 8480192 + + + FirstCycleExecuted + BOOL + 8 + 8480224 + + + CreateAssertResultInstance + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + GetNumberOfArrayAssertsForTest + UINT + 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfArrayAsserts + UINT + 16 + + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + AddAssertArrayResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + I_AssertMessageFormatter + 32 + PVOID + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + FB_AdjustAssertFailureMessageToMax253CharLength + This function block is responsible for making sure that the asserted test instance path and test message are not loo long. The total printed message can not be more than 253 characters long. -]]>11584MsgFmtStringT_MaxString204832ItemTypeInputStringArgT_MaxString20482080ItemTypeInputMsgFmtStringProcessedT_MaxString20484128ItemTypeOutputStringArgProcessedT_MaxString20486176ItemTypeOutputMsgFmtStringTempT_MaxString20488224TestNameTooLongSTRING(80)64810272...TestName too longTestMsgTooLongSTRING(80)64810920...TestMsg too longMSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERSINT1611568253PouTypeFunctionBlockFB_AdsAssertMessageFormatter + 11584 + + MsgFmtString + T_MaxString + Test instance path + 2048 + 32 + + + ItemType + Input + + + + + StringArg + T_MaxString + Test message + 2048 + 2080 + + + ItemType + Input + + + + + MsgFmtStringProcessed + T_MaxString + 2048 + 4128 + + + ItemType + Output + + + + + StringArgProcessed + T_MaxString + 2048 + 6176 + + + ItemType + Output + + + + + MsgFmtStringTemp + T_MaxString + 2048 + 8224 + + + TestNameTooLong + STRING(80) + 648 + 10272 + + ...TestName too long + + + + TestMsgTooLong + STRING(80) + 648 + 10920 + + ...TestMsg too long + + + + MSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERS + INT + 16 + 11568 + + 253 + + + + + PouType + FunctionBlock + + + + + FB_AdsAssertMessageFormatter + This function block is responsible for printing the results of the assertions using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the error list of Visual Studio. -]]>64I_AssertMessageFormatterLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AdjustAssertFailureMessageToMax253CharLengthFB_AdjustAssertFailureMessageToMax253CharLength11584TestInstancePathCleanedT_MaxString2048TestInstancePathFinalT_MaxString2048ReturnValueDINT32TestInstancePathProcessedT_MaxString2048MessageProcessedT_MaxString2048PouTypeFunctionBlockFB_TestSuite + 64 + I_AssertMessageFormatter + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AdjustAssertFailureMessageToMax253CharLength + FB_AdjustAssertFailureMessageToMax253CharLength + 11584 + + + TestInstancePathCleaned + T_MaxString + 2048 + + + TestInstancePathFinal + T_MaxString + 2048 + + + ReturnValue + DINT + 32 + + + TestInstancePathProcessed + T_MaxString + 2048 + + + MessageProcessed + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + FB_TestSuite + This function block is responsible for holding the internal state of the test suite. Every test suite can have one or more tests, and every test can do one or more asserts. It's also responsible for providing all the assert-methods for asserting different data types. Only failed assertions are recorded. -]]>33551744InstancePathT_MaxString204832instance-pathnoinitGetCurrentTaskIndexGETCURTASKINDEX1282080NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1622080TestsFB_Test11004192002240TestDuplicateNameTriggerR_TRIG11006400421440TestCycleCountIndexUDINT11003200427840AssertResultsFB_AssertResultStatic24640320431040AssertArrayResultsFB_AssertArrayResultStatic848025625071360AdsAssertMessageFormatterFB_AdsAssertMessageFormatter6433551616AssertMessageFormatterI_AssertMessageFormatter3233551680AssertArrayEquals_REALExpectedsREAL32variable_length_arrayDimensions1ActualsREAL32variable_length_arrayDimensions1DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_BOOLExpectedBOOL8ActualBOOL8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertArrayEquals_WORDExpectedsWORD32variable_length_arrayDimensions1ActualsWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_STRINGExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_ULINTExpectedULINT64ActualULINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_USINTExpectedsUSINT32variable_length_arrayDimensions1ActualsUSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32CalculateAndSetNumberOfAssertsForTestTestNameT_MaxString2048TestInstancePathT_MaxString2048TotalNumberOfAssertsUINT16NumberOfAssertsUINT16NumberOfArrayAssertsUINT16IteratorCounterUINT16AssertArrayEquals_BYTEExpectedsBYTE32variable_length_arrayDimensions1ActualsBYTE32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedByteStringSTRING(80)648ActualByteStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32SetTestFailedAssertionTypeE_AssertionType8AssertionMessageT_MaxString2048IteratorCounterUINT16AssertEquals_WORDExpectedWORD16ActualWORD16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8SetTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16AssertArrayEquals_ULINTExpectedsULINT32variable_length_arrayDimensions1ActualsULINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32IsTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16AssertEquals_LINTExpectedLINT64ActualLINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEqualsExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048CountDINT32ExpectedDataStringT_MaxString2048ActualDataStringT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8boolExpectedBOOL8boolActualBOOL8byteExpectedBYTE8byteActualBYTE8dateExpectedDATE32dateActualDATE32dateAndTimeExpectedDATE_AND_TIME32dateAndTimeActualDATE_AND_TIME32dintExpectedDINT32dintActualDINT32dwordExpectedDWORD32dwordActualDWORD32intExpectedINT16intActualINT16lintExpectedLINT64lintActualLINT64lrealExpectedLREAL64lrealActualLREAL64ltimeExpectedLTIME64ltimeActualLTIME64lwordExpectedLWORD64lwordActualLWORD64realExpectedREAL32realActualREAL32sintExpectedSINT8sintActualSINT8stringExpectedT_MaxString2048stringActualT_MaxString2048wstringExpectedWSTRING(255)4096wstringActualWSTRING(255)4096timeExpectedTIME32timeActualTIME32timeOfDayExpectedTIME_OF_DAY32timeOfDayActualTIME_OF_DAY32udintExpectedUDINT32udintActualUDINT32uintExpectedUINT16uintActualUINT16ulintExpectedULINT64ulintActualULINT64usintExpectedUSINT8usintActualUSINT8wordExpectedWORD16wordActualWORD16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8IteratorCounterDINT32hasanytypeAssertEquals_TIME_OF_DAYExpectedTIME_OF_DAY32ActualTIME_OF_DAY32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_USINTExpectedUSINT8ActualUSINT8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertArrayEquals_DINTExpectedsDINT32variable_length_arrayDimensions1ActualsDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_SINTExpectedSINT8ActualSINT8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfTestsUINT16AssertEquals_LREALExpectedLREAL64ActualLREAL64DeltaLREAL64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_WSTRINGExpectedWSTRING(255)4096ActualWSTRING(255)4096MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_REALExpectedsREAL32variable_length_arrayDimensions2ActualsREAL32variable_length_arrayDimensions2DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedREAL32ActualREAL32__Index__0DINT32AddTestNameToInstancePathT_MaxString2048TestInstancePathT_MaxString2048CompleteTestInstancePathT_MaxString2048AssertTrueConditionBOOL8MessageT_MaxString2048AssertArray3dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions3ActualsLREAL32variable_length_arrayDimensions3DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertEquals_INTExpectedINT16ActualINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_DATEExpectedDATE32ActualDATE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_DWORDExpectedDWORD32ActualDWORD32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_REALExpectedREAL32ActualREAL32DeltaREAL32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_UDINTExpectedUDINT32ActualUDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_LTIMEExpectedLTIME64ActualLTIME64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_SINTExpectedsSINT32variable_length_arrayDimensions1ActualsSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_TIMEExpectedTIME32ActualTIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_DATE_AND_TIMEExpectedDATE_AND_TIME32ActualDATE_AND_TIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray3dEquals_REALExpectedsREAL32variable_length_arrayDimensions3ActualsREAL32variable_length_arrayDimensions3DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedREAL32ActualREAL32ExpectedValueStringT_MaxString2048ActualValueStringT_MaxString2048FormatStringFB_FormatString7840__Index__0DINT32AssertEquals_DINTExpectedDINT32ActualDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_UDINTExpectedsUDINT32variable_length_arrayDimensions1ActualsUDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_INTExpectedsINT32variable_length_arrayDimensions1ActualsINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertFalseConditionBOOL8MessageT_MaxString2048GetNumberOfFailedTestsUINT16CounterUINT16FailedTestsCountUINT16AssertArrayEquals_LINTExpectedsLINT32variable_length_arrayDimensions1ActualsLINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_LWORDExpectedsLWORD32variable_length_arrayDimensions1ActualsLWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedLWordStringSTRING(80)648ActualLWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32GetTestByPositionFB_Test4192PositionUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertEquals_LWORDExpectedLWORD64ActualLWORD64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions2ActualsLREAL32variable_length_arrayDimensions2DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertArrayEquals_BOOLExpectedsBOOL32variable_length_arrayDimensions1ActualsBOOL32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AreAllTestsFinishedBOOL8CounterUINT16GetCurTaskIndexGETCURTASKINDEX128AddTestTestNameT_MaxString2048IteratorCounterUINT16ErrorMessageT_MaxString2048TestInstancePathT_MaxString2048FunctionCallResultDINT32CycleCountUDINT32TestWithThisNameAlreadyExistsBOOL8LowerCasedTestNameT_MaxString2048TrimmedTestNameT_MaxString2048IgnoreCurrentTestCaseBOOL8AssertArrayEquals_DWORDExpectedsDWORD32variable_length_arrayDimensions1ActualsDWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32FindTestSuiteInstancePathT_MaxString2048AssertEquals_BYTEExpectedBYTE8ActualBYTE8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_UINTExpectedUINT16ActualUINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetInstancePathT_MaxString2048GetNumberOfSkippedTestsUINT16CounterUINT16SkippedTestsCountUINT16AssertArrayEquals_UINTExpectedsUINT32variable_length_arrayDimensions1ActualsUINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_LREALExpectedsLREAL32variable_length_arrayDimensions1ActualsLREAL32variable_length_arrayDimensions1DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32GetNumberOfSuccessfulTestsUINT16PouTypeFunctionBlockcall_after_initreflectionST_AdsLogStringMessage4128MsgCtrlMaskDWORD320MsgFmtStrT_MaxString204832StrArgT_MaxString20482080pack_mode1FB_MemRingBuffer + 33551744 + + InstancePath + T_MaxString + 2048 + 32 + + + instance-path + + + noinit + + + + + GetCurrentTaskIndex + GETCURTASKINDEX + 128 + 2080 + + + NumberOfTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2208 + + 0 + + + + Tests + FB_Test + + 1 + 100 + + 419200 + 2240 + + + TestDuplicateNameTrigger + R_TRIG + + 1 + 100 + + 6400 + 421440 + + + TestCycleCountIndex + UDINT + + 1 + 100 + + 3200 + 427840 + + + AssertResults + FB_AssertResultStatic + 24640320 + 431040 + + + AssertArrayResults + FB_AssertArrayResultStatic + 8480256 + 25071360 + + + AdsAssertMessageFormatter + FB_AdsAssertMessageFormatter + 64 + 33551616 + + + AssertMessageFormatter + I_AssertMessageFormatter + 32 + 33551680 + + + AssertArrayEquals_REAL + + Expecteds + REAL array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + REAL array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_BOOL + + Expected + BOOL expected value + BOOL + 8 + + + Actual + BOOL actual value + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertArrayEquals_WORD + + Expecteds + WORD array with expected values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + WORD array with actual values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_STRING + + Expected + STRING expected value + T_MaxString + 2048 + + + Actual + STRING actual value + T_MaxString + 2048 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_ULINT + + Expected + ULINT expected value + ULINT + 64 + + + Actual + ULINT actual value + ULINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_USINT + + Expecteds + USINT array with expected values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + USINT array with actual values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + CalculateAndSetNumberOfAssertsForTest + + TestName + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + TotalNumberOfAsserts + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + NumberOfArrayAsserts + UINT + 16 + + + IteratorCounter + UINT + 16 + + + + AssertArrayEquals_BYTE + + Expecteds + BYTE array with expected values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BYTE array with actual values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedByteString + STRING(80) + 648 + + + ActualByteString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + SetTestFailed + + AssertionType + E_AssertionType + 8 + + + AssertionMessage + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + AssertEquals_WORD + + Expected + WORD expected value + WORD + 16 + + + Actual + WORD actual value + WORD + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + SetTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + AssertArrayEquals_ULINT + + Expecteds + ULINT array with expected values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + ULINT array with actual values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + IsTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + AssertEquals_LINT + + Expected + LINT expected value + LINT + 64 + + + Actual + LINT actual value + LINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals + + Expected + Expected value + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + The value to check against expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Count + DINT + 32 + + + ExpectedDataString + T_MaxString + 2048 + + + ActualDataString + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + boolExpected + BOOL + 8 + + + boolActual + BOOL + 8 + + + byteExpected + BYTE + 8 + + + byteActual + BYTE + 8 + + + dateExpected + DATE + 32 + + + dateActual + DATE + 32 + + + dateAndTimeExpected + DATE_AND_TIME + 32 + + + dateAndTimeActual + DATE_AND_TIME + 32 + + + dintExpected + DINT + 32 + + + dintActual + DINT + 32 + + + dwordExpected + DWORD + 32 + + + dwordActual + DWORD + 32 + + + intExpected + INT + 16 + + + intActual + INT + 16 + + + lintExpected + LINT + 64 + + + lintActual + LINT + 64 + + + lrealExpected + LREAL + 64 + + + lrealActual + LREAL + 64 + + + ltimeExpected + LTIME + 64 + + + ltimeActual + LTIME + 64 + + + lwordExpected + LWORD + 64 + + + lwordActual + LWORD + 64 + + + realExpected + REAL + 32 + + + realActual + REAL + 32 + + + sintExpected + SINT + 8 + + + sintActual + SINT + 8 + + + stringExpected + T_MaxString + 2048 + + + stringActual + T_MaxString + 2048 + + + wstringExpected + WSTRING(255) + 4096 + + + wstringActual + WSTRING(255) + 4096 + + + timeExpected + TIME + 32 + + + timeActual + TIME + 32 + + + timeOfDayExpected + TIME_OF_DAY + 32 + + + timeOfDayActual + TIME_OF_DAY + 32 + + + udintExpected + UDINT + 32 + + + udintActual + UDINT + 32 + + + uintExpected + UINT + 16 + + + uintActual + UINT + 16 + + + ulintExpected + ULINT + 64 + + + ulintActual + ULINT + 64 + + + usintExpected + USINT + 8 + + + usintActual + USINT + 8 + + + wordExpected + WORD + 16 + + + wordActual + WORD + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + IteratorCounter + DINT + 32 + + + + hasanytype + + + + + AssertEquals_TIME_OF_DAY + + Expected + TIME_OF_DAY expected value + TIME_OF_DAY + 32 + + + Actual + TIME_OF_DAY actual value + TIME_OF_DAY + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_USINT + + Expected + USINT expected value + USINT + 8 + + + Actual + USINT actual value + USINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertArrayEquals_DINT + + Expecteds + DINT array with expected values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DINT array with actual values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_SINT + + Expected + SINT expected value + SINT + 8 + + + Actual + SINT actual value + SINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetNumberOfTests + UINT + 16 + + + AssertEquals_LREAL + + Expected + LREAL expected value + LREAL + 64 + + + Actual + LREAL actual value + LREAL + 64 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_WSTRING + + Expected + WSTRING expected value + WSTRING(255) + 4096 + + + Actual + WSTRING actual value + WSTRING(255) + 4096 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_REAL + + Expecteds + REAL 2d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + REAL 2d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + USINT + 8 + + + LowerBoundExpecteds + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + DINT + + 1 + 2 + + 64 + + + Offset + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + DINT + + 1 + 2 + + 64 + + + Expected + REAL + 32 + + + Actual + REAL + 32 + + + __Index__0 + DINT + 32 + + + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + + + AssertTrue + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertArray3dEquals_LREAL + + Expecteds + LREAL 3d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + LREAL 3d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + USINT + 8 + + + LowerBoundExpecteds + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + DINT + + 1 + 3 + + 96 + + + Offset + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + DINT + + 1 + 3 + + 96 + + + Expected + LREAL + 64 + + + Actual + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertEquals_INT + + Expected + INT expected value + INT + 16 + + + Actual + INT actual value + INT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_DATE + + Expected + DATE expected value + DATE + 32 + + + Actual + DATE actual value + DATE + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_DWORD + + Expected + DWORD expected value + DWORD + 32 + + + Actual + DWORD actual value + DWORD + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_REAL + + Expected + REAL expected value + REAL + 32 + + + Actual + REAL actual value + REAL + 32 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_UDINT + + Expected + UDINT expected value + UDINT + 32 + + + Actual + UDINT actual value + UDINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_LTIME + + Expected + LTIME expected value + LTIME + 64 + + + Actual + LTIME actual value + LTIME + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_SINT + + Expecteds + SINT array with expected values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + SINT array with actual values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_TIME + + Expected + TIME expected value + TIME + 32 + + + Actual + TIME actual value + TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_DATE_AND_TIME + + Expected + DATE_AND_TIME expected value + DATE_AND_TIME + 32 + + + Actual + DATE_AND_TIME actual value + DATE_AND_TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray3dEquals_REAL + + Expecteds + REAL 3d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + REAL 3d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + USINT + 8 + + + LowerBoundExpecteds + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + DINT + + 1 + 3 + + 96 + + + Offset + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + DINT + + 1 + 3 + + 96 + + + Expected + REAL + 32 + + + Actual + REAL + 32 + + + ExpectedValueString + T_MaxString + 2048 + + + ActualValueString + T_MaxString + 2048 + + + FormatString + FB_FormatString + 7840 + + + __Index__0 + DINT + 32 + + + + AssertEquals_DINT + + Expected + DINT expected value + DINT + 32 + + + Actual + DINT actual value + DINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_UDINT + + Expecteds + UDINT array with expected values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UDINT array with actual values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_INT + + Expecteds + INT array with expected values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + INT array with actual values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertFalse + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + GetNumberOfFailedTests + UINT + 16 + + Counter + UINT + 16 + + + FailedTestsCount + UINT + 16 + + + + AssertArrayEquals_LINT + + Expecteds + LINT array with expected values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LINT array with actual values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_LWORD + + Expecteds + LWORD array with expected values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LWORD array with actual values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedLWordString + STRING(80) + 648 + + + ActualLWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + GetTestByPosition + FB_Test + 4192 + + Position + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AssertEquals_LWORD + + Expected + LWORD expected value + LWORD + 64 + + + Actual + LWORD actual value + LWORD + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_LREAL + + Expecteds + LREAL 2d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + LREAL 2d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + USINT + 8 + + + LowerBoundExpecteds + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + DINT + + 1 + 2 + + 64 + + + Offset + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + DINT + + 1 + 2 + + 64 + + + Expected + LREAL + 64 + + + Actual + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_BOOL + + Expecteds + BOOL array with expected values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BOOL array with actual values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AreAllTestsFinished + BOOL + 8 + + Counter + UINT + 16 + + + GetCurTaskIndex + GETCURTASKINDEX + 128 + + + + AddTest + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + ErrorMessage + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + FunctionCallResult + DINT + 32 + + + CycleCount + UDINT + 32 + + + TestWithThisNameAlreadyExists + BOOL + 8 + + + LowerCasedTestName + T_MaxString + 2048 + + + TrimmedTestName + T_MaxString + 2048 + + + IgnoreCurrentTestCase + BOOL + 8 + + + + AssertArrayEquals_DWORD + + Expecteds + DWORD array with expected values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DWORD array with actual values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + FindTestSuiteInstancePath + T_MaxString + 2048 + + + AssertEquals_BYTE + + Expected + BYTE expected value + BYTE + 8 + + + Actual + BYTE actual value + BYTE + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_UINT + + Expected + UINT expected value + UINT + 16 + + + Actual + UINT actual value + UINT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetInstancePath + T_MaxString + 2048 + + + GetNumberOfSkippedTests + UINT + 16 + + Counter + UINT + 16 + + + SkippedTestsCount + UINT + 16 + + + + AssertArrayEquals_UINT + + Expecteds + UINT array with expected values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UINT array with actual values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_LREAL + + Expecteds + LREAL array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LREAL array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + GetNumberOfSuccessfulTests + UINT + 16 + + + + PouType + FunctionBlock + + + call_after_init + + + reflection + + + + + ST_AdsLogStringMessage + 4128 + + MsgCtrlMask + DWORD + 32 + 0 + + + MsgFmtStr + T_MaxString + 2048 + 32 + + + StrArg + T_MaxString + 2048 + 2080 + + + + pack_mode + 1 + + + + + FB_MemRingBuffer + This function block implements ring buffer fifo functionality. A_AddTail adds new entry, A_GetHead gets first (oldest) entry - A_RemoveHead gets and removes first (oldest) entry. Use A_Reset to clear all fifo data. ]]>544pWriteBYTE3232ItemTypeInputcbWriteUDINT3264ItemTypeInputpReadBYTE3296ItemTypeInputcbReadUDINT32128ItemTypeInputpBufferBYTE32160ItemTypeInputcbBufferUDINT32192ItemTypeInputbOkBOOL8224ItemTypeOutputnCountUDINT322560ItemTypeOutputcbSizeUDINT322880ItemTypeOutputcbReturnUDINT Number of recend realy returned (removed or get) data bytes - If bOk == FALSE and cbReturn <> 0 => Number of required read buffer data bytes (cbRead underflow) ]]>323200ItemTypeOutputidxLastDWORD323520conditionalshowidxFirstDWORD323840conditionalshowidxGetDWORD32416conditionalshowpTmpBYTE32448conditionalshowcbTmpDWORD32480conditionalshowcbCopiedDWORD32512conditionalshowA_ResetA_AddTailA_RemoveHeadA_GetHeadPouTypeFunctionBlockconditionalshow_all_localsTON224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockFB_AdsLogStringMessageFifoQueue + 544 + + pWrite + BYTE + Pointer to write data + 32 + 32 + + + ItemType + Input + + + + + cbWrite + UDINT + Byte size of write data + 32 + 64 + + + ItemType + Input + + + + + pRead + BYTE + Pointer to read data buffer + 32 + 96 + + + ItemType + Input + + + + + cbRead + UDINT + Byte size of read data buffer + 32 + 128 + + + ItemType + Input + + + + + pBuffer + BYTE + Pointer to ring buffer data bytes + 32 + 160 + + + ItemType + Input + + + + + cbBuffer + UDINT + Max. ring buffer byte size + 32 + 192 + + + ItemType + Input + + + + + bOk + BOOL + TRUE = new entry added or removed succesfully, FALSE = fifo overflow or fifo empty + 8 + 224 + + + ItemType + Output + + + + + nCount + UDINT + Number of fifo entries + 32 + 256 + + 0 + + + + ItemType + Output + + + + + cbSize + UDINT + Current byte length of fifo data + 32 + 288 + + 0 + + + + ItemType + Output + + + + + cbReturn + UDINT + If bOk == TRUE => Number of recend realy returned (removed or get) data bytes + If bOk == FALSE and cbReturn <> 0 => Number of required read buffer data bytes (cbRead underflow) + 32 + 320 + + 0 + + + + ItemType + Output + + + + + idxLast + DWORD + 32 + 352 + + 0 + + + + conditionalshow + + + + + idxFirst + DWORD + 32 + 384 + + 0 + + + + conditionalshow + + + + + idxGet + DWORD + 32 + 416 + + + conditionalshow + + + + + pTmp + BYTE + 32 + 448 + + + conditionalshow + + + + + cbTmp + DWORD + 32 + 480 + + + conditionalshow + + + + + cbCopied + DWORD + 32 + 512 + + + conditionalshow + + + + + A_Reset + + + A_AddTail + + + A_RemoveHead + + + A_GetHead + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + TON + 224 + + IN + BOOL + starts timer with rising edge, resets timer with falling edge + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + time to pass, before Q is set + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + gets TRUE, delay time (PT) after a rising edge at IN + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + elapsed time + 32 + 128 + + + ItemType + Output + + + + + M + BOOL + 8 + 160 + + + StartTime + TIME + 32 + 192 + + + + PouType + FunctionBlock + + + + + FB_AdsLogStringMessageFifoQueue + This function block is responsible for making sure that the ADSLOGSTR-messages to the ADS-router are transmitted cyclically and not in a burst. The reason this is necessary is because that if too many messages are sent at the same time some get lost and are never printed to the error list output -]]>8320864ArrayBufferBYTE01040000832000032MemRingBufferFB_MemRingBuffer5448320032TimerBetweenMessagesTON2248320576.IN1.PT10MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORDUSINT883208004TIME_BETWEEN_MESSAGESTIME32832083210GetLogCountUDINT32WriteLogMsgCtrlMaskDWORD32MsgFmtStrT_MaxString2048StrArgT_MaxString2048ErrorBOOL8ItemTypeOutputAdsLogStringMessageST_AdsLogStringMessage4128GetAndRemoveLogFromQueueAdsLogStringMessageST_AdsLogStringMessage4128ItemTypeOutputErrorBOOL8ItemTypeOutputPouTypeFunctionBlockST_PMPS_Attenuator_IO64nTranREAL320xAttOKUINT1632ST_PMPS_Attenuator64ST_PMPS_Attenuator_IOST_PMPS_Aperture_IO96WidthREAL320plcAttribute_pytmcpv: Width + + 8320864 + + ArrayBuffer + BYTE + + 0 + 1040000 + + 8320000 + 32 + + + MemRingBuffer + FB_MemRingBuffer + 544 + 8320032 + + + TimerBetweenMessages + TON + 224 + 8320576 + + + .IN + 1 + + + .PT + 10 + + + + + MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORD + USINT + 8 + 8320800 + + 4 + + + + TIME_BETWEEN_MESSAGES + TIME + 32 + 8320832 + + 10 + + + + GetLogCount + UDINT + 32 + + + WriteLog + + MsgCtrlMask + DWORD + 32 + + + MsgFmtStr + T_MaxString + 2048 + + + StrArg + T_MaxString + 2048 + + + Error + Buffer overflow + BOOL + 8 + + + ItemType + Output + + + + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + + GetAndRemoveLogFromQueue + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + + + + PouType + FunctionBlock + + + + + ST_PMPS_Attenuator_IO + 64 + + nTran + REAL + 32 + 0 + + + xAttOK + UINT + 16 + 32 + + + + + + + + + + + + + + + ST_PMPS_Attenuator + 64 + ST_PMPS_Attenuator_IO + + + ST_PMPS_Aperture_IO + 96 + + Width + REAL + distance between horizontal slits (x) + 32 + 0 + + + plcAttribute_pytmc + pv: Width io: i - field: EGU mmHeightREAL3232plcAttribute_pytmcpv: Height + field: EGU mm + + + + + Height + REAL + distance between vertical slits (y) + 32 + 32 + + + plcAttribute_pytmc + pv: Height io: i - field: EGU mmxOKBOOL864plcAttribute_pytmcpv: OK - io: iST_PMPS_Aperture96ST_PMPS_Aperture_IOST_BeamParams1760nTranREAL3200pytmcpv: Transmission + field: EGU mm + + + + + xOK + BOOL + status of aperture, false if error or in motion + 8 + 64 + + + plcAttribute_pytmc + pv: OK + io: i + + + + + + ST_PMPS_Aperture + 96 + ST_PMPS_Aperture_IO + + + ST_BeamParams + 1760 + + nTran + REAL + Requested pre-optic attenuation % + 32 + 0 + + 0 + + + + pytmc + pv: Transmission io: i field: HOPR 1; field: LOPR 0; field: PREC 2; - nRateUDINT32320pytmcpv: Rate + + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 0 + + + + pytmc + pv: Rate io: i field: EGU Hz - neVRangeDWORD32640pytmcpv: eVRanges + + + + + + neVRange + DWORD + Photon energy ranges + 32 + 64 + + 0 + + + + pytmc + pv: eVRanges io: i - field: EGU eVdisplaymodebinaryneVREAL32960pytmcpv: PhotonEnergy + field: EGU eV + + + displaymode + binary + + + + + neV + REAL + Photon energy + 32 + 96 + + 0 + + + + pytmc + pv: PhotonEnergy io: i - field: EGU eVnBCRangeWORD161280pytmcpv: BeamClassRanges - io: idisplaymodebinarynBeamClassUSINT81440pytmcpv: BeamClass - io: inMachineModeUSINT81523pytmcpv: MachineMode - io: iastAttenuatorsST_PMPS_Attenuator1161024160pytmcpv: AuxAtt - io: iaVetoDevicesBOOL1161281184pytmcpv: Veto - io: iastAperturesST_PMPS_Aperture143841312[1].Width1000[1].Height1000[2].Width1000[2].Height1000[3].Width1000[3].Height1000[4].Width1000[4].Height1000pytmcpv: Apt - io: ixValidToggleBOOL81696xValidBOOL81704pytmcpv: Valid - io: inCohortIntUDINT321728pytmcpv: Cohort + field: EGU eV + + + + + nBCRange + WORD + Beamclass ranges + 16 + 128 + + 0 + + + + pytmc + pv: BeamClassRanges + io: i + + + displaymode + binary + + + + + nBeamClass + USINT + Beamclass + 8 + 144 + + 0 + + + + pytmc + pv: BeamClass + io: i + + + + + nMachineMode + USINT + Machine Mode + 8 + 152 + + 3 + + + + pytmc + pv: MachineMode + io: i + + + + + astAttenuators + ST_PMPS_Attenuator + + 1 + 16 + + Beamline attenuators + 1024 + 160 + + + pytmc + pv: AuxAtt + io: i + + + + + aVetoDevices + BOOL + + 1 + 16 + + Stoppers + 128 + 1184 + + + pytmc + pv: Veto + io: i + + + + + astApertures + ST_PMPS_Aperture + + 1 + 4 + + Apertures + 384 + 1312 + + + [1].Width + 1000 + + + [1].Height + 1000 + + + [2].Width + 1000 + + + [2].Height + 1000 + + + [3].Width + 1000 + + + [3].Height + 1000 + + + [4].Width + 1000 + + + [4].Height + 1000 + + + + + pytmc + pv: Apt + io: i + + + + + xValidToggle + BOOL + Toggle for watchdog + 8 + 1696 + + + xValid + BOOL + Beam parameter set is valid (if readback), or acknowledged (if request) + 8 + 1704 + + + pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + Cohort index. Identifies which cohort this BP set was included in arbitration + 32 + 1728 + + + pytmc + pv: Cohort io: i field: DESC Cohort inc on each arb cycle - PE_Ranges + + + + + + PE_Ranges + Does nothing other than set the gvl for photon energy bitmask to one of two constants, K or L. Workaround for compile defines not fully working for libraries at the time of writing this. - Otherwise I would have just used the compile define in the GVL declaration.]]>32PouTypeFunctionBlockFB_JsonSaxWriter + 32 + + + PouType + FunctionBlock + + + + + FB_JsonSaxWriter + | Provides the functionality to create a JSON document. | Steps of documentation creation: | 1. StartObject() to start a new object in the document. | 2. Add several keys/values via AddKeyString() and the other methods. | 3. EndObject() to finish object. | 4. GetDocument() in order to get the full document as string. - | 5. ResetDocument() if a new document should be created with the same SaxWriter instance.]]>256initStatusHRESULT3232-1743714536ItemTypeOutputipWriterITcJsonSaxWriter3264ipWriter2ITcJsonSaxWriter23296CLSID_TcJsonSaxWriterCLSID128128.Data13870298264.Data256256.Data317669.Data4[0]158.Data4[1]60.Data4[2]93.Data4[3]248.Data4[4]70.Data4[5]150.Data4[6]7.Data4[7]196AddKeyNumberkeySTRING(80)32ItemTypeInOutvalueDINT32AddStringvalueSTRING(80)32ItemTypeInOutAddKeyFileTimekeySTRING(80)32ItemTypeInOutvalueFILETIME64IsCompleteBOOL8AddUdintvalueUDINT32AddHexBinarypBytesBYTE32nBytesDINT32AddLintvalueLINT64AddLrealvalueLREAL64AddKeykeySTRING(80)32ItemTypeInOutResetDocumentAddKeyLrealkeySTRING(80)32ItemTypeInOutvalueLREAL64StartObjectGetDocumentLengthUDINT32nUDINT32pSTRING(80)32AddKeyDcTimekeySTRING(80)32ItemTypeInOutvalueDCTIME64AddDateTimevalueDATE_AND_TIME32AddRawObjectrawJsonSTRING(80)32ItemTypeInOutSetMaxDecimalPlacesdecimalPlacesDINT32__get_ipWriterITcJsonSaxWriter32_ipWriterITcJsonSaxWriter32propertyAddKeyBoolkeySTRING(80)32ItemTypeInOutvalueBOOL8GetDocumentSTRING(255)2048pSINT32nUDINT32AddDintvalueDINT32AddRawArrayBOOL8rawJsonSTRING(80)32ItemTypeInOutAddKeyStringkeySTRING(80)32ItemTypeInOutvalueSTRING(80)32ItemTypeInOutCopyDocumentUDINT32pDocSTRING(80)32ItemTypeInOutnDocUDINT32AddUlintvalueULINT64GetMaxDecimalPlacesDINT32dpDINT32AddFileTimevalueFILETIME64AddNullAddKeyDateTimekeySTRING(80)32ItemTypeInOutvalueDATE_AND_TIME32AddBoolvalueBOOL8AddBase64pBytesBYTE32nBytesDINT32AddDcTimevalueDCTIME64AddKeyNullkeySTRING(80)32ItemTypeInOutEndArrayEndObjectStartArrayAddRealvalueREAL32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyTOF224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockE_AssertionType8BYTEType_UNDEFINED0Type_ANY1Type_BOOL2Type_BYTE3Type_DATE4Type_DATE_AND_TIME5Type_DINT6Type_DWORD7Type_INT8Type_LINT9Type_LREAL10Type_LTIME11Type_LWORD12Type_REAL13Type_SINT14Type_STRING15Type_TIME16Type_TIME_OF_DAY17Type_UDINT18Type_UINT19Type_ULINT20Type_USINT21Type_WORD22Type_WSTRING23Type_Array2D_LREAL24Type_Array2D_REAL25Type_Array3D_LREAL26Type_Array3D_REAL27Type_Array_BOOL28Type_Array_BYTE29Type_Array_DINT30Type_Array_DWORD31Type_Array_INT32Type_Array_LINT33Type_Array_LREAL34Type_Array_LWORD35Type_Array_REAL36Type_Array_SINT37Type_Array_UDINT38Type_Array_UINT39Type_Array_ULINT40Type_Array_USINT41Type_Array_WORD42ST_TestCaseResult6192TestNameT_MaxString20480TestClassNameT_MaxString20482048TestIsFailedBOOL84096TestIsSkippedBOOL84104FailureMessageT_MaxString20484112FailureTypeE_AssertionType86160NumberOfAssertsUINT166176ST_TestSuiteResult621296NameT_MaxString20480IdentityUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)162048NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162064NumberOfFailedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162080TestCaseResultsST_TestCaseResult11006192002096ST_TestSuiteResults621296064NumberOfTestSuitesUINT160NumberOfTestCasesUINT1616NumberOfSuccessfulTestCasesUINT1632NumberOfFailedTestCasesUINT1648TestSuiteResultsST_TestSuiteResult1100062129600064I_TestResults32PVOIDGetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32FB_TestResults621296256I_TestResultsTestSuiteResultsST_TestSuiteResults62129606464StoringTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16621296128StoringTestSuiteTriggerR_TRIG64621296160StoredTestSuiteResultsBOOL8621296224StoredGeneralTestResultsBOOL8621296232NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16621296240GetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32PouTypeFunctionBlockI_TestResultLogger32PVOIDLogTestSuiteResultsFB_AdsTestResultLogger + 256 + + initStatus + HRESULT + 32 + 32 + + -1743714536 + + + + ItemType + Output + + + + + ipWriter + ITcJsonSaxWriter + 32 + 64 + + + ipWriter2 + ITcJsonSaxWriter2 + 32 + 96 + + + CLSID_TcJsonSaxWriter + CLSID + 128 + 128 + + + .Data1 + 3870298264 + + + .Data2 + 56256 + + + .Data3 + 17669 + + + .Data4[0] + 158 + + + .Data4[1] + 60 + + + .Data4[2] + 93 + + + .Data4[3] + 248 + + + .Data4[4] + 70 + + + .Data4[5] + 150 + + + .Data4[6] + 7 + + + .Data4[7] + 196 + + + + + AddKeyNumber + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DINT + 32 + + + + AddString + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddKeyFileTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + FILETIME + 64 + + + + IsComplete + BOOL + 8 + + + AddUdint + + value + UDINT + 32 + + + + AddHexBinary + + pBytes + BYTE + 32 + + + nBytes + DINT + 32 + + + + AddLint + + value + LINT + 64 + + + + AddLreal + + value + LREAL + 64 + + + + AddKey + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + + ResetDocument + + + AddKeyLreal + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + LREAL + 64 + + + + StartObject + + + GetDocumentLength + UDINT + 32 + + n + UDINT + 32 + + + p + STRING(80) + 32 + + + + AddKeyDcTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DCTIME + 64 + + + + AddDateTime + + value + DATE_AND_TIME + 32 + + + + AddRawObject + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + SetMaxDecimalPlaces + + decimalPlaces + DINT + 32 + + + + __get_ipWriter + ITcJsonSaxWriter + 32 + + _ipWriter + ITcJsonSaxWriter + 32 + + + + property + + + + + AddKeyBool + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + BOOL + 8 + + + + GetDocument + STRING(255) + 2048 + + p + SINT + 32 + + + n + UDINT + 32 + + + + AddDint + + value + DINT + 32 + + + + AddRawArray + BOOL + 8 + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddKeyString + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + CopyDocument + UDINT + 32 + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of the target string buffer + UDINT + 32 + + + + AddUlint + + value + ULINT + 64 + + + + GetMaxDecimalPlaces + DINT + 32 + + dp + DINT + 32 + + + + AddFileTime + + value + FILETIME + 64 + + + + AddNull + + + AddKeyDateTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DATE_AND_TIME + 32 + + + + AddBool + + value + BOOL + 8 + + + + AddBase64 + + pBytes + BYTE + 32 + + + nBytes + DINT + 32 + + + + AddDcTime + + value + DCTIME + 64 + + + + AddKeyNull + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + + EndArray + + + EndObject + + + StartArray + + + AddReal + + value + REAL + 32 + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + TOF + 224 + + IN + BOOL + starts timer with falling edge, resets timer with rising edge + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + time to pass, before Q is set + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + is FALSE, PT seconds after IN had a falling edge + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + elapsed time + 32 + 128 + + + ItemType + Output + + + + + M + BOOL + 8 + 160 + + + StartTime + TIME + 32 + 192 + + + + PouType + FunctionBlock + + + + + E_AssertionType + 8 + BYTE + + Type_UNDEFINED + 0 + + + Type_ANY + 1 + + + Type_BOOL + 2 + Primitive types + + + Type_BYTE + 3 + + + Type_DATE + 4 + + + Type_DATE_AND_TIME + 5 + + + Type_DINT + 6 + + + Type_DWORD + 7 + + + Type_INT + 8 + + + Type_LINT + 9 + + + Type_LREAL + 10 + + + Type_LTIME + 11 + + + Type_LWORD + 12 + + + Type_REAL + 13 + + + Type_SINT + 14 + + + Type_STRING + 15 + + + Type_TIME + 16 + + + Type_TIME_OF_DAY + 17 + + + Type_UDINT + 18 + + + Type_UINT + 19 + + + Type_ULINT + 20 + + + Type_USINT + 21 + + + Type_WORD + 22 + + + Type_WSTRING + 23 + + + Type_Array2D_LREAL + 24 + Array types + + + Type_Array2D_REAL + 25 + + + Type_Array3D_LREAL + 26 + + + Type_Array3D_REAL + 27 + + + Type_Array_BOOL + 28 + + + Type_Array_BYTE + 29 + + + Type_Array_DINT + 30 + + + Type_Array_DWORD + 31 + + + Type_Array_INT + 32 + + + Type_Array_LINT + 33 + + + Type_Array_LREAL + 34 + + + Type_Array_LWORD + 35 + + + Type_Array_REAL + 36 + + + Type_Array_SINT + 37 + + + Type_Array_UDINT + 38 + + + Type_Array_UINT + 39 + + + Type_Array_ULINT + 40 + + + Type_Array_USINT + 41 + + + Type_Array_WORD + 42 + + + + ST_TestCaseResult + 6192 + + TestName + T_MaxString + 2048 + 0 + + + TestClassName + T_MaxString + 2048 + 2048 + + + TestIsFailed + BOOL + 8 + 4096 + + + TestIsSkipped + BOOL + 8 + 4104 + + + FailureMessage + T_MaxString + 2048 + 4112 + + + FailureType + E_AssertionType + 8 + 6160 + + + NumberOfAsserts + UINT + 16 + 6176 + + + + ST_TestSuiteResult + 621296 + + Name + T_MaxString + Full class name + 2048 + 0 + + + Identity + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) + Should be 0..GVL_Param_TcUnit.MaxNumberOfTestSuites-1 but gives unknown compiler error + 16 + 2048 + + + NumberOfTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2064 + + + NumberOfFailedTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2080 + + + TestCaseResults + ST_TestCaseResult + + 1 + 100 + + 619200 + 2096 + + + + ST_TestSuiteResults + 621296064 + + NumberOfTestSuites + UINT + The total number of test suites + 16 + 0 + + + NumberOfTestCases + UINT + The total number of test cases (for all test suites) + 16 + 16 + + + NumberOfSuccessfulTestCases + UINT + The total number of test cases that had all ASSERTS successful + 16 + 32 + + + NumberOfFailedTestCases + UINT + The total number of test cases that had at least one ASSERT failed + 16 + 48 + + + TestSuiteResults + ST_TestSuiteResult + + 1 + 1000 + + Test results for each individiual test suite + 621296000 + 64 + + + + I_TestResults + 32 + PVOID + + GetAreTestResultsAvailable + BOOL + 8 + + + GetTestSuiteResults + ST_TestSuiteResults + 32 + + + + FB_TestResults + This function block holds results of the complete test run, i.e. results for all test suites + 621296256 + I_TestResults + + TestSuiteResults + ST_TestSuiteResults + Test results + 621296064 + 64 + + + StoringTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + Misc variables + 16 + 621296128 + + + StoringTestSuiteTrigger + R_TRIG + 64 + 621296160 + + + StoredTestSuiteResults + BOOL + 8 + 621296224 + + + StoredGeneralTestResults + BOOL + 8 + 621296232 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 621296240 + + + GetAreTestResultsAvailable + BOOL + 8 + + + GetTestSuiteResults + ST_TestSuiteResults + 32 + + + + PouType + FunctionBlock + + + + + I_TestResultLogger + 32 + PVOID + + LogTestSuiteResults + + + + FB_AdsTestResultLogger + This function block reports the results from the tests using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the "Error List" of Visual Studio (which can print Errors, Warnings and Messages). -]]>224I_TestResultLoggerTestResultsI_TestResults3264PrintingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)1696PrintingTestSuiteTriggerR_TRIG64128PrintedFinalTestResultsBOOL8192PrintedTestSuitesResultsBOOL8200LogTestSuiteResultsTcUnitTestResultsST_TestSuiteResults32StringToPrintT_MaxString2048TestsInTestSuiteCounterUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16MaxNumberOfTestsToPrintUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648PouTypeFunctionBlockFB_FileControl + 224 + I_TestResultLogger + + TestResults + I_TestResults + 32 + 64 + + + PrintingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 96 + + + PrintingTestSuiteTrigger + R_TRIG + 64 + 128 + + + PrintedFinalTestResults + BOOL + This flag is set once the final end result has printed + 8 + 192 + + + PrintedTestSuitesResults + BOOL + This flag is set once the test suites result have been printed + 8 + 200 + + + LogTestSuiteResults + + TcUnitTestResults + ST_TestSuiteResults + 32 + + + StringToPrint + T_MaxString + 2048 + + + TestsInTestSuiteCounter + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + MaxNumberOfTestsToPrint + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + TEST_STATUS_SKIP + STRING(80) + 648 + + + TEST_STATUS_PASS + STRING(80) + 648 + + + TEST_STATUS_FAIL + STRING(80) + 648 + + + + + PouType + FunctionBlock + + + + + FB_FileControl + This functionblock can open, close, read, write and delete files on the local filesystem -]]>96FileAccessModeACCESS_MODE32325FileHandleRTS_IEC_HANDLE3264ReadRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32FileSizeRTS_IEC_SIZE32ItemTypeOutputCloseRTS_IEC_RESULT32OpenRTS_IEC_RESULT32FileNameT_MaxString2048FileAccessModeACCESS_MODE32DeleteRTS_IEC_RESULT32FileNameT_MaxString2048WriteRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32PouTypeFunctionBlockE_XmlError8BYTEOk0ErrorMaxBufferLen1ErrorStringLen2Error3FB_StreamBuffer + 96 + + FileAccessMode + ACCESS_MODE + Append_Plus creates the file if it doesn't exist yet. + 32 + 32 + + 5 + + + + FileHandle + RTS_IEC_HANDLE + 32 + 64 + + + Read + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + FileSize + RTS_IEC_SIZE + 32 + + + ItemType + Output + + + + + + Close + RTS_IEC_RESULT + 32 + + + Open + RTS_IEC_RESULT + 32 + + FileName + File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) + T_MaxString + 2048 + + + FileAccessMode + ACCESS_MODE + 32 + + + + Delete + RTS_IEC_RESULT + 32 + + FileName + File name can contain an absolute or relative path to the file. Path entries must be separated with a forward slash (/) + T_MaxString + 2048 + + + + Write + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + + + PouType + FunctionBlock + + + + + E_XmlError + 8 + BYTE + + Ok + 0 + + + ErrorMaxBufferLen + 1 + + + ErrorStringLen + 2 + + + Error + 3 + + + + FB_StreamBuffer + This functionblock acts as a stream buffer for use with FB_XmlControl -]]>128_PointerToStringBufferBYTE3232_BufferSizeUDINT3264_LengthUDINT3296CutOffT_MaxString2048StartPosUDINT32CutLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCutBYTE32PointerToByteBufferBYTE32FindUDINT32SearchStringSTRING(80)648StartPosUDINT32LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32FindBackUDINT32SearchStringT_MaxString2048LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32__getLengthUDINT32LengthUDINT32propertyClearCountUDINT32__setAppendAppend + 128 + + _PointerToStringBuffer + BYTE + 32 + 32 + + + _BufferSize + UDINT + 32 + 64 + + + _Length + UDINT + 32 + 96 + + + CutOff + T_MaxString + 2048 + + StartPos + UDINT + 32 + + + CutLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + + + + Loop + UDINT + 32 + + + PointerToByteToCut + BYTE + 32 + + + PointerToByteBuffer + BYTE + 32 + + + + Find + UDINT + 32 + + SearchString + STRING(80) + 648 + + + StartPos + UDINT + 32 + + + Loop + UDINT + 32 + + + Search + UDINT + 32 + + + PointerToBuffer + BYTE + 32 + + + PointerToSearch + BYTE + 32 + + + + FindBack + UDINT + 32 + + SearchString + T_MaxString + 2048 + + + Loop + UDINT + 32 + + + Search + UDINT + 32 + + + PointerToBuffer + BYTE + 32 + + + PointerToSearch + BYTE + 32 + + + + __getLength + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + Clear + + Count + UDINT + 32 + + + + __setAppend + + Append + Appends a string to the buffer -]]>T_MaxString2048ByteInBYTE32ByteBufferBYTE32property__getBufferSizeUDINT32BufferSizeUDINT32property__setLengthLength + T_MaxString + 2048 + + + ByteIn + BYTE + 32 + + + ByteBuffer + BYTE + 32 + + + + property + + + + + __getBufferSize + UDINT + 32 + + BufferSize + UDINT + 32 + + + + property + + + + + __setLength + + Length + Gets/Sets the current length (in bytes) of the streambuffer -]]>UDINT32propertySetBufferBOOL8PointerToBufferAddressBYTE32SizeOfBufferUDINT32CopyT_MaxString2048StartPosUDINT32EndPosUDINT32CopyLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCopyBYTE32PointerToBufferBYTE32CurPosUDINT32PouTypeFunctionBlockFB_XmlControl + UDINT + 32 + + + + property + + + + + SetBuffer + BOOL + 8 + + PointerToBufferAddress + Set buffer address (ADR ...) + BYTE + 32 + + + SizeOfBuffer + Set buffer size (SIZEOF ...) + UDINT + 32 + + + + Copy + T_MaxString + 2048 + + StartPos + UDINT + 32 + + + EndPos + UDINT + 32 + + + CopyLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + + + + Loop + UDINT + 32 + + + PointerToByteToCopy + BYTE + 32 + + + PointerToBuffer + BYTE + 32 + + + CurPos + UDINT + 32 + + + + + PouType + FunctionBlock + + + + + FB_XmlControl + Organizes parsing and composing of XML data. Data can be treated as STRING or char array. Buffer size of file can be set via GVL_Param_TcUnit (xUnitBufferSize) -]]>5696XmlBufferFB_StreamBuffer12832TagListBufferFB_StreamBuffer128160TagsT_MaxString2048288TagListSeekBufferFB_StreamBuffer1282336TagsSeekSTRING(80)6482464TagBufferFB_StreamBuffer1283136TagT_MaxString20483264TagOpenBOOL85312SelectUDINT325344SearchPositionUDINT325376TAG_OPENSTRING(1)165408<TAG_CLOSESTRING(1)165424>END_TAG_CLOSESTRING(2)245440/>SPACESTRING(1)165464 EQUALSSTRING(1)165480=QUOTESTRING(1)165496"BACK_SLASHSTRING(1)165512\FORWARD_SLASHSTRING(1)165528/OPEN_COMMENTSTRING(5)485544<!-- CLOSE_COMMENTSTRING(4)405592 -->TABSTRING(2)245632 CR_LFSTRING(4)405656 -NewParameterNameT_MaxString2048ValueT_MaxString2048NewTagNameT_MaxString2048CloseTagT_MaxString2048ClosedTagT_MaxString2048WriteDocumentHeaderHeaderT_MaxString2048NewCommentCommentT_MaxString2048__getLengthUDINT32LengthUDINT32propertyNewTagDataDataT_MaxString2048SetBufferPointerToBufferBYTE32SizeOfBufferUDINT32ClearBufferToStartBufferPouTypeFunctionBlockFB_xUnitXmlPublisher + 5696 + + XmlBuffer + FB_StreamBuffer + 128 + 32 + + + TagListBuffer + FB_StreamBuffer + 128 + 160 + + + Tags + T_MaxString + 2048 + 288 + + + TagListSeekBuffer + FB_StreamBuffer + 128 + 2336 + + + TagsSeek + STRING(80) + 648 + 2464 + + + TagBuffer + FB_StreamBuffer + 128 + 3136 + + + Tag + T_MaxString + 2048 + 3264 + + + TagOpen + BOOL + 8 + 5312 + + + Select + UDINT + 32 + 5344 + + + SearchPosition + UDINT + 32 + 5376 + + + TAG_OPEN + STRING(1) + 16 + 5408 + + < + + + + TAG_CLOSE + STRING(1) + 16 + 5424 + + > + + + + END_TAG_CLOSE + STRING(2) + 24 + 5440 + + /> + + + + SPACE + STRING(1) + 16 + 5464 + + + + + + EQUALS + STRING(1) + 16 + 5480 + + = + + + + QUOTE + STRING(1) + 16 + 5496 + + " + + + + BACK_SLASH + STRING(1) + 16 + 5512 + + \ + + + + FORWARD_SLASH + STRING(1) + 16 + 5528 + + / + + + + OPEN_COMMENT + STRING(5) + 48 + 5544 + + <!-- + + + + CLOSE_COMMENT + STRING(4) + 40 + 5592 + + --> + + + + TAB + STRING(2) + 24 + 5632 + + + + + + CR_LF + STRING(4) + 40 + 5656 + + + + + + + NewParameter + + Name + T_MaxString + 2048 + + + Value + T_MaxString + 2048 + + + + NewTag + + Name + T_MaxString + 2048 + + + + CloseTag + T_MaxString + 2048 + + ClosedTag + T_MaxString + 2048 + + + + WriteDocumentHeader + + Header + T_MaxString + 2048 + + + + NewComment + + Comment + T_MaxString + 2048 + + + + __getLength + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + NewTagData + + Data + T_MaxString + 2048 + + + + SetBuffer + + PointerToBuffer + ADR(..) + BYTE + 32 + + + SizeOfBuffer + SIZEOF(..) + UDINT + 32 + + + + ClearBuffer + + + ToStartBuffer + + + + PouType + FunctionBlock + + + + + FB_xUnitXmlPublisher + Publishes test results into an xUnit compatible Xml file -]]>530304I_TestResultLoggerTestResultsI_TestResults3264AccessModeACCESS_MODE32964FileFB_FileControl96128XmlFB_XmlControl5696224BufferInitialisedBOOL859200BufferBYTE0655355242805928WritingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16530208PublishTriggerR_TRIG64530240DeleteOpenWriteCloseRTS_IEC_RESULT32LogTestSuiteResultsUnitTestResultsST_TestSuiteResults32CurrentSuiteNumberUINT16CurrentTestCountUINT16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648InitialisedBOOL8PouTypeFunctionBlockFB_TcUnitRunner + 530304 + I_TestResultLogger + + TestResults + I_TestResults + Dependancy Injection via FB_Init + 32 + 64 + + + AccessMode + ACCESS_MODE + File access mode + 32 + 96 + + 4 + + + + File + FB_FileControl + 96 + 128 + + + Xml + FB_XmlControl + 5696 + 224 + + + BufferInitialised + BOOL + 8 + 5920 + + 0 + + + + Buffer + BYTE + + 0 + 65535 + + 524280 + 5928 + + + WritingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 530208 + + + PublishTrigger + R_TRIG + 64 + 530240 + + + DeleteOpenWriteClose + RTS_IEC_RESULT + 32 + + + LogTestSuiteResults + + UnitTestResults + ST_TestSuiteResults + 32 + + + CurrentSuiteNumber + UINT + 16 + + + CurrentTestCount + UINT + 16 + + + TEST_STATUS_SKIP + STRING(80) + 648 + + + TEST_STATUS_PASS + STRING(80) + 648 + + + TEST_STATUS_FAIL + STRING(80) + 648 + + + + Initialised + BOOL + 8 + + + + PouType + FunctionBlock + + + + + FB_TcUnitRunner + This function block is responsible for holding track of the tests and executing them. -]]>621827200AllTestSuitesFinishedBOOL8320TestResultsFB_TestResults62129625664AdsTestResultLoggerFB_AdsTestResultLogger224621296320old_input_assignmentsTestResultLoggerI_TestResultLogger32621296544AbortRunningTestSuitesBOOL8621296576xUnitXmlPublisherFB_xUnitXmlPublisher530304621296608old_input_assignmentsXmlTestResultPublisherI_TestResultLogger32621826912__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITEUINT166218269441__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITESTOF224621826976AbortRunningTestSuiteTestsRunTestSuiteTestsInSequenceTimeBetweenTestSuitesExecutionTIME32BusyPrintingBOOL8NumberOfTestSuitesFinished + 621827200 + + AllTestSuitesFinished + BOOL + Indication of whether all test suites have reported that they are finished + 8 + 32 + + 0 + + + + TestResults + FB_TestResults + Test result information + 621296256 + 64 + + + AdsTestResultLogger + FB_AdsTestResultLogger + Prints the results to ADS so that Visual Studio can display the results. + This test result formatter can be replaced with something else than ADS + 224 + 621296320 + + + old_input_assignments + + + + + TestResultLogger + I_TestResultLogger + 32 + 621296544 + + + AbortRunningTestSuites + BOOL + If this flag is set, it means that some external event triggered the + request to abort running the test suites + 8 + 621296576 + + + xUnitXmlPublisher + FB_xUnitXmlPublisher + Publishes a xUnit compatible XML file + 530304 + 621296608 + + + old_input_assignments + + + + + XmlTestResultPublisher + I_TestResultLogger + 32 + 621826912 + + + __RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE + UINT + This variable holds which current test suite is being called, as we are running + each one in a sequence (one by one) + 16 + 621826944 + + 1 + + + + __RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES + TOF + 224 + 621826976 + + + AbortRunningTestSuiteTests + + + RunTestSuiteTestsInSequence + + TimeBetweenTestSuitesExecution + Time delay between a test suite is finished and the next test suite starts + TIME + 32 + + + BusyPrinting + BOOL + 8 + + + NumberOfTestSuitesFinished + We need to hold a temporary state of the statistics as we don't consider the tests to be completely finished until all test suites have executed completely. The reason we want to do it this way is because a test suite can run over several cycles. Only once all tests - are finished (which might take many cycles), do we gather correct statistics ]]>UINT16CurrentlyRunningTestSuiteUINT16uselocation__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITETimerBetweenExecutionOfTestSuitesTOF224uselocation__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITESRunTestSuiteTestsCounterUINT16BusyPrintingBOOL8NumberOfTestSuitesFinished + UINT + 16 + + + CurrentlyRunningTestSuite + This variable holds which current test suite is being called, as we are running + each one in a sequence (one by one) + UINT + 16 + + + uselocation + __RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE + + + + + TimerBetweenExecutionOfTestSuites + TOF + 224 + + + uselocation + __RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES + + + + + + RunTestSuiteTests + + Counter + UINT + 16 + + + BusyPrinting + BOOL + 8 + + + NumberOfTestSuitesFinished + We need to hold a temporary state of the statistics as we don't consider the tests to be completely finished until all test suites have executed completely. The reason we want to do it this way is because a test suite can run over several cycles. Only once all tests - are finished (which might take many cycles), do we gather correct statistics ]]>UINT16PouTypeFunctionBlockFB_Test + UINT + 16 + + + + + PouType + FunctionBlock + + + + + FB_Test + This function block holds all data that defines a test. -]]>4192TestNameT_MaxString204832TestIsFinishedBOOL82080TestIsSkippedBOOL82088NumberOfAssertionsUINT162096TestOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 4192 + + TestName + T_MaxString + 2048 + 32 + + + TestIsFinished + BOOL + 8 + 2080 + + + TestIsSkipped + BOOL + This is set to true, if test is disabled (by putting the string "disabled_" in front of the test name + 8 + 2088 + + + NumberOfAssertions + UINT + 16 + 2096 + + + TestOrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + In which order/sequence relative to the order tests should this test be executed/evaluated. A value of 0 means it is not defined by TEST_ORDERED() but by un-ordered test (TEST()). - A value <> 0 tells in which order this test will be executed/evaluated. The lower the number, the earlier it will execute. ]]>162112TestIsFailedBOOL82128AssertionMessageT_MaxString20482136AssertionTypeE_AssertionType84184GetAssertionTypeE_AssertionType8SetFailedSetNameNameT_MaxString2048GetNameT_MaxString2048SetNumberOfAssertionsNoOfAssertionsUINT16SetTestOrderOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16IsSkippedBOOL8GetNumberOfAssertionsUINT16SetFinishedBOOL8GetAssertionMessageT_MaxString2048SetSkippedSetAssertionMessageAssertMessageT_MaxString2048SetAssertionTypeAssertTypeE_AssertionType8IsFinishedBOOL8GetTestOrderUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16IsFailedBOOL8PouTypeFunctionBlockU_ExpectedOrActual4096boolExpectedOrActualBOOL80bitExpectedOrActualBIT80byteExpectedOrActualBYTE80sintExpectedOrActualSINT80usintExpectedOrActualUSINT80intExpectedOrActualINT160uintExpectedOrActualUINT160wordExpectedOrActualWORD160dwordExpectedOrActualDWORD320dateandtimeExpectedOrActualDATE_AND_TIME320dintExpectedOrActualDINT320realExpectedOrActualREAL320timeExpectedOrActualTIME320dateExpectedOrActualDATE320udintExpectedOrActualUDINT320timeofdayExpectedOrActualTIME_OF_DAY320lwordExpectedOrActualLWORD640lintExpectedOrActualLINT640ulintExpectedOrActualULINT640lrealExpectedOrActualLREAL640ltimeExpectedOrActualLTIME640stringExpectedOrActualT_MaxString20480wstringExpectedOrActualWSTRING(255)40960ST_AssertResult12288ExpectedU_ExpectedOrActual40960ActualU_ExpectedOrActual40964096MessageT_MaxString20488192TestInstancePathT_MaxString204810240ST_AssertResultInstances12352AssertResultST_AssertResult122880DetectionCountUINT1612288DetectionCountThisCycleUINT1612304FB_AssertResultStatic + 16 + 2112 + + + TestIsFailed + BOOL + Indication of whether this test has at least one failed assert + 8 + 2128 + + + AssertionMessage + T_MaxString + Assertion message for the first assertion in this test + 2048 + 2136 + + + AssertionType + E_AssertionType + Assertion type for the first assertion in this test + 8 + 4184 + + + GetAssertionType + E_AssertionType + 8 + + + SetFailed + + + SetName + + Name + T_MaxString + 2048 + + + + GetName + T_MaxString + 2048 + + + SetNumberOfAssertions + + NoOfAssertions + UINT + 16 + + + + SetTestOrder + + OrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + IsSkipped + BOOL + 8 + + + GetNumberOfAssertions + UINT + 16 + + + SetFinished + BOOL + 8 + + + GetAssertionMessage + T_MaxString + 2048 + + + SetSkipped + + + SetAssertionMessage + + AssertMessage + T_MaxString + 2048 + + + + SetAssertionType + + AssertType + E_AssertionType + 8 + + + + IsFinished + BOOL + 8 + + + GetTestOrder + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + IsFailed + BOOL + 8 + + + + PouType + FunctionBlock + + + + + U_ExpectedOrActual + 4096 + + boolExpectedOrActual + BOOL + 8 + 0 + + + bitExpectedOrActual + BIT + 8 + 0 + + + byteExpectedOrActual + BYTE + 8 + 0 + + + sintExpectedOrActual + SINT + 8 + 0 + + + usintExpectedOrActual + USINT + 8 + 0 + + + intExpectedOrActual + INT + 16 + 0 + + + uintExpectedOrActual + UINT + 16 + 0 + + + wordExpectedOrActual + WORD + 16 + 0 + + + dwordExpectedOrActual + DWORD + 32 + 0 + + + dateandtimeExpectedOrActual + DATE_AND_TIME + 32 + 0 + + + dintExpectedOrActual + DINT + 32 + 0 + + + realExpectedOrActual + REAL + 32 + 0 + + + timeExpectedOrActual + TIME + 32 + 0 + + + dateExpectedOrActual + DATE + 32 + 0 + + + udintExpectedOrActual + UDINT + 32 + 0 + + + timeofdayExpectedOrActual + TIME_OF_DAY + 32 + 0 + + + lwordExpectedOrActual + LWORD + 64 + 0 + + + lintExpectedOrActual + LINT + 64 + 0 + + + ulintExpectedOrActual + ULINT + 64 + 0 + + + lrealExpectedOrActual + LREAL + 64 + 0 + + + ltimeExpectedOrActual + LTIME + 64 + 0 + + + stringExpectedOrActual + T_MaxString + 2048 + 0 + + + wstringExpectedOrActual + WSTRING(255) + 4096 + 0 + + + + ST_AssertResult + 12288 + + Expected + U_ExpectedOrActual + 4096 + 0 + + + Actual + U_ExpectedOrActual + 4096 + 4096 + + + Message + T_MaxString + 2048 + 8192 + + + TestInstancePath + T_MaxString + 2048 + 10240 + + + + ST_AssertResultInstances + 12352 + + AssertResult + ST_AssertResult + 12288 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertResult" + 16 + 12288 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertResult" in this specific PLC-cycle + 16 + 12304 + + + + FB_AssertResultStatic + This function block is responsible for keeping track of which asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times (if the assert fails). @@ -150,7 +14335,457 @@ - Value of actual - Message (string) - Test instance path (string) -]]>24640320AssertResultsST_AssertResult110001228800064TotalAssertsUINT16122880640GetCurrentTaskIndexGETCURTASKINDEX12812288096AssertResultInstancesST_AssertResultInstances110001235200012288256CycleCountUDINT3224640256FirstCycleExecutedBOOL824640288CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16GetNumberOfAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfAssertsUINT16CreateAssertResultInstanceExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8AddAssertResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockST_AssertArrayResult4224ExpectedsSizeUDINT320ExpectedsTypeClassTypeClass1632ActualsSizeUDINT3264ActualsTypeClassTypeClass1696MessageT_MaxString2048112TestInstancePathT_MaxString20482160ST_AssertArrayResultInstances4256AssertArrayResultST_AssertArrayResult42240DetectionCountUINT164224DetectionCountThisCycleUINT164240FB_AssertArrayResultStatic + 24640320 + + AssertResults + ST_AssertResult + + 1 + 1000 + + The total number of instances of each of the "AssertResults" + 12288000 + 64 + + + TotalAsserts + UINT + The total number of unique asserts + 16 + 12288064 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + Function block to get the current task cycle + 128 + 12288096 + + + AssertResultInstances + ST_AssertResultInstances + + 1 + 1000 + + The total number of instances of each of the "AssertResults" + 12352000 + 12288256 + + + CycleCount + UDINT + The last PLC cycle count + 32 + 24640256 + + + FirstCycleExecuted + BOOL + Only run first cycle + 8 + 24640288 + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + GetNumberOfAssertsForTest + UINT + 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + + CreateAssertResultInstance + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + AddAssertResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + ST_AssertArrayResult + 4224 + + ExpectedsSize + UDINT + Size in bytes of the expecteds-array + 32 + 0 + + + ExpectedsTypeClass + TypeClass + The data type of the expecteds-array + 16 + 32 + + + ActualsSize + UDINT + Size in bytes of the actuals-array + 32 + 64 + + + ActualsTypeClass + TypeClass + The data type of the actuals-array + 16 + 96 + + + Message + T_MaxString + 2048 + 112 + + + TestInstancePath + T_MaxString + 2048 + 2160 + + + + ST_AssertArrayResultInstances + 4256 + + AssertArrayResult + ST_AssertArrayResult + 4224 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertArrayResult" + 16 + 4224 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertArrayResult" in this specific PLC-cycle + 16 + 4240 + + + + FB_AssertArrayResultStatic + This function block is responsible for keeping track of which array-asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times @@ -161,112 +14796,15101 @@ - Datatype of the actuals - Message (string) - Test instance path (string) -]]>8480256AssertArrayResultsST_AssertArrayResult11000422400032TotalArrayAssertsUINT1642240320GetCurrentTaskIndexGETCURTASKINDEX1284224064AssertArrayResultInstancesST_AssertArrayResultInstances1100042560004224192CycleCountUDINT328480192FirstCycleExecutedBOOL88480224CreateAssertResultInstanceExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8GetNumberOfArrayAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfArrayAssertsUINT16CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16AddAssertArrayResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockI_AssertMessageFormatter32PVOIDLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048FB_AdjustAssertFailureMessageToMax253CharLength + 8480256 + + AssertArrayResults + ST_AssertArrayResult + + 1 + 1000 + + The total number of instances of each of the "AssertArrayResults" + 4224000 + 32 + + + TotalArrayAsserts + UINT + The total number of unique asserts + 16 + 4224032 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + Function block to get the current task cycle + 128 + 4224064 + + + AssertArrayResultInstances + ST_AssertArrayResultInstances + + 1 + 1000 + + The total number of instances of each of the "AssertArrayResults" + 4256000 + 4224192 + + + CycleCount + UDINT + The last PLC cycle count + 32 + 8480192 + + + FirstCycleExecuted + BOOL + Only run first cycle + 8 + 8480224 + + + CreateAssertResultInstance + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + GetNumberOfArrayAssertsForTest + UINT + 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfArrayAsserts + UINT + 16 + + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + AddAssertArrayResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + I_AssertMessageFormatter + 32 + PVOID + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + FB_AdjustAssertFailureMessageToMax253CharLength + This function block is responsible for making sure that the asserted test instance path and test message are not loo long. The total printed message can not be more than 253 characters long. -]]>11584MsgFmtStringT_MaxString204832ItemTypeInputStringArgT_MaxString20482080ItemTypeInputMsgFmtStringProcessedT_MaxString20484128ItemTypeOutputStringArgProcessedT_MaxString20486176ItemTypeOutputMsgFmtStringTempT_MaxString20488224TestNameTooLongSTRING(80)64810272...TestName too longTestMsgTooLongSTRING(80)64810920...TestMsg too longMSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERSINT1611568253PouTypeFunctionBlockFB_AdsAssertMessageFormatter + 11584 + + MsgFmtString + T_MaxString + Test instance path + 2048 + 32 + + + ItemType + Input + + + + + StringArg + T_MaxString + Test message + 2048 + 2080 + + + ItemType + Input + + + + + MsgFmtStringProcessed + T_MaxString + 2048 + 4128 + + + ItemType + Output + + + + + StringArgProcessed + T_MaxString + 2048 + 6176 + + + ItemType + Output + + + + + MsgFmtStringTemp + T_MaxString + 2048 + 8224 + + + TestNameTooLong + STRING(80) + 648 + 10272 + + ...TestName too long + + + + TestMsgTooLong + STRING(80) + 648 + 10920 + + ...TestMsg too long + + + + MSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERS + INT + This is actually 254, but if StrArg-argument is used (which it is in TcUnit) it is 253. + 16 + 11568 + + 253 + + + + + PouType + FunctionBlock + + + + + FB_AdsAssertMessageFormatter + This function block is responsible for printing the results of the assertions using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the error list of Visual Studio. -]]>64I_AssertMessageFormatterLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AdjustAssertFailureMessageToMax253CharLengthFB_AdjustAssertFailureMessageToMax253CharLength11584TestInstancePathCleanedT_MaxString2048TestInstancePathFinalT_MaxString2048ReturnValueDINT32TestInstancePathProcessedT_MaxString2048MessageProcessedT_MaxString2048PouTypeFunctionBlockFB_TestSuite + 64 + I_AssertMessageFormatter + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AdjustAssertFailureMessageToMax253CharLength + FB_AdjustAssertFailureMessageToMax253CharLength + 11584 + + + TestInstancePathCleaned + T_MaxString + 2048 + + + TestInstancePathFinal + T_MaxString + 2048 + + + ReturnValue + DINT + 32 + + + TestInstancePathProcessed + T_MaxString + 2048 + + + MessageProcessed + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + FB_TestSuite + This function block is responsible for holding the internal state of the test suite. Every test suite can have one or more tests, and every test can do one or more asserts. It's also responsible for providing all the assert-methods for asserting different data types. Only failed assertions are recorded. -]]>33551744InstancePathT_MaxString204832instance-pathnoinitGetCurrentTaskIndexGETCURTASKINDEX + 33551744 + + InstancePath + T_MaxString + 2048 + 32 + + + instance-path + + + noinit + + + + + GetCurrentTaskIndex + GETCURTASKINDEX + We need to have access to specific information of the current task that this test suite is executed in. This is for instance necessary when we need to know whether a test is defined already. The definition of a test that is defined already is that we call on it - with the same name twice in the same cycle ]]>1282080NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1622080TestsFB_Test11004192002240TestDuplicateNameTriggerR_TRIG11006400421440TestCycleCountIndexUDINT11003200427840AssertResultsFB_AssertResultStatic24640320431040AssertArrayResultsFB_AssertArrayResultStatic848025625071360AdsAssertMessageFormatterFB_AdsAssertMessageFormatter6433551616AssertMessageFormatterI_AssertMessageFormatter3233551680HasStartedRunningBOOL833551712NumberOfOrderedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1633551728AssertEquals_LINTExpectedLINT64ActualLINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfSuccessfulTestsUINT16AssertArrayEquals_ULINTExpectedsULINT32variable_length_arrayDimensions1ActualsULINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32FindTestSuiteInstancePathT_MaxString2048AssertEquals_TIMEExpectedTIME32ActualTIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_TIME_OF_DAYExpectedTIME_OF_DAY32ActualTIME_OF_DAY32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_BYTEExpectedBYTE8ActualBYTE8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfFailedTestsUINT16CounterUINT16FailedTestsCountUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16NumberOfTestOverArrayLimitUINT16AssertEquals_DATE_AND_TIMEExpectedDATE_AND_TIME32ActualDATE_AND_TIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetTestByPositionFB_Test4192PositionUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_BOOLExpectedsBOOL32variable_length_arrayDimensions1ActualsBOOL32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_BYTEExpectedsBYTE32variable_length_arrayDimensions1ActualsBYTE32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedByteStringSTRING(80)648ActualByteStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_DATEExpectedDATE32ActualDATE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_WORDExpectedWORD16ActualWORD16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LINTExpectedsLINT32variable_length_arrayDimensions1ActualsLINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_LTIMEExpectedLTIME64ActualLTIME64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_UINTExpectedsUINT32variable_length_arrayDimensions1ActualsUINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_LREALExpectedLREAL64ActualLREAL64DeltaLREAL64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LWORDExpectedsLWORD32variable_length_arrayDimensions1ActualsLWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedLWordStringSTRING(80)648ActualLWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEqualsExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048CountDINT32ExpectedDataStringT_MaxString2048ActualDataStringT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8boolExpectedBOOL8boolActualBOOL8byteExpectedBYTE8byteActualBYTE8dateExpectedDATE32dateActualDATE32dateAndTimeExpectedDATE_AND_TIME32dateAndTimeActualDATE_AND_TIME32dintExpectedDINT32dintActualDINT32dwordExpectedDWORD32dwordActualDWORD32intExpectedINT16intActualINT16lintExpectedLINT64lintActualLINT64lrealExpectedLREAL64lrealActualLREAL64ltimeExpectedLTIME64ltimeActualLTIME64lwordExpectedLWORD64lwordActualLWORD64realExpectedREAL32realActualREAL32sintExpectedSINT8sintActualSINT8stringExpectedT_MaxString2048stringActualT_MaxString2048wstringExpectedWSTRING(255)4096wstringActualWSTRING(255)4096timeExpectedTIME32timeActualTIME32timeOfDayExpectedTIME_OF_DAY32timeOfDayActualTIME_OF_DAY32udintExpectedUDINT32udintActualUDINT32uintExpectedUINT16uintActualUINT16ulintExpectedULINT64ulintActualULINT64usintExpectedUSINT8usintActualUSINT8wordExpectedWORD16wordActualWORD16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8IteratorCounterDINT32hasanytypeAssertFalseConditionBOOL8MessageT_MaxString2048AssertEquals_SINTExpectedSINT8ActualSINT8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions2ActualsLREAL32variable_length_arrayDimensions2DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertEquals_ULINTExpectedULINT64ActualULINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_BOOLExpectedBOOL8ActualBOOL8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertEquals_USINTExpectedUSINT8ActualUSINT8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertEquals_LWORDExpectedLWORD64ActualLWORD64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_USINTExpectedsUSINT32variable_length_arrayDimensions1ActualsUSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32SetHasStartedRunningSetTestFailedAssertionTypeE_AssertionType8AssertionMessageT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16GetInstancePathT_MaxString2048GetTestOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16GetNumberOfTestsUINT16AssertArrayEquals_DWORDExpectedsDWORD32variable_length_arrayDimensions1ActualsDWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32GetHasStartedRunningBOOL8AssertArrayEquals_LREALExpectedsLREAL32variable_length_arrayDimensions1ActualsLREAL32variable_length_arrayDimensions1DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_WSTRINGExpectedWSTRING(255)4096ActualWSTRING(255)4096MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8IsTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_REALExpectedsREAL32variable_length_arrayDimensions1ActualsREAL32variable_length_arrayDimensions1DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_DINTExpectedDINT32ActualDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_DINTExpectedsDINT32variable_length_arrayDimensions1ActualsDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_STRINGExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8SetTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AreAllTestsFinishedBOOL8CounterUINT16GetCurTaskIndexGETCURTASKINDEX128NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertArrayEquals_WORDExpectedsWORD32variable_length_arrayDimensions1ActualsWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArray3dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions3ActualsLREAL32variable_length_arrayDimensions3DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertArrayEquals_INTExpectedsINT32variable_length_arrayDimensions1ActualsINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32CalculateAndSetNumberOfAssertsForTestTestNameT_MaxString2048TestInstancePathT_MaxString2048TotalNumberOfAssertsUINT16NumberOfAssertsUINT16NumberOfArrayAssertsUINT16IteratorCounterUINT16GetNumberOfSkippedTestsUINT16CounterUINT16SkippedTestsCountUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertEquals_DWORDExpectedDWORD32ActualDWORD32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertTrueConditionBOOL8MessageT_MaxString2048AssertEquals_INTExpectedINT16ActualINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_UINTExpectedUINT16ActualUINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_REALExpectedsREAL32variable_length_arrayDimensions2ActualsREAL32variable_length_arrayDimensions2DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedREAL32ActualREAL32__Index__0DINT32AddTestTestNameT_MaxString2048IsTestOrderedBOOL8IteratorCounterUINT16ErrorMessageT_MaxString2048TestInstancePathT_MaxString2048FunctionCallResultDINT32CycleCountUDINT32TestWithThisNameAlreadyExistsBOOL8LowerCasedTestNameT_MaxString2048TrimmedTestNameT_MaxString2048IgnoreCurrentTestCaseBOOL8NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertArray3dEquals_REALExpectedsREAL32variable_length_arrayDimensions3ActualsREAL32variable_length_arrayDimensions3DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedREAL32ActualREAL32ExpectedValueStringT_MaxString2048ActualValueStringT_MaxString2048FormatStringFB_FormatString7840__Index__0DINT32AddTestNameToInstancePathT_MaxString2048TestInstancePathT_MaxString2048CompleteTestInstancePathT_MaxString2048AssertEquals_UDINTExpectedUDINT32ActualUDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_REALExpectedREAL32ActualREAL32DeltaREAL32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_SINTExpectedsSINT32variable_length_arrayDimensions1ActualsSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_UDINTExpectedsUDINT32variable_length_arrayDimensions1ActualsUDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32PouTypeFunctionBlockcall_after_initreflectionST_AdsLogStringMessage4128MsgCtrlMaskDWORD320MsgFmtStrT_MaxString204832StrArgT_MaxString20482080pack_mode1FB_AdsLogStringMessageFifoQueue + 128 + 2080 + + + NumberOfTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2208 + + 0 + + + + Tests + FB_Test + + 1 + 100 + + 419200 + 2240 + + + TestDuplicateNameTrigger + R_TRIG + + 1 + 100 + + Rising trigger of whether we have already notified the user of that the test name pointed to by the current + position is a duplicate + 6400 + 421440 + + + TestCycleCountIndex + UDINT + + 1 + 100 + + Last cycle count index for a specific test. Used to detect whether this test has already been defined in the + current test suite + 3200 + 427840 + + + AssertResults + FB_AssertResultStatic + 24640320 + 431040 + + + AssertArrayResults + FB_AssertArrayResultStatic + 8480256 + 25071360 + + + AdsAssertMessageFormatter + FB_AdsAssertMessageFormatter + Prints the failed asserts to ADS so that Visual Studio can display the assert message. + This assert formatter can be replaced with something else than ADS + 64 + 33551616 + + + AssertMessageFormatter + I_AssertMessageFormatter + 32 + 33551680 + + + HasStartedRunning + BOOL + Indication whether this test suite has started running its tests + 8 + 33551712 + + + NumberOfOrderedTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + Number of ordered tests (created by TEST_ORDERED()) that this test suite contains + 16 + 33551728 + + + AssertEquals_LINT + + Expected + LINT expected value + LINT + 64 + + + Actual + LINT actual value + LINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetNumberOfSuccessfulTests + UINT + 16 + + + AssertArrayEquals_ULINT + + Expecteds + ULINT array with expected values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + ULINT array with actual values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + FindTestSuiteInstancePath + T_MaxString + 2048 + + + AssertEquals_TIME + + Expected + TIME expected value + TIME + 32 + + + Actual + TIME actual value + TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_TIME_OF_DAY + + Expected + TIME_OF_DAY expected value + TIME_OF_DAY + 32 + + + Actual + TIME_OF_DAY actual value + TIME_OF_DAY + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_BYTE + + Expected + BYTE expected value + BYTE + 8 + + + Actual + BYTE actual value + BYTE + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetNumberOfFailedTests + UINT + 16 + + Counter + UINT + 16 + + + FailedTestsCount + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + NumberOfTestOverArrayLimit + UINT + 16 + + + + AssertEquals_DATE_AND_TIME + + Expected + DATE_AND_TIME expected value + DATE_AND_TIME + 32 + + + Actual + DATE_AND_TIME actual value + DATE_AND_TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetTestByPosition + FB_Test + 4192 + + Position + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AssertArrayEquals_BOOL + + Expecteds + BOOL array with expected values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BOOL array with actual values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_BYTE + + Expecteds + BYTE array with expected values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BYTE array with actual values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedByteString + STRING(80) + 648 + + + ActualByteString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_DATE + + Expected + DATE expected value + DATE + 32 + + + Actual + DATE actual value + DATE + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_WORD + + Expected + WORD expected value + WORD + 16 + + + Actual + WORD actual value + WORD + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_LINT + + Expecteds + LINT array with expected values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LINT array with actual values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_LTIME + + Expected + LTIME expected value + LTIME + 64 + + + Actual + LTIME actual value + LTIME + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_UINT + + Expecteds + UINT array with expected values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UINT array with actual values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_LREAL + + Expected + LREAL expected value + LREAL + 64 + + + Actual + LREAL actual value + LREAL + 64 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_LWORD + + Expecteds + LWORD array with expected values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LWORD array with actual values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedLWordString + STRING(80) + 648 + + + ActualLWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals + + Expected + Expected value + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + The value to check against expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Count + DINT + 32 + + + ExpectedDataString + T_MaxString + 2048 + + + ActualDataString + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + boolExpected + BOOL + 8 + + + boolActual + BOOL + 8 + + + byteExpected + BYTE + 8 + + + byteActual + BYTE + 8 + + + dateExpected + DATE + 32 + + + dateActual + DATE + 32 + + + dateAndTimeExpected + DATE_AND_TIME + 32 + + + dateAndTimeActual + DATE_AND_TIME + 32 + + + dintExpected + DINT + 32 + + + dintActual + DINT + 32 + + + dwordExpected + DWORD + 32 + + + dwordActual + DWORD + 32 + + + intExpected + INT + 16 + + + intActual + INT + 16 + + + lintExpected + LINT + 64 + + + lintActual + LINT + 64 + + + lrealExpected + LREAL + 64 + + + lrealActual + LREAL + 64 + + + ltimeExpected + LTIME + 64 + + + ltimeActual + LTIME + 64 + + + lwordExpected + LWORD + 64 + + + lwordActual + LWORD + 64 + + + realExpected + REAL + 32 + + + realActual + REAL + 32 + + + sintExpected + SINT + 8 + + + sintActual + SINT + 8 + + + stringExpected + T_MaxString + 2048 + + + stringActual + T_MaxString + 2048 + + + wstringExpected + WSTRING(255) + 4096 + + + wstringActual + WSTRING(255) + 4096 + + + timeExpected + TIME + 32 + + + timeActual + TIME + 32 + + + timeOfDayExpected + TIME_OF_DAY + 32 + + + timeOfDayActual + TIME_OF_DAY + 32 + + + udintExpected + UDINT + 32 + + + udintActual + UDINT + 32 + + + uintExpected + UINT + 16 + + + uintActual + UINT + 16 + + + ulintExpected + ULINT + 64 + + + ulintActual + ULINT + 64 + + + usintExpected + USINT + 8 + + + usintActual + USINT + 8 + + + wordExpected + WORD + 16 + + + wordActual + WORD + 16 + + + DataTypesNotEquals + The data type of the two ANY input parameters are not equal + BOOL + 8 + + + DataSizeNotEquals + The data size of the two ANY input parameters are not equal + BOOL + 8 + + + DataContentNotEquals + The data content of the two ANY input parameters are not equal + BOOL + 8 + + + IteratorCounter + DINT + 32 + + + + hasanytype + + + + + AssertFalse + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertEquals_SINT + + Expected + SINT expected value + SINT + 8 + + + Actual + SINT actual value + SINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_LREAL + + Expecteds + LREAL 2d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + LREAL 2d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + Expected + Single expected value + LREAL + 64 + + + Actual + Single actual value + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertEquals_ULINT + + Expected + ULINT expected value + ULINT + 64 + + + Actual + ULINT actual value + ULINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_BOOL + + Expected + BOOL expected value + BOOL + 8 + + + Actual + BOOL actual value + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertEquals_USINT + + Expected + USINT expected value + USINT + 8 + + + Actual + USINT actual value + USINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertEquals_LWORD + + Expected + LWORD expected value + LWORD + 64 + + + Actual + LWORD actual value + LWORD + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_USINT + + Expecteds + USINT array with expected values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + USINT array with actual values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + SetHasStartedRunning + + + SetTestFailed + + AssertionType + E_AssertionType + 8 + + + AssertionMessage + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + GetInstancePath + T_MaxString + 2048 + + + GetTestOrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + GetNumberOfTests + UINT + 16 + + + AssertArrayEquals_DWORD + + Expecteds + DWORD array with expected values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DWORD array with actual values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + GetHasStartedRunning + BOOL + 8 + + + AssertArrayEquals_LREAL + + Expecteds + LREAL array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LREAL array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_WSTRING + + Expected + WSTRING expected value + WSTRING(255) + 4096 + + + Actual + WSTRING actual value + WSTRING(255) + 4096 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + IsTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AssertArrayEquals_REAL + + Expecteds + REAL array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + REAL array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_DINT + + Expected + DINT expected value + DINT + 32 + + + Actual + DINT actual value + DINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_DINT + + Expecteds + DINT array with expected values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DINT array with actual values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_STRING + + Expected + STRING expected value + T_MaxString + 2048 + + + Actual + STRING actual value + T_MaxString + 2048 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + SetTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AreAllTestsFinished + BOOL + 8 + + Counter + UINT + 16 + + + GetCurTaskIndex + GETCURTASKINDEX + 128 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertArrayEquals_WORD + + Expecteds + WORD array with expected values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + WORD array with actual values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArray3dEquals_LREAL + + Expecteds + LREAL 3d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + LREAL 3d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + Expected + Single expected value + LREAL + 64 + + + Actual + Single actual value + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_INT + + Expecteds + INT array with expected values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + INT array with actual values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + CalculateAndSetNumberOfAssertsForTest + + TestName + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + TotalNumberOfAsserts + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + NumberOfArrayAsserts + UINT + 16 + + + IteratorCounter + UINT + 16 + + + + GetNumberOfSkippedTests + UINT + 16 + + Counter + UINT + 16 + + + SkippedTestsCount + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertEquals_DWORD + + Expected + DWORD expected value + DWORD + 32 + + + Actual + DWORD actual value + DWORD + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertTrue + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertEquals_INT + + Expected + INT expected value + INT + 16 + + + Actual + INT actual value + INT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_UINT + + Expected + UINT expected value + UINT + 16 + + + Actual + UINT actual value + UINT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_REAL + + Expecteds + REAL 2d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + REAL 2d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + Expected + Single expected value + REAL + 32 + + + Actual + Single actual value + REAL + 32 + + + __Index__0 + DINT + 32 + + + + AddTest + + TestName + T_MaxString + 2048 + + + IsTestOrdered + BOOL + 8 + + + IteratorCounter + UINT + 16 + + + ErrorMessage + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + FunctionCallResult + DINT + 32 + + + CycleCount + UDINT + 32 + + + TestWithThisNameAlreadyExists + BOOL + 8 + + + LowerCasedTestName + T_MaxString + 2048 + + + TrimmedTestName + T_MaxString + 2048 + + + IgnoreCurrentTestCase + BOOL + 8 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertArray3dEquals_REAL + + Expecteds + REAL 3d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + REAL 3d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + Expected + Single expected value + REAL + 32 + + + Actual + Single actual value + REAL + 32 + + + ExpectedValueString + T_MaxString + 2048 + + + ActualValueString + T_MaxString + 2048 + + + FormatString + String formatter for output messages + FB_FormatString + 7840 + + + __Index__0 + DINT + 32 + + + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + + + AssertEquals_UDINT + + Expected + UDINT expected value + UDINT + 32 + + + Actual + UDINT actual value + UDINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_REAL + + Expected + REAL expected value + REAL + 32 + + + Actual + REAL actual value + REAL + 32 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_SINT + + Expecteds + SINT array with expected values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + SINT array with actual values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_UDINT + + Expecteds + UDINT array with expected values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UDINT array with actual values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + + PouType + FunctionBlock + + + call_after_init + + + reflection + + + + + ST_AdsLogStringMessage + 4128 + + MsgCtrlMask + DWORD + 32 + 0 + + + MsgFmtStr + T_MaxString + 2048 + 32 + + + StrArg + T_MaxString + 2048 + 2080 + + + + pack_mode + 1 + + + + + FB_AdsLogStringMessageFifoQueue + This function block is responsible for making sure that the ADSLOGSTR-messages to the ADS-router are transmitted cyclically and not in a burst. The reason this is necessary is because that if too many messages are sent at the same time some get lost and are never printed to the error list output -]]>8320864ArrayBufferBYTE01040000832000032MemRingBufferFB_MemRingBuffer5448320032TimerBetweenMessagesTON2248320576.IN1.PT10MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORDUSINT883208004TIME_BETWEEN_MESSAGESTIME32832083210GetLogCountUDINT32WriteLogMsgCtrlMaskDWORD32MsgFmtStrT_MaxString2048StrArgT_MaxString2048ErrorBOOL8ItemTypeOutputAdsLogStringMessageST_AdsLogStringMessage4128GetAndRemoveLogFromQueueAdsLogStringMessageST_AdsLogStringMessage4128ItemTypeOutputErrorBOOL8ItemTypeOutputPouTypeFunctionBlock_ST_NCADS_IDXOFFS_AxisParameter1632PARAMSTRUCTUDINT3200IDUDINT32321NAMEUDINT32642AXISTYPEUDINT32963CYCLETIMEUDINT321284UNITNAMEUDINT321605VELOREFSEARCHUDINT321926VELOSYNCSEARCHUDINT322247VELOSLOWMANUALUDINT322568VELOFASTMANUALUDINT322889VELOFASTUDINT3232010POSAREAENABLEUDINT3235215POSAREARANGEUDINT3238416MOTCNTRLENABLEUDINT3241617MOTCNTRLTIMEUDINT3244818LOOPENABLEUDINT3248019LOOPDISTANCEUDINT3251220TARGETPOSENAUDINT3254421TARGETPOSRANGEUDINT3257622TARGETPOSTIMEUDINT3260823PULSDISTPOSUDINT3264024PULSDISTNEGUDINT3267225FADINGACCELERATIONUDINT3270429FASTAXISSTOPSIGNALTYPEUDINT3273630UNITFLAGSUDINT3276838VELOMAXIMUMUDINT3280039MOTCNTRLRANGEUDINT3283240PEHCONTROLENAUDINT3286441PEHCONTROLTIMEUDINT3289642BACKLASHCOMPENAUDINT3292843BACKLASHUDINT3296044DATAPERSISTENCEUDINT3299248HWAMSADDRUDINT32102449HWCHNNOUDINT32105650APPLICATIONREQUESTUDINT32108851ACCUDINT321120257DECUDINT321152258JERKUDINT321184259DELAYUDINT321216260OVERRIDETYPEUDINT321248261VELOJUMPFACTORUDINT321280262REDUCTIONFEEDBACKUDINT321312263TOLERANCEBALLAUXAXISUDINT321344264MAXPOSDEVIATIONAUXAXISUDINT321376265FASTACCUDINT321408266FASTDECUDINT321440267FASTJERKUDINT321472268REF_POSUDINT32150465795ENCSEARCHDIRUDINT32153665793ENCSYNCDIRUDINT32156865794ENCREFMODEUDINT32160065799conditionalshow_ST_NCADS_AxisParameter1664IDXGRPUDINT32016384IDXOFFS_ST_NCADS_IDXOFFS_AxisParameter163232conditionalshow_ST_NCADS_IDXOFFS_AxisState800ONLINESTRUCTUDINT3200ERRORUDINT32321SETTASKCYCLEUDINT + 8320864 + + ArrayBuffer + BYTE + + 0 + 1040000 + + 8320000 + 32 + + + MemRingBuffer + FB_MemRingBuffer + 544 + 8320032 + + + TimerBetweenMessages + TON + 224 + 8320576 + + + .IN + 1 + + + .PT + 10 + + + + + MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORD + USINT + 8 + 8320800 + + 4 + + + + TIME_BETWEEN_MESSAGES + TIME + 32 + 8320832 + + 10 + + + + GetLogCount + UDINT + 32 + + + WriteLog + + MsgCtrlMask + DWORD + 32 + + + MsgFmtStr + T_MaxString + 2048 + + + StrArg + T_MaxString + 2048 + + + Error + Buffer overflow + BOOL + 8 + + + ItemType + Output + + + + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + + GetAndRemoveLogFromQueue + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + + + + PouType + FunctionBlock + + + + + _ST_NCADS_IDXOFFS_AxisParameter + 1632 + + PARAMSTRUCT + UDINT + NC ADS Index Offsets for Axis Parameters + 32 + 0 + + 0 + + + + ID + UDINT + 32 + 32 + + 1 + + + + NAME + UDINT + 32 + 64 + + 2 + + + + AXISTYPE + UDINT + 32 + 96 + + 3 + + + + CYCLETIME + UDINT + 32 + 128 + + 4 + + + + UNITNAME + UDINT + 32 + 160 + + 5 + + + + VELOREFSEARCH + UDINT + 32 + 192 + + 6 + + + + VELOSYNCSEARCH + UDINT + 32 + 224 + + 7 + + + + VELOSLOWMANUAL + UDINT + 32 + 256 + + 8 + + + + VELOFASTMANUAL + UDINT + 32 + 288 + + 9 + + + + VELOFAST + UDINT + 32 + 320 + + 10 + + + + POSAREAENABLE + UDINT + 32 + 352 + + 15 + + + + POSAREARANGE + UDINT + 32 + 384 + + 16 + + + + MOTCNTRLENABLE + UDINT + 32 + 416 + + 17 + + + + MOTCNTRLTIME + UDINT + 32 + 448 + + 18 + + + + LOOPENABLE + UDINT + 32 + 480 + + 19 + + + + LOOPDISTANCE + UDINT + 32 + 512 + + 20 + + + + TARGETPOSENA + UDINT + 32 + 544 + + 21 + + + + TARGETPOSRANGE + UDINT + 32 + 576 + + 22 + + + + TARGETPOSTIME + UDINT + 32 + 608 + + 23 + + + + PULSDISTPOS + UDINT + 32 + 640 + + 24 + + + + PULSDISTNEG + UDINT + 32 + 672 + + 25 + + + + FADINGACCELERATION + UDINT + 32 + 704 + + 29 + + + + FASTAXISSTOPSIGNALTYPE + UDINT + 32 + 736 + + 30 + + + + UNITFLAGS + UDINT + 32 + 768 + + 38 + + + + VELOMAXIMUM + UDINT + 32 + 800 + + 39 + + + + MOTCNTRLRANGE + UDINT + 32 + 832 + + 40 + + + + PEHCONTROLENA + UDINT + 32 + 864 + + 41 + + + + PEHCONTROLTIME + UDINT + 32 + 896 + + 42 + + + + BACKLASHCOMPENA + UDINT + 32 + 928 + + 43 + + + + BACKLASH + UDINT + 32 + 960 + + 44 + + + + DATAPERSISTENCE + UDINT + 32 + 992 + + 48 + + + + HWAMSADDR + UDINT + 32 + 1024 + + 49 + + + + HWCHNNO + UDINT + 32 + 1056 + + 50 + + + + APPLICATIONREQUEST + UDINT + 32 + 1088 + + 51 + + + + ACC + UDINT + 32 + 1120 + + 257 + + + + DEC + UDINT + 32 + 1152 + + 258 + + + + JERK + UDINT + 32 + 1184 + + 259 + + + + DELAY + UDINT + 32 + 1216 + + 260 + + + + OVERRIDETYPE + UDINT + 32 + 1248 + + 261 + + + + VELOJUMPFACTOR + UDINT + 32 + 1280 + + 262 + + + + REDUCTIONFEEDBACK + UDINT + 32 + 1312 + + 263 + + + + TOLERANCEBALLAUXAXIS + UDINT + 32 + 1344 + + 264 + + + + MAXPOSDEVIATIONAUXAXIS + UDINT + 32 + 1376 + + 265 + + + + FASTACC + UDINT + 32 + 1408 + + 266 + + + + FASTDEC + UDINT + 32 + 1440 + + 267 + + + + FASTJERK + UDINT + 32 + 1472 + + 268 + + + + REF_POS + UDINT + 32 + 1504 + + 65795 + + + + ENCSEARCHDIR + UDINT + 32 + 1536 + + 65793 + + + + ENCSYNCDIR + UDINT + 32 + 1568 + + 65794 + + + + ENCREFMODE + UDINT + 32 + 1600 + + 65799 + + + + + conditionalshow + + + + + _ST_NCADS_AxisParameter + 1664 + + IDXGRP + UDINT + 32 + 0 + + 16384 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisParameter + 1632 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_AxisState + 800 + + ONLINESTRUCT + UDINT + 32 + 0 + + 0 + + + + ERROR + UDINT + 32 + 32 + + 1 + + + + SETTASKCYCLE + UDINT + ACTPOS = TCNC_IDXOFFS_AXmappedENC | 0x00000002; // 0x00010002; ACTVELO = TCNC_IDXOFFS_AXmappedENC | 0x00000005; // 0x00010005; ACTACC = TCNC_IDXOFFS_AXmappedENC | 0x00000006; // 0x00010006; MODULOACTPOS = TCNC_IDXOFFS_AXmappedENC | 0x00000003; // 0x00010003; MODULOACTTURNS = TCNC_IDXOFFS_AXmappedENC | 0x00000004; // 0x00010004; ACTINCREMENTS = TCNC_IDXOFFS_AXmappedENC | 0x00000007; // 0x00010007; -]]>32649SETPOSUDINT329610SETVELOUDINT3212814SETACCUDINT3216015MODULOSETPOSUDINT3219211MODULOSETTURNSUDINT3222412SETDIRUDINT3225613TARGETPOSITIONUDINT3228819REMAININGTIMEANDPOSUDINT3232020STOPINFORMATIONUDINT3235224SETTASKCYCLE_WITHOUTCORRUDINT3238425SETPOS_WITHOUTCORRUDINT3241626SETVELO_WITHOUTCORRUDINT3244830SETACC_WITHOUTCORRUDINT3248031SETDIR_WITHOUTCORRUDINT3251229COUPLESTATEUDINT3254432CPLPARAMSUDINT3257634CPLFACTORUDINT3260835AXISCTRLLOOPIDXUDINT3264036AXISSETPOINTGENIDXUDINT3267237CPLCHARACVALUESUDINT3270438CAMINFOUDINT3273639CAMSTATUSUDINT3276840conditionalshow_ST_NCADS_AxisState832IDXGRPUDINT32016640IDXOFFS_ST_NCADS_IDXOFFS_AxisState80032conditionalshow_ST_NCADS_IDXOFFS_AxisFunctions1792RESETUDINT3201STOPUDINT32322CLEARUDINT32643EMERGENCYSTOPUDINT32964PARAMETRIZEDSTOPUDINT321285INITIALIZEUDINT321607ORIENTEDSTOPUDINT321929CALIBRUDINT3222416NEWTARGPOSUDINT3225617NEWTARGPOSANDVELOUDINT3228818CHANGEDYNAMICPARAMUDINT3232021UNIVERSALSTARTUDINT3235222SLAVEUNIVERSALSTARTUDINT3238423RELEASEAXISLOCKUDINT3241624SETEXTERNALERRORUDINT3244825SETPOSUDINT3248026SETCALFLAGUDINT3251227SETACTPOSUDINT3254428SETDRIVEPOSUDINT3257629SETENCODERSCALINGUDINT3260830SETPOSONTHEFLYUDINT3264031STARTUDINT3267232STARTEXTUDINT3270433STARTVELOCHANGEUDINT3273634ENABLEEXTGENUDINT3276835DISABLEEXTGENUDINT3280036REVERSINGSEQUENCEUDINT3283237STARTDRVOUTUDINT3286438STOPDRVOUTUDINT3289639CHANGEDRVOUTUDINT3292840JUMPTOOVERRIDEUDINT3296041EXTSETGENUNIVERSALSTARTUDINT3299243UNIVERSALTORQUESTARTUDINT32102445STARTSCOMUDINT32105648STOPSCOMUDINT32108849PHASINGREQEUSTUDINT32112052CPLUDINT32115264DECPLUDINT32118465CPLCHANGEUDINT32121666TABCPLCHANGEUDINT32124867STOPSLAVEUDINT32128068CPLTABUDINT32131269TABSLVACTIVCORUDINT32134470TABSLVLEAVECYCUDINT32137671TABSLVCOROFFSETUDINT32140872TABSLVSCALINGUDINT32144073CPLSOLOTABUDINT32147274CPLSYNCHRONIZINGUDINT32150475CAMSCALINGUDINT32153677DISABLEUDINT32156880ENABLEUDINT32160081CHANGEAXISCTRLLOOPUDINT32163282DRIVEDISABLEUDINT32166496DRIVEENABLEUDINT32169697RELEASEBRAKEUDINT32172898RECONFIGURATEUDINT321760112conditionalshow_ST_NCADS_AxisFunctions1824IDXGRPUDINT32016896IDXOFFS_ST_NCADS_IDXOFFS_AxisFunctions179232conditionalshow_ST_NCADS_Axis4320Parameter_ST_NCADS_AxisParameter16640State_ST_NCADS_AxisState8321664Functions_ST_NCADS_AxisFunctions18242496conditionalshow_ST_NCADS_IDXOFFS_TableParameter192MFREADCHARACVALUESUDINT32080WRITETABROWSUDINT323216777216WRITEMFTABROWSUDINT326483886080MFREADTABUDINT329634READSLAVEDYNAMICSUDINT3212835READMASTERPOSITIONUDINT3216036conditionalshow_ST_NCADS_TableParameter224IDXGRPUDINT32040960IDXOFFS_ST_NCADS_IDXOFFS_TableParameter19232conditionalshow_ST_NCADS_IDXOFFS_TableFunctions96CREATETABUDINT32065536CREATEMOTIONTABUDINT323265552DELETETABUDINT3264131072conditionalshow_ST_NCADS_TableFunctions128IDXGRPUDINT32041472IDXOFFS_ST_NCADS_IDXOFFS_TableFunctions9632conditionalshow_ST_NCADS_Table352Parameter_ST_NCADS_TableParameter2240Functions_ST_NCADS_TableFunctions128224conditionalshowT_AmsPort16UINTADSRDDEVINFO1280NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputRDINFOBOOL8240ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputDEVNAMESTRING(19)160352ItemTypeOutputDEVVERUDINT32512ItemTypeOutputPouTypeFunctionBlockhide_all_locals_TCMCGLOBAL6976NCPORT_TCMCUINT1632500ItemTypeInputNCPORT_TCMC_COUPLINGUINT1648500ItemTypeInputNCNETID_TCMCT_AmsNetID19264ItemTypeInputNCPORT_TCMC_CAMUINT16256500ItemTypeInputNCPORT_TCMC_CAM_FASTUINT16272500ItemTypeInputNCNETID_TCMC_CAMT_AmsNetID192288ItemTypeInputNCPORT_TCMC_SUPERPOSITIONUINT16480501ItemTypeInputNcDeviceInfoTcMainVersionDWORD32512ItemTypeOutputNcDeviceInfoTcSubVersionDWORD32544ItemTypeOutputNcDeviceInfoNcDriverVersionDWORD32576ItemTypeOutputNcDeviceInfoNcVersionDWORD32608ItemTypeOutputNcDeviceInfoNcNameSTRING(19)160640ItemTypeOutputAxis_ST_NCADS_Axis4320800ItemTypeOutputsuppress_warning_0C0228Table_ST_NCADS_Table3525120ItemTypeOutputsuppress_warning_0C0228NCPORT_TCNCCAMMING_TABLEFUNCTIONUINT165472500tTargetPosTimeOutTIME3255046000tADSTimeOutTIME3255361000tStopMonitoringTimeOutTIME325568100NCTOPLC_FEEDBACK_MAXWAITCYCLESINT16560010fbADSRDDEVINFOADSRDDEVINFO12805632DeviceVersionDWORD326912InitBOOL86944ReadDeviceInfoPouTypeFunctionBlockconditionalshowTcEventConfirmationState16INT01234plcAttribute_qualified_onlyplcAttribute_strictITcAlarm32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32GetIsRaisedHRESULT32bIsRaisedBOOL3232RaiseHRESULT32timeStampULINT64ClearHRESULT32timeStampULINT64bResetConfirmationBOOL3232GetConfirmationStateHRESULT32stateTcEventConfirmationState32ConfirmHRESULT32timeStampULINT64FB_TcEvent3520FB_TcEventBaseI_TcEventBasenTimestampULINT64159345456159345464__getnTimestampULINT64nTimestampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046__setnTimestampnTimestampULINT64monitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046ReleaseHRESULT32InitipEventITcEvent32ipArgumentsITcArguments32ipMessageITcMessage32ipAlarmITcAlarm32ipSourceInfoITcSourceInfo32conditionalshow__getipEventITcEvent32ipEventITcEvent32propertyconditionalshowPouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyno_assignI_Listener32PVOIDOnAlarmClearedfbEventFB_TcEvent32OnAlarmConfirmedfbEventFB_TcEvent32OnAlarmDisposedfbEventFB_TcEvent32OnAlarmRaisedfbEventFB_TcEvent32OnMessageSentfbEventFB_TcEvent32ITcEventFilterConfig32ITcUnknownAddEventClassHRESULT32eventClassGUID32severityTcEventSeverity16RemoveEventClassHRESULT32eventClassGUID32AddSourceInfoHRESULT32ipSourceInfoITcSourceInfo32severityTcEventSeverity16RemoveSourceInfoHRESULT32ipSourceInfoITcSourceInfo32ITcMessageListener32ITcUnknownOnMessageSentHRESULT32ipEventITcEvent32ITcAlarmListener32ITcUnknownOnAlarmRaisedHRESULT32ipEventITcEvent32OnAlarmClearedHRESULT32ipEventITcEvent32OnAlarmConfirmedHRESULT32ipEventITcEvent32OnAlarmDisposedHRESULT32ipEventITcEvent32ITcAlarm232ITcAlarmGetTimeRaisedHRESULT32timeStampULINT32GetTimeConfirmedHRESULT32timeStampULINT32GetTimeClearedHRESULT32timeStampULINT32FB_ListenerWrapper3776ITcMessageListenerITcAlarmListenerTcAddRefUDINT32c++_compatiblepack_mode4showminimal_input_size4OnAlarmRaisedHRESULT32ipEventITcEvent32ipAlarmITcAlarm232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4UnsubscribeHRESULT32hrHRESULT32OnAlarmClearedHRESULT32ipEventITcEvent32ipAlarmITcAlarm232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4TcQueryInterfaceHRESULT32iidIID32pipItfPVOID32ipMessageListenerITcMessageListener32ipAlarmListenerITcAlarmListener32c++_compatiblepack_mode4showminimal_input_size4OnMessageSentHRESULT32ipEventITcEvent32ipMessage2ITcMessage232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4SubscribeHRESULT32pipMessageFilterConfigITcEventFilterConfig32pipAlarmFilterConfigITcEventFilterConfig32hrHRESULT32TcReleaseUDINT32c++_compatiblepack_mode4showminimal_input_size4OnAlarmConfirmedHRESULT32ipEventITcEvent32ipAlarmITcAlarm232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4OnAlarmDisposedHRESULT32ipEventITcEvent32ipAlarmITcAlarm232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4ExecuteHRESULT32ipListenerI_Listener32hrHRESULT32PouTypeFunctionBlockc++_compatibleenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyno_assignFB_ListenerBase96I_Listener_pListenerWrapperFB_ListenerWrapper3264OnAlarmRaisedfbEventFB_TcEvent32UnsubscribeHRESULT32hrHRESULT32OnAlarmClearedfbEventFB_TcEvent32OnMessageSentfbEventFB_TcEvent32SubscribeHRESULT32ipMessageFilterConfigITcEventFilterConfig32ipAlarmFilterConfigITcEventFilterConfig32hrHRESULT32OnAlarmConfirmedfbEventFB_TcEvent32OnAlarmDisposedfbEventFB_TcEvent32ExecuteHRESULT32hrHRESULT32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyE_LogEventType16INT0123plcAttribute_qualified_onlyplcAttribute_strictST_LoggingEventInfo86272schemaSTRING(80) + 32 + 64 + + 9 + + + + SETPOS + UDINT + 32 + 96 + + 10 + + + + SETVELO + UDINT + 32 + 128 + + 14 + + + + SETACC + UDINT + 32 + 160 + + 15 + + + + MODULOSETPOS + UDINT + 32 + 192 + + 11 + + + + MODULOSETTURNS + UDINT + 32 + 224 + + 12 + + + + SETDIR + UDINT + 32 + 256 + + 13 + + + + TARGETPOSITION + UDINT + 32 + 288 + + 19 + + + + REMAININGTIMEANDPOS + UDINT + 32 + 320 + + 20 + + + + STOPINFORMATION + UDINT + 32 + 352 + + 24 + + + + SETTASKCYCLE_WITHOUTCORR + UDINT + 32 + 384 + + 25 + + + + SETPOS_WITHOUTCORR + UDINT + 32 + 416 + + 26 + + + + SETVELO_WITHOUTCORR + UDINT + 32 + 448 + + 30 + + + + SETACC_WITHOUTCORR + UDINT + 32 + 480 + + 31 + + + + SETDIR_WITHOUTCORR + UDINT + 32 + 512 + + 29 + + + + COUPLESTATE + UDINT + 32 + 544 + + 32 + + + + CPLPARAMS + UDINT + 32 + 576 + + 34 + + + + CPLFACTOR + UDINT + 32 + 608 + + 35 + + + + AXISCTRLLOOPIDX + UDINT + 32 + 640 + + 36 + + + + AXISSETPOINTGENIDX + UDINT + 32 + 672 + + 37 + + + + CPLCHARACVALUES + UDINT + 32 + 704 + + 38 + + + + CAMINFO + UDINT + 32 + 736 + + 39 + + + + CAMSTATUS + UDINT + activation status etc. + 32 + 768 + + 40 + + + + + conditionalshow + + + + + _ST_NCADS_AxisState + 832 + + IDXGRP + UDINT + 32 + 0 + + 16640 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisState + 800 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_AxisFunctions + 1792 + + RESET + UDINT + 32 + 0 + + 1 + + + + STOP + UDINT + 32 + 32 + + 2 + + + + CLEAR + UDINT + 32 + 64 + + 3 + + + + EMERGENCYSTOP + UDINT + 32 + 96 + + 4 + + + + PARAMETRIZEDSTOP + UDINT + 32 + 128 + + 5 + + + + INITIALIZE + UDINT + Initialize Axis + 32 + 160 + + 7 + + + + ORIENTEDSTOP + UDINT + 19.04.04 issue #2470 + 32 + 192 + + 9 + + + + CALIBR + UDINT + 32 + 224 + + 16 + + + + NEWTARGPOS + UDINT + 32 + 256 + + 17 + + + + NEWTARGPOSANDVELO + UDINT + 32 + 288 + + 18 + + + + CHANGEDYNAMICPARAM + UDINT + NEU: Neue Dynamikparameter (Acc;Dec) fuer Positionierung + 32 + 320 + + 21 + + + + UNIVERSALSTART + UDINT + 05.03.07: new 'axis start and restart' command with buffer mode (issue #2786+#3276) + 32 + 352 + + 22 + + + + SLAVEUNIVERSALSTART + UDINT + 24.02.09: decoupling command with succeding universal axis start commanded to a slave axis + 32 + 384 + + 23 + + + + RELEASEAXISLOCK + UDINT + 10.12.18 release axis lock for motion commands + 32 + 416 + + 24 + + + + SETEXTERNALERROR + UDINT + 06.10.04: Externen Achsfehler setzen (Laufzeitfehler) issue #2665 + 32 + 448 + + 25 + + + + SETPOS + UDINT + 32 + 480 + + 26 + + + + SETCALFLAG + UDINT + "ist referenziert"-Flag setzen + 32 + 512 + + 27 + + + + SETACTPOS + UDINT + nur Istwertsetzen ohne Sollwertaenderung !!! + 32 + 544 + + 28 + + + + SETDRIVEPOS + UDINT + antriebsseitiges Istwertsetzen + 32 + 576 + + 29 + + + + SETENCODERSCALING + UDINT + 17.07.08: "Fliegende Änderung des Skalierungsfaktors" + 32 + 608 + + 30 + + + + SETPOSONTHEFLY + UDINT + 29.11.05: "Fliegendes Istwert Setzen" (betrifft Ist - und Sollwert) (issue #3017) + 32 + 640 + + 31 + + + + START + UDINT + 32 + 672 + + 32 + + + + STARTEXT + UDINT + 32 + 704 + + 33 + + + + STARTVELOCHANGE + UDINT + special function for MMW + 32 + 736 + + 34 + + + + ENABLEEXTGEN + UDINT + enable/start external setpoint values + 32 + 768 + + 35 + + + + DISABLEEXTGEN + UDINT + disable/stop external setpoint values + 32 + 800 + + 36 + + + + REVERSINGSEQUENCE + UDINT + 32 + 832 + + 37 + + + + STARTDRVOUT + UDINT + 32 + 864 + + 38 + + + + STOPDRVOUT + UDINT + 32 + 896 + + 39 + + + + CHANGEDRVOUT + UDINT + 32 + 928 + + 40 + + + + JUMPTOOVERRIDE + UDINT + 04.11.04: jump to actual override value and froze them until change (issue #2697) + 32 + 960 + + 41 + + + + EXTSETGENUNIVERSALSTART + UDINT + 23.11.10: deactivation of external setpoint generator with succeding universal axis start command + 32 + 992 + + 43 + + + + UNIVERSALTORQUESTART + UDINT + 20181210 Fap - new 'axis torque control start and restart' command with buffer mode + 32 + 1024 + + 45 + + + + STARTSCOM + UDINT + start superposition (position compensation) - 21.12.04: nun auch als 'ReadWrite'-Kommando + 32 + 1056 + + 48 + + + + STOPSCOM + UDINT + stop superposition (position compensation) + 32 + 1088 + + 49 + + + + PHASINGREQEUST + UDINT + start/stop the additional phasing set point generator used for a master/slave phase shift + 32 + 1120 + + 52 + + + + CPL + UDINT + Achse koppeln + 32 + 1152 + + 64 + + + + DECPL + UDINT + Achse entkoppeln (und optional neue Endposition mit neuer Geschwindigkeit) + 32 + 1184 + + 65 + + + + CPLCHANGE + UDINT + Achse Koppelparams ändern + 32 + 1216 + + 66 + + + + TABCPLCHANGE + UDINT + 3x TabSlaveAxe Tabelle-Koppelparams ändern + 32 + 1248 + + 67 + + + + STOPSLAVE + UDINT + Slave-Stop (Diagonal-Slave / Flying Saw) + 32 + 1280 + + 68 + + + + CPLTAB + UDINT + TabSlaveAxe Koppelparams setzen + 32 + 1312 + + 69 + + + + TABSLVACTIVCOR + UDINT + 2x TabSlaveAxe Korrekturtabelle aktivieren (mit/ohne Aktivierungsposition) + 32 + 1344 + + 70 + + + + TABSLVLEAVECYC + UDINT + TabSlaveAxe Monozyklische Tabelle beenden + 32 + 1376 + + 71 + + + + TABSLVCOROFFSET + UDINT + TabSlaveAxe Letzter Korrektur Offset + 32 + 1408 + + 72 + + + + TABSLVSCALING + UDINT + NEU: Slave-Skalierung der Solo-Tabellenkopplung setzen + 32 + 1440 + + 73 + + + + CPLSOLOTAB + UDINT + Solo Tabellen Kopplung + 32 + 1472 + + 74 + + + + CPLSYNCHRONIZING + UDINT + Slave Synchronizing Generator ('GearInPos' and 'GearInVelo') + 32 + 1504 + + 75 + + + + CAMSCALING + UDINT + Slave Change CAM Scaling (Aenderung der Tabellenskalierung) (issue #2514) + 32 + 1536 + + 77 + + + + DISABLE + UDINT + Achse sperren + 32 + 1568 + + 80 + + + + ENABLE + UDINT + Achse reaktivieren + 32 + 1600 + + 81 + + + + CHANGEAXISCTRLLOOP + UDINT + NEU: Aenderung des aktiven Achsregelkreises + 32 + 1632 + + 82 + + + + DRIVEDISABLE + UDINT + Drive-Output der Achse sperren + 32 + 1664 + + 96 + + + + DRIVEENABLE + UDINT + Drive-Output der Achse reaktivieren + 32 + 1696 + + 97 + + + + RELEASEBRAKE + UDINT + Feststellbremse loesen (Eil/Schleich-Gruppe) + 32 + 1728 + + 98 + + + + RECONFIGURATE + UDINT + Achse zurueckfuehren in eigene PTP-Gruppe + 32 + 1760 + + 112 + + + + + conditionalshow + + + + + _ST_NCADS_AxisFunctions + 1824 + + IDXGRP + UDINT + 32 + 0 + + 16896 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisFunctions + 1792 + 32 + + + + conditionalshow + + + + + _ST_NCADS_Axis + 4320 + + Parameter + _ST_NCADS_AxisParameter + 1664 + 0 + + + State + _ST_NCADS_AxisState + 832 + 1664 + + + Functions + _ST_NCADS_AxisFunctions + 1824 + 2496 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_TableParameter + 192 + + MFREADCHARACVALUES + UDINT + read characteristic values of a motion function + 32 + 0 + + 80 + + + + WRITETABROWS + UDINT + write table + 32 + 32 + + 16777216 + + + + WRITEMFTABROWS + UDINT + write motion function table + 32 + 64 + + 83886080 + + + + MFREADTAB + UDINT + read motion function as data table + 32 + 96 + + 34 + + + + READSLAVEDYNAMICS + UDINT + read slave table position, velocity and acceleration related to a master position + 32 + 128 + + 35 + + + + READMASTERPOSITION + UDINT + read master table position related to slave position + 32 + 160 + + 36 + + + + + conditionalshow + + + + + _ST_NCADS_TableParameter + 224 + + IDXGRP + UDINT + 32 + 0 + + 40960 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_TableParameter + 192 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_TableFunctions + 96 + + CREATETAB + UDINT + create table + 32 + 0 + + 65536 + + + + CREATEMOTIONTAB + UDINT + create motion function table + 32 + 32 + + 65552 + + + + DELETETAB + UDINT + delete tables + 32 + 64 + + 131072 + + + + + conditionalshow + + + + + _ST_NCADS_TableFunctions + 128 + + IDXGRP + UDINT + 32 + 0 + + 41472 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_TableFunctions + 96 + 32 + + + + conditionalshow + + + + + _ST_NCADS_Table + 352 + + Parameter + _ST_NCADS_TableParameter + 224 + 0 + + + Functions + _ST_NCADS_TableFunctions + 128 + 224 + + + + conditionalshow + + + + + T_AmsPort + TwinCAT AMS port address. + 16 + UINT + + + ADSRDDEVINFO + ADS read device info command. + 1280 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + RDINFO + BOOL + Rising edge starts command execution + 8 + 240 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 320 + + + ItemType + Output + + + + + DEVNAME + STRING(19) + Device name + 160 + 352 + + + ItemType + Output + + + + + DEVVER + UDINT + Device version + 32 + 512 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + _TCMCGLOBAL + Global constants and parameters + 6976 + + NCPORT_TCMC + UINT + 20110511 type changed from INT to UINT + 16 + 32 + + 500 + + + + ItemType + Input + + + + + NCPORT_TCMC_COUPLING + UINT + 20110511 type changed from INT to UINT + 16 + 48 + + 500 + + + + ItemType + Input + + + + + NCNETID_TCMC + T_AmsNetID + 192 + 64 + + + + + + ItemType + Input + + + + + NCPORT_TCMC_CAM + UINT + 20110511 type changed from INT to UINT + 16 + 256 + + 500 + + + + ItemType + Input + + + + + NCPORT_TCMC_CAM_FAST + UINT + 20150728 KSt added + 16 + 272 + + 500 + + + + ItemType + Input + + + + + NCNETID_TCMC_CAM + T_AmsNetID + 192 + 288 + + + + + + ItemType + Input + + + + + NCPORT_TCMC_SUPERPOSITION + UINT + 20140930 KSt added + 16 + 480 + + 501 + + + + ItemType + Input + + + + + NcDeviceInfoTcMainVersion + DWORD + 32 + 512 + + + ItemType + Output + + + + + NcDeviceInfoTcSubVersion + DWORD + 32 + 544 + + + ItemType + Output + + + + + NcDeviceInfoNcDriverVersion + DWORD + 32 + 576 + + + ItemType + Output + + + + + NcDeviceInfoNcVersion + DWORD + 32 + 608 + + + ItemType + Output + + + + + NcDeviceInfoNcName + STRING(19) + 160 + 640 + + + ItemType + Output + + + + + Axis + _ST_NCADS_Axis + IDXGRP and IDXOFFS constants of axis parameter/status/functions + 4320 + 800 + + + ItemType + Output + + + suppress_warning_0 + C0228 + + + + + Table + _ST_NCADS_Table + IDXGRP and IDXOFFS constants of table parameter/status/functions + 352 + 5120 + + + ItemType + Output + + + suppress_warning_0 + C0228 + + + + + NCPORT_TCNCCAMMING_TABLEFUNCTION + UINT + 16 + 5472 + + 500 + + + + tTargetPosTimeOut + TIME + 32 + 5504 + + 6000 + + + + tADSTimeOut + TIME + 32 + 5536 + + 1000 + + + + tStopMonitoringTimeOut + TIME + 32 + 5568 + + 100 + + + + NCTOPLC_FEEDBACK_MAXWAITCYCLES + INT + 16 + 5600 + + 10 + + + + fbADSRDDEVINFO + ADSRDDEVINFO + 1280 + 5632 + + + DeviceVersion + DWORD + 32 + 6912 + + + Init + BOOL + 8 + 6944 + + + ReadDeviceInfo + + + + PouType + FunctionBlock + + + conditionalshow + + + + + TcEventConfirmationState + 16 + INT + + NotSupported + 0 + + + NotRequired + 1 + + + WaitForConfirmation + 2 + + + Confirmed + 3 + + + Reset + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + ITcAlarm + 32 + ITcEvent + + SetJsonAttribute + HRESULT + 32 + + sJsonAttribute + PCCH + 32 + + + + GetArguments + HRESULT + 32 + + pipArguments + ITcArguments + 32 + + + + GetIsRaised + HRESULT + 32 + + bIsRaised + BOOL32 + 32 + + + + Raise + HRESULT + 32 + + timeStamp + ULINT + 64 + + + + Clear + HRESULT + 32 + + timeStamp + ULINT + 64 + + + bResetConfirmation + BOOL32 + 32 + + + + GetConfirmationState + HRESULT + 32 + + state + TcEventConfirmationState + 32 + + + + Confirm + HRESULT + 32 + + timeStamp + ULINT + 64 + + + + + FB_TcEvent + 3520 + FB_TcEventBase + I_TcEventBase + + nTimestamp + ULINT + 64 + 159345456 + 159345464 + + + __getnTimestamp + ULINT + 64 + + nTimestamp + ULINT + 64 + + + + property + + + monitoring + call + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + __setnTimestamp + + nTimestamp + ULINT + 64 + + + monitoring + call + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + + property + + + monitoring + call + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + Release + HRESULT + 32 + + + Init + + ipEvent + ITcEvent + 32 + + + ipArguments + ITcArguments + 32 + + + ipMessage + ITcMessage + 32 + + + ipAlarm + ITcAlarm + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + + conditionalshow + + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + + PouType + FunctionBlock + + + reflection + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + no_assign + + + + + I_Listener + 32 + PVOID + + OnAlarmCleared + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmConfirmed + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmDisposed + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmRaised + + fbEvent + FB_TcEvent + 32 + + + + OnMessageSent + + fbEvent + FB_TcEvent + 32 + + + + + ITcEventFilterConfig + 32 + ITcUnknown + + AddEventClass + HRESULT + 32 + + eventClass + GUID + 32 + + + severity + TcEventSeverity + 16 + + + + RemoveEventClass + HRESULT + 32 + + eventClass + GUID + 32 + + + + AddSourceInfo + HRESULT + 32 + + ipSourceInfo + ITcSourceInfo + 32 + + + severity + TcEventSeverity + 16 + + + + RemoveSourceInfo + HRESULT + 32 + + ipSourceInfo + ITcSourceInfo + 32 + + + + + ITcMessageListener + 32 + ITcUnknown + + OnMessageSent + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + + ITcAlarmListener + 32 + ITcUnknown + + OnAlarmRaised + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + OnAlarmCleared + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + OnAlarmConfirmed + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + OnAlarmDisposed + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + + ITcAlarm2 + 32 + ITcAlarm + + GetTimeRaised + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + GetTimeConfirmed + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + GetTimeCleared + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + + FB_ListenerWrapper + 3776 + ITcMessageListener + ITcAlarmListener + + TcAddRef + UDINT + 32 + + + c++_compatible + + + pack_mode + 4 + + + show + + + minimal_input_size + 4 + + + + + OnAlarmRaised + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + Unsubscribe + HRESULT + 32 + + hr + HRESULT + 32 + + + + OnAlarmCleared + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + TcQueryInterface + HRESULT + 32 + + iid + IID + 32 + + + pipItf + PVOID + 32 + + + ipMessageListener + ITcMessageListener + 32 + + + ipAlarmListener + ITcAlarmListener + 32 + + + + c++_compatible + + + pack_mode + 4 + + + show + + + minimal_input_size + 4 + + + + + OnMessageSent + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipMessage2 + ITcMessage2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + Subscribe + HRESULT + 32 + + pipMessageFilterConfig + ITcEventFilterConfig + 32 + + + pipAlarmFilterConfig + ITcEventFilterConfig + 32 + + + hr + HRESULT + 32 + + + + TcRelease + UDINT + 32 + + + c++_compatible + + + pack_mode + 4 + + + show + + + minimal_input_size + 4 + + + + + OnAlarmConfirmed + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + OnAlarmDisposed + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + Execute + HRESULT + 32 + + ipListener + I_Listener + 32 + + + hr + HRESULT + 32 + + + + + PouType + FunctionBlock + + + c++_compatible + + + enable_dynamic_creation + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + no_assign + + + + + FB_ListenerBase + 96 + I_Listener + + _pListenerWrapper + FB_ListenerWrapper + 32 + 64 + + + OnAlarmRaised + + fbEvent + FB_TcEvent + 32 + + + + Unsubscribe + HRESULT + 32 + + hr + HRESULT + 32 + + + + OnAlarmCleared + + fbEvent + FB_TcEvent + 32 + + + + OnMessageSent + + fbEvent + FB_TcEvent + 32 + + + + Subscribe + HRESULT + 32 + + ipMessageFilterConfig + ITcEventFilterConfig + 32 + + + ipAlarmFilterConfig + ITcEventFilterConfig + 32 + + + hr + HRESULT + 32 + + + + OnAlarmConfirmed + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmDisposed + + fbEvent + FB_TcEvent + 32 + + + + Execute + HRESULT + 32 + + hr + HRESULT + 32 + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + E_LogEventType + 16 + INT + + ALARMCLEARED + 0 + + + ALARMCONFIRMED + 1 + + + ALARMRAISED + 2 + + + MESSAGESENT + 3 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + ST_LoggingEventInfo + 86272 + + schema + STRING(80) + Message or Alarm{Cleared,Confirmed,Raised} event information Note that elements here do not follow the usual Hungarian notation / variable-type-prefixing naming convention due to the member names being - used directly in the generation of the JSON document.]]>6480plcAttribute_pytmcpv: Schema + used directly in the generation of the JSON document. + 648 + 0 + + twincat-event-0 + + + + plcAttribute_pytmc + pv: Schema io: i - field: DESC Schema stringtsLREAL64704plcAttribute_pytmcpv: Timestamp + field: DESC Schema string + + + + + ts + LREAL + 64 + 704 + + + plcAttribute_pytmc + pv: Timestamp io: i - field: DESC Unix timestampplcSTRING(80)648768plcAttribute_pytmcpv: Hostname + field: DESC Unix timestamp + + + + + plc + STRING(80) + 648 + 768 + + + plcAttribute_pytmc + pv: Hostname io: i - field: DESC PLC HostnameseverityTcEventSeverity161424plcAttribute_pytmcpv: Severity + field: DESC PLC Hostname + + + + + severity + TcEventSeverity + 16 + 1424 + + + plcAttribute_pytmc + pv: Severity io: i field: DESC TcEventSeverity field: ZRST Verbose field: ONST Info field: TWST Warning - field: THST ErroridUDINT321440plcAttribute_pytmcpv: MessageID + field: THST Error + + + + + id + UDINT + 32 + 1440 + + + plcAttribute_pytmc + pv: MessageID io: i - field: DESC TwinCAT Message IDevent_classSTRING(80)6481472plcAttribute_pytmcpv: EventClass + field: DESC TwinCAT Message ID + + + + + event_class + STRING(80) + 648 + 1472 + + + plcAttribute_pytmc + pv: EventClass io: i - field: DESC TwinCAT Event classmsgSTRING(255)20482120plcAttribute_pytmcpv: Message - io: isourceSTRING(255)20484168plcAttribute_pytmcpv: Source - io: ievent_typeE_LogEventType166224plcAttribute_pytmcpv: EventType + field: DESC TwinCAT Event class + + + + + msg + STRING(255) + 2048 + 2120 + + + plcAttribute_pytmc + pv: Message + io: i + + + + + source + STRING(255) + This is actually: T_MaxString + which has been expanded due to requirements for pinning global data types. + 2048 + 4168 + + + plcAttribute_pytmc + pv: Source + io: i + + + + + event_type + E_LogEventType + This is actually: STRING(Tc3_EventLogger.ParameterList.cSourceNameSize - 1) + which has been expanded due to requirements for pinning global data types. + 16 + 6224 + + + plcAttribute_pytmc + pv: EventType io: i - field: DESC The event typejsonSTRING(10000)800086240plcAttribute_pytmcpv: MessageJSON + field: DESC The event type + + + + + json + STRING(10000) + 80008 + 6240 + + + plcAttribute_pytmc + pv: MessageJSON io: i - field: DESC Metadata with the messageITcEventLogger32ITcUnknownCreateMessageHRESULT32eventClassGUID32eventIdUDINT32severityTcEventSeverity16ipSourceInfoITcSourceInfo32pipMessageITcMessage32CreateAlarmHRESULT32eventClassGUID32eventIdUDINT32severityTcEventSeverity16bWithConfirmationBOOL3232ipSourceInfoITcSourceInfo32pipAlarmITcAlarm32GetAlarmHRESULT32eventClassGUID32eventIdUDINT32ipSourceInfoITcSourceInfo32pipAlarmITcAlarm32IsAlarmRaisedHRESULT32eventClassGUID32eventIdUDINT32ipSourceInfoITcSourceInfo32bIsRaisedBOOL3232ConfirmAllAlarmsHRESULT32timeStampULINT64ClearAllAlarmsHRESULT32timeStampULINT64bResetConfirmationBOOL3232SendTcMessageHRESULT32eventClassGUID32eventIdUDINT32severityTcEventSeverity16ipSourceInfoITcSourceInfo32timeStampULINT64ipSerializedArgumentsITcArguments32AddMessageListenerHRESULT32ipListenerITcMessageListener32pipFilterConfigITcEventFilterConfig32RemoveMessageListenerHRESULT32ipListenerITcMessageListener32NotifyMessageListenerHRESULT32ipListenerITcMessageListener32AddAlarmListenerHRESULT32ipListenerITcAlarmListener32pipFilterConfigITcEventFilterConfig32RemoveAlarmListenerHRESULT32ipListenerITcAlarmListener32NotifyAlarmListenerHRESULT32ipListenerITcAlarmListener32GetEventTextHRESULT32eventClassGUID32eventIdUDINT32ipSourceInfoITcSourceInfo32ipArgumentsITcArguments32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32eventClassGUID32nLangIdDINT32pipResultITcAsyncStringResult32CreateArgumentsHRESULT32pipArgumentsITcArguments32FB_RequestEventText128hrInitHRESULT3232_ipEventLoggerITcEventLogger3264_ipResultITcAsyncStringResult3296bBusyBOOL8159344704bErrorBOOL8159344736hrErrorCodeHRESULT32159344740nStringSizeUDINT32159344728sEventTextSTRING(255)2048159344748__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallGetStringBOOL8sResultSTRING(80)32nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32propertymonitoringcall__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallRequestHRESULT32eventClassGUID128nEventIdUDINT32nLangIdDINT32ipArgsI_TcArguments32ipArgumentsITcArguments32__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyno_assignST_PendingEvent86464stEventInfoST_LoggingEventInfo862720pytmc + field: DESC Metadata with the message + + + + + + + + + ITcEventLogger + 32 + ITcUnknown + + CreateMessage + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + severity + TcEventSeverity + 16 + + + ipSourceInfo + ITcSourceInfo + 32 + + + pipMessage + ITcMessage + 32 + + + + CreateAlarm + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + severity + TcEventSeverity + 16 + + + bWithConfirmation + BOOL32 + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + pipAlarm + ITcAlarm + 32 + + + + GetAlarm + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + pipAlarm + ITcAlarm + 32 + + + + IsAlarmRaised + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + bIsRaised + BOOL32 + 32 + + + + ConfirmAllAlarms + HRESULT + 32 + + timeStamp + ULINT + 64 + + + + ClearAllAlarms + HRESULT + 32 + + timeStamp + ULINT + 64 + + + bResetConfirmation + BOOL32 + 32 + + + + SendTcMessage + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + severity + TcEventSeverity + 16 + + + ipSourceInfo + ITcSourceInfo + 32 + + + timeStamp + ULINT + 64 + + + ipSerializedArguments + ITcArguments + 32 + + + + AddMessageListener + HRESULT + 32 + + ipListener + ITcMessageListener + 32 + + + pipFilterConfig + ITcEventFilterConfig + 32 + + + + RemoveMessageListener + HRESULT + 32 + + ipListener + ITcMessageListener + 32 + + + + NotifyMessageListener + HRESULT + 32 + + ipListener + ITcMessageListener + 32 + + + + AddAlarmListener + HRESULT + 32 + + ipListener + ITcAlarmListener + 32 + + + pipFilterConfig + ITcEventFilterConfig + 32 + + + + RemoveAlarmListener + HRESULT + 32 + + ipListener + ITcAlarmListener + 32 + + + + NotifyAlarmListener + HRESULT + 32 + + ipListener + ITcAlarmListener + 32 + + + + GetEventText + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + ipArguments + ITcArguments + 32 + + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + GetEventClassName + HRESULT + 32 + + eventClass + GUID + 32 + + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + CreateArguments + HRESULT + 32 + + pipArguments + ITcArguments + 32 + + + + + FB_RequestEventText + 128 + + hrInit + HRESULT + 32 + 32 + + + _ipEventLogger + ITcEventLogger + 32 + 64 + + + _ipResult + ITcAsyncStringResult + 32 + 96 + + + bBusy + BOOL + 8 + 159344704 + + + bError + BOOL + 8 + 159344736 + + + hrErrorCode + HRESULT + 32 + 159344740 + + + nStringSize + UDINT + 32 + 159344728 + + + sEventText + STRING(255) + 2048 + 159344748 + + + __getbBusy + BOOL + 8 + + bBusy + BOOL + 8 + + + b32IsBusy + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + GetString + BOOL + 8 + + sResult + STRING(80) + 32 + + + nResult + buffer size in bytes + UDINT + 32 + + + + __getnStringSize + UDINT + 32 + + nStringSize + UDINT + 32 + + + + property + + + monitoring + call + + + + + __getbError + BOOL + 8 + + bError + BOOL + 8 + + + b32HasError + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + monitoring + call + + + + + Request + HRESULT + 32 + + eventClass + GUID + 128 + + + nEventId + UDINT + 32 + + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + ipArgs + I_TcArguments + 32 + + + ipArguments + ITcArguments + 32 + + + + __getsEventText + STRING(255) + 2048 + + sEventText + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + no_assign + + + + + ST_PendingEvent + 86464 + + stEventInfo + ST_LoggingEventInfo + 86272 + 0 + + + pytmc + pv: - bInUseBOOL886272fbRequestEventTextFB_RequestEventText12886304FB_JsonReadWriteDatatype96initStatusHRESULT3232-1743714536ItemTypeOutputipJsonITcIecApplicationJson3264GetJsonFromSymbolBOOL8sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32nJsonUDINT32pJsonSTRING(80)32CopyJsonStringFromSymbolPropertiesUDINT32sDatatype retrieve with GetDatatypeNameByAddress()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOutpDocSTRING(80)32ItemTypeInOutnDocUDINT32pTmpSTRING(80)32GetSizeJsonStringFromSymbolUDINT32sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32nSizeUDINT32pTmpSTRING(80)32GetJsonStringFromSymbolPropertiesSTRING(255)2048sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOutnSizeUDINT32pTmpSTRING(80)32AddJsonKeyPropertiesFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsKeySTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOutipWriterITcJsonSaxWriter32GetDatatypeNameByAddressSTRING(80)648nDataUDINT32pDataPVOID32lengthUDINT32dataTypeSTRING(80)648SetSymbolFromJsonBOOL8sJsonSTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32GetSizeJsonStringFromSymbolPropertiesUDINT32sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOutnSizeUDINT32pTmpSTRING(80)32GetJsonStringFromSymbolSTRING(255)2048sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32nSizeUDINT32pTmpSTRING(80)32CopyJsonStringFromSymbolUDINT32sDatatype retrieve with GetDatatypeNameByAddress()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32pDocSTRING(80)32ItemTypeInOutnDocUDINT32pTmpSTRING(80)32GetSymbolNameByAddressSTRING(255)2048nDataUDINT32pDataPVOID32lengthUDINT32AddJsonValueFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32ipWriterITcJsonSaxWriter32AddJsonKeyValueFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsKeySTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32ipWriterITcJsonSaxWriter32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyT_IPv4Addr128STRING(15)E_SocketConnectionlessState16INTeSOCKET_CLOSED0eSOCKET_CREATED1eSOCKET_TRANSIENT2created or from created->closed ]]>FB_ConnectionlessSocket6784sSrvNetIDT_AmsNetIDserver runs on local system. ]]>19232ItemTypeInputnModeDWORD Disable debug messages, All other bits reserved. ]]>322240ItemTypeInputsLocalHostT_IPv4Addr128256ItemTypeInputnLocalPortUDINT323840ItemTypeInputbEnableBOOL8416ItemTypeInputtReconnectTIME3244845000ItemTypeInputbBusyBOOL8480ItemTypeOutputbErrorBOOL8488ItemTypeOutputnErrIDUDINT32512ItemTypeOutputhSocketT_HSOCKET352544ItemTypeOutputeStateE_SocketConnectionlessState168960ItemTypeOutputPouTypeFunctionBlockhide_all_localsFB_Listener945536FB_ListenerBasenEventIdxUINT16960nPendingEventsUINT161120bLogToVisualStudioBOOL81280pytmc + + + + + + bInUse + BOOL + 8 + 86272 + + + fbRequestEventText + FB_RequestEventText + 128 + 86304 + + + + FB_JsonReadWriteDatatype + 96 + + initStatus + HRESULT + 32 + 32 + + -1743714536 + + + + ItemType + Output + + + + + ipJson + ITcIecApplicationJson + 32 + 64 + + + GetJsonFromSymbol + BOOL + 8 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of sxmbol + PVOID + 32 + + + nJson + size of json buffer + UDINT + 32 + + + pJson + json buffer + STRING(80) + 32 + + + + CopyJsonStringFromSymbolProperties + UDINT + 32 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeNameByAddress() + STRING(80) + 32 + + + ItemType + InOut + + + + + sProperties + multiple Properties separated by '|' + STRING(80) + 32 + + + ItemType + InOut + + + + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of target string buffer + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + GetSizeJsonStringFromSymbol + UDINT + 32 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + nSize + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + GetJsonStringFromSymbolProperties + STRING(255) + 2048 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + sProperties + multiple Properties separated by '|' + STRING(80) + 32 + + + ItemType + InOut + + + + + nSize + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + AddJsonKeyPropertiesFromSymbol + BOOL + 8 + + fbWriter + FB_JsonSaxWriter + 32 + + + ItemType + InOut + + + + + sKey + STRING(80) + 32 + + + ItemType + InOut + + + + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + sProperties + multiple Properties separated by '|' + STRING(80) + 32 + + + ItemType + InOut + + + + + ipWriter + ITcJsonSaxWriter + 32 + + + + GetDatatypeNameByAddress + STRING(80) + 648 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + length + UDINT + 32 + + + dataType + STRING(80) + 648 + + + + SetSymbolFromJson + BOOL + 8 + + sJson + json string for the symbol + STRING(80) + 32 + + + ItemType + InOut + + + + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + + GetSizeJsonStringFromSymbolProperties + UDINT + 32 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + sProperties + multiple Properties separated by '|' + STRING(80) + 32 + + + ItemType + InOut + + + + + nSize + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + GetJsonStringFromSymbol + STRING(255) + 2048 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + nSize + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + CopyJsonStringFromSymbol + UDINT + 32 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeNameByAddress() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of target string buffer + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + GetSymbolNameByAddress + STRING(255) + 2048 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + length + UDINT + 32 + + + + AddJsonValueFromSymbol + BOOL + 8 + + fbWriter + FB_JsonSaxWriter + 32 + + + ItemType + InOut + + + + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of sxmbol + PVOID + 32 + + + ipWriter + ITcJsonSaxWriter + 32 + + + + AddJsonKeyValueFromSymbol + BOOL + 8 + + fbWriter + FB_JsonSaxWriter + 32 + + + ItemType + InOut + + + + + sKey + STRING(80) + 32 + + + ItemType + InOut + + + + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of sxmbol + PVOID + 32 + + + ipWriter + ITcJsonSaxWriter + 32 + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + T_IPv4Addr + IPv4 network host address string. + 128 + STRING(15) + + + E_SocketConnectionlessState + 16 + INT + + eSOCKET_CLOSED + 0 + UDP socket is closed + + + eSOCKET_CREATED + 1 + UDP socket is created + + + eSOCKET_TRANSIENT + 2 + UDP socket state changes from closed->created or from created->closed + + + + FB_ConnectionlessSocket + This function block manages (creates and closes) connectionless UDP datagram socket + 6784 + + sSrvNetID + T_AmsNetID + The network address of the TcpIpServer.exe. If empty string=>server runs on local system. + 192 + 32 + + + + + + ItemType + Input + + + + + nMode + DWORD + Additional parameter flags e.g.: CONNECT_MODE_ENABLEDBG, 0 => Disable debug messages, All other bits reserved. + 32 + 224 + + 0 + + + + ItemType + Input + + + + + sLocalHost + T_IPv4Addr + Local address. String containing an (Ipv4) Internet Protocol dotted address. + 128 + 256 + + + + + + ItemType + Input + + + + + nLocalPort + UDINT + Local Internet Protocol (IP) port. + 32 + 384 + + 0 + + + + ItemType + Input + + + + + bEnable + BOOL + TRUE = Create UDP socket, FALSE = Close/don't open UDP socket + 8 + 416 + + + ItemType + Input + + + + + tReconnect + TIME + This timer specifies when create is retried. + 32 + 448 + + 45000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 480 + + + ItemType + Output + + + + + bError + BOOL + 8 + 488 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 512 + + + ItemType + Output + + + + + hSocket + T_HSOCKET + Created UDP socket handle + 352 + 544 + + + ItemType + Output + + + + + eState + E_SocketConnectionlessState + State + 16 + 896 + + 0 + + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + FB_Listener + 945536 + FB_ListenerBase + + nEventIdx + UINT + 16 + 96 + + 0 + + + + nPendingEvents + UINT + 16 + 112 + + 0 + + + + bLogToVisualStudio + BOOL + 8 + 128 + + 0 + + + + pytmc + pv: LogToVisualStudio io: io - nCntMessagesSentUDINT321600pytmc + + + + + + nCntMessagesSent + UDINT + 32 + 160 + + 0 + + + + pytmc + pv: MessagesSent io: i - nCntAlarmsRaisedUDINT321920pytmc + + + + + + nCntAlarmsRaised + UDINT + 32 + 192 + + 0 + + + + pytmc + pv: AlarmsRaised io: i - nCntAlarmsConfirmedUDINT322240pytmc + + + + + + nCntAlarmsConfirmed + UDINT + 32 + 224 + + 0 + + + + pytmc + pv: AlarmsConfirmed io: i - nCntAlarmsClearedUDINT322560pytmc + + + + + + nCntAlarmsCleared + UDINT + 32 + 256 + + 0 + + + + pytmc + pv: AlarmsCleared io: i - eMinSeverityTcEventSeverity16288pytmc + + + + + + eMinSeverity + TcEventSeverity + 16 + 288 + + + pytmc + pv: MinSeverity io: io - stEventInfoST_LoggingEventInfo32320analysis-33pytmc + + + + + + stEventInfo + ST_LoggingEventInfo + 32 + 320 + + + analysis + -33 + + + pytmc + pv: Log - stPendingEventsST_PendingEvent010864640384ipMessageConfigITcEventFilterConfig32865024fbSocketFB_ConnectionlessSocket32865056bConfiguredBOOL88650880nMaxEventsUINT1686510410__CONFIGURE__BSUBSCRIBEDBOOL88651200__PUBLISHEVENTS__FBJSONFB_JsonSaxWriter256865152__PUBLISHEVENTS__FBJSONDATATYPEFB_JsonReadWriteDatatype96865408__PUBLISHEVENTS__SJSONDOCSTRING(10000)80008865504OnAlarmRaisedfbEventFB_TcEvent32OnAlarmConfirmedfbEventFB_TcEvent32__getLogToVisualStudioBOOL8LogToVisualStudioBOOL8propertyanalysis-33OnAlarmClearedfbEventFB_TcEvent32SendMessageHRESULT32sMessageSTRING(80)32sLogStrT_MaxString2048OnMessageSentfbEventFB_TcEvent32PublishEventsHRESULT32nEventUINT16stPendingEventST_PendingEvent32stEventInfoST_LoggingEventInfo32fbRequestEventTextFB_RequestEventText32fbJsonFB_JsonSaxWriter256uselocation__PUBLISHEVENTS__FBJSONfbJsonDataTypeFB_JsonReadWriteDatatype96uselocation__PUBLISHEVENTS__FBJSONDATATYPEsJsonDocSTRING(10000)80008uselocation__PUBLISHEVENTS__SJSONDOCStoreEventHRESULT32fbEventFB_TcEvent32eEventTypeE_LogEventType16stPendingEventST_PendingEvent32stEventInfoST_LoggingEventInfo32nFailuresUINT16ConfigureHRESULT32i_EventClassGUID128i_MinSeverityTcEventSeverity16i_fbSocketFB_ConnectionlessSocket32bSubscribedBOOL8uselocation__CONFIGURE__BSUBSCRIBED__setLogToVisualStudioLogToVisualStudioBOOL8analysis-33bValueBOOL8propertyanalysis-33PouTypeFunctionBlockADSREAD1248NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputDESTADDRPVOID32352ItemTypeInputTcIgnorePersistentREADBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsFB_GetHostName3744sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputsHostNameT_MaxString2048352ItemTypeOutputfbAdsReadADSREAD12482400.PORT10000.IDXGRP702.IDXOFFS0conditionalshowfbTriggerR_TRIG643648conditionalshowstateBYTE83712conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_GetPLCHostname6176bEnableBOOL832ItemTypeInputtRetryDelayTIME326410000ItemTypeInputsHostnameT_MaxString204896ItemTypeOutputbDoneBOOL82144ItemTypeOutputbErrorBOOL82152ItemTypeOutputfbGetHostNameFB_GetHostName37442176tRetryTON2245920bResetBOOL86144bInitializedBOOL861520PouTypeFunctionBlockST_IPAdapterHwAddr96lengthUDINT3200bBYTE086432E_MIB_IF_Type16INTMIB_IF_TYPE_UNKNOWN0MIB_IF_TYPE_OTHER1MIB_IF_TYPE_ETHERNET6MIB_IF_TYPE_TOKENRING9MIB_IF_TYPE_FDDI15MIB_IF_TYPE_PPP23MIB_IF_TYPE_LOOPBACK24MIB_IF_TYPE_SLIP28ST_IPAdapterInfo4160bDefaultBOOL80sAdapterNameSTRING(259)20808sDescriptionSTRING(131)10562088physAddrST_IPAdapterHwAddr963168dwIndexDWORD323264eTypeE_MIB_IF_Type163296sIpAddrT_IPv4Addr1283312sSubNetT_IPv4Addr1283440sDefGatewayT_IPv4Addr1283568bDhcpEnabledBOOL83696sDhcpSrvT_IPv4Addr1283704bHaveWinsBOOL83832sPrimWinsSrvT_IPv4Addr1283840sSecWinsSrvT_IPv4Addr1283968tLeaseObtDATE_AND_TIME324096tLeaseExpDATE_AND_TIME324128ADSRDWRTEX1440NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputWRITELENUDINT32320ItemTypeInputREADLENUDINT32352ItemTypeInputSRCADDRPVOID32384ItemTypeInputTcIgnorePersistentDESTADDRPVOID32416ItemTypeInputTcIgnorePersistentWRTRDBOOL8448ItemTypeInputTMOUTTIME324805000ItemTypeInputBUSYBOOL8512ItemTypeOutputERRBOOL8520ItemTypeOutputERRIDUDINT32544ItemTypeOutputCOUNT_RUDINT32576ItemTypeOutputPouTypeFunctionBlockhide_all_localsST_HKeySrvRead4096sSubT_MaxString20480sValT_MaxString20482048conditionalshowFB_RegQueryValue10304sNetIdT_AmsNetID19232ItemTypeInputsSubKeyT_MaxString2048224ItemTypeInputsValNameT_MaxString20482272ItemTypeInputcbDataUDINT324320ItemTypeInputpDataBYTE324352ItemTypeInputbExecuteBOOL84384ItemTypeInputtTimeOutTIME3244165000ItemTypeInputbBusyBOOL84448ItemTypeOutputbErrorBOOL84456ItemTypeOutputnErrIdUDINT324480ItemTypeOutputcbReadUDINT324512ItemTypeOutputfbAdsRdWrtExADSRDWRTEX14404544.PORT10000.IDXGRP200.IDXOFFS0conditionalshowfbTriggerR_TRIG645984conditionalshowstateBYTE86048conditionalshows1LenUDINT326080conditionalshows2LenUDINT326112conditionalshowptrBYTE326144conditionalshowcbBuffUDINT326176conditionalshowtmpBuffST_HKeySrvRead40966208conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_IP_ADDR_STRING320pNextDWORD3200sIpAddrT_IPv4Addr12832sIpMaskT_IPv4Addr128160dwContextDWORD322880conditionalshowST_IP_ADAPTER_INFO5120cbNextEntryOffsetDWORD 0 => offset to the next entry, If == 0 => last entry. TODO: Check the size of pNext on 64 bit target (change type to PVOID) ]]>3200dwComboIndexDWORD32320sAdapterNameSTRING(259)208064sDescriptionSTRING(131)10562144uiAddrLenUDINT3232000arrAddrBYTE08643232dwIndexDWORD3232960uiTypeUDINT3233280uiDhcpEnabledUDINT3233600pCurrIpAddrDWORD3233920stIpAddrListST_IP_ADDR_STRING3203424stGatewayListST_IP_ADDR_STRING3203744stDhcpServerST_IP_ADDR_STRING3204064iHaveWinsDINT3243840stPrimWinsSrvST_IP_ADDR_STRING3204416stSecWinsSrvST_IP_ADDR_STRING3204736tLeaseObtDATE_AND_TIME325056tLeaseExpDATE_AND_TIME325088conditionalshowFB_GetAdaptersInfo100640sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputarrAdaptersST_IPAdapterInfo0624960352ItemTypeOutputnCountUDINT3225312ItemTypeOutputnGetUDINT3225344ItemTypeOutputfbAdsReadADSREAD124825376.PORT10000.IDXGRP701.IDXOFFS1conditionalshowfbRegQueryFB_RegQueryValue1030426624.sSubKeySoftware\Beckhoff\TwinCAT3\System.sValNameDefaultAdapterconditionalshowfbTriggerR_TRIG6436928conditionalshowstateBYTE836992conditionalshowcbInfoUDINT3237024conditionalshowidxUDINT3237056conditionalshowinfoST_IP_ADAPTER_INFO0126144037088conditionalshowpInfoST_IP_ADAPTER_INFO32985280conditionalshownRealCountUDINT32985600conditionalshowsDefaultAT_MaxString204898592conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_GetPLCIPAddress101184bEnableBOOL832ItemTypeInputtRetryDelayTIME326410000ItemTypeInputsIPAddressSTRING(15)12896ItemTypeOutputbDoneBOOL8224ItemTypeOutputbErrorBOOL8232ItemTypeOutputfbGetAdapterIPFB_GetAdaptersInfo100640256.bExecute1.sNetIDiIndexUDINT32100896tRetryTON224100928bResetBOOL8101152bInitializedBOOL81011600PouTypeFunctionBlockCTU + + + + + stPendingEvents + ST_PendingEvent + + 0 + 10 + + 864640 + 384 + + + ipMessageConfig + ITcEventFilterConfig + 32 + 865024 + + + fbSocket + FB_ConnectionlessSocket + 32 + 865056 + + + bConfigured + BOOL + 8 + 865088 + + 0 + + + + nMaxEvents + UINT + The maximum number of events allowed *per-cycle* + 16 + 865104 + + 10 + + + + __CONFIGURE__BSUBSCRIBED + BOOL + 8 + 865120 + + 0 + + + + __PUBLISHEVENTS__FBJSON + FB_JsonSaxWriter + 256 + 865152 + + + __PUBLISHEVENTS__FBJSONDATATYPE + FB_JsonReadWriteDatatype + 96 + 865408 + + + __PUBLISHEVENTS__SJSONDOC + STRING(10000) + 80008 + 865504 + + + OnAlarmRaised + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmConfirmed + + fbEvent + FB_TcEvent + 32 + + + + __getLogToVisualStudio + BOOL + 8 + + LogToVisualStudio + BOOL + 8 + + + + property + + + analysis + -33 + + + + + OnAlarmCleared + + fbEvent + FB_TcEvent + 32 + + + + SendMessage + HRESULT + 32 + + sMessage + STRING(80) + 32 + + + sLogStr + T_MaxString + 2048 + + + + OnMessageSent + + fbEvent + FB_TcEvent + 32 + + + + PublishEvents + HRESULT + 32 + + nEvent + UINT + 16 + + + stPendingEvent + ST_PendingEvent + 32 + + + stEventInfo + ST_LoggingEventInfo + 32 + + + fbRequestEventText + FB_RequestEventText + 32 + + + fbJson + FB_JsonSaxWriter + 256 + + + uselocation + __PUBLISHEVENTS__FBJSON + + + + + fbJsonDataType + FB_JsonReadWriteDatatype + 96 + + + uselocation + __PUBLISHEVENTS__FBJSONDATATYPE + + + + + sJsonDoc + STRING(10000) + 80008 + + + uselocation + __PUBLISHEVENTS__SJSONDOC + + + + + + StoreEvent + HRESULT + 32 + + fbEvent + FB_TcEvent + 32 + + + eEventType + E_LogEventType + 16 + + + stPendingEvent + ST_PendingEvent + 32 + + + stEventInfo + ST_LoggingEventInfo + 32 + + + nFailures + UINT + 16 + + + + Configure + HRESULT + 32 + + i_EventClass + GUID + 128 + + + i_MinSeverity + TcEventSeverity + 16 + + + i_fbSocket + FB_ConnectionlessSocket + 32 + + + bSubscribed + BOOL + 8 + + + uselocation + __CONFIGURE__BSUBSCRIBED + + + + + + __setLogToVisualStudio + + LogToVisualStudio + BOOL + 8 + + + analysis + -33 + + + + + bValue + BOOL + 8 + + + + property + + + analysis + -33 + + + + + + PouType + FunctionBlock + + + + + ADSREAD + ADS read command. + 1248 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + LEN + UDINT + Max. number of data bytes to read (LEN <= max. size of destination buffer) + 32 + 320 + + + ItemType + Input + + + + + DESTADDR + PVOID + Pointer to destination buffer + 32 + 352 + + + ItemType + Input + + + TcIgnorePersistent + + + + + READ + BOOL + Rising edge starts command execution + 8 + 384 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 448 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 456 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 480 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + FB_GetHostName + The function block returns the standard host name for the local machine. + 3744 + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + tTimeout + TIME + Max. fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 320 + + + ItemType + Output + + + + + sHostName + T_MaxString + The local host name + 2048 + 352 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 2400 + + + .PORT + 10000 + + + .IDXGRP + 702 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 3648 + + + conditionalshow + + + + + state + BYTE + 8 + 3712 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_GetPLCHostname + 6176 + + bEnable + BOOL + 8 + 32 + + + ItemType + Input + + + + + tRetryDelay + TIME + 32 + 64 + + 10000 + + + + ItemType + Input + + + + + sHostname + T_MaxString + 2048 + 96 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 2144 + + + ItemType + Output + + + + + bError + BOOL + 8 + 2152 + + + ItemType + Output + + + + + fbGetHostName + FB_GetHostName + 3744 + 2176 + + + tRetry + TON + 224 + 5920 + + + bReset + BOOL + 8 + 6144 + + + bInitialized + BOOL + 8 + 6152 + + 0 + + + + + PouType + FunctionBlock + + + + + ST_IPAdapterHwAddr + Local adapter hardware address + 96 + + length + UDINT + Specifies the length of the hardware address for the adapter. + 32 + 0 + + 0 + + + + b + BYTE + + 0 + 8 + + Specifies the hardware address for the adapter. + 64 + 32 + + + + E_MIB_IF_Type + 16 + INT + + MIB_IF_TYPE_UNKNOWN + 0 + + + MIB_IF_TYPE_OTHER + 1 + + + MIB_IF_TYPE_ETHERNET + 6 + + + MIB_IF_TYPE_TOKENRING + 9 + + + MIB_IF_TYPE_FDDI + 15 + + + MIB_IF_TYPE_PPP + 23 + + + MIB_IF_TYPE_LOOPBACK + 24 + + + MIB_IF_TYPE_SLIP + 28 + + + + ST_IPAdapterInfo + Local adapter information + 4160 + + bDefault + BOOL + Specifies whether this adapter is default TwinCAT adapter. + 8 + 0 + + + sAdapterName + STRING(259) + Specifies the name of the adapter. + 2080 + 8 + + + + + + sDescription + STRING(131) + Specifies a description for the adapter. + 1056 + 2088 + + + + + + physAddr + ST_IPAdapterHwAddr + Hardware address + 96 + 3168 + + + dwIndex + DWORD + Specifies the adapter index. + 32 + 3264 + + + eType + E_MIB_IF_Type + Specifies the adapter type. + 16 + 3296 + + + sIpAddr + T_IPv4Addr + Specifies the IP address for this adapter. + 128 + 3312 + + + sSubNet + T_IPv4Addr + Specifies the IP address mask. + 128 + 3440 + + + sDefGateway + T_IPv4Addr + Specifies the IP address of the default gateway for this adapter. + 128 + 3568 + + + bDhcpEnabled + BOOL + Specifies whether dynamic host configuration protocol (DHCP) is enabled for this adapter. + 8 + 3696 + + + sDhcpSrv + T_IPv4Addr + Specifies the IP address of the DHCP server for this adapter. + 128 + 3704 + + + bHaveWins + BOOL + Specifies whether this adapter uses Windows Internet Name Service (WINS). + 8 + 3832 + + + sPrimWinsSrv + T_IPv4Addr + Specifies the IP address of the primary WINS server. + 128 + 3840 + + + sSecWinsSrv + T_IPv4Addr + Specifies the IP address of the secondary WINS server. + 128 + 3968 + + + tLeaseObt + DATE_AND_TIME + Specifies the time when the current DHCP lease was obtained ( UTC time ) + 32 + 4096 + + + tLeaseExp + DATE_AND_TIME + Specifies the time when the current DHCP lease will expire. ( UTC time ) + 32 + 4128 + + + + ADSRDWRTEX + Extended ADS read/write command. + 1440 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + WRITELEN + UDINT + Max. number of data bytes to write (WRITELEN <= max. size of source buffer) + 32 + 320 + + + ItemType + Input + + + + + READLEN + UDINT + Max. number of data bytes to read (READLEN <= max. size of destination buffer) + 32 + 352 + + + ItemType + Input + + + + + SRCADDR + PVOID + Pointer to source buffer + 32 + 384 + + + ItemType + Input + + + TcIgnorePersistent + + + + + DESTADDR + PVOID + Pointer to destination buffer + 32 + 416 + + + ItemType + Input + + + TcIgnorePersistent + + + + + WRTRD + BOOL + Rising edge starts command execution + 8 + 448 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 480 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 512 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 520 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 544 + + + ItemType + Output + + + + + COUNT_R + UDINT + Count of bytes actually read + 32 + 576 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + ST_HKeySrvRead + 4096 + + sSub + T_MaxString + 2048 + 0 + + + sVal + T_MaxString + 2048 + 2048 + + + + conditionalshow + + + + + FB_RegQueryValue + Reads windows registry value + 10304 + + sNetId + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + sSubKey + T_MaxString + HKEY_LOCAL_MACHINE \ sub key name + 2048 + 224 + + + ItemType + Input + + + + + sValName + T_MaxString + Value name + 2048 + 2272 + + + ItemType + Input + + + + + cbData + UDINT + Number of data bytes to read + 32 + 4320 + + + ItemType + Input + + + + + pData + BYTE + Points to registry key data buffer + 32 + 4352 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 4384 + + + ItemType + Input + + + + + tTimeOut + TIME + Max fb execution time + 32 + 4416 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 4448 + + + ItemType + Output + + + + + bError + BOOL + 8 + 4456 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 4480 + + + ItemType + Output + + + + + cbRead + UDINT + Number of succesfully read data bytes + 32 + 4512 + + + ItemType + Output + + + + + fbAdsRdWrtEx + ADSRDWRTEX + 1440 + 4544 + + + .PORT + 10000 + + + .IDXGRP + 200 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 5984 + + + conditionalshow + + + + + state + BYTE + 8 + 6048 + + + conditionalshow + + + + + s1Len + UDINT + 32 + 6080 + + + conditionalshow + + + + + s2Len + UDINT + 32 + 6112 + + + conditionalshow + + + + + ptr + BYTE + 32 + 6144 + + + conditionalshow + + + + + cbBuff + UDINT + 32 + 6176 + + + conditionalshow + + + + + tmpBuff + ST_HKeySrvRead + 4096 + 6208 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ST_IP_ADDR_STRING + 320 + + pNext + DWORD + Pointer : pNext element on 64 bit target is still 32bit due to 32bit system service + 32 + 0 + + 0 + + + + sIpAddr + T_IPv4Addr + 128 + 32 + + + sIpMask + T_IPv4Addr + 128 + 160 + + + dwContext + DWORD + 32 + 288 + + 0 + + + + + conditionalshow + + + + + ST_IP_ADAPTER_INFO + 5120 + + cbNextEntryOffset + DWORD + if <> 0 => offset to the next entry, If == 0 => last entry. TODO: Check the size of pNext on 64 bit target (change type to PVOID) + 32 + 0 + + 0 + + + + dwComboIndex + DWORD + 32 + 32 + + 0 + + + + sAdapterName + STRING(259) + 2080 + 64 + + + + + + sDescription + STRING(131) + 1056 + 2144 + + + + + + uiAddrLen + UDINT + 32 + 3200 + + 0 + + + + arrAddr + BYTE + + 0 + 8 + + 64 + 3232 + + + dwIndex + DWORD + 32 + 3296 + + 0 + + + + uiType + UDINT + 32 + 3328 + + 0 + + + + uiDhcpEnabled + UDINT + 32 + 3360 + + 0 + + + + pCurrIpAddr + DWORD + 32 + 3392 + + 0 + + + + stIpAddrList + ST_IP_ADDR_STRING + 320 + 3424 + + + stGatewayList + ST_IP_ADDR_STRING + 320 + 3744 + + + stDhcpServer + ST_IP_ADDR_STRING + 320 + 4064 + + + iHaveWins + DINT + 32 + 4384 + + 0 + + + + stPrimWinsSrv + ST_IP_ADDR_STRING + 320 + 4416 + + + stSecWinsSrv + ST_IP_ADDR_STRING + 320 + 4736 + + + tLeaseObt + DATE_AND_TIME + 32 + 5056 + + + tLeaseExp + DATE_AND_TIME + 32 + 5088 + + + + conditionalshow + + + + + FB_GetAdaptersInfo + This function block retrieves adapter information for the local computer. + 100640 + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + tTimeout + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 320 + + + ItemType + Output + + + + + arrAdapters + ST_IPAdapterInfo + + 0 + 6 + + 24960 + 352 + + + ItemType + Output + + + + + nCount + UDINT + Max. number of found adapters + 32 + 25312 + + + ItemType + Output + + + + + nGet + UDINT + Number of read adapter info entries + 32 + 25344 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 25376 + + + .PORT + 10000 + + + .IDXGRP + 701 + + + .IDXOFFS + 1 + + + + + conditionalshow + + + + + fbRegQuery + FB_RegQueryValue + 10304 + 26624 + + + .sSubKey + Software\Beckhoff\TwinCAT3\System + + + .sValName + DefaultAdapter + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 36928 + + + conditionalshow + + + + + state + BYTE + 8 + 36992 + + + conditionalshow + + + + + cbInfo + UDINT + 32 + 37024 + + + conditionalshow + + + + + idx + UDINT + 32 + 37056 + + + conditionalshow + + + + + info + ST_IP_ADAPTER_INFO + + 0 + 12 + + 61440 + 37088 + + + conditionalshow + + + + + pInfo + ST_IP_ADAPTER_INFO + 32 + 98528 + + 0 + + + + conditionalshow + + + + + nRealCount + UDINT + 32 + 98560 + + 0 + + + + conditionalshow + + + + + sDefaultA + T_MaxString + 2048 + 98592 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_GetPLCIPAddress + 101184 + + bEnable + BOOL + 8 + 32 + + + ItemType + Input + + + + + tRetryDelay + TIME + 32 + 64 + + 10000 + + + + ItemType + Input + + + + + sIPAddress + STRING(15) + 128 + 96 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 224 + + + ItemType + Output + + + + + bError + BOOL + 8 + 232 + + + ItemType + Output + + + + + fbGetAdapterIP + FB_GetAdaptersInfo + Acquire IP of the correct adapter + 100640 + 256 + + + .bExecute + 1 + + + .sNetID + + + + + + iIndex + UDINT + 32 + 100896 + + + tRetry + TON + 224 + 100928 + + + bReset + BOOL + 8 + 101152 + + + bInitialized + BOOL + 8 + 101160 + + 0 + + + + + PouType + FunctionBlock + + + + + CTU + Counter Up. CV is incremented by 1 if CU has a rising edge. Q is TRUE, if CV is reached PV. -]]>128CUBOOL832ItemTypeInputRESETBOOL840ItemTypeInputPVWORD1648ItemTypeInputQBOOL864ItemTypeOutputCVWORD1680ItemTypeOutputMBOOL896conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LogHandler5788736fbTcAdsListenerFB_Listener94553664ItemTypeInputpytmc + + 128 + + CU + BOOL + Count Up + 8 + 32 + + + ItemType + Input + + + + + RESET + BOOL + Reset Counter to 0 + 8 + 40 + + + ItemType + Input + + + + + PV + WORD + Counter Limit + 16 + 48 + + + ItemType + Input + + + + + Q + BOOL + Counter reached the Limit + 8 + 64 + + + ItemType + Output + + + + + CV + WORD + Current Counter Value + 16 + 80 + + + ItemType + Output + + + + + M + BOOL + 8 + 96 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LogHandler + 5788736 + + fbTcAdsListener + FB_Listener + 945536 + 64 + + + ItemType + Input + + + pytmc + pv: ADS - fbTcRouterListenerFB_Listener945536945600ItemTypeInputpytmc + + + + + + fbTcRouterListener + FB_Listener + 945536 + 945600 + + + ItemType + Input + + + pytmc + pv: Router - fbTcRTimeListenerFB_Listener9455361891136ItemTypeInputpytmc + + + + + + fbTcRTimeListener + FB_Listener + 945536 + 1891136 + + + ItemType + Input + + + pytmc + pv: RTime - fbTcSystemListenerFB_Listener9455362836672ItemTypeInputpytmc + + + + + + fbTcSystemListener + FB_Listener + 945536 + 2836672 + + + ItemType + Input + + + pytmc + pv: System - fbWindowsListenerFB_Listener9455363782208ItemTypeInputpytmc + + + + + + fbWindowsListener + FB_Listener + 945536 + 3782208 + + + ItemType + Input + + + pytmc + pv: Windows - fbLCLSListenerFB_Listener9455364727744ItemTypeInputpytmc + + + + + + fbLCLSListener + FB_Listener + 945536 + 4727744 + + + ItemType + Input + + + pytmc + pv: LCLS - bInitializedBOOL856732800bReadyToLogBOOL856732880rtFirstLogR_TRIG645673312fbGetHostNameFB_GetPLCHostname61765673376fbGetIPFB_GetPLCIPAddress1011845679552fbListenerFB_Listener325780736fbListenersFB_Listener061925780768eMinSeverityTcEventSeverity1657809600rtResetR_TRIG645780992namingomitbResetBOOL85781056fbSocketFB_ConnectionlessSocket67845781088nIUINT165787872SocketEnableBOOL85787888ctuSocketErrorCTU1285787904.PV3tRetryConnectionTON2245788032.PT3600000tofTrickleBreakerPreTOF2245788256.PT1000tonTrickleBreakerTON2245788480.PT10000bTripConBOOL85788704nNumListenersUINT1657887206CircuitBreakerPouTypeFunctionBlockE_EcCommState32UDINTeEcState_UNDEFINED0eEcState_INIT1eEcState_PREOP2eEcState_BOOT3eEcState_SAFEOP4eEcState_OP8ST_EcMasterDevState160eEcStateE_EcCommState320nReservedUINT034832bLinkErrorBOOL880bResetRequiredBOOL888bMissFrmRedModeBOOL896bWatchdogTriggerdBOOL8104bDriverNotFoundBOOL8112bResetActiveBOOL8120bAtLeastOneNotInOpBOOL8128bDcNotInSyncBOOL8136FB_EtherCATFrameDiag96wFrmXWcStateWORD1632ItemTypeInputwReqZeroMaskWORD164865535ItemTypeInputbFrameWcStateOKBOOL864ItemTypeOutputPouTypeFunctionBlockST_EcCrcErrorEx128portAUDINT320portBUDINT3232portCUDINT3264portDUDINT3296ST_SlaveState160eEcStateE_EcCommState320nReservedUINT1632bErrorBOOL848bInvalidVPRSBOOL856nReserved2UINT1664bNoCommToSlaveBOOL880bLinkErrorBOOL888bMissingLinkBOOL896bUnexpectedLinkBOOL8104bPortABOOL8112bPortBBOOL8120bPortCBOOL8128bPortDBOOL8136ST_SlaveStateInfo1696nIndexDINT320sNameSTRING(80)64832sTypeSTRING(80)648680nECAddrUINT161328bDiagDataBOOL81344stPortCRCErrorsST_EcCrcErrorEx1281376nSumCRCErrorsUDINT321504stStateST_SlaveState1601536ST_SlaveStateInfoScanned1376nIndexDINT320sNameSTRING(80)64832sTypeSTRING(80)648680nECAddrUINT161328bDifferentNameBOOL81344bDifferentTypeBOOL81352bDifferentAddrBOOL81360E_EcatDiagState16INTIdle0GetSlaveAddresses1GetSlaveStates2GetTopoDataLen3GetTopoData4ScanSlaves5GetSlaveIdentity6GetSlaveName7GetScannedSlaveName8LogDiagnostics9Done8000ADSREADEX1280NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputDESTADDRPVOID32352ItemTypeInputTcIgnorePersistentREADBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputCOUNT_RUDINT32512ItemTypeOutputPouTypeFunctionBlockhide_all_localsFB_EcGetSlaveCount1728sNetIdT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIdUDINT32320ItemTypeOutputnSlavesUINT16352ItemTypeOutputfbAdsReadExADSREADEX1280384conditionalshowRisingEdgeR_TRIG641664conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_EcGetAllSlaveAddr3552sNetIdT_AmsNetID19232ItemTypeInputpAddrBufUINT06553632224ItemTypeInputcbBufLenUDINT32256ItemTypeInputbExecuteBOOL8288ItemTypeInputtTimeoutTIME323205000ItemTypeInputbBusyBOOL8352ItemTypeOutputbErrorBOOL8360ItemTypeOutputnErrIdUDINT32384ItemTypeOutputnSlavesUINT16416ItemTypeOutputnStepUDINT32448conditionalshowfbAdsReadExADSREADEX1280480conditionalshowfbGetSlaveCountFB_EcGetSlaveCount17281760conditionalshowRisingEdgeR_TRIG643488conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_EcSlaveState16deviceStateBYTE80linkStateBYTE88FB_EcGetAllSlaveStates3552sNetIdT_AmsNetID19232ItemTypeInputpStateBufST_EcSlaveState06553632224ItemTypeInputcbBufLenUDINT32256ItemTypeInputbExecuteBOOL8288ItemTypeInputtTimeoutTIME323205000ItemTypeInputbBusyBOOL8352ItemTypeOutputbErrorBOOL8360ItemTypeOutputnErrIdUDINT32384ItemTypeOutputnSlavesUINT16416ItemTypeOutputnStepUDINT32448conditionalshowfbAdsReadExADSREADEX1280480conditionalshowfbGetSlaveCountFB_EcGetSlaveCount17281760conditionalshowRisingEdgeR_TRIG643488conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_PortAddr64portAUINT160portBUINT1616portCUINT1632portDUINT1648ST_TopologyData512iOwnPhysicalAddrUINT160iOwnAutoIncAddrUINT1616stPhysicalAddrST_PortAddr6432stAutoIncAddrST_PortAddr6496iPortDelayUDINT0396160iReservedUDINT08256256ST_EcSlaveIdentity128vendorIdUDINT320productCodeUDINT3232revisionNoUDINT3264serialNoUDINT3296ST_EcSlaveScannedData192nEntriesWORD160nAddrWORD1616stSlaveIdentityST_EcSlaveIdentity12832ndlStatusRegWORD16160ADSWRITE1216NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputSRCADDRPVOID32352ItemTypeInputTcIgnorePersistentWRITEBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsE_EcScanSlavesCommandStatus16INTeEcScanSlavesCommandState_Completed_NoErrors_NoReply0eEcScanSlavesCommandState_Completed_NoErrors_Reply1eEcScanSlavesCommandState_Completed_Error_NoReply2eEcScanSlavesCommandState_Completed_Error_Reply3eEcScanSlavesCommandState_Completed_Reserved4ST_EcScannedSlaveStatus48nScanStatusE_EcScanSlavesCommandStatus160nReservedUINT1616nSlavesUINT1632hideFB_EcGetScannedSlaves3520bExecuteBOOL832ItemTypeInputsNetIdT_AmsNetID19240ItemTypeInputpArrEcScannedSlaveInfoST_EcSlaveScannedData06553632256ItemTypeInputcbBufLenUDINT32288ItemTypeInputtTimeoutTIME323205000ItemTypeInputbBusyBOOL8352ItemTypeOutputbErrorBOOL8360ItemTypeOutputnErrorIdUDINT32384ItemTypeOutputnSlavesUINT16416ItemTypeOutputnTotalSlavesUINT16432nStateINT16448100conditionalshowfbTriggerR_TRIG64480conditionalshowfbAdsReadADSREAD1248544conditionalshowfbAdsWriteADSWRITE12161792conditionalshowstScanStatusST_EcScannedSlaveStatus483008conditionalshownIdxOffsUDINT323072conditionalshownIndexUINT163104conditionalshownBlockIndexUINT163120conditionalshownSlavesReadUINT163136conditionalshowstLocalInfoST_EcSlaveScannedData1923168conditionalshownScanCommandWORD16336065535conditionalshownSDO_IDX_SBP_SLAVEINFODATASTARTDWORD32339236864conditionalshownSDO_IDX_SBP_SCANCOMMANDSTARTDWORD32342461442conditionalshownSDO_IDX_SBP_SCANNEDSLAVESDWORD32345661504conditionalshownADSIOFFS_ECAT_COE_COMPLETEACCESSDWORD323488256conditionalshowPouTypeFunctionBlockFB_EcGetSlaveIdentity1824sNetIdT_AmsNetID19232ItemTypeInputnSlaveAddrUINT16224ItemTypeInputbExecuteBOOL8240ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIdUDINT32320ItemTypeOutputidentityST_EcSlaveIdentity128352ItemTypeOutputfbAdsReadExADSREADEX1280480conditionalshowRisingEdgeR_TRIG641760conditionalshowPouTypeFunctionBlockconditionalshow_all_localsIOF_GetBoxNameByAddr3968NETIDT_AmsNetID19232ItemTypeInputDEVICEIDUDINT32224ItemTypeInputBOXADDRUINT16256ItemTypeInputSTARTBOOL8272ItemTypeInputTMOUTTIME322885000ItemTypeInputBUSYBOOL8320ItemTypeOutputERRBOOL8328ItemTypeOutputERRIDUDINT32352ItemTypeOutputBOXNAMET_MaxString2048384ItemTypeOutputADSRDWRTEX1ADSRDWRTEX14402432.PORT300.IDXOFFS3RisingEdgeR_TRIG643872stateBYTE83936PouTypeFunctionBlockFB_EtherCATDiag1082816sIPCNetIDT_AmsNetID19232ItemTypeInputsMasterNetIDT_AmsNetID192224ItemTypeInputnMasterDevIDUINT16416ItemTypeInputnSlaveCountUINT16432ItemTypeInputnSlaveCountCfgUINT16448ItemTypeInputnMasterDevStateWORD16464ItemTypeInputbAllFrameWcStatesOKBOOL8480ItemTypeInputtTimeoutTIME325125000ItemTypeInputeSubSystemE_Subsystem165444ItemTypeInputbEtherCATOKBOOL8560ItemTypeOutputbFrameWcStateErrorBOOL8568ItemTypeOutputbSlaveCountErrorBOOL # of found slaves)]]>8576ItemTypeOutputbMasterDevStateErrorBOOL8584ItemTypeOutputstMasterDevStateST_EcMasterDevState160608ItemTypeOutputbBusyBOOL8768ItemTypeOutputbErrorBOOL8776ItemTypeOutputiErrorIDUDINT32800ItemTypeOutputarrDiagSlaveInfoST_SlaveStateInfo0432832ItemTypeInOutarrDiagSlaveInfoScannedST_SlaveStateInfoScanned0432864ItemTypeInOutiStateE_EcatDiagState16896nMasterDevStatePrevWORD16912bSlaveCountErrorPrevBOOL8928bAllFrameWcStatesOKPrevBOOL8936bDiagReqBOOL89441IUDINT32960PUDINT32992arrSlaveInfoST_SlaveStateInfo02574358721024rSlaveInfoST_SlaveStateInfo32436896fbGetSlaveAddressesFB_EcGetAllSlaveAddr3552436928arrSlaveAddressesUINT02574112440480iNumOfSlavesReadUINT16444592fbGetAllSlaveStatesFB_EcGetAllSlaveStates3552444608arrSlaveStatesST_EcSlaveState02574112448160iTopologyDataUDINT32452288fbGetTopologyDataADSREAD1248452320arrTopologyDataST_TopologyData0257131584453568aiDiagIndexUINT0464585152iDiagIndexUINT16585216aiDiagPortUINT0464585232iDiagPortUINT16585296iIdxDINT32585312fbEcGetScannedSlavesFB_EcGetScannedSlaves3520585344arrScannedSlaveInfoST_EcSlaveScannedData025749344588864rScannedSlaveInfoST_EcSlaveScannedData32638208nScannedSlavesUINT16638240fbGetSlaveIdentityFB_EcGetSlaveIdentity1824638272stIdentityST_EcSlaveIdentity128640096fbGetSlaveNameIOF_GetBoxNameByAddr3968640224arrSlaveInfoScannedST_SlaveStateInfoScanned0257353632644192rSlaveInfoScannedST_SlaveStateInfoScanned32997824strNameSTRING(80)648997856fbLoggerFB_LogMessage81600998528.eSubsystem4fbJsonFB_JsonSaxWriter2561080128fbJsonDataTypeFB_JsonReadWriteDatatype961080384rDiagSlaveInfoST_SlaveStateInfo321080480tEtherCATOKF_TRIG641080512tFrameWcStateErrorR_TRIG641080576tMasterErrorR_TRIG641080640jsonIdxUINT161080704testT_MaxString20481080720analysis-27M_ScanSlavesDiagnosticJsonM_GetSlaveStatesM_GetTopoDataM_GetSlaveNameM_GetScannedSlaveNameM_CheckMasterDevStateM_GetTopoDataLenM_GetSlaveAdressesM_GetSlaveIdentityPouTypeFunctionBlockAMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]T_AmsNetIdArr48AMSNETIDFB_EcatDiagWrapper1095936bAllFrameWcStatesOKBOOL832ItemTypeOutputbEtherCATOKBOOL840ItemTypeOutputbFrameWcStateErrorBOOL848ItemTypeOutputbSlaveCountErrorBOOL # of found slaves)]]>856ItemTypeOutputbMasterDevStateErrorBOOL864ItemTypeOutputstMasterDevStateST_EcMasterDevState16096ItemTypeOutputbBusyBOOL8256ItemTypeOutputbErrorBOOL8264ItemTypeOutputiErrorIDUDINT32288ItemTypeOutputfbEtherCATFrameDiagFB_EtherCATFrameDiag96320wFrmXWcStateWORD16416TcLinkToTIID^Device 1 (EtherCAT)^Inputs^Frm1WcStateTcAddressTypeInputwReqZeroMaskWORD1643265535bFrameWcStateOKBOOL8448fbEtherCATDiagFB_EtherCATDiag1082816512nEcMasterSlaveCountUINT161083328TcLinkToTIID^Device 1 (EtherCAT)^Inputs^SlaveCountTcAddressTypeInputnEcMasterDevStateUINT161083344TcLinkToTIID^Device 1 (EtherCAT)^Inputs^DevStateTcAddressTypeInputnEcMasterDeviceIdUINT161083360TcLinkToTIID^Device 1 (EtherCAT)^InfoData^DevIdTcAddressTypeInputarrEcMasterNetIdT_AmsNetIdArr481083376TcLinkToTIID^Device 1 (EtherCAT)^InfoData^AmsNetIdTcAddressTypeInputsEcMasterNetIdT_AmsNetID1921083424nEcMasterSlaveCountCfgUINT161083616TcLinkToTIID^Device 1 (EtherCAT)^InfoData^CfgSlaveCountTcAddressTypeInputarrDiagSlaveInfoST_SlaveStateInfo0467841083648arrDiagSlaveInfoScannedST_SlaveStateInfoScanned0455041090432PouTypeFunctionBlockI_HigherAuthority32PVOIDCheckRequestBOOL8nReqIDDWORD32RemoveRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760I_LowerAuthority32PVOID__getnLowerAuthorityIDDWORD32propertyElevateRequestBOOL8HigherAuthorityI_HigherAuthority32T_HashTableEntry64keyDWORD3200pytmc + + + + + + bInitialized + BOOL + 8 + 5673280 + + 0 + + + + bReadyToLog + BOOL + 8 + 5673288 + + 0 + + + + rtFirstLog + R_TRIG + 64 + 5673312 + + + fbGetHostName + FB_GetPLCHostname + 6176 + 5673376 + + + fbGetIP + FB_GetPLCIPAddress + 101184 + 5679552 + + + fbListener + FB_Listener + 32 + 5780736 + + + fbListeners + FB_Listener + + 0 + 6 + + 192 + 5780768 + + + eMinSeverity + TcEventSeverity + Default minimum severity for subscriptions + 16 + 5780960 + + 0 + + + + rtReset + R_TRIG + Reset trigger + 64 + 5780992 + + + naming + omit + + + + + bReset + BOOL + 8 + 5781056 + + + fbSocket + FB_ConnectionlessSocket + 6784 + 5781088 + + + nI + UINT + 16 + 5787872 + + + SocketEnable + BOOL + 8 + 5787888 + + + ctuSocketError + CTU + Circuit breaker for socket errors. 3 errors before it stops. + 128 + 5787904 + + + .PV + 3 + + + + + tRetryConnection + TON + Retry after an hour + 224 + 5788032 + + + .PT + 3600000 + + + + + tofTrickleBreakerPre + TOF + 224 + 5788256 + + + .PT + 1000 + + + + + tonTrickleBreaker + TON + 224 + 5788480 + + + .PT + 10000 + + + + + bTripCon + BOOL + 8 + 5788704 + + + nNumListeners + UINT + 16 + 5788720 + + 6 + + + + CircuitBreaker + + + + PouType + FunctionBlock + + + + + E_EcCommState + 32 + UDINT + + eEcState_UNDEFINED + 0 + + + eEcState_INIT + 1 + + + eEcState_PREOP + 2 + + + eEcState_BOOT + 3 + + + eEcState_SAFEOP + 4 + + + eEcState_OP + 8 + + + + ST_EcMasterDevState + 160 + + eEcState + E_EcCommState + 32 + 0 + + + nReserved + UINT + + 0 + 3 + + 48 + 32 + + + bLinkError + BOOL + 8 + 80 + + + bResetRequired + BOOL + 8 + 88 + + + bMissFrmRedMode + BOOL + 8 + 96 + + + bWatchdogTriggerd + BOOL + 8 + 104 + + + bDriverNotFound + BOOL + 8 + 112 + + + bResetActive + BOOL + 8 + 120 + + + bAtLeastOneNotInOp + BOOL + 8 + 128 + + + bDcNotInSync + BOOL + 8 + 136 + + + + FB_EtherCATFrameDiag + 96 + + wFrmXWcState + WORD + FrmXWcState + 16 + 32 + + + ItemType + Input + + + + + wReqZeroMask + WORD + mask, bit TRUE: require wFrmXWcState.bit = FALSE, bit FALSE: ignore wFrmXWcState.bit *) + 16 + 48 + + 65535 + + + + ItemType + Input + + + + + bFrameWcStateOK + BOOL + result of fram state check + 8 + 64 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + + + ST_EcCrcErrorEx + 128 + + portA + UDINT + 32 + 0 + + + portB + UDINT + 32 + 32 + + + portC + UDINT + 32 + 64 + + + portD + UDINT + 32 + 96 + + + + ST_SlaveState + 160 + + eEcState + E_EcCommState + slave state + 32 + 0 + + + nReserved + UINT + 16 + 32 + + + bError + BOOL + 8 + 48 + + + bInvalidVPRS + BOOL + 8 + 56 + + + nReserved2 + UINT + 16 + 64 + + + bNoCommToSlave + BOOL + link state + 8 + 80 + + + bLinkError + BOOL + 8 + 88 + + + bMissingLink + BOOL + 8 + 96 + + + bUnexpectedLink + BOOL + 8 + 104 + + + bPortA + BOOL + 8 + 112 + + + bPortB + BOOL + 8 + 120 + + + bPortC + BOOL + 8 + 128 + + + bPortD + BOOL + 8 + 136 + + + + ST_SlaveStateInfo + 1696 + + nIndex + DINT + 32 + 0 + + + sName + STRING(80) + name of slave given in System Manager + 648 + 32 + + + sType + STRING(80) + type of slave, e.g. EK1100 + 648 + 680 + + + nECAddr + UINT + EtherCAT Slave Addr + 16 + 1328 + + + bDiagData + BOOL + DiagData in Slave State + 8 + 1344 + + + stPortCRCErrors + ST_EcCrcErrorEx + Slave CRC-Errors, separate for each Port + 128 + 1376 + + + nSumCRCErrors + UDINT + Slave CRC-Errors, sum of all Ports + 32 + 1504 + + + stState + ST_SlaveState + EtherCAT State and Link state + 160 + 1536 + + + + ST_SlaveStateInfoScanned + 1376 + + nIndex + DINT + 32 + 0 + + + sName + STRING(80) + name of slave given in System Manager + 648 + 32 + + + sType + STRING(80) + type of slave, e.g. EK1100 + 648 + 680 + + + nECAddr + UINT + EtherCAT Slave Addr + 16 + 1328 + + + bDifferentName + BOOL + Name of Scanned configuration differs from Configured configuration + 8 + 1344 + + + bDifferentType + BOOL + Type Of Scanned configuration differs from Configured configuration + 8 + 1352 + + + bDifferentAddr + BOOL + EcAddress of Scanned configuration differs from Configured configuration + 8 + 1360 + + + + E_EcatDiagState + 16 + INT + + Idle + 0 + + + GetSlaveAddresses + 1 + + + GetSlaveStates + 2 + + + GetTopoDataLen + 3 + + + GetTopoData + 4 + + + ScanSlaves + 5 + + + GetSlaveIdentity + 6 + + + GetSlaveName + 7 + + + GetScannedSlaveName + 8 + + + LogDiagnostics + 9 + + + Done + 8000 + + + + ADSREADEX + Extended ADS read command. + 1280 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + LEN + UDINT + Max. number of data bytes to read (LEN <= max. size of destination buffer) + 32 + 320 + + + ItemType + Input + + + + + DESTADDR + PVOID + Pointer to destination buffer + 32 + 352 + + + ItemType + Input + + + TcIgnorePersistent + + + + + READ + BOOL + Rising edge starts command execution + 8 + 384 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 448 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 456 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 480 + + + ItemType + Output + + + + + COUNT_R + UDINT + Count of bytes actually read + 32 + 512 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + FB_EcGetSlaveCount + The FB_EcGetSlaveCount gets the count of EtherCAT slave devices connected to the master. + 1728 + + sNetId + T_AmsNetID + AmsNetId of the EtherCAT master device. + 192 + 32 + + + ItemType + Input + + + + + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 + 224 + + + ItemType + Input + + + + + tTimeout + TIME + States the time before the function is cancelled. + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 320 + + + ItemType + Output + + + + + nSlaves + UINT + Count of EtherCAT slave devices. + 16 + 352 + + + ItemType + Output + + + + + fbAdsReadEx + ADSREADEX + 1280 + 384 + + + conditionalshow + + + + + RisingEdge + R_TRIG + 64 + 1664 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_EcGetAllSlaveAddr + The FB_EcGetAllSlaveAddr gets the addresses of alle EtherCAT slave devices connected to the master. + 3552 + + sNetId + T_AmsNetID + AmsNetId of the EtherCAT master device. + 192 + 32 + + + ItemType + Input + + + + + pAddrBuf + UINT + + 0 + 65536 + + Contains the address of the buffer the addresses are copied to. + 32 + 224 + + + ItemType + Input + + + + + cbBufLen + UDINT + Size of the buffer pAddrBuf. The size of the buffer must be at least nSlave * 2 Bytes. + 32 + 256 + + + ItemType + Input + + + + + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 + 288 + + + ItemType + Input + + + + + tTimeout + TIME + States the time before the function is cancelled. + 32 + 320 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 352 + + + ItemType + Output + + + + + bError + BOOL + 8 + 360 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 384 + + + ItemType + Output + + + + + nSlaves + UINT + 16 + 416 + + + ItemType + Output + + + + + nStep + UDINT + 32 + 448 + + + conditionalshow + + + + + fbAdsReadEx + ADSREADEX + 1280 + 480 + + + conditionalshow + + + + + fbGetSlaveCount + FB_EcGetSlaveCount + 1728 + 1760 + + + conditionalshow + + + + + RisingEdge + R_TRIG + 64 + 3488 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ST_EcSlaveState + 16 + + deviceState + BYTE + 8 + 0 + + + linkState + BYTE + 8 + 8 + + + + FB_EcGetAllSlaveStates + The FB_EcGetAllSlaveStates gets the current states of all EtherCAT slave devices. + 3552 + + sNetId + T_AmsNetID + AmsNetId of the EtherCAT master device. + 192 + 32 + + + ItemType + Input + + + + + pStateBuf + ST_EcSlaveState + + 0 + 65536 + + Contains the address of the buffer the states are copied to. + 32 + 224 + + + ItemType + Input + + + + + cbBufLen + UDINT + Size of the buffer pStateBuf. The size of the buffer must be at least nSlave * 2 Bytes. + 32 + 256 + + + ItemType + Input + + + + + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 + 288 + + + ItemType + Input + + + + + tTimeout + TIME + States the time before the function is cancelled. + 32 + 320 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 352 + + + ItemType + Output + + + + + bError + BOOL + 8 + 360 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 384 + + + ItemType + Output + + + + + nSlaves + UINT + 16 + 416 + + + ItemType + Output + + + + + nStep + UDINT + 32 + 448 + + + conditionalshow + + + + + fbAdsReadEx + ADSREADEX + 1280 + 480 + + + conditionalshow + + + + + fbGetSlaveCount + FB_EcGetSlaveCount + 1728 + 1760 + + + conditionalshow + + + + + RisingEdge + R_TRIG + 64 + 3488 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ST_PortAddr + 64 + + portA + UINT + 16 + 0 + + + portB + UINT + 16 + 16 + + + portC + UINT + 16 + 32 + + + portD + UINT + 16 + 48 + + + + ST_TopologyData + 512 + + iOwnPhysicalAddr + UINT + 16 + 0 + + + iOwnAutoIncAddr + UINT + 16 + 16 + + + stPhysicalAddr + ST_PortAddr + 64 + 32 + + + stAutoIncAddr + ST_PortAddr + 64 + 96 + + + iPortDelay + UDINT + + 0 + 3 + + EC_AD, EC_DB, EC_BC + 96 + 160 + + + iReserved + UDINT + + 0 + 8 + + 256 + 256 + + + + ST_EcSlaveIdentity + 128 + + vendorId + UDINT + 32 + 0 + + + productCode + UDINT + 32 + 32 + + + revisionNo + UDINT + 32 + 64 + + + serialNo + UDINT + 32 + 96 + + + + ST_EcSlaveScannedData + 192 + + nEntries + WORD + 16 + 0 + + + nAddr + WORD + 16 + 16 + + + stSlaveIdentity + ST_EcSlaveIdentity + 128 + 32 + + + ndlStatusReg + WORD + 16 + 160 + + + + ADSWRITE + ADS write command. + 1216 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + LEN + UDINT + Max. number of data bytes to write (LEN <= max. size of source buffer) + 32 + 320 + + + ItemType + Input + + + + + SRCADDR + PVOID + Pointer to source buffer + 32 + 352 + + + ItemType + Input + + + TcIgnorePersistent + + + + + WRITE + BOOL + Rising edge starts command execution + 8 + 384 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 448 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 456 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 480 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + E_EcScanSlavesCommandStatus + 16 + INT + + eEcScanSlavesCommandState_Completed_NoErrors_NoReply + 0 + completed, no errors, no reply + + + eEcScanSlavesCommandState_Completed_NoErrors_Reply + 1 + completed, no errors, reply + + + eEcScanSlavesCommandState_Completed_Error_NoReply + 2 + completed, errors, no reply + + + eEcScanSlavesCommandState_Completed_Error_Reply + 3 + completed, errors, reply + + + eEcScanSlavesCommandState_Completed_Reserved + 4 + reserved + + + + ST_EcScannedSlaveStatus + 48 + + nScanStatus + E_EcScanSlavesCommandStatus + 16 + 0 + + + nReserved + UINT + 16 + 16 + + + nSlaves + UINT + 16 + 32 + + + + hide + + + + + FB_EcGetScannedSlaves + 3520 + + bExecute + BOOL + 8 + 32 + + + ItemType + Input + + + + + sNetId + T_AmsNetID + AmsNetId of the EtherCAT master device. + 192 + 40 + + + ItemType + Input + + + + + pArrEcScannedSlaveInfo + ST_EcSlaveScannedData + + 0 + 65536 + + 32 + 256 + + + ItemType + Input + + + + + cbBufLen + UDINT + Size of the buffer arrEcConfSlaveInfo. The size of the buffer must be at least nSlave * SIZEOF(ST_EcSlaveScannedData). + 32 + 288 + + + ItemType + Input + + + + + tTimeout + TIME + States the time before the function is cancelled. + 32 + 320 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 352 + + + ItemType + Output + + + + + bError + BOOL + 8 + 360 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 384 + + + ItemType + Output + + + + + nSlaves + UINT + 16 + 416 + + + ItemType + Output + + + + + nTotalSlaves + UINT + 16 + 432 + + + nState + INT + 16 + 448 + + 100 + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 480 + + + conditionalshow + + + + + fbAdsRead + ADSREAD + 1248 + 544 + + + conditionalshow + + + + + fbAdsWrite + ADSWRITE + 1216 + 1792 + + + conditionalshow + + + + + stScanStatus + ST_EcScannedSlaveStatus + 48 + 3008 + + + conditionalshow + + + + + nIdxOffs + UDINT + 32 + 3072 + + + conditionalshow + + + + + nIndex + UINT + 16 + 3104 + + + conditionalshow + + + + + nBlockIndex + UINT + 16 + 3120 + + + conditionalshow + + + + + nSlavesRead + UINT + 16 + 3136 + + + conditionalshow + + + + + stLocalInfo + ST_EcSlaveScannedData + 192 + 3168 + + + conditionalshow + + + + + nScanCommand + WORD + 16 + 3360 + + 65535 + + + + conditionalshow + + + + + nSDO_IDX_SBP_SLAVEINFODATASTART + DWORD + 32 + 3392 + + 36864 + + + + conditionalshow + + + + + nSDO_IDX_SBP_SCANCOMMANDSTART + DWORD + 32 + 3424 + + 61442 + + + + conditionalshow + + + + + nSDO_IDX_SBP_SCANNEDSLAVES + DWORD + 32 + 3456 + + 61504 + + + + conditionalshow + + + + + nADSIOFFS_ECAT_COE_COMPLETEACCESS + DWORD + 32 + 3488 + + 256 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + + + FB_EcGetSlaveIdentity + The FB_EcGetSlaveIdentity gets the identity of an individual EtherCAT slave device. + 1824 + + sNetId + T_AmsNetID + AmsNetId of the EtherCAT master device. + 192 + 32 + + + ItemType + Input + + + + + nSlaveAddr + UINT + Address of the slave device. + 16 + 224 + + + ItemType + Input + + + + + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 + 240 + + + ItemType + Input + + + + + tTimeout + TIME + States the time before the function is cancelled. + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 320 + + + ItemType + Output + + + + + identity + ST_EcSlaveIdentity + Slave identity of the EtherCAT slave devie. + 128 + 352 + + + ItemType + Output + + + + + fbAdsReadEx + ADSREADEX + 1280 + 480 + + + conditionalshow + + + + + RisingEdge + R_TRIG + 64 + 1760 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + IOF_GetBoxNameByAddr + 3968 + + NETID + T_AmsNetID + 192 + 32 + + + ItemType + Input + + + + + DEVICEID + UDINT + 32 + 224 + + + ItemType + Input + + + + + BOXADDR + UINT + 16 + 256 + + + ItemType + Input + + + + + START + BOOL + 8 + 272 + + + ItemType + Input + + + + + TMOUT + TIME + 32 + 288 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + 8 + 320 + + + ItemType + Output + + + + + ERR + BOOL + 8 + 328 + + + ItemType + Output + + + + + ERRID + UDINT + 32 + 352 + + + ItemType + Output + + + + + BOXNAME + T_MaxString + 2048 + 384 + + + ItemType + Output + + + + + ADSRDWRTEX1 + ADSRDWRTEX + 1440 + 2432 + + + .PORT + 300 + + + .IDXOFFS + 3 + + + + + RisingEdge + R_TRIG + 64 + 3872 + + + state + BYTE + 8 + 3936 + + + + PouType + FunctionBlock + + + + + FB_EtherCATDiag + 1082816 + + sIPCNetID + T_AmsNetID + AmsNetId of the IPC + 192 + 32 + + + ItemType + Input + + + + + sMasterNetID + T_AmsNetID + AmsNetId of the EtherCAT master device + 192 + 224 + + + ItemType + Input + + + + + nMasterDevID + UINT + Device ID of EtherCAT master + 16 + 416 + + + ItemType + Input + + + + + nSlaveCount + UINT + current slave count + 16 + 432 + + + ItemType + Input + + + + + nSlaveCountCfg + UINT + configured slave count + 16 + 448 + + + ItemType + Input + + + + + nMasterDevState + WORD + device state of EtherCAT Master + 16 + 464 + + + ItemType + Input + + + + + bAllFrameWcStatesOK + BOOL + all FrameWcState OK? + 8 + 480 + + + ItemType + Input + + + + + tTimeout + TIME + ads timeout + 32 + 512 + + 5000 + + + + ItemType + Input + + + + + eSubSystem + E_Subsystem + Subsystem, change to (MPS, VACUUM, MOTION, etc) + 16 + 544 + + 4 + + + + ItemType + Input + + + + + bEtherCATOK + BOOL + no problem on EtherCAT + 8 + 560 + + + ItemType + Output + + + + + bFrameWcStateError + BOOL + error in at least one frame + 8 + 568 + + + ItemType + Output + + + + + bSlaveCountError + BOOL + EtherCAT slave count mismatch (# of cfg slaves <> # of found slaves) + 8 + 576 + + + ItemType + Output + + + + + bMasterDevStateError + BOOL + error in master device state + 8 + 584 + + + ItemType + Output + + + + + stMasterDevState + ST_EcMasterDevState + splitted master device state + 160 + 608 + + + ItemType + Output + + + + + bBusy + BOOL + FB busy + 8 + 768 + + + ItemType + Output + + + + + bError + BOOL + FB with error + 8 + 776 + + + ItemType + Output + + + + + iErrorID + UDINT + FB error ID + 32 + 800 + + + ItemType + Output + + + + + arrDiagSlaveInfo + ST_SlaveStateInfo + + 0 + 4 + + read in info from configured slaves + 32 + 832 + + + ItemType + InOut + + + + + arrDiagSlaveInfoScanned + ST_SlaveStateInfoScanned + + 0 + 4 + + read in info from scanned slaves + 32 + 864 + + + ItemType + InOut + + + + + iState + E_EcatDiagState + 16 + 896 + + + nMasterDevStatePrev + WORD + 16 + 912 + + + bSlaveCountErrorPrev + BOOL + 8 + 928 + + + bAllFrameWcStatesOKPrev + BOOL + 8 + 936 + + + bDiagReq + BOOL + 8 + 944 + + 1 + + + + I + UDINT + 32 + 960 + + + P + UDINT + 32 + 992 + + + arrSlaveInfo + ST_SlaveStateInfo + + 0 + 257 + + 435872 + 1024 + + + rSlaveInfo + ST_SlaveStateInfo + 32 + 436896 + + + fbGetSlaveAddresses + FB_EcGetAllSlaveAddr + -- Get Slave Addresses + 3552 + 436928 + + + arrSlaveAddresses + UINT + + 0 + 257 + + 4112 + 440480 + + + iNumOfSlavesRead + UINT + 16 + 444592 + + + fbGetAllSlaveStates + FB_EcGetAllSlaveStates + -- Get Slave States + 3552 + 444608 + + + arrSlaveStates + ST_EcSlaveState + + 0 + 257 + + 4112 + 448160 + + + iTopologyData + UDINT + -- Get Topology Data + 32 + 452288 + + + fbGetTopologyData + ADSREAD + 1248 + 452320 + + + arrTopologyData + ST_TopologyData + + 0 + 257 + + 131584 + 453568 + + + aiDiagIndex + UINT + + 0 + 4 + + -- Check Topology + 64 + 585152 + + + iDiagIndex + UINT + 16 + 585216 + + + aiDiagPort + UINT + + 0 + 4 + + 64 + 585232 + + + iDiagPort + UINT + 16 + 585296 + + + iIdx + DINT + 32 + 585312 + + + fbEcGetScannedSlaves + FB_EcGetScannedSlaves + -- Scan Slaves + 3520 + 585344 + + + arrScannedSlaveInfo + ST_EcSlaveScannedData + + 0 + 257 + + what... + 49344 + 588864 + + + rScannedSlaveInfo + ST_EcSlaveScannedData + 32 + 638208 + + + nScannedSlaves + UINT + 16 + 638240 + + + fbGetSlaveIdentity + FB_EcGetSlaveIdentity + -- Get Slave Identities + 1824 + 638272 + + + stIdentity + ST_EcSlaveIdentity + 128 + 640096 + + + fbGetSlaveName + IOF_GetBoxNameByAddr + -- Get Slave Names + 3968 + 640224 + + + arrSlaveInfoScanned + ST_SlaveStateInfoScanned + + 0 + 257 + + the F + 353632 + 644192 + + + rSlaveInfoScanned + ST_SlaveStateInfoScanned + 32 + 997824 + + + strName + STRING(80) + 648 + 997856 + + + fbLogger + FB_LogMessage + Logging components + 81600 + 998528 + + + .eSubsystem + 4 + + + + + fbJson + FB_JsonSaxWriter + 256 + 1080128 + + + fbJsonDataType + FB_JsonReadWriteDatatype + 96 + 1080384 + + + rDiagSlaveInfo + ST_SlaveStateInfo + 32 + 1080480 + + + tEtherCATOK + F_TRIG + 64 + 1080512 + + + tFrameWcStateError + R_TRIG + 64 + 1080576 + + + tMasterError + R_TRIG + 64 + 1080640 + + + jsonIdx + UINT + 16 + 1080704 + + + test + T_MaxString + 2048 + 1080720 + + + analysis + -27 + + + + + M_ScanSlaves + + + DiagnosticJson + + + M_GetSlaveStates + + + M_GetTopoData + + + M_GetSlaveName + + + M_GetScannedSlaveName + + + M_CheckMasterDevState + + + M_GetTopoDataLen + + + M_GetSlaveAdresses + + + M_GetSlaveIdentity + + + + PouType + FunctionBlock + + + + + AMSNETID + 48 + BYTE + + 0 + 6 + + + %d.%d.%d.%d.%d.%d + [0] + [1] + [2] + [3] + [4] + [5] + + + + T_AmsNetIdArr + TwinCAT AMS netID address bytes. + 48 + AMSNETID + + + FB_EcatDiagWrapper + 1095936 + + bAllFrameWcStatesOK + BOOL + all frames are OK + 8 + 32 + + + ItemType + Output + + + + + bEtherCATOK + BOOL + no problem on EtherCAT + 8 + 40 + + + ItemType + Output + + + + + bFrameWcStateError + BOOL + at least one fram with error + 8 + 48 + + + ItemType + Output + + + + + bSlaveCountError + BOOL + EtherCAT slave count mismatch (# of cfg slaves <> # of found slaves) + 8 + 56 + + + ItemType + Output + + + + + bMasterDevStateError + BOOL + EtherCAT master device state signals error + 8 + 64 + + + ItemType + Output + + + + + stMasterDevState + ST_EcMasterDevState + device state split to a structure + 160 + 96 + + + ItemType + Output + + + + + bBusy + BOOL + diagnostic FB is busy + 8 + 256 + + + ItemType + Output + + + + + bError + BOOL + diagnostic FB has an error + 8 + 264 + + + ItemType + Output + + + + + iErrorID + UDINT + error ID of diagnostic FB + 32 + 288 + + + ItemType + Output + + + + + fbEtherCATFrameDiag + FB_EtherCATFrameDiag + frame diagnostic + 96 + 320 + + + wFrmXWcState + WORD + link to task related ethercat frame state (Frm1WcState) + 16 + 416 + + + TcLinkTo + TIID^Device 1 (EtherCAT)^Inputs^Frm1WcState + + + TcAddressType + Input + + + + + wReqZeroMask + WORD + clear bit to ignore datagram error of Frm1WcState + 16 + 432 + + 65535 + + + + bFrameWcStateOK + BOOL + this frame is OK + 8 + 448 + + + fbEtherCATDiag + FB_EtherCATDiag + deep EtherCAT diagnostic + 1082816 + 512 + + + nEcMasterSlaveCount + UINT + link to SlaveCount of EtherCAT Master (Inputs) + 16 + 1083328 + + + TcLinkTo + TIID^Device 1 (EtherCAT)^Inputs^SlaveCount + + + TcAddressType + Input + + + + + nEcMasterDevState + UINT + link to DevState of EtherCAT Master (Inputs) + 16 + 1083344 + + + TcLinkTo + TIID^Device 1 (EtherCAT)^Inputs^DevState + + + TcAddressType + Input + + + + + nEcMasterDeviceId + UINT + link to DevID of EtherCAT Master (InfoData) + 16 + 1083360 + + + TcLinkTo + TIID^Device 1 (EtherCAT)^InfoData^DevId + + + TcAddressType + Input + + + + + arrEcMasterNetId + T_AmsNetIdArr + link to NetID of EtherCAT Master (InfoData) + 48 + 1083376 + + + TcLinkTo + TIID^Device 1 (EtherCAT)^InfoData^AmsNetId + + + TcAddressType + Input + + + + + sEcMasterNetId + T_AmsNetID + 192 + 1083424 + + + + + + nEcMasterSlaveCountCfg + UINT + link to CfgSlaveCount of EtherCAT Master (InfoData) + 16 + 1083616 + + + TcLinkTo + TIID^Device 1 (EtherCAT)^InfoData^CfgSlaveCount + + + TcAddressType + Input + + + + + arrDiagSlaveInfo + ST_SlaveStateInfo + + 0 + 4 + + read in info of configured EtherCAT slaves + 6784 + 1083648 + + + arrDiagSlaveInfoScanned + ST_SlaveStateInfoScanned + + 0 + 4 + + read in info of scanned EtherCAT slaves + 5504 + 1090432 + + + + PouType + FunctionBlock + + + + + I_HigherAuthority + 32 + PVOID + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + + I_LowerAuthority + 32 + PVOID + + __getnLowerAuthorityID + DWORD + 32 + + + property + + + + + ElevateRequest + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + + T_HashTableEntry + 64 + + key + DWORD + 32 + 0 + + 0 + + + + pytmc + pv: Key io: i - valuePVOID32320ST_BP_ArbInternal2464ST_BeamParamsnIdDWORD321760pytmcpv: ID + + + + + + value + PVOID + 32 + 32 + + 0 + + + + + ST_BP_ArbInternal + 2464 + ST_BeamParams + + nId + DWORD + 32 + 1760 + + + pytmc + pv: ID io: i - LiveInTableBOOL81792pytmcpv: Live + + + + + + LiveInTable + BOOL + 8 + 1792 + + + pytmc + pv: Live io: i - sDevNameSTRING(80)6481800pytmcpv: Device + + + + + + sDevName + STRING(80) + 648 + 1800 + + + pytmc + pv: Device io: i - T_HashTableEntry192keyDWORD3200valuePVOID32320lockDWORD: 0 = node free, 1 = node in use, other bits reserved ]]>32640conditionalshowpNextPVOID32960conditionalshowpNextFreePVOID321280conditionalshowpNextGlobPVOID321600conditionalshowT_HHASHTABLE3488nCountUDINT3200nFreeUDINT32320pEntriesT_HashTableEntry32640conditionalshowcbEntriesUDINT32960conditionalshownElementsUDINT321280conditionalshowcbElementUDINT321600conditionalshowpEntrysT_HashTableEntry01013232192conditionalshowpFreeEntrysT_HashTableEntry3234240conditionalshowpFirstEntryT_HashTableEntry3234560conditionalshowFB_HashTableCtrl352hTableT_HHASHTABLE3232ItemTypeInOutkeyDWORD32640ItemTypeInputputValuePVOID32960ItemTypeInputputPosPtrT_HashTableEntry321280ItemTypeInputbOkBOOL81600ItemTypeOutputgetValuePVOID321920ItemTypeOutputgetPosPtrT_HashTableEntry322240ItemTypeOutputpT_HashTableEntry322560conditionalshownT_HashTableEntry322880conditionalshownHashDWORD323200conditionalshowA_ResetA_RemoveAllA_GetNextA_GetIndexAtPosPtrA_AddA_RemoveA_GetFirstA_RemoveFirstA_LookupPouTypeFunctionBlockconditionalshow_all_localsFB_BeamParamAssertionPool214336keyDWORD32320ItemTypeInputputPosPtrT_HashTableEntry32640ItemTypeInputputValueST_BP_ArbInternal246496ItemTypeInputbOkBOOL825600ItemTypeOutputgetPosPtrT_HashTableEntry3225920ItemTypeOutputgetValueST_BP_ArbInternal24642624ItemTypeOutputnCountUDINT3250880ItemTypeOutputepicsDataPoolST_BP_ArbInternal120492805120pytmc + + + + + + + T_HashTableEntry + Hash table entry + 192 + + key + DWORD + Entry key: 32 bit unsigned integer or pointer + 32 + 0 + + 0 + + + + value + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 32 + + 0 + + + + lock + DWORD + Node state flags: Bit 0 <0..1>: 0 = node free, 1 = node in use, other bits reserved + 32 + 64 + + 0 + + + + conditionalshow + + + + + pNext + PVOID + Pointer to next hash table element + 32 + 96 + + 0 + + + + conditionalshow + + + + + pNextFree + PVOID + Pointer to next free element + 32 + 128 + + 0 + + + + conditionalshow + + + + + pNextGlob + PVOID + Pointer to next global element + 32 + 160 + + 0 + + + + conditionalshow + + + + + + T_HHASHTABLE + Hash table object handle + 3488 + + nCount + UDINT + Number of used hash table entries + 32 + 0 + + 0 + + + + nFree + UDINT + Number of free hash table entries + 32 + 32 + + 0 + + + + pEntries + T_HashTableEntry + Pointer to table array + 32 + 64 + + 0 + + + + conditionalshow + + + + + cbEntries + UDINT + Byte size of table array + 32 + 96 + + 0 + + + + conditionalshow + + + + + nElements + UDINT + Number of table/array elements + 32 + 128 + + 0 + + + + conditionalshow + + + + + cbElement + UDINT + Byte size of one array element + 32 + 160 + + 0 + + + + conditionalshow + + + + + pEntrys + T_HashTableEntry + + 0 + 101 + + 3232 + 192 + + + conditionalshow + + + + + pFreeEntrys + T_HashTableEntry + 32 + 3424 + + 0 + + + + conditionalshow + + + + + pFirstEntry + T_HashTableEntry + 32 + 3456 + + 0 + + + + conditionalshow + + + + + + FB_HashTableCtrl + Hash table control function block + 352 + + hTable + T_HHASHTABLE + Hash table handle variable + 32 + 32 + + + ItemType + InOut + + + + + key + DWORD + Entry key: 32 bit unsigned integer or pointer, used by A_Lookup, A_Remove method, the key.lookup variable is also used by A_Add method + 32 + 64 + + 0 + + + + ItemType + Input + + + + + putValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 96 + + 0 + + + + ItemType + Input + + + + + putPosPtr + T_HashTableEntry + Hash table entry position pointer, used by A_GetNext + 32 + 128 + + 0 + + + + ItemType + Input + + + + + bOk + BOOL + TRUE = success, FALSE = error + 8 + 160 + + 0 + + + + ItemType + Output + + + + + getValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 192 + + 0 + + + + ItemType + Output + + + + + getPosPtr + T_HashTableEntry + returned by A_GetFirstEntry, A_GetNextEntry, A_Add, A_Lookup and A_Remove method + 32 + 224 + + 0 + + + + ItemType + Output + + + + + p + T_HashTableEntry + 32 + 256 + + 0 + + + + conditionalshow + + + + + n + T_HashTableEntry + 32 + 288 + + 0 + + + + conditionalshow + + + + + nHash + DWORD + 32 + 320 + + 0 + + + + conditionalshow + + + + + A_Reset + + + A_RemoveAll + + + A_GetNext + + + A_GetIndexAtPosPtr + + + A_Add + + + A_Remove + + + A_GetFirst + + + A_RemoveFirst + + + A_Lookup + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_BeamParamAssertionPool + This function block implements simple database. Data element values are stored in the hash table. + 214336 + + key + DWORD + Entry key: used by A_Lookup, A_Remove method, the key variable is also used by A_Add method + 32 + 32 + + 0 + + + + ItemType + Input + + + + + putPosPtr + T_HashTableEntry + Hash table entry position pointer (used by A_Find, A_GetNext, A_GetPrev) + 32 + 64 + + 0 + + + + ItemType + Input + + + + + putValue + ST_BP_ArbInternal + Hash table entry value (used by A_AddHead, A_AddTail, A_Find ) + 2464 + 96 + + + ItemType + Input + + + + + bOk + BOOL + TRUE = Success, FALSE = Failed + 8 + 2560 + + 0 + + + + ItemType + Output + + + + + getPosPtr + T_HashTableEntry + Returned hash table entry position pointer + 32 + 2592 + + 0 + + + + ItemType + Output + + + + + getValue + ST_BP_ArbInternal + Returned hash table entry value + 2464 + 2624 + + + ItemType + Output + + + + + nCount + UDINT + Hash table size (number of used entries, used by A_Count) + 32 + 5088 + + 0 + + + + ItemType + Output + + + + + epicsDataPool + ST_BP_ArbInternal + + 1 + 20 + + Structured data element pool for display in EPICS + 49280 + 5120 + + + pytmc + pv: Entry io: i - dataPoolST_BP_ArbInternal06115030454400entriesT_HashTableEntry0613904204704fbTableFB_HashTableCtrl352208608hTableT_HHASHTABLE3488208960pRefPtrST_BP_ArbInternal322124480indexOfElemULINT32bit, x64=>64bit)]]>64212480cstSafeBeamST_BeamParams1760212544.nTran0.neVRange0.nRate0.nBCRange0A_ResetA_CountDataPoolToEpicsA_AddA_RemoveA_GetFirstA_GetNextA_LookupPouTypeFunctionBlockno_checkFB_Arbiter + + + + + dataPool + ST_BP_ArbInternal + + 0 + 61 + + Structured data element pool + 150304 + 54400 + + + entries + T_HashTableEntry + + 0 + 61 + + Max. number of hash table entries. The value of table entry = 32 bit integer (pointer to dataPool-array-entry) + 3904 + 204704 + + + fbTable + FB_HashTableCtrl + basic hash table control function block + 352 + 208608 + + + hTable + T_HHASHTABLE + hash table handle + 3488 + 208960 + + + pRefPtr + ST_BP_ArbInternal + 32 + 212448 + + 0 + + + + indexOfElem + ULINT + Integer value (max. size: x86=>32bit, x64=>64bit) + 64 + 212480 + + + cstSafeBeam + ST_BeamParams + MG + 1760 + 212544 + + + .nTran + 0 + + + .neVRange + 0 + + + .nRate + 0 + + + .nBCRange + 0 + + + + + A_Reset + + + A_Count + + + DataPoolToEpics + + + A_Add + + + A_Remove + + + A_GetFirst + + + A_GetNext + + + A_Lookup + + + + PouType + FunctionBlock + + + no_check + + + + + FB_Arbiter + FB Arbiter A. Wallace 2020-6-26 The arbiter primary objectives are: @@ -284,46 +29908,2139 @@ The hash table can be thought of as an array on steriods, they are worth reading the hash table will tell you when you reach the end of all the entries, and enables us to find entries quickly. These features efficiently address the addition, removal, and verification of beam parameter sets listed in the above requirements. -]]>473472I_HigherAuthorityI_LowerAuthoritynRequestsCountUDINT3296fbBPAssertionPoolFB_BeamParamAssertionPool214336128pytmc + + 473472 + I_HigherAuthority + I_LowerAuthority + + nRequestsCount + UDINT + How many requests are currently in the arbiter + 32 + 96 + + + fbBPAssertionPool + FB_BeamParamAssertionPool + Table of active beam parameter assertions + 214336 + 128 + + + pytmc + pv: AP io: i field: DESC Assertion Pool - xRequestMadeBOOL8214464nArbiterIDUDINT32214496pytmc + + + + + + xRequestMade + BOOL + Arbiter has confirmed its request has made it into the beam parameter request + 8 + 214464 + + + nArbiterID + UDINT + Arbiter ID, used for making higher-level BP requests + 32 + 214496 + + + pytmc + pv: ArbiterID io: i field: DESC Arbiter ID for elev. req. - nNextCohortUDINT322145281nAckInProgCohortUDINT322145600nActiveCohortUDINT322145920pytmc + + + + + + nNextCohort + UDINT + The cohort ID any new requests will adopt, will become ReqInProgCohort at the start of the next acknowledgement cycle + 32 + 214528 + + 1 + + + + nAckInProgCohort + UDINT + The cohort ID currently being acknowledged, will become nActiveCohort after acknowledgement from HA + 32 + 214560 + + 0 + + + + nActiveCohort + UDINT + Requests with cohorts <= to this value will be considered active in CheckRequest + 32 + 214592 + + 0 + + + + pytmc + pv: CohortCounter io: i field: DESC Intrnl cohort counter - bStartNewAckRequestBOOL8214624bAckInProgressBOOL8214632idTransmissionDWORD32214656idRateDWORD32214688sPathT_MaxString2048214720instance-pathnoinitsArbNameT_MaxString2048216768InfoStringFmtrFB_FormatString7840218816bVerboseBOOL82266560q_stBeamParamsST_BeamParams1760226688ItemTypeOutputpytmc + + + + + + bStartNewAckRequest + BOOL + Set by an add or remove method call, triggers an ack cycle + 8 + 214624 + + + bAckInProgress + BOOL + Set by ElevateReq when there is a new ack request and reset when the ack cycle is complete + 8 + 214632 + + + idTransmission + DWORD + ID of BP limiting transmission + 32 + 214656 + + + idRate + DWORD + ID of BP limiting rate + 32 + 214688 + + + sPath + T_MaxString + 2048 + 214720 + + + instance-path + + + noinit + + + + + sArbName + T_MaxString + 2048 + 216768 + + + InfoStringFmtr + FB_FormatString + 7840 + 218816 + + + bVerbose + BOOL + 8 + 226656 + + 0 + + + + q_stBeamParams + ST_BeamParams + Updated on each cycle of the arbiter FB with the current arbitrated beam parameter set + 1760 + 226688 + + + ItemType + Output + + + pytmc + pv: ArbitratedBP io: i field: DESC Arbitrated BP - q_xStateIDFoundBOOL8228448ItemTypeOutput__GETARBITRATEDBP__XFIRSTPASSBOOL82284561__GETARBITRATEDBP__FBGETCURTASKIDXGETCURTASKINDEX128228480__GETARBITRATEDBP__LASTCYCLECOUNTUDINT32228608__GETARBITRATEDBP__FBLOGMESSAGEFB_LogMessage81600228672__ADDREQUEST__FBLOGFB_LogMessage81600310272__REMOVEREQUEST__FBLOGFB_LogMessage81600391872__getnEntryCountUDINT32nEntryCountUDINT32propertyCheckRequestBOOL8nReqIDDWORD32BPST_BeamParams1760ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32GetArbitratedBPST_BeamParams1760getPosPtrT_HashTableEntry32getBPStructIntST_BP_ArbInternal2464stOutputBPST_BP_ArbInternal2464xFirstPassBOOL8uselocation__GETARBITRATEDBP__XFIRSTPASSfbGetCurTaskIdxGETCURTASKINDEX128uselocation__GETARBITRATEDBP__FBGETCURTASKIDXLastCycleCountUDINT32uselocation__GETARBITRATEDBP__LASTCYCLECOUNTfbLogMessageFB_LogMessage81600uselocation__GETARBITRATEDBP__FBLOGMESSAGEArbitrateBPST_BP_ArbInternal2464stBP1ST_BP_ArbInternal2464stBP2ST_BP_ArbInternal2464idxUINT16bcBitmaskWORD16no_check__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32propertyAddRequestBOOL8nReqIDDWORD32stReqBPST_BeamParams1760sDevNameSTRING(80)648BP_IntST_BP_ArbInternal2464fbLogFB_LogMessage81600uselocation__ADDREQUEST__FBLOGRemoveRequestBOOL8nReqIdDWORD32fbLogFB_LogMessage81600uselocation__REMOVEREQUEST__FBLOGBP_IntST_BP_ArbInternal2464CheckRequestInPoolBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760PouTypeFunctionBlockreflectionFB_BPControlDevice + + + + + q_xStateIDFound + BOOL + Set true if a state-id is found in the assertion pool after calling A_VerifyAssertion + 8 + 228448 + + + ItemType + Output + + + + + __GETARBITRATEDBP__XFIRSTPASS + BOOL + 8 + 228456 + + 1 + + + + __GETARBITRATEDBP__FBGETCURTASKIDX + GETCURTASKINDEX + 128 + 228480 + + + __GETARBITRATEDBP__LASTCYCLECOUNT + UDINT + 32 + 228608 + + + __GETARBITRATEDBP__FBLOGMESSAGE + FB_LogMessage + 81600 + 228672 + + + __ADDREQUEST__FBLOG + FB_LogMessage + 81600 + 310272 + + + __REMOVEREQUEST__FBLOG + FB_LogMessage + 81600 + 391872 + + + __getnEntryCount + UDINT + 32 + + nEntryCount + UDINT + 32 + + + + property + + + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + BP + ST_BeamParams + 1760 + + + + ElevateRequest + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + GetArbitratedBP + ST_BeamParams + 1760 + + getPosPtr + T_HashTableEntry + 32 + + + getBPStructInt + ST_BP_ArbInternal + 2464 + + + stOutputBP + Holding struct for arbitration process + ST_BP_ArbInternal + 2464 + + + xFirstPass + BOOL + 8 + + + uselocation + __GETARBITRATEDBP__XFIRSTPASS + + + + + fbGetCurTaskIdx + GETCURTASKINDEX + 128 + + + uselocation + __GETARBITRATEDBP__FBGETCURTASKIDX + + + + + LastCycleCount + UDINT + 32 + + + uselocation + __GETARBITRATEDBP__LASTCYCLECOUNT + + + + + fbLogMessage + FB_LogMessage + 81600 + + + uselocation + __GETARBITRATEDBP__FBLOGMESSAGE + + + + + + ArbitrateBP + ST_BP_ArbInternal + 2464 + + stBP1 + ST_BP_ArbInternal + 2464 + + + stBP2 + ST_BP_ArbInternal + 2464 + + + idx + UINT + 16 + + + bcBitmask + WORD + 16 + + + + no_check + + + + + __getnLowerAuthorityID + DWORD + 32 + + nLowerAuthorityID + DWORD + 32 + + + + property + + + + + AddRequest + BOOL + 8 + + nReqID + Unique ID within aribter for the request. Make sure this is unique for every device + state combination + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + sDevName + Name of the device making the request + STRING(80) + 648 + + + BP_Int + ST_BP_ArbInternal + 2464 + + + fbLog + FB_LogMessage + 81600 + + + uselocation + __ADDREQUEST__FBLOG + + + + + + RemoveRequest + BOOL + 8 + + nReqId + DWORD + 32 + + + fbLog + FB_LogMessage + 81600 + + + uselocation + __REMOVEREQUEST__FBLOG + + + + + BP_Int + ST_BP_ArbInternal + 2464 + + + + CheckRequestInPool + BOOL + 8 + + nReqID + DWORD + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + + PouType + FunctionBlock + + + reflection + + + + + FB_BPControlDevice + Used to request a beam parameter set from EPICS. Technically just one of these is needed in the entire PMPS for a line. -]]>2752nTranREAL32321ItemTypeInputpytmcpv: ReqBP:Transmission + + 2752 + + nTran + REAL + Requested pre-optic attenuation % + 32 + 32 + + 1 + + + + ItemType + Input + + + pytmc + pv: ReqBP:Transmission io: o field: HOPR 1; field: LOPR 0; field: PREC 2; - nRateUDINT326410ItemTypeInputpytmcpv: ReqBP:Rate + + + + + + nRate + UDINT + Pulse-rate + 32 + 64 + + 10 + + + + ItemType + Input + + + pytmc + pv: ReqBP:Rate io: o field: EGU Hz - neVRangeDWORD32964294967295ItemTypeInputpytmcpv: ReqBP:PhotonEnergyRanges + + + + + + neVRange + DWORD + Photon energy ranges + 32 + 96 + + 4294967295 + + + + ItemType + Input + + + pytmc + pv: ReqBP:PhotonEnergyRanges io: o - field: EGU eVdisplaymodebinarynBCRangeWORD1612832767ItemTypeInputpytmcpv: ReqBP:BeamClassRanges - io: odisplaymodebinaryArbiterFB_Arbiter32160ItemTypeInOutEpicsReqBPST_BeamParams1760192bApplyBOOL81952pytmc + field: EGU eV + + + displaymode + binary + + + + + nBCRange + WORD + Beamclass ranges + 16 + 128 + + 32767 + + + + ItemType + Input + + + pytmc + pv: ReqBP:BeamClassRanges + io: o + + + displaymode + binary + + + + + Arbiter + FB_Arbiter + 32 + 160 + + + ItemType + InOut + + + + + EpicsReqBP + ST_BeamParams + 1760 + 192 + + + bApply + BOOL + 8 + 1952 + + + pytmc + pv: ReqBP:Apply io: o - nControlDeviceIDDWORD321984sControlDeviceNameSTRING(80)6482016BP Control DevicertApplyR_TRIG642688PouTypeFunctionBlockDWORD (1..86400)32DWORDLowerBorder1UpperBorder86400E_TimeZoneID16INTeTimeZoneID_Invalid-1eTimeZoneID_Unknown0eTimeZoneID_Standard1eTimeZoneID_Daylight2NT_GetTime1728NETIDT_AmsNetID19232ItemTypeInputSTARTBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputTIMESTRTIMESTRUCT128352ItemTypeOutputfbAdsReadADSREAD1248480.PORT10000.IDXGRP400.IDXOFFS1conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_AmsGetTimeZoneInformation896tzInfoST_TimeZoneInformation8640apiResultDWORD32864conditionalshowFB_GetTimeZoneInformation3488sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputtzIDE_TimeZoneID16352ItemTypeOutputtzInfoST_TimeZoneInformation864384ItemTypeOutputfbAdsReadADSREAD12481248.PORT10000.IDXGRP400.IDXOFFS6conditionalshowfbTriggerR_TRIG642496conditionalshowstateBYTE82560conditionalshowresST_AmsGetTimeZoneInformation8962592conditionalshowPouTypeFunctionBlockconditionalshow_all_localsNT_SetTimeToRTCTime12032NETIDT_AmsNetID19232ItemTypeInputSETBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputfbAdsWriteADSWRITE1216352.PORT10000.IDXGRP4.IDXOFFS0conditionalshowfbRegQueryFB_RegQueryValue103041568.sSubKeySoftware\Beckhoff\TwinCAT3\System.sValNameNumOfCPUsconditionalshowfbTriggerR_TRIG6411872conditionalshowbTmpDWORD32119360conditionalshowstateBYTE8119680conditionalshowbInitBOOL8119761conditionalshownumOfCPUsDWORD32120000conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFW_GetCpuCounter96dwCpuCntLoUDINT3232ItemTypeOutputdwCpuCntHiUDINT3264ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCPUCOUNTER + + + + + nControlDeviceID + DWORD + 32 + 1984 + + + sControlDeviceName + STRING(80) + 648 + 2016 + + BP Control Device + + + + rtApply + R_TRIG + 64 + 2688 + + + + PouType + FunctionBlock + + + + + DWORD (1..86400) + 32 + DWORD + + + LowerBorder + 1 + + + UpperBorder + 86400 + + + + + E_TimeZoneID + 16 + INT + + eTimeZoneID_Invalid + -1 + Invalid time zone + + + eTimeZoneID_Unknown + 0 + Unknown time zone + + + eTimeZoneID_Standard + 1 + Standard time (Winterzeit) + + + eTimeZoneID_Daylight + 2 + Daylight saving time (Sommerzeit) + + + + NT_GetTime + Reads local windows system time (struct) + 1728 + + NETID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + START + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + TMOUT + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + 32 + 320 + + + ItemType + Output + + + + + TIMESTR + TIMESTRUCT + Local windows system time + 128 + 352 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 480 + + + .PORT + 10000 + + + .IDXGRP + 400 + + + .IDXOFFS + 1 + + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ST_AmsGetTimeZoneInformation + 896 + + tzInfo + ST_TimeZoneInformation + GetTimeZoneInformation return data + 864 + 0 + + + apiResult + DWORD + api call result + 32 + 864 + + + + conditionalshow + + + + + FB_GetTimeZoneInformation + Reads time zone information + 3488 + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + tTimeout + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 320 + + + ItemType + Output + + + + + tzID + E_TimeZoneID + 16 + 352 + + + ItemType + Output + + + + + tzInfo + ST_TimeZoneInformation + 864 + 384 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 1248 + + + .PORT + 10000 + + + .IDXGRP + 400 + + + .IDXOFFS + 6 + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 2496 + + + conditionalshow + + + + + state + BYTE + 8 + 2560 + + + conditionalshow + + + + + res + ST_AmsGetTimeZoneInformation + 896 + 2592 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + NT_SetTimeToRTCTime + 12032 + + NETID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + SET + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + TMOUT + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + 32 + 320 + + + ItemType + Output + + + + + fbAdsWrite + ADSWRITE + 1216 + 352 + + + .PORT + 10000 + + + .IDXGRP + 4 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + fbRegQuery + FB_RegQueryValue + 10304 + 1568 + + + .sSubKey + Software\Beckhoff\TwinCAT3\System + + + .sValName + NumOfCPUs + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 11872 + + + conditionalshow + + + + + bTmp + DWORD + 32 + 11936 + + 0 + + + + conditionalshow + + + + + state + BYTE + 8 + 11968 + + 0 + + + + conditionalshow + + + + + bInit + BOOL + 8 + 11976 + + 1 + + + + conditionalshow + + + + + numOfCPUs + DWORD + 32 + 12000 + + 0 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FW_GetCpuCounter + 96 + + dwCpuCntLo + UDINT + 32 + 32 + + + ItemType + Output + + + + + dwCpuCntHi + UDINT + 32 + 64 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + conditionalshow + + + + + GETCPUCOUNTER + The CPU cycle counter can be read with this function block. The numerical value is a relative 64 bit integer, which, independently of the CPUs internal clock rate, is output in a form converted into 100ns ticks. The number is refreshed to a precision of 100ns with every call by the PLC system, and can be used, for instance, for timing tasks. - One unit is equivalent to 100 ns. ]]>192cpuCntLoDWUDINT3232ItemTypeOutputcpuCntHiDWUDINT3264ItemTypeOutputfbGetCpuCounterFW_GetCpuCounter9696conditionalshowPouTypeFunctionBlockconditionalshow_all_localsRTC_EX2896ENBOOL832ItemTypeInputPDTTIMESTRUCT12848ItemTypeInputPMICRODWORD32192ItemTypeInputQBOOL Output time is valid, FALSE => Output time is invalid ]]>8224ItemTypeOutputCDTTIMESTRUCT128240.wYear1970.wMonth1.wDay1.wDayOfWeek4ItemTypeOutputCMICRODWORD32384ItemTypeOutputfbGetCpuCounterGETCPUCOUNTER192416conditionalshowrisingEdgeR_TRIG64608conditionalshowoldTickDWORD32672conditionalshowcurrTickDWORD32704conditionalshownanoDiffDWORD32736conditionalshownanoRestDWORD32768conditionalshowsecDiffDWORD32800conditionalshowdateTimeDATE_AND_TIME32832conditionalshowbInitializedBOOL8864conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LocalSystemTime19040sNetIDT_AmsNetID19232ItemTypeInputbEnableBOOL8224ItemTypeInputdwCycleDWORD (1..86400)322565ItemTypeInputdwOptDWORD Synchronize Windows Time to RTC time ]]>322881ItemTypeInputtTimeoutTIME323205000ItemTypeInputbValidBOOL The systemTime and tzID output is valid, FALSE => systemTime and tzID is not valid ]]>8352ItemTypeOutputsystemTimeTIMESTRUCT128368ItemTypeOutputtzIDE_TimeZoneID16496-1ItemTypeOutputrtrigR_TRIG64512conditionalshowstateBYTE8576conditionalshowfbNTNT_GetTime1728608conditionalshowfbTZFB_GetTimeZoneInformation34882336conditionalshowfbSETNT_SetTimeToRTCTime120325824conditionalshowfbRTCRTC_EX289617856conditionalshowtimerTON22418752conditionalshownSyncDWORD3218976conditionalshowbNotSupBOOL819008conditionalshowPouTypeFunctionBlockconditionalshow_all_localsT_FILETIME64dwLowDateTimeDWORD320dwHighDateTimeDWORD3232FB_TranslateLocalTimeToUtcByZoneID2400inT_FILETIME6432ItemTypeInputtzInfoST_TimeZoneInformation86496ItemTypeInputwDldYearWORD not used (default) else used only if tzInfo.daylightDate.wYear = 0. ]]>169600ItemTypeInputwStdYearWORD not used (default) else used only if tzInfo.standardDate.wYear = 0. ]]>169760ItemTypeInputoutT_FILETIME64992ItemTypeOutputeTzIDE_TimeZoneID1610560ItemTypeOutputbBBOOL A time, TRUE => B time]]>81072ItemTypeOutputbiasDINT321088ItemTypeOutputinLocalTIMESTRUCT1281120tziSommerTIMESTRUCT1281248tziWinterTIMESTRUCT1281376tziLocalSommerT_FILETIME641504tziLocalWinterT_FILETIME641568tziLocalSommerJumpT_FILETIME641632tziLocalWinterJumpT_FILETIME641696ui64LocalInT_ULARGE_INTEGER641760ui64LocalSommerT_ULARGE_INTEGER641824ui64LocalWinterT_ULARGE_INTEGER641888in_to_sDINT321952in_to_wDINT321984s_to_wDINT322016in_to_s_jumpDINT322048in_to_w_jumpDINT322080iStandardBiasDINT322112iDaylightBiasDINT322144ui64PreviousInT_ULARGE_INTEGER642176ui64FallDiffT_ULARGE_INTEGER642240bFallDiffBOOL82304dtSommerJumpDATE_AND_TIME322336dtWinterJumpDATE_AND_TIME322368A_ResetPouTypeFunctionBlockconditionalshowFB_TzSpecificLocalTimeToSystemTime3584inTIMESTRUCT12832ItemTypeInputtzInfoST_TimeZoneInformation864160ItemTypeInputoutTIMESTRUCT1281024ItemTypeOutputeTzIDE_TimeZoneID1611520ItemTypeOutputbBBOOL A time, TRUE => B time]]>81168ItemTypeOutputfbBaseFB_TranslateLocalTimeToUtcByZoneID24001184conditionalshowA_ResetPouTypeFunctionBlockconditionalshow_all_localsFB_LREALFromEPICS + 192 + + cpuCntLoDW + UDINT + Contains the low-value 4 bytes of the numerical value + 32 + 32 + + + ItemType + Output + + + + + cpuCntHiDW + UDINT + Contains the high-value 4 bytes of the numerical value + 32 + 64 + + + ItemType + Output + + + + + fbGetCpuCounter + FW_GetCpuCounter + 96 + 96 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + RTC_EX2 + Software RTC (real time clock), returns time in structured system time format + microseconds (microsecond resolution) + 896 + + EN + BOOL + Enable/set clock + 8 + 32 + + + ItemType + Input + + + + + PDT + TIMESTRUCT + Preset/set time in system time format (struct) + 128 + 48 + + + ItemType + Input + + + + + PMICRO + DWORD + Preset microseconds + 32 + 192 + + + ItemType + Input + + + + + Q + BOOL + TRUE => Output time is valid, FALSE => Output time is invalid + 8 + 224 + + + ItemType + Output + + + + + CDT + TIMESTRUCT + Current time in system time format (struct) + 128 + 240 + + + .wYear + 1970 + + + .wMonth + 1 + + + .wDay + 1 + + + .wDayOfWeek + 4 + + + + + ItemType + Output + + + + + CMICRO + DWORD + Current microseconds + 32 + 384 + + + ItemType + Output + + + + + fbGetCpuCounter + GETCPUCOUNTER + 192 + 416 + + + conditionalshow + + + + + risingEdge + R_TRIG + 64 + 608 + + + conditionalshow + + + + + oldTick + DWORD + 32 + 672 + + + conditionalshow + + + + + currTick + DWORD + 32 + 704 + + + conditionalshow + + + + + nanoDiff + DWORD + 32 + 736 + + + conditionalshow + + + + + nanoRest + DWORD + 32 + 768 + + + conditionalshow + + + + + secDiff + DWORD + 32 + 800 + + + conditionalshow + + + + + dateTime + DATE_AND_TIME + 32 + 832 + + + conditionalshow + + + + + bInitialized + BOOL + 8 + 864 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LocalSystemTime + This function block synchronizes cyclically to and returns the Local Windows System Time. + 19040 + + sNetID + T_AmsNetID + The target TwinCAT system network address + 192 + 32 + + + + + + ItemType + Input + + + + + bEnable + BOOL + Enable/start cyclic time synchronisation (output is synchronized to Local Windows System Time) + 8 + 224 + + + ItemType + Input + + + + + dwCycle + DWORD (1..86400) + Time synchronisation cycle (seconds) + 32 + 256 + + 5 + + + + ItemType + Input + + + + + dwOpt + DWORD + Additional option flags: If bit 0 is set => Synchronize Windows Time to RTC time + 32 + 288 + + 1 + + + + ItemType + Input + + + + + tTimeout + TIME + Max. ADS function block execution time (internal communication timeout). + 32 + 320 + + 5000 + + + + ItemType + Input + + + + + bValid + BOOL + TRUE => The systemTime and tzID output is valid, FALSE => systemTime and tzID is not valid + 8 + 352 + + + ItemType + Output + + + + + systemTime + TIMESTRUCT + Local Windows System Time struct + 128 + 368 + + + ItemType + Output + + + + + tzID + E_TimeZoneID + Daylight/standard time zone information + 16 + 496 + + -1 + + + + ItemType + Output + + + + + rtrig + R_TRIG + 64 + 512 + + + conditionalshow + + + + + state + BYTE + 8 + 576 + + + conditionalshow + + + + + fbNT + NT_GetTime + 1728 + 608 + + + conditionalshow + + + + + fbTZ + FB_GetTimeZoneInformation + 3488 + 2336 + + + conditionalshow + + + + + fbSET + NT_SetTimeToRTCTime + 12032 + 5824 + + + conditionalshow + + + + + fbRTC + RTC_EX2 + 896 + 17856 + + + conditionalshow + + + + + timer + TON + 224 + 18752 + + + conditionalshow + + + + + nSync + DWORD + 32 + 18976 + + + conditionalshow + + + + + bNotSup + BOOL + 8 + 19008 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + T_FILETIME + The FILETIME structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC). + 64 + + dwLowDateTime + DWORD + Specifies the low-order 32 bits of the file time. + 32 + 0 + + + dwHighDateTime + DWORD + Specifies the high-order 32 bits of the file time. + 32 + 32 + + + + FB_TranslateLocalTimeToUtcByZoneID + Internal helper function block. Detects time zone ID, bias and B time flag and translates the local file time to UTC file time time + 2400 + + in + T_FILETIME + Time to be converted (Local file time format) + 64 + 32 + + + ItemType + Input + + + + + tzInfo + ST_TimeZoneInformation + Time zone information + 864 + 96 + + + ItemType + Input + + + + + wDldYear + WORD + Optional daylightDate.wYear value. If 0 => not used (default) else used only if tzInfo.daylightDate.wYear = 0. + 16 + 960 + + 0 + + + + ItemType + Input + + + + + wStdYear + WORD + Optional standardDate.wYear value. If 0 => not used (default) else used only if tzInfo.standardDate.wYear = 0. + 16 + 976 + + 0 + + + + ItemType + Input + + + + + out + T_FILETIME + Converted time (UTC file time format) + 64 + 992 + + + ItemType + Output + + + + + eTzID + E_TimeZoneID + Detected daylight saving time information + 16 + 1056 + + 0 + + + + ItemType + Output + + + + + bB + BOOL + FALSE => A time, TRUE => B time + 8 + 1072 + + + ItemType + Output + + + + + bias + DINT + Bias value in minutes + 32 + 1088 + + + ItemType + Output + + + + + inLocal + TIMESTRUCT + 128 + 1120 + + + tziSommer + TIMESTRUCT + 128 + 1248 + + + tziWinter + TIMESTRUCT + 128 + 1376 + + + tziLocalSommer + T_FILETIME + 64 + 1504 + + + tziLocalWinter + T_FILETIME + 64 + 1568 + + + tziLocalSommerJump + T_FILETIME + 64 + 1632 + + + tziLocalWinterJump + T_FILETIME + 64 + 1696 + + + ui64LocalIn + T_ULARGE_INTEGER + 64 + 1760 + + + ui64LocalSommer + T_ULARGE_INTEGER + 64 + 1824 + + + ui64LocalWinter + T_ULARGE_INTEGER + 64 + 1888 + + + in_to_s + DINT + 32 + 1952 + + + in_to_w + DINT + 32 + 1984 + + + s_to_w + DINT + 32 + 2016 + + + in_to_s_jump + DINT + 32 + 2048 + + + in_to_w_jump + DINT + 32 + 2080 + + + iStandardBias + DINT + 32 + 2112 + + + iDaylightBias + DINT + 32 + 2144 + + + ui64PreviousIn + T_ULARGE_INTEGER + 64 + 2176 + + + ui64FallDiff + T_ULARGE_INTEGER + 64 + 2240 + + + bFallDiff + BOOL + 8 + 2304 + + + dtSommerJump + DATE_AND_TIME + 32 + 2336 + + + dtWinterJump + DATE_AND_TIME + 32 + 2368 + + + A_Reset + + + + PouType + FunctionBlock + + + conditionalshow + + + + + FB_TzSpecificLocalTimeToSystemTime + Converts time zone's specific local system time to Coordinated Universal Time (UTC) system time + 3584 + + in + TIMESTRUCT + Time zone's specific local system time. Structure that specifies the system time since January 1, 1601 + 128 + 32 + + + ItemType + Input + + + + + tzInfo + ST_TimeZoneInformation + Time zone settings + 864 + 160 + + + ItemType + Input + + + + + out + TIMESTRUCT + Coordinated Universal Time (UTC) in system time format + 128 + 1024 + + + ItemType + Output + + + + + eTzID + E_TimeZoneID + Daylight saving time information + 16 + 1152 + + 0 + + + + ItemType + Output + + + + + bB + BOOL + FALSE => A time, TRUE => B time + 8 + 1168 + + + ItemType + Output + + + + + fbBase + FB_TranslateLocalTimeToUtcByZoneID + 2400 + 1184 + + + conditionalshow + + + + + A_Reset + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LREALFromEPICS + Function block to link an analog value from EPICS to an LREAL on the PLC Usage: @@ -340,93 +32057,1179 @@ push a value through to the PLC with this function block. As this block takes care of IOC heartbeat signals and monitors the link and value severity, the end-user should then only have to look at `.bValid` and `.fValue`. These are guaranteed to be up-to-date and valid within `tTimeout` seconds. -]]>960iMaximumValidSeverityINT16321ItemTypeInputbValidBOOL848ItemTypeOutputfValueLREAL6464ItemTypeOutputiValueInvalidateULINT32128tonValueTimeoutTON224160tonSeverityTimeoutTON224384fLastValidValueLREAL64640iLastValidSeverityINT16704fPLCInternalValueLREAL64768pytmc + + 960 + + iMaximumValidSeverity + INT + 16 + 32 + + 1 + + + + ItemType + Input + + + + + bValid + BOOL + 8 + 48 + + + ItemType + Output + + + + + fValue + LREAL + 64 + 64 + + + ItemType + Output + + + + + iValueInvalidate + ULINT + 32 + 128 + + + tonValueTimeout + TON + 224 + 160 + + + tonSeverityTimeout + TON + 224 + 384 + + + fLastValidValue + LREAL + 64 + 640 + + + iLastValidSeverity + INT + 16 + 704 + + + fPLCInternalValue + LREAL + 64 + 768 + + + pytmc + pv: EPICSLink link: field: DESC Internal variable used to monitor EPICS PV in PLC - iPLCInternalSeverityINT16832pytmc + + + + + + iPLCInternalSeverity + INT + Use special link syntax for now to get EPICSLink.SEVR here: + 16 + 832 + + + pytmc + pv: EPICSLink:LinkSeverity link: *EPICSLink.SEVR field: DESC Internal variable used to monitor EPICS PV severity in PLC - tTimeoutTIME328642000NAN_VALUEULINT648969223372036854775807PouTypeFunctionBlockST_FFInfo6832sPathT_MaxString20480pytmc + + + + + + tTimeout + TIME + The timeout will trip after `tTimeout` if EPICS doesn't write in that time period: + 32 + 864 + + 2000 + + + + NAN_VALUE + ULINT + 64 + 896 + + 9223372036854775807 + + + + + PouType + FunctionBlock + + + + + ST_FFInfo + These elements should be set at init and never changed. + 6832 + + sPath + T_MaxString + Full PLC path to FF object + 2048 + 0 + + + pytmc + pv: Path io: i - DescT_MaxString20482048pytmc + + + + + + Desc + T_MaxString + Set at instantiation to a helpful description of the fast fault purpose + 2048 + 2048 + + + pytmc + pv: Desc io: i - DevNameT_MaxString20484096pytmc + + + + + + DevName + T_MaxString + Component name, used in diagnostic to help narrow down where beam faults are coming from + 2048 + 4096 + + + pytmc + pv: DevName io: i - TypeCodeUINT166144pytmc + + + + + + TypeCode + UINT + Set at instantiation to fault class code + 16 + 6144 + + + pytmc + pv: TypeCode io: i - InUseBOOL861600pytmc + + + + + + InUse + BOOL + //////////////////////////////////////// +//////////////////////////////////////// + 8 + 6160 + + 0 + + + + pytmc + pv: InUse io: i - AutoResetBOOL86168VetoableBOOL861761InfoStringSTRING(80)6486184pytmc + + + + + + AutoReset + BOOL + //////////////////////////////////////// + 8 + 6168 + + + Vetoable + BOOL + Can this fast fault be masked by the veto device input? + 8 + 6176 + + 1 + + + + InfoString + STRING(80) + 648 + 6184 + + + pytmc + pv: InfoString io: i - TP + + + + + + TP + Pulse Timer. Q produces a High-Signal with the length of PT on every rising edge on IN. -]]>192INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputStartTimeTIME32160PouTypeFunctionBlockST_FFOverride576DurationDINT320pytmc + + 192 + + IN + BOOL + Trigger for Start of the Signal + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + The length of the High-Signal in 10ms + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + The pulse + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + The current phase of the High-Signal + 32 + 128 + + + ItemType + Output + + + + + StartTime + TIME + 32 + 160 + + + + PouType + FunctionBlock + + + + + ST_FFOverride + 576 + + Duration + DINT + DINT to be compatible with EPICS + 32 + 0 + + + pytmc + pv: Duration io: o - ExpirationDINT3232pytmc + + + + + + Expiration + DINT + DINT to be compatible with EPICS + 32 + 32 + + + pytmc + pv: Expiration io: o - StartDTDINT3264pytmc + + + + + + StartDT + DINT + DINT to be compatible with EPICS + 32 + 64 + + + pytmc + pv: StartDT io: o - ActivateBOOL896pytmc + + + + + + Activate + BOOL + 8 + 96 + + + pytmc + pv: Activate io: o - DeactivateBOOL8104pytmc + + + + + + Deactivate + BOOL + 8 + 104 + + + pytmc + pv: Deactivate io: o - ElapsedTimeDINT32128pytmc + + + + + + ElapsedTime + DINT + DINT to be compatible with EPICS + 32 + 128 + + + pytmc + pv: ElapsedTime io: i - RemainingTimeDINT32160pytmc + + + + + + RemainingTime + DINT + DINT to be compatible with EPICS + 32 + 160 + + + pytmc + pv: RemainingTime io: i - ActiveBOOL8192pytmc + + + + + + Active + BOOL + 8 + 192 + + + pytmc + pv: Active io: i - TimerTP192224OvrdActLogAckBOOL8416OvrdExpLogAckBOOL8424tOvrdActivateR_TRIG64448tOvrdExpiringF_TRIG64512RS64SETBOOL832ItemTypeInputRESET1BOOL840ItemTypeInputQ1BOOL848ItemTypeOutputPouTypeFunctionBlockST_FF7680InfoST_FFInfo68320pytmc + + + + + + Timer + TP + 192 + 224 + + + OvrdActLogAck + BOOL + 8 + 416 + + + OvrdExpLogAck + BOOL + 8 + 424 + + + tOvrdActivate + R_TRIG + 64 + 448 + + + tOvrdExpiring + F_TRIG + 64 + 512 + + + + RS + 64 + + SET + BOOL + Input to set Q1 + 8 + 32 + + + ItemType + Input + + + + + RESET1 + BOOL + Input to reset Q1 (reset dominant) + 8 + 40 + + + ItemType + Input + + + + + Q1 + BOOL + 8 + 48 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + + + ST_FF + 7680 + + Info + ST_FFInfo + 6832 + 0 + + + pytmc + pv: Info - OvrdST_FFOverride5766848pytmc + + + + + + Ovrd + ST_FFOverride + 576 + 6848 + + + pytmc + pv: Ovrd - OKBOOL87424pytmc + + + + + + OK + BOOL + Fault logic state + 8 + 7424 + + + pytmc + pv: OK io: i - FaultAckBOOL87432ClearAckBOOL87440BeamPermittedBOOL87448pytmc + + + + + + FaultAck + BOOL + Set when faulted, reset by logger. + 8 + 7432 + + + ClearAck + BOOL + 8 + 7440 + + + BeamPermitted + BOOL + Result of reset, veto, and fault logic, true beam off boolean + 8 + 7448 + + + pytmc + pv: BeamPermitted io: i - ResetBOOL87456pytmc + + + + + + Reset + BOOL + 8 + 7456 + + + pytmc + pv: Reset io: o - bsFFRS647488rtResetR_TRIG647552ftCountFaultF_TRIG647616FB_HardwareFFOutput494912FF_ARRAY_UPPER_BOUNDUINT163250i_xResetBOOL848ItemTypeInputpytmc + + + + + + bsFF + RS + 64 + 7488 + + + rtReset + R_TRIG + 64 + 7552 + + + ftCountFault + F_TRIG + 64 + 7616 + + + + FB_HardwareFFOutput + 494912 + + FF_ARRAY_UPPER_BOUND + UINT + 16 + 32 + + 50 + + + + i_xReset + BOOL + 8 + 48 + + + ItemType + Input + + + pytmc + pv: ClearFault io: o field: DESC Might be overidden by PLC writes - i_xVetoBOOL856ItemTypeInputpytmc + + + + + + i_xVeto + BOOL + 8 + 56 + + + ItemType + Input + + + pytmc + pv: EnableVeto io: o - bAutoResetBOOL8640ItemTypeInputi_sNetIDT_AmsNetID19272ItemTypeInputq_xFastFaultOutBOOL8264ItemTypeOutputpytmc + + + + + + bAutoReset + BOOL + Set true for the FFO to automatically permit beam again after all fast faults are cleared + 8 + 64 + + 0 + + + + ItemType + Input + + + + + i_sNetID + T_AmsNetID + Set to the Arbiter AmsNetID to be used for the synchronisation. An empty string means the system will sue local time + 192 + 72 + + + + + + ItemType + Input + + + + + q_xFastFaultOut + BOOL + 8 + 264 + + + ItemType + Output + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutputq_xValidSyncTimeBOOL8272ItemTypeOutputastFFST_FF150384000288pytmc + + + + TcAddressType + Output + + + + + q_xValidSyncTime + BOOL + system time bValid output True when sync is successful + 8 + 272 + + + ItemType + Output + + + + + astFF + ST_FF + + 1 + 50 + + 384000 + 288 + + + pytmc + pv: FF - xFastFaultRegFailBOOL83842880pytmc + + + + + + xFastFaultRegFail + BOOL + Set true if a fast fault fails to register. Holds beam off. + 8 + 384288 + + 0 + + + + pytmc + pv: RegistrationFailure io: io - tFFRegFailF_TRIG64384320sPathT_MaxString2048384384instance-pathnoinitxOKBOOL83864321pytmc + + + + + + tFFRegFail + F_TRIG + 64 + 384320 + + + sPath + T_MaxString + 2048 + 384384 + + + instance-path + + + noinit + + + + + xOK + BOOL + Current internal state of FFO, indicates if FFO will accept a reset + 8 + 386432 + + 1 + + + + pytmc + pv: OK io: i - rtResetR_TRIG64386464rtResetandOKR_TRIG64386528nIndexUINT163865921IdxOKBOOL8386608fbTimeFB_LocalSystemTime19040386624.bEnable1.dwCycle1fbTime_to_UTCFB_TzSpecificLocalTimeToSystemTime3584405664fbGetTimeZoneFB_GetTimeZoneInformation3488409248fbJsonFB_JsonSaxWriter256412736pmpsTypeCodeUDINT324129920fbLoggerFB_LogMessage81600413056.eSevr4.eSubsystem2.nMinTimeViolationAcceptable50__EXECUTELOGGING__HELLOTIMERTOF224494656.PT86400000ExecuteNoLogEvaluateOutputExecuteEvaluateVetosBOOL8obsoleteUse EvaluateOverrides instead.EvaluateOverridesBOOL8FFST_FF32EvalIdxDINT32MaxTimeDINT32no_checkExecuteLoggingBOOL8FFST_FF32logIdxDINT32HelloTimerTOF224uselocation__EXECUTELOGGING__HELLOTIMERno_checkRegisterBOOL8stFFInfoST_FFInfo6832FFONameT_MaxString2048ItemTypeOutputIdxUINT16ItemTypeOutputno_checkIdxCheckInBOOL8IdxDINT32OKBOOL8ResetBOOL8stFFST_FF7680BeamPermittedBOOL8no_checkFormulateLogJsonSTRING(80)648FFST_FF7680PouTypeFunctionBlockreflectionno_checkE_MPSBeamRates16UINTMPSRateInvalid0MPSRate0Hz1MPSRate1Hz4MPSRate10Hz5MPSRate30Hz6MPSRate60Hz7MPSRate120Hz8MPSRateUnknown9MPSRateSingleShot10MPSRateBurstMode11MPSRateBurstModeNotActive12MPSNumberOfBeamRates13MPSRateBurstInvalid14FB_FastFault + + + + + rtReset + R_TRIG + 64 + 386464 + + + rtResetandOK + R_TRIG + 64 + 386528 + + + nIndex + UINT + 16 + 386592 + + 1 + + + + IdxOK + BOOL + 8 + 386608 + + + fbTime + FB_LocalSystemTime + Get current system time, used for override + 19040 + 386624 + + + .bEnable + 1 + + + .dwCycle + 1 + + + + + fbTime_to_UTC + FB_TzSpecificLocalTimeToSystemTime + 3584 + 405664 + + + fbGetTimeZone + FB_GetTimeZoneInformation + 3488 + 409248 + + + fbJson + FB_JsonSaxWriter + 256 + 412736 + + + pmpsTypeCode + UDINT + shows up in json as pmps_typecode + 32 + 412992 + + 0 + + + + fbLogger + FB_LogMessage + 81600 + 413056 + + + .eSevr + 4 + + + .eSubsystem + 2 + + + .nMinTimeViolationAcceptable + 50 + + + + + __EXECUTELOGGING__HELLOTIMER + TOF + 224 + 494656 + + + .PT + 86400000 + + + + + ExecuteNoLog + + + EvaluateOutput + + + Execute + + + EvaluateVetos + BOOL + 8 + + + obsolete + Use EvaluateOverrides instead. + + + + + EvaluateOverrides + BOOL + 8 + + FF + ST_FF + 32 + + + EvalIdx + DINT + 32 + + + MaxTime + 49.7 days + DINT + 32 + + + + no_check + + + + + ExecuteLogging + BOOL + 8 + + FF + ST_FF + 32 + + + logIdx + DINT + 32 + + + HelloTimer + TOF + 224 + + + uselocation + __EXECUTELOGGING__HELLOTIMER + + + + + + no_check + + + + + Register + BOOL + 8 + + stFFInfo + ST_FFInfo + 6832 + + + FFOName + T_MaxString + 2048 + + + ItemType + Output + + + + + Idx + UINT + 16 + + + ItemType + Output + + + + + + no_check + + + + + IdxCheckIn + BOOL + 8 + + Idx + DINT + 32 + + + OK + BOOL + 8 + + + Reset + BOOL + 8 + + + stFF + ST_FF + 7680 + + + BeamPermitted + BOOL + 8 + + + + no_check + + + + + FormulateLogJson + STRING(80) + 648 + + FF + ST_FF + 7680 + + + + + PouType + FunctionBlock + + + reflection + + + no_check + + + + + E_MPSBeamRates + 16 + UINT + + MPSRateInvalid + 0 + + + MPSRate0Hz + 1 + + + MPSRate1Hz + 4 + Previously used 2 and 3 for single shot and burst + + + MPSRate10Hz + 5 + + + MPSRate30Hz + 6 + + + MPSRate60Hz + 7 + + + MPSRate120Hz + 8 + + + MPSRateUnknown + 9 + + + MPSRateSingleShot + 10 + + + MPSRateBurstMode + 11 + + + MPSRateBurstModeNotActive + 12 + + + MPSNumberOfBeamRates + 13 + + + MPSRateBurstInvalid + 14 + + + + FB_FastFault + Fast Fault 2019-9-13 A. Wallace Use this block to generate a beam-off fault. Connects to a fast fault hardware output @@ -435,104 +33238,2230 @@ function block to contribute to the state of the fast fault output (FFO). If the i_xOK goes false, the associated FFO will go false, despite the state of any other contributing fast faults, unless the FFO is currently vetoed. -]]>25088i_xOKBOOL832ItemTypeInputi_xResetBOOL840ItemTypeInputi_xAutoResetBOOL8480ItemTypeInputi_xVetoableBOOL8561ItemTypeInputi_DevNameT_MaxString204864ItemTypeInputi_DescT_MaxString20482112ItemTypeInputi_TypeCodeUINT164160ItemTypeInputo_xFFLineBOOL84176ItemTypeOutputio_fbFFHWOFB_HardwareFFOutput324192ItemTypeInOutsPathT_MaxString20484224instance-pathnoinitFFInfoST_FFInfo68326272RegistrationIdxUINT16131041xInitBOOL8131201InfoStringFmtrFB_FormatString784013152InUseT_MaxString204820992AutoResetT_MaxString204823040PouTypeFunctionBlockreflectionFB_RateFromEPICS25280BPST_BeamParams3232ItemTypeInOutfbBYKIK_RateFB_LREALFromEPICS3264ItemTypeInOutFFOFB_HardwareFFOutput3296ItemTypeInOutxErrorBOOL8128ItemTypeOutputeMPSRateE_MPSBeamRates16144ffRateReadBackFB_FastFault25088160.i_DevNameArbiter.i_DescIssue with rate readback from Accelerator. Gateway or EPICS connection. Must be fixed..i_TypeCode515.i_xAutoReset1cFailSafeRateUDINT32252481000001PouTypeFunctionBlockFB_BeamClassFromEPICS25280BPST_BeamParams3232ItemTypeInOutfbMPS_BeamClassFB_LREALFromEPICS3264ItemTypeInOutFFOFB_HardwareFFOutput3296ItemTypeInOutxErrorBOOL8128ItemTypeOutputffBeamClassReadBackFB_FastFault25088160.i_DevNameArbiter.i_DescIssue with beam class readback from Accelerator. Gateway or EPICS connection. Must be fixed..i_TypeCode531.i_xAutoReset1cFailSafeBCUSINT82524816PouTypeFunctionBlockFB_MachineModeFromEPICS25280BPST_BeamParams3232ItemTypeInOutfbMPS_MachineModeFB_LREALFromEPICS3264ItemTypeInOutFFOFB_HardwareFFOutput3296ItemTypeInOutxErrorBOOL8128ItemTypeOutputffModeReadBackFB_FastFault25088160.i_DevNameArbiter.i_DescIssue with Machine mode readback from Accelerator. Gateway or EPICS connection. Must be fixed..i_TypeCode787.i_xAutoReset1cFailSafeMMUSINT8252483PouTypeFunctionBlockI_UndulatorComplex32PVOID__getrCurrentPhotonEnergyREAL32property__getrTargetPhotonEnergyREAL32propertyFB_PhotonEnergy160UndulatorI_UndulatorComplex3232ItemTypeInputBPST_BeamParams3264ItemTypeInOutnCurrentPhotonEnergyBitmaskUDINT3296nTargetPhotonEnergyBitmaskUDINT32128PouTypeFunctionBlockFB_UndulatorSegment2688fPeriod_mmLREAL64641ItemTypeInputfbElectronEnergyFB_LREALFromEPICS32128ItemTypeInputfLowKLREAL641920ItemTypeInputfHiKLREAL642566ItemTypeInputfKRangeHystLREAL643200.01ItemTypeInputfPhotonEnergyActLREAL64384ItemTypeOutputpytmc + + 25088 + + i_xOK + BOOL + Connect to fast-fault condition (false produces fault) + 8 + 32 + + + ItemType + Input + + + + + i_xReset + BOOL + Resets when i_xOK is true and this is true + 8 + 40 + + + ItemType + Input + + + + + i_xAutoReset + BOOL + Automatically clear fast fault (latching vs non-latching) + 8 + 48 + + 0 + + + + ItemType + Input + + + + + i_xVetoable + BOOL + Mask this fast fault if the FFO veto device is true + 8 + 56 + + 1 + + + + ItemType + Input + + + + + i_DevName + T_MaxString + Device name for diagnostic + 2048 + 64 + + + + + + ItemType + Input + + + + + i_Desc + T_MaxString + Description of fast fault (you should set at init) + 2048 + 2112 + + + + + + ItemType + Input + + + + + i_TypeCode + UINT + Error code for classifying fast faults + 16 + 4160 + + + ItemType + Input + + + + + o_xFFLine + BOOL + Connect to HW output or another FF input if you like (Optional) + 8 + 4176 + + + ItemType + Output + + + + + io_fbFFHWO + FB_HardwareFFOutput + Point to FB_HardwareFFOutput of your choice + 32 + 4192 + + + ItemType + InOut + + + + + sPath + T_MaxString + 2048 + 4224 + + + instance-path + + + noinit + + + + + FFInfo + ST_FFInfo + 6832 + 6272 + + + RegistrationIdx + UINT + The index this FF was registered in the FFO + 16 + 13104 + + 1 + + + + xInit + BOOL + 8 + 13120 + + 1 + + + + InfoStringFmtr + FB_FormatString + 7840 + 13152 + + + InUse + T_MaxString + 2048 + 20992 + + + AutoReset + T_MaxString + 2048 + 23040 + + + + PouType + FunctionBlock + + + reflection + + + + + FB_RateFromEPICS + 25280 + + BP + ST_BeamParams + 32 + 32 + + + ItemType + InOut + + + + + fbBYKIK_Rate + FB_LREALFromEPICS + 32 + 64 + + + ItemType + InOut + + + + + FFO + FB_HardwareFFOutput + 32 + 96 + + + ItemType + InOut + + + + + xError + BOOL + 8 + 128 + + + ItemType + Output + + + + + eMPSRate + E_MPSBeamRates + 16 + 144 + + + ffRateReadBack + FB_FastFault + 25088 + 160 + + + .i_DevName + Arbiter + + + .i_Desc + Issue with rate readback from Accelerator. Gateway or EPICS connection. Must be fixed. + + + .i_TypeCode + 515 + + + .i_xAutoReset + 1 + + + + + cFailSafeRate + UDINT + 32 + 25248 + + 1000001 + + + + + PouType + FunctionBlock + + + + + FB_BeamClassFromEPICS + 25280 + + BP + ST_BeamParams + 32 + 32 + + + ItemType + InOut + + + + + fbMPS_BeamClass + FB_LREALFromEPICS + 32 + 64 + + + ItemType + InOut + + + + + FFO + FB_HardwareFFOutput + 32 + 96 + + + ItemType + InOut + + + + + xError + BOOL + 8 + 128 + + + ItemType + Output + + + + + ffBeamClassReadBack + FB_FastFault + 25088 + 160 + + + .i_DevName + Arbiter + + + .i_Desc + Issue with beam class readback from Accelerator. Gateway or EPICS connection. Must be fixed. + + + .i_TypeCode + 531 + + + .i_xAutoReset + 1 + + + + + cFailSafeBC + USINT + 8 + 25248 + + 16 + + + + + PouType + FunctionBlock + + + + + FB_MachineModeFromEPICS + 25280 + + BP + ST_BeamParams + 32 + 32 + + + ItemType + InOut + + + + + fbMPS_MachineMode + FB_LREALFromEPICS + 32 + 64 + + + ItemType + InOut + + + + + FFO + FB_HardwareFFOutput + 32 + 96 + + + ItemType + InOut + + + + + xError + BOOL + 8 + 128 + + + ItemType + Output + + + + + ffModeReadBack + FB_FastFault + 25088 + 160 + + + .i_DevName + Arbiter + + + .i_Desc + Issue with Machine mode readback from Accelerator. Gateway or EPICS connection. Must be fixed. + + + .i_TypeCode + 787 + + + .i_xAutoReset + 1 + + + + + cFailSafeMM + USINT + 8 + 25248 + + 3 + + + + + PouType + FunctionBlock + + + + + I_UndulatorComplex + 32 + PVOID + + __getrCurrentPhotonEnergy + REAL + 32 + + + property + + + + + __getrTargetPhotonEnergy + REAL + 32 + + + property + + + + + + FB_PhotonEnergy + 160 + + Undulator + I_UndulatorComplex + 32 + 32 + + + ItemType + Input + + + + + BP + ST_BeamParams + 32 + 64 + + + ItemType + InOut + + + + + nCurrentPhotonEnergyBitmask + UDINT + 32 + 96 + + + nTargetPhotonEnergyBitmask + UDINT + 32 + 128 + + + + PouType + FunctionBlock + + + + + FB_UndulatorSegment + 2688 + + fPeriod_mm + LREAL + Undulator period in millimeters, to be set by subclasses + 64 + 64 + + 1 + + + + ItemType + Input + + + + + fbElectronEnergy + FB_LREALFromEPICS + 32 + 128 + + + ItemType + Input + + + + + fLowK + LREAL + 64 + 192 + + 0 + + + + ItemType + Input + + + + + fHiK + LREAL + 64 + 256 + + 6 + + + + ItemType + Input + + + + + fKRangeHyst + LREAL + 64 + 320 + + 0.01 + + + + ItemType + Input + + + + + fPhotonEnergyAct + LREAL + 64 + 384 + + + ItemType + Output + + + pytmc + pv: eVAct field: DESC Calculated photon energy field: PREC 3 field: EGU eV - fPhotonEnergyDesLREAL64448ItemTypeOutputpytmc + + + + + + fPhotonEnergyDes + LREAL + 64 + 448 + + + ItemType + Output + + + pytmc + pv: eVDes field: DESC Calculated desired photon energy field: PREC 3 field: EGU eV - xActiveBOOL8512ItemTypeOutputpytmc + + + + + + xActive + BOOL + Undulator is considered active + 8 + 512 + + + ItemType + Output + + + pytmc + pv: Active io: i field: DESC Undulator is considered active - xTargetActiveBOOL8520ItemTypeOutputpytmc + + + + + + xTargetActive + BOOL + Undulator is considered active at this target + 8 + 520 + + + ItemType + Output + + + pytmc + pv: TargetActive io: i field: DESC Target K would make und active - fKActLREAL64576ItemTypeOutputpytmc + + + + + + fKAct + LREAL + 64 + 576 + + + ItemType + Output + + + pytmc + pv: KAct io: i field: DESC Current K - fKDesLREAL64640ItemTypeOutputpytmc + + + + + + fKDes + LREAL + 64 + 640 + + + ItemType + Output + + + pytmc + pv: KDes io: i field: DESC Target K - bKActValidBOOL8704ItemTypeOutputpytmc + + + + + + bKActValid + BOOL + 8 + 704 + + + ItemType + Output + + + pytmc + pv: KActValid io: i field: DESC Current K Readback Valid - bKDesValidBOOL8712ItemTypeOutputpytmc + + + + + + bKDesValid + BOOL + 8 + 712 + + + ItemType + Output + + + pytmc + pv: KDesValid io: i field: DESC Target K Readback Valid - fbKDesiredFB_LREALFromEPICS960768pytmc + + + + + + fbKDesired + FB_LREALFromEPICS + 960 + 768 + + + pytmc + pv: KDes link: KDes - fbKActualFB_LREALFromEPICS9601728pytmc + + + + + + fbKActual + FB_LREALFromEPICS + 960 + 1728 + + + pytmc + pv: KAct link: KAct - PouTypeFunctionBlockFB_SXU57856I_UndulatorComplexfbElectronEnergyFB_LREALFromEPICS3264ItemTypeInputfCurrentPhotonEnergyLREAL64128ItemTypeOutputpytmc + + + + + + + PouType + FunctionBlock + + + + + FB_SXU + 57856 + I_UndulatorComplex + + fbElectronEnergy + FB_LREALFromEPICS + 32 + 64 + + + ItemType + Input + + + + + fCurrentPhotonEnergy + LREAL + 64 + 128 + + + ItemType + Output + + + pytmc + pv: CurrentPhotonEnergy io: i field: DESC Calculated current photon energy field: PREC 3 field: EGU eV - fTargetPhotonEnergyLREAL64192ItemTypeOutputpytmc + + + + + + fTargetPhotonEnergy + LREAL + 64 + 192 + + + ItemType + Output + + + pytmc + pv: TargetPhotonEnergy io: i field: DESC Calculated desired photon energy field: PREC 3 field: EGU eV - nSeedUndulatorUDINT32256ItemTypeOutputpytmc + + + + + + nSeedUndulator + UDINT + Set to zero when no undulators are active + 32 + 256 + + + ItemType + Output + + + pytmc + pv: SeedUndulatorNumber io: i field: DESC Seed undulator number - nTargetSeedUndulatorUDINT32288ItemTypeOutputpytmc + + + + + + nTargetSeedUndulator + UDINT + Set to zero when no undulators are active + 32 + 288 + + + ItemType + Output + + + pytmc + pv: TargetSeedUndulatorNumber io: i field: DESC Seed undulator number for target K - fbSegment_26FB_UndulatorSegment2688320pytmcpv: 26; link: 2650:fbSegment_27FB_UndulatorSegment26883008pytmcpv: 27; link: 2750:fbSegment_28FB_UndulatorSegment26885696pytmcpv: 28; link: 2850:fbSegment_29FB_UndulatorSegment26888384pytmcpv: 29; link: 2950:fbSegment_30FB_UndulatorSegment268811072pytmcpv: 30; link: 3050:fbSegment_31FB_UndulatorSegment268813760pytmcpv: 31; link: 3150:fbSegment_32FB_UndulatorSegment268816448pytmcpv: 32; link: 3250:fbSegment_33FB_UndulatorSegment268819136pytmcpv: 33; link: 3350:fbSegment_34FB_UndulatorSegment268821824pytmcpv: 34; link: 3450:fbSegment_36FB_UndulatorSegment268824512pytmcpv: 36; link: 3650:fbSegment_37FB_UndulatorSegment268827200pytmcpv: 37; link: 3750:fbSegment_38FB_UndulatorSegment268829888pytmcpv: 38; link: 3850:fbSegment_39FB_UndulatorSegment268832576pytmcpv: 39; link: 3950:fbSegment_40FB_UndulatorSegment268835264pytmcpv: 40; link: 4050:fbSegment_41FB_UndulatorSegment268837952pytmcpv: 41; link: 4150:fbSegment_42FB_UndulatorSegment268840640pytmcpv: 42; link: 4250:fbSegment_43FB_UndulatorSegment268843328pytmcpv: 43; link: 4350:fbSegment_44FB_UndulatorSegment268846016pytmcpv: 44; link: 4450:fbSegment_45FB_UndulatorSegment268848704pytmcpv: 45; link: 4550:fbSegment_46FB_UndulatorSegment268851392pytmcpv: 46; link: 4650:fbSegment_47FB_UndulatorSegment268854080pytmcpv: 47; link: 4750:fbSegmentFB_UndulatorSegment262270456768fbCurrentSegmentFB_UndulatorSegment3257472iIndexUDINT3257504bInitializedBOOL8575360iLowBoundUDINT325756826pytmc + + + + + + fbSegment_26 + FB_UndulatorSegment + From lcls-srv01: grep -e KDes /u1/lcls/epics/ioc/data/sioc-unds-uc*/iocInfo/IOC.pvlist |sort + 2688 + 320 + + + pytmc + pv: 26; link: 2650: + + + + + fbSegment_27 + FB_UndulatorSegment + 2688 + 3008 + + + pytmc + pv: 27; link: 2750: + + + + + fbSegment_28 + FB_UndulatorSegment + 2688 + 5696 + + + pytmc + pv: 28; link: 2850: + + + + + fbSegment_29 + FB_UndulatorSegment + 2688 + 8384 + + + pytmc + pv: 29; link: 2950: + + + + + fbSegment_30 + FB_UndulatorSegment + 2688 + 11072 + + + pytmc + pv: 30; link: 3050: + + + + + fbSegment_31 + FB_UndulatorSegment + 2688 + 13760 + + + pytmc + pv: 31; link: 3150: + + + + + fbSegment_32 + FB_UndulatorSegment + 2688 + 16448 + + + pytmc + pv: 32; link: 3250: + + + + + fbSegment_33 + FB_UndulatorSegment + 2688 + 19136 + + + pytmc + pv: 33; link: 3350: + + + + + fbSegment_34 + FB_UndulatorSegment + 2688 + 21824 + + + pytmc + pv: 34; link: 3450: + + + + + fbSegment_36 + FB_UndulatorSegment + 2688 + 24512 + + + pytmc + pv: 36; link: 3650: + + + + + fbSegment_37 + FB_UndulatorSegment + 2688 + 27200 + + + pytmc + pv: 37; link: 3750: + + + + + fbSegment_38 + FB_UndulatorSegment + 2688 + 29888 + + + pytmc + pv: 38; link: 3850: + + + + + fbSegment_39 + FB_UndulatorSegment + 2688 + 32576 + + + pytmc + pv: 39; link: 3950: + + + + + fbSegment_40 + FB_UndulatorSegment + 2688 + 35264 + + + pytmc + pv: 40; link: 4050: + + + + + fbSegment_41 + FB_UndulatorSegment + 2688 + 37952 + + + pytmc + pv: 41; link: 4150: + + + + + fbSegment_42 + FB_UndulatorSegment + 2688 + 40640 + + + pytmc + pv: 42; link: 4250: + + + + + fbSegment_43 + FB_UndulatorSegment + 2688 + 43328 + + + pytmc + pv: 43; link: 4350: + + + + + fbSegment_44 + FB_UndulatorSegment + 2688 + 46016 + + + pytmc + pv: 44; link: 4450: + + + + + fbSegment_45 + FB_UndulatorSegment + 2688 + 48704 + + + pytmc + pv: 45; link: 4550: + + + + + fbSegment_46 + FB_UndulatorSegment + 2688 + 51392 + + + pytmc + pv: 46; link: 4650: + + + + + fbSegment_47 + FB_UndulatorSegment + 2688 + 54080 + + + pytmc + pv: 47; link: 4750: + + + + + fbSegment + FB_UndulatorSegment + + 26 + 22 + + 704 + 56768 + + + fbCurrentSegment + FB_UndulatorSegment + 32 + 57472 + + + iIndex + UDINT + 32 + 57504 + + + bInitialized + BOOL + 8 + 57536 + + 0 + + + + iLowBound + UDINT + 32 + 57568 + + 26 + + + + pytmc + pv: FirstSegment - io: iiHighBoundUDINT325760047pytmc + io: i + + + + + iHighBound + UDINT + 32 + 57600 + + 47 + + + + pytmc + pv: LastSegment - io: ifPeriod_mmLREAL645766439pytmc + io: i + + + + + fPeriod_mm + LREAL + 64 + 57664 + + 39 + + + + pytmc + pv: Period io: i field: EGU mm - fLowKLREAL64577281.5pytmc + + + + + + fLowK + LREAL + 64 + 57728 + + 1.5 + + + + pytmc + pv: LowK io: i - fHiKLREAL64577925.7pytmc + + + + + + fHiK + LREAL + 64 + 57792 + + 5.7 + + + + pytmc + pv: HiK io: i - UndAdrUpdateInit__getrTargetPhotonEnergyREAL32rTargetPhotonEnergyREAL32property__getrCurrentPhotonEnergyREAL32rCurrentPhotonEnergyREAL32propertyPouTypeFunctionBlockFB_KPhotonEnergy59136FB_PhotonEnergyfbSxuElectronEnergyFB_LREALFromEPICS960192pytmc + + + + + + UndAdrUpdate + + + Init + + + __getrTargetPhotonEnergy + REAL + 32 + + rTargetPhotonEnergy + REAL + 32 + + + + property + + + + + __getrCurrentPhotonEnergy + REAL + 32 + + rCurrentPhotonEnergy + REAL + 32 + + + + property + + + + + + PouType + FunctionBlock + + + + + FB_KPhotonEnergy + 59136 + FB_PhotonEnergy + + fbSxuElectronEnergy + FB_LREALFromEPICS + 960 + 192 + + + pytmc + pv: eEnrg link: BEND:DMPS:400:BACT field: EGU GeV - fElectronEnergyValLREAL641152pytmc + + + + + + fElectronEnergyVal + LREAL + 64 + 1152 + + + pytmc + pv: EEnergy io: i field: DESC Electron Energy field: EGU GeV - bElectronEnergyValidBOOL81216pytmc + + + + + + bElectronEnergyValid + BOOL + 8 + 1216 + + + pytmc + pv: EEnergyValid io: i field: DESC Electron Energy Valid - fbSxuFB_SXU578561280pytmc + + + + + + fbSxu + FB_SXU + 57856 + 1280 + + + pytmc + pv: UND link: USEG:UNDS: - PouTypeFunctionBlockFB_StopperWatcher84608stCurrentBPST_BeamParams3232ItemTypeInOuti_StopperOutLSBOOL864TcAddressTypeInputi_StopperInLSBOOL872TcAddressTypeInputq_StopperOUT_RelayBOOL880TcAddressTypeOutputq_StopperIN_RelayBOOL888TcAddressTypeOutputStopperUINT1696StopperNameSTRING(80)648112sPathT_MaxString2048760instance-pathnoinitfbLogMsgFB_LogMessage816002816.eSubSystem2rtInR_TRIG6484416rtOutR_TRIG6484480bInitBOOL8845441PouTypeFunctionBlockFB_KStopper84608FB_StopperWatcherPouTypeFunctionBlockFB_VetoDevice84672i_bInBOOL832ItemTypeInputi_bOutBOOL840ItemTypeInputq_bInBOOL848ItemTypeOutputq_bOutBOOL856ItemTypeOutputstCurrentBPST_BeamParams3264ItemTypeInOutVetoDevice_INUINT169616VetoDevice_OUTUINT1611216VetoDeviceNameSTRING(80)648128sPathT_MaxString2048776instance-pathnoinitfbLogMsgFB_LogMessage816002880.eSubSystem2rtInR_TRIG6484480rtOutR_TRIG6484544bInitBOOL8846081PouTypeFunctionBlockFB_KVetoDevice84672FB_VetoDevicePouTypeFunctionBlockFB_MachineSimulator2368i_stAssertedParamsST_BeamParams176032ItemTypeInputi_xFaultBOOL81792ItemTypeInputxEnableAttBOOL81800ItemTypeInputxEnablePEBOOL81808ItemTypeInputxEnableRateBOOL81816ItemTypeInputiq_stMachineParamsST_BeamParams321824ItemTypeInOutnTargetTranREAL321856tonTranTimerTON2241888.PT2000fTargetPP_mJREAL322112tonPPETimerTON2242144.PT2000PouTypeFunctionBlockFW_DRand4224nSeedINT1632ItemTypeInputfRndNumLREAL6464ItemTypeOutputFirstCall_iBOOL8128HoldRand_iDINT32160R250_Buffer_iUINT02504000192R250_IndexINT164192PouTypeFunctionBlockconditionalshowDRAND4352SeedINT1632ItemTypeInputNumLREAL6464ItemTypeOutputfbDRandFW_DRand4224128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_eVSimulator + + + + + + PouType + FunctionBlock + + + + + FB_StopperWatcher + Relays stopper state and sends a message when stopper state changes. + 84608 + + stCurrentBP + ST_BeamParams + 32 + 32 + + + ItemType + InOut + + + + + i_StopperOutLS + BOOL + 8 + 64 + + + TcAddressType + Input + + + + + i_StopperInLS + BOOL + 8 + 72 + + + TcAddressType + Input + + + + + q_StopperOUT_Relay + BOOL + 8 + 80 + + + TcAddressType + Output + + + + + q_StopperIN_Relay + BOOL + 8 + 88 + + + TcAddressType + Output + + + + + Stopper + UINT + 16 + 96 + + + StopperName + STRING(80) + 648 + 112 + + + sPath + T_MaxString + 2048 + 760 + + + instance-path + + + noinit + + + + + fbLogMsg + FB_LogMessage + Logging + 81600 + 2816 + + + .eSubSystem + 2 + + + + + rtIn + R_TRIG + 64 + 84416 + + + rtOut + R_TRIG + 64 + 84480 + + + bInit + BOOL + 8 + 84544 + + 1 + + + + + PouType + FunctionBlock + + + + + FB_KStopper + 84608 + FB_StopperWatcher + + + PouType + FunctionBlock + + + + + FB_VetoDevice + Relays veto device state, updates current BP and sends a message when veto state changes. + 84672 + + i_bIn + BOOL + 8 + 32 + + + ItemType + Input + + + + + i_bOut + BOOL + 8 + 40 + + + ItemType + Input + + + + + q_bIn + BOOL + 8 + 48 + + + ItemType + Output + + + + + q_bOut + BOOL + 8 + 56 + + + ItemType + Output + + + + + stCurrentBP + ST_BeamParams + 32 + 64 + + + ItemType + InOut + + + + + VetoDevice_IN + UINT + Veto device state array index + 16 + 96 + + 16 + + + + VetoDevice_OUT + UINT + Veto device state array index + 16 + 112 + + 16 + + + + VetoDeviceName + STRING(80) + 648 + 128 + + + sPath + T_MaxString + 2048 + 776 + + + instance-path + + + noinit + + + + + fbLogMsg + FB_LogMessage + Logging + 81600 + 2880 + + + .eSubSystem + 2 + + + + + rtIn + R_TRIG + 64 + 84480 + + + rtOut + R_TRIG + 64 + 84544 + + + bInit + BOOL + ///////////////////////////// + 8 + 84608 + + 1 + + + + + PouType + FunctionBlock + + + + + FB_KVetoDevice + 84672 + FB_VetoDevice + + + PouType + FunctionBlock + + + + + FB_MachineSimulator + Simulates the machine responding to requests by adding a bit of delay/ ramps + + 2368 + + i_stAssertedParams + ST_BeamParams + 1760 + 32 + + + ItemType + Input + + + + + i_xFault + BOOL + 8 + 1792 + + + ItemType + Input + + + + + xEnableAtt + BOOL + 8 + 1800 + + + ItemType + Input + + + + + xEnablePE + BOOL + 8 + 1808 + + + ItemType + Input + + + + + xEnableRate + BOOL + 8 + 1816 + + + ItemType + Input + + + + + iq_stMachineParams + ST_BeamParams + 32 + 1824 + + + ItemType + InOut + + + + + nTargetTran + REAL + 32 + 1856 + + + tonTranTimer + TON + 224 + 1888 + + + .PT + 2000 + + + + + fTargetPP_mJ + REAL + 32 + 2112 + + + tonPPETimer + TON + 224 + 2144 + + + .PT + 2000 + + + + + + PouType + FunctionBlock + + + + + FW_DRand + 4224 + + nSeed + INT + 16 + 32 + + + ItemType + Input + + + + + fRndNum + LREAL + 64 + 64 + + + ItemType + Output + + + + + FirstCall_i + BOOL + 8 + 128 + + + HoldRand_i + DINT + 32 + 160 + + + R250_Buffer_i + UINT + + 0 + 250 + + 4000 + 192 + + + R250_Index + INT + 16 + 4192 + + + + PouType + FunctionBlock + + + conditionalshow + + + + + DRAND + Random number generator. + 4352 + + Seed + INT + Start value + 16 + 32 + + + ItemType + Input + + + + + Num + LREAL + Random value + 64 + 64 + + + ItemType + Output + + + + + fbDRand + FW_DRand + 4224 + 128 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_eVSimulator + eV Simulator A. Wallace 2019-8-30 Adds noise to the eV and changes eV position occasionally. -]]>9088NoiseLevelREAL32320ItemTypeInputChangeTimeTIME326410000ItemTypeInputeVREAL3296300ItemTypeOutputeVRangeREAL321281600timerTON224160eVRandDRAND4352384.Seed0NoiseRandDRAND43524736.Seed0PouTypeFunctionBlockFB_BPRequestor + 9088 + + NoiseLevel + REAL + eV Noise + 32 + 32 + + 0 + + + + ItemType + Input + + + + + ChangeTime + TIME + 32 + 64 + + 10000 + + + + ItemType + Input + + + + + eV + REAL + 32 + 96 + + 300 + + + + ItemType + Output + + + + + eVRange + REAL + 32 + 128 + + 1600 + + + + timer + TON + 224 + 160 + + + eVRand + DRAND + 4352 + 384 + + + .Seed + 0 + + + + + NoiseRand + DRAND + 4352 + 4736 + + + .Seed + 0 + + + + + + PouType + FunctionBlock + + + + + FB_BPRequestor + BP Requestor Elevates the BP request from an arbiter to PMPS_GVL.stRequestedBP -]]>3904I_HigherAuthorityq_ReqBPST_BeamParams176064ItemTypeOutputArbiterFB_Arbiter321824ItemTypeInOutReqBPST_BeamParams17601856nCohortULINT643648nRequestCohortULINT643712__CHECKREQUEST__XFIRSTTIMEBOOL83776__CHECKREQUEST__NIDDWORD323808__REQUESTBP__REQIDDWORD323840__REQUESTBP__REGISTEREDBOOL838720CheckRequestBOOL8nReqIDDWORD32xFirstTimeBOOL8uselocation__CHECKREQUEST__XFIRSTTIMEnIdDWORD32uselocation__CHECKREQUEST__NIDRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760ReqIDDWORD32uselocation__REQUESTBP__REQIDRegisteredBOOL8uselocation__REQUESTBP__REGISTEREDRemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFB_PhotonEnergyWatcher + 3904 + I_HigherAuthority + + q_ReqBP + ST_BeamParams + Arbitrated BP + 1760 + 64 + + + ItemType + Output + + + + + Arbiter + FB_Arbiter + 32 + 1824 + + + ItemType + InOut + + + + + ReqBP + ST_BeamParams + 1760 + 1856 + + + nCohort + ULINT + Current cohort, inc. 1 cycle after IO is updated + 64 + 3648 + + + nRequestCohort + ULINT + Cohort number recorded at the time of the request. + 64 + 3712 + + + __CHECKREQUEST__XFIRSTTIME + BOOL + 8 + 3776 + + + __CHECKREQUEST__NID + DWORD + 32 + 3808 + + + __REQUESTBP__REQID + DWORD + 32 + 3840 + + + __REQUESTBP__REGISTERED + BOOL + 8 + 3872 + + 0 + + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + xFirstTime + BOOL + 8 + + + uselocation + __CHECKREQUEST__XFIRSTTIME + + + + + nId + DWORD + 32 + + + uselocation + __CHECKREQUEST__NID + + + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + ReqID + DWORD + 32 + + + uselocation + __REQUESTBP__REQID + + + + + Registered + BOOL + 8 + + + uselocation + __REQUESTBP__REGISTERED + + + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + FB_PhotonEnergyWatcher + A. Wallace 2019-4-22 The photon energy watcher ensures the current and target photon energy is within the arbirated bounds. Target in this case means, the calculated target photon energy @@ -548,13 +35477,216 @@ the arbitrate action of the arbiter FB. Note, this protection logic does not account for beam-off when determining fast-fault status. If a device is requesting a limited range of eV, this request must be honored, regardless of current beam-rate. -]]>128512i_stCurrentBeamParamsST_BeamParams176032ItemTypeInputi_stMachineTargetBeamParamsST_BeamParams17601792ItemTypeInputi_stRequestedBeamParamsST_BeamParams17603552ItemTypeInputi_xResetBOOL85312ItemTypeInputsNameSTRING(80)6485320PhotonEnergyWatcherItemTypeInputio_fbFFHWOFB_HardwareFFOutput325984ItemTypeInOutxPhotonEnergyWithinBoundsBOOL86016fbFFFB_FastFault250886048.i_DevNamePhotonEnergyWatcher.i_DescFault occurs when the calculated machine photon energy (K value calculated by undulator gap, and electron energy) falls outside the permitted range..i_TypeCode7evResidualDWORD3231136pytmc + + 128512 + + i_stCurrentBeamParams + ST_BeamParams + Link to global beam params + 1760 + 32 + + + ItemType + Input + + + + + i_stMachineTargetBeamParams + ST_BeamParams + Link to global machine target beam params + 1760 + 1792 + + + ItemType + Input + + + + + i_stRequestedBeamParams + ST_BeamParams + Link to arbiter output or beam param. requestor + 1760 + 3552 + + + ItemType + Input + + + + + i_xReset + BOOL + Reset fault + 8 + 5312 + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 5320 + + PhotonEnergyWatcher + + + + ItemType + Input + + + + + io_fbFFHWO + FB_HardwareFFOutput + 32 + 5984 + + + ItemType + InOut + + + + + xPhotonEnergyWithinBounds + BOOL + 8 + 6016 + + + fbFF + FB_FastFault + 25088 + 6048 + + + .i_DevName + PhotonEnergyWatcher + + + .i_Desc + Fault occurs when the calculated machine photon energy (K value calculated by undulator gap, and electron energy) falls outside the permitted range. + + + .i_TypeCode + 7 + + + + + evResidual + DWORD + 32 + 31136 + + + pytmc + pv: ResidualPhotonEnergies io: i archive: 1Hz monitor field: DESC Portions of beam eV not permitted field: EGU eV-bitmask - fbLogFB_LogMessage8160031168.eSubSystem2.eSevr4bLogOneShotBOOL8112768sDevNameT_MaxString2048112776Photon Energy WatcherfbGetHNFB_GetHostName3744114848bInitBOOL81185921sPathT_MaxString2048118600instance-pathnoinitfbStrFB_FormatString7840120672.sOutNon-zero photon energy residual: %32b; Req: %32b; Act: %32bPouTypeFunctionBlockreflectionFB_BeamClassWatcher + + + + + fbLog + FB_LogMessage + 81600 + 31168 + + + .eSubSystem + 2 + + + .eSevr + 4 + + + + + bLogOneShot + BOOL + 8 + 112768 + + + sDevName + T_MaxString + 2048 + 112776 + + Photon Energy Watcher + + + + fbGetHN + FB_GetHostName + 3744 + 114848 + + + bInit + BOOL + 8 + 118592 + + 1 + + + + sPath + T_MaxString + 2048 + 118600 + + + instance-path + + + noinit + + + + + fbStr + FB_FormatString + 7840 + 120672 + + + .sOut + Non-zero photon energy residual: %32b; Req: %32b; Act: %32b + + + + + + PouType + FunctionBlock + + + reflection + + + + + FB_BeamClassWatcher + M. Ghaly The Beam class watcher ensures the current and target beam class is within the arbirated bounds. @@ -567,39 +35699,585 @@ is the same as the PV from the ATCA crate Note, this protection logic does not account for beam-off when determining fast-fault status. If a device is requesting a limited range of BC, this request must be honored, regardless of current beam-rate. -]]>128512i_stCurrentBeamParamsST_BeamParams176032ItemTypeInputi_stMachineTargetBeamParamsST_BeamParams17601792ItemTypeInputi_stRequestedBeamParamsST_BeamParams17603552ItemTypeInputi_xAutoResetBOOL85312ItemTypeInputsNameSTRING(80)6485320BeamClassWatcherItemTypeInputio_fbFFHWOFB_HardwareFFOutput325984ItemTypeInOutxBeamClassWithinBoundsBOOL86016fbFFFB_FastFault250886048.i_DevNameBeamClassWatcher.i_DescFault occurs when the asserted beamclass or pv beam class falls outside the permitted range..i_TypeCode7bcResidualDWORD3231136pytmc + + 128512 + + i_stCurrentBeamParams + ST_BeamParams + Link to global beam params + 1760 + 32 + + + ItemType + Input + + + + + i_stMachineTargetBeamParams + ST_BeamParams + Link to global machine target beam params + 1760 + 1792 + + + ItemType + Input + + + + + i_stRequestedBeamParams + ST_BeamParams + Link to arbiter output or beam param. requestor + 1760 + 3552 + + + ItemType + Input + + + + + i_xAutoReset + BOOL + Auto Reset fault + 8 + 5312 + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 5320 + + BeamClassWatcher + + + + ItemType + Input + + + + + io_fbFFHWO + FB_HardwareFFOutput + 32 + 5984 + + + ItemType + InOut + + + + + xBeamClassWithinBounds + BOOL + 8 + 6016 + + + fbFF + FB_FastFault + 25088 + 6048 + + + .i_DevName + BeamClassWatcher + + + .i_Desc + Fault occurs when the asserted beamclass or pv beam class falls outside the permitted range. + + + .i_TypeCode + 7 + + + + + bcResidual + DWORD + 32 + 31136 + + + pytmc + pv: ResidualBeamClass io: i archive: 1Hz monitor field: EGU bc-bitmask - fbLogFB_LogMessage8160031168.eSubSystem2.eSevr4bLogOneShotBOOL8112768sDevNameT_MaxString2048112776Beam Class WatcherfbGetHNFB_GetHostName3744114848bInitBOOL81185921sPathT_MaxString2048118600instance-pathnoinitfbStrFB_FormatString7840120672.sOutNon-zero beam class residual: %32b; Req: %32b; Act: %32bPouTypeFunctionBlockreflectionFB_BeamClassOutputs_BCD + + + + + fbLog + FB_LogMessage + 81600 + 31168 + + + .eSubSystem + 2 + + + .eSevr + 4 + + + + + bLogOneShot + BOOL + 8 + 112768 + + + sDevName + T_MaxString + 2048 + 112776 + + Beam Class Watcher + + + + fbGetHN + FB_GetHostName + 3744 + 114848 + + + bInit + BOOL + 8 + 118592 + + 1 + + + + sPath + T_MaxString + 2048 + 118600 + + + instance-path + + + noinit + + + + + fbStr + FB_FormatString + 7840 + 120672 + + + .sOut + Non-zero beam class residual: %32b; Req: %32b; Act: %32b + + + + + + PouType + FunctionBlock + + + reflection + + + + + FB_BeamClassOutputs_BCD + Sets the beam class assertion lines for a given beam class. -]]>1920BPST_BeamParams176032ItemTypeInputnBeamClassBYTE81792wBeamClassBYTE81800InitCounterBYTE81808counterINT161824epicsBitmapWORD + 1920 + + BP + ST_BeamParams + 1760 + 32 + + + ItemType + Input + + + + + nBeamClass + BYTE + 8 + 1792 + + + wBeamClass + BYTE + 8 + 1800 + + + InitCounter + BYTE + 8 + 1808 + + + counter + INT + 16 + 1824 + + + epicsBitmap + WORD + Beam class lines are restricted to 4 channels in the current design. There are 16 possible beamclasses with 0 -15 with 0 no beam. - First out put is the LSB and bit 4 is MSB]]>161840pytmcpv: BeamClassChannel + First out put is the LSB and bit 4 is MSB + 16 + 1840 + + + pytmc + pv: BeamClassChannel io: i - field: DESC Hardwire channel stateq_BC_ASSERTION_LINESBOOL14321856TcLinkTo[1] := TIIB[PMPS_Premp]^Channel 1^Output; + field: DESC Hardwire channel state + + + + + q_BC_ASSERTION_LINES + BOOL + + 1 + 4 + + 32 + 1856 + + + TcLinkTo + [1] := TIIB[PMPS_Premp]^Channel 1^Output; [2] := TIIB[PMPS_Premp]^Channel 2^Output; [3] := TIIB[PMPS_Premp]^Channel 3^Output; - [4] := TIIB[PMPS_Premp]^Channel 4^Output;TcAddressTypeOutputMAX_BEAM_CLASS_LINESBYTE818884PouTypeFunctionBlockno_checkFB_CTLS_Outputs + + + TcAddressType + Output + + + + + MAX_BEAM_CLASS_LINES + BYTE + Limited to total of 4 digital outputs + 8 + 1888 + + 4 + + + + + PouType + FunctionBlock + + + no_check + + + + + FB_CTLS_Outputs + Controls auxiliary beam class outputs. 1-3 are mapped to control the Cu beamline rate via the LCLS II MPS. Maps beam rate requests to 1, 10, or full rate beam for Cu linac. -]]>1856BPST_BeamParams176032ItemTypeInputepicsBitmapWORD161792pytmcpv: CTLSChannel + + 1856 + + BP + ST_BeamParams + 1760 + 32 + + + ItemType + Input + + + + + epicsBitmap + WORD + 16 + 1792 + + + pytmc + pv: CTLSChannel io: i - field: DESC CTLS Rate Control hardwire channel stateq_CLTS_ASSERTION_LINESBOOL13241808TcLinkTo[1] := TIIB[PMPS_Premp]^Channel 9^Output; + field: DESC CTLS Rate Control hardwire channel state + + + + + q_CLTS_ASSERTION_LINES + BOOL + + 1 + 3 + + 24 + 1808 + + + TcLinkTo + [1] := TIIB[PMPS_Premp]^Channel 9^Output; [2] := TIIB[PMPS_Premp]^Channel 10^Output; - [3] := TIIB[PMPS_Premp]^Channel 11^Output;TcAddressTypeOutputPouTypeFunctionBlockST_BeamParams_IO1760nTranREAL320011plcAttribute_pytmcpv: Attenuation - io: inRateUDINT3232120plcAttribute_pytmcpv: Rate - io: ineVRangeDWORD32644294967295plcAttribute_pytmcpv: PhotonEnergy - io: iplcAttribute_displaymodebinaryneVREAL3296nBCRangeWORD161280655350nBeamClassUSINT814400nMachineModeUSINT8152astAttenuatorsST_PMPS_Attenuator_IO1161024160plcAttribute_pytmcpv: AuxAttenuator - io: iastAperturesST_PMPS_Aperture_IO143841184aVetoDevicesBOOL1161281568plcAttribute_pytmcpv: AuxAttenuator - io: ixValidToggleBOOL81696xValidBOOL81704plcAttribute_pytmcpv: Valid - io: inCohortIntUDINT321728plcAttribute_pytmcpv: Attenuation - io: iFB_ArbiterToSubSys_IO + + + TcAddressType + Output + + + + + + PouType + FunctionBlock + + + + + ST_BeamParams_IO + 1760 + + nTran + REAL + Requested pre-optic attenuation - 1 is full transmission + 32 + 0 + + 0 + 1 + 1 + + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 120 + + + + plcAttribute_pytmc + pv: Rate + io: i + + + + + neVRange + DWORD + Photon energy ranges + 32 + 64 + + 4294967295 + + + + plcAttribute_pytmc + pv: PhotonEnergy + io: i + + + plcAttribute_displaymode + binary + + + + + neV + REAL + Current Photon energy as calculated by the arbiter + 32 + 96 + + + nBCRange + WORD + 16 + 128 + + 0 + 65535 + 0 + + + + nBeamClass + USINT + 8 + 144 + + 0 + 0 + + + + nMachineMode + USINT + 8 + 152 + + + astAttenuators + ST_PMPS_Attenuator_IO + + 1 + 16 + + Beamline attenuators + 1024 + 160 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + astApertures + ST_PMPS_Aperture_IO + + 1 + 4 + + 384 + 1184 + + + aVetoDevices + BOOL + + 1 + 16 + + Stopper statuses + 128 + 1568 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + xValidToggle + BOOL + Toggle for watchdog + 8 + 1696 + + + xValid + BOOL + Beam parameter set is valid (if readback), or acknowledged (if request) + 8 + 1704 + + + plcAttribute_pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + Cohort index. Identifies which cohort this BP set was included in arbitration + 32 + 1728 + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FB_ArbiterToSubSys_IO + Exchanges preemption requests and current beam state with subsystems in arbiter network. 2019-12-2, A. Wallace @@ -626,221 +36304,3729 @@ If a subsystem has any new or changed preemptive requests you should see the coh If the cohort number is incrementing out of control, it usually means the subsysetm has some preemptive request loop (two arbiters elevating to each other), or there is a RequestAdd, RequestRemove loop. -]]>31328RequestingSystemIDDWORD32324294967295ItemTypeInputsNameSTRING(80)64864ArbiterToSubSysItemTypeInputResetBOOL8712ItemTypeInputArbiterFB_Arbiter32736ItemTypeInOutfbFFHWOFB_HardwareFFOutput32768ItemTypeInOuti_RequestedBPST_BeamParams_IO1760800TcAddressTypeInputRequestedBPST_BeamParams17602560pytmc + + 31328 + + RequestingSystemID + DWORD + System ID for making requests to the supreme arbiter + 32 + 32 + + 4294967295 + + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 64 + + ArbiterToSubSys + + + + ItemType + Input + + + + + Reset + BOOL + 8 + 712 + + + ItemType + Input + + + + + Arbiter + FB_Arbiter + 32 + 736 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 768 + + + ItemType + InOut + + + + + i_RequestedBP + ST_BeamParams_IO + Requested BP from subsystem + 1760 + 800 + + + TcAddressType + Input + + + + + RequestedBP + ST_BeamParams + 1760 + 2560 + + + pytmc + pv: RequestedBP:FromSubSys - o_CurrentBPST_BeamParams_IO17604320TcAddressTypeOutputi_ConnectedBOOL86080TcAddressTypeInputi_WcStateBOOL860881pytmcpv: WcState + + + + + + o_CurrentBP + ST_BeamParams_IO + Current BP set + 1760 + 4320 + + + TcAddressType + Output + + + + + i_Connected + BOOL + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + 6080 + + + TcAddressType + Input + + + + + i_WcState + BOOL + WcState^WcState + 8 + 6088 + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInputi_TxPDOStateBOOL860961pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + + + i_TxPDOState + BOOL + SYNC Inputs^TxPDO state + 8 + 6096 + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInputi_TxPDOToggleBOOL86104pytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + + + i_TxPDOToggle + BOOL + TxPDO toggle + 8 + 6104 + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInputffPMPSIO_DisconnectFB_FastFault250886112.i_DescIssue w/ arbiter interface to subsystem, verify subsystem is OK, or ethercat connection.nActiveCohortUDINT32312000nRequestedCohortUDINT32312320rtToggleR_TRIG6431264PouTypeFunctionBlockVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512TcSystemEventClassInternalErrorErrorNoRTimeErrorAllocationLockedMemoryErrorErrorInsertMailboxErrorErrorWrongReceiveHMSGErrorTargetPortNotFoundErrorTargetMachineNotFoundErrorUnknownCommandIDErrorBadTaskIDErrorNoIOErrorUnknownAdsCommandErrorWin32ErrorErrorPortNotConnectedErrorInvalidAdsLengthErrorInvalidAdsNetIDErrorLowInstallationLevelErrorNoDebugAvailableErrorPortDisabledErrorPortAlreadyConnectedErrorAdsSyncWin32ErrorErrorAdsSyncTimeoutErrorAdsSyncAmsErrorErrorAdsSyncNoIndexMapErrorInvalidAdsPortErrorNoMemoryErrorTCPSendErrorErrorHostUnreachableErrorInvalidAMSFragmentErrorTcGeneralAdsEventClassGeneralDeviceErrorErrorServiceNotSupportedErrorInvalidIndexGroupErrorInvalidIndexOffsetErrorInvalidAccessErrorInvalidSizeErrorInvalidDataErrorNotReadyErrorBusyErrorInvalidContextErrorNoMemoryErrorInvalidParamErrorNotFoundErrorSyntaxErrorIncompatibleErrorAlreadyExistsErrorSymbolNotFoundErrorSymbolVersionInvalid Release handle and try again.)]]>ErrorInvalidStateErrorTransModeNotSupportedErrorNotificationHandleInvalid Release handle and try again.)]]>ErrorClientUnknownErrorNoMoreHandlesErrorInvalidWatchSizeErrorNotInitErrorDeviceTimeoutErrorNoInterfaceErrorInvalidInterfaceErrorInvalidClassIDErrorInvalidObjectIDErrorPendingErrorAbortedErrorSignalWarningErrorInvalidArrayIndexErrorSymbolNotActive Release handle and try again.)]]>ErrorAccessDeniedErrorLicenseMissingErrorLicenseExpiredErrorLicenseExceededErrorLicenseInvalidErrorLicenseSystemIDErrorLicenseNoTimeLimitErrorLicenseFutureIssueErrorLicenseTimeTooLongErrorExceptionErrorLicenseDuplicatedErrorInvalidServiceParamErrorListEmptyErrorVariableConAlreadyInUseErrorInvokeIDAlreadyInUseErrorTimeoutElapsedErrorWin32ErrorErrorTimeoutInvalidErrorPortNotOpenErrorNoAMSAddrErrorSyncInternalErrorErrorAddHashErrorRemoveHashErrorNoMoreSymbolsErrorSyncResInvalidErrorSyncPortLockedErrorTcRouterEventClassNoLockedMemoryErrorResizeMemoryErrorMailboxFullErrorDebugBoxFullErrorUnknownPortTypeErrorNotInitializedErrorPortAlreadyInUseErrorNotRegisteredErrorNoMoreQueuesErrorInvalidPortErrorNotActivatedErrorFragmentBoxFullErrorFragmentTimeoutErrorToBeRemovedErrorTcRTimeEventClassInternalErrorErrorBadTimerPeriodsErrorInvalidTaskPtrErrorInvalidStackPtrErrorPrioExistsErrorNoMoreTCBErrorNoMoreSemasErrorNoMoreQueuesErrorExtIRQAlreadyDefErrorExtIRQNotDefErrorExtIRQInstallFailedErrorIRQNotLessOrEqualErrorVMXNotSupportedErrorVMXDisabledErrorVMXControlsMissingErrorVMXEnableFailsErrorWin32EventClassERROR_SUCCESSVerboseERROR_INVALID_FUNCTIONErrorERROR_FILE_NOT_FOUNDErrorERROR_PATH_NOT_FOUNDErrorERROR_TOO_MANY_OPEN_FILESErrorERROR_ACCESS_DENIEDErrorERROR_INVALID_HANDLEErrorERROR_NOT_ENOUGH_MEMORYErrorERROR_INVALID_DATAErrorERROR_NOT_READYErrorERROR_BAD_COMMANDErrorERROR_CRCErrorERROR_BAD_LENGTHErrorERROR_WRITE_FAULTErrorERROR_READ_FAULTErrorERROR_GEN_FAILUREErrorERROR_NOT_SUPPORTEDErrorERROR_REM_NOT_LISTErrorERROR_DUP_NAMEErrorERROR_BAD_NETPATHErrorERROR_NETWORK_BUSYErrorERROR_DEV_NOT_EXISTErrorERROR_FILE_EXISTSErrorERROR_CANNOT_MAKEErrorERROR_ALREADY_ASSIGNEDErrorERROR_INVALID_PASSWORDErrorERROR_INVALID_PARAMETERErrorERROR_OPEN_FAILEDErrorERROR_ALREADY_EXISTSErrorERROR_INVALID_FLAG_NUMBERErrorWAIT_TIMEOUTErrorERROR_NO_MORE_ITEMSErrorERROR_INVALID_ADDRESSErrorERROR_ARITHMETIC_OVERFLOWErrorERROR_OPERATION_ABORTEDErrorERROR_IO_INCOMPLETEErrorERROR_IO_PENDINGErrorLCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseKFEArbiter{08500001-0000-0000-F000-000000000064}0FFOTask#x020100401PlcTask#x020100303FFOTask Internal0160104448TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal1274579072TwinCAT_SystemInfoVarList._TaskPouOid_FFOTask32OTCIDno_initTcVarGlobal1274583168TwinCAT_SystemInfoVarList._TaskOid_FFOTask32OTCIDno_initTcVarGlobal1274583200TwinCAT_SystemInfoVarList.__FFOTask704_Implicit_Task_Info.dwVersion2TcContextNameFFOTaskTcVarGlobal127458329616PlcTask Inputs1160104448MAIN.fbEcatDiag.wFrmXWcState16WORDTcLinkToTIID^Device 1 (EtherCAT)^Inputs^Frm1WcStateTcAddressTypeInput1270630048MAIN.fbEcatDiag.nEcMasterSlaveCount16UINTTcLinkToTIID^Device 1 (EtherCAT)^Inputs^SlaveCountTcAddressTypeInput1271712960MAIN.fbEcatDiag.nEcMasterDevState16UINTTcLinkToTIID^Device 1 (EtherCAT)^Inputs^DevStateTcAddressTypeInput1271712976MAIN.fbEcatDiag.nEcMasterDeviceId16UINTTcLinkToTIID^Device 1 (EtherCAT)^InfoData^DevIdTcAddressTypeInput1271712992MAIN.fbEcatDiag.arrEcMasterNetId48T_AmsNetIdArrTcLinkToTIID^Device 1 (EtherCAT)^InfoData^AmsNetIdTcAddressTypeInput1271713008MAIN.fbEcatDiag.nEcMasterSlaveCountCfg16UINTTcLinkToTIID^Device 1 (EtherCAT)^InfoData^CfgSlaveCountTcAddressTypeInput1271713248CurrentBPUpdate.i_MR1K1_ENC32UDINTTcLinkToTIIB[plc-rix-optics]^IO Inputs^MR1K1_Y_ENCTcAddressTypeInput1271896800CurrentBPUpdate.st3k4Watcher.i_StopperOutLS8BOOLTcAddressTypeInput1271896896CurrentBPUpdate.st3k4Watcher.i_StopperInLS8BOOLTcAddressTypeInput1271896904CurrentBPUpdate.st1k2Watcher.i_StopperOutLS8BOOLTcAddressTypeInput1271981504CurrentBPUpdate.st1k2Watcher.i_StopperInLS8BOOLTcAddressTypeInput1271981512P_AT1K0_SL1K0.i_bWcStateOut_AT1K08BOOLTcLinkToTIIB[plc-kfe-gatt]^WcState^WcStateOutTcAddressTypeInput1272066152P_AT1K0_SL1K0.i_bWcStateIn_AT1K08BOOLTcLinkToTIIB[plc-kfe-gatt]^WcState^WcStateInTcAddressTypeInput1272066160P_AT1K0_SL1K0.i_bWcStateOut_KFEMOT8BOOLTcLinkToTIIB[plc-kfe-motion]^WcState^WcStateOutTcAddressTypeInput1272066168CurrentBPUpdate.st4k4Watcher.i_StopperOutLS8BOOLTcAddressTypeInput1272150912CurrentBPUpdate.st4k4Watcher.i_StopperInLS8BOOLTcAddressTypeInput1272150920PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272513696PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272518976PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + + + ffPMPSIO_Disconnect + FB_FastFault + Fast fault for ethercat issues + 25088 + 6112 + + + .i_Desc + Issue w/ arbiter interface to subsystem, verify subsystem is OK, or ethercat connection. + + + + + nActiveCohort + UDINT + Active cohort. Updated to the req. number from the sub system after request is confirmed. + 32 + 31200 + + 0 + + + + nRequestedCohort + UDINT + 32 + 31232 + + 0 + + + + rtToggle + R_TRIG + 64 + 31264 + + + + PouType + FunctionBlock + + + + + VERSION + 64 + + uiMajor + UINT + 16 + 0 + + + uiMinor + UINT + 16 + 16 + + + uiServicePack + UINT + 16 + 32 + + + uiPatch + UINT + 16 + 48 + + + + PlcTaskSystemInfo + 1024 + + ObjId + OTCID + 32 + 0 + + + CycleTime + UDINT + 32 + 32 + + + Priority + UINT + 16 + 64 + + + AdsPort + UINT + 16 + 80 + + + CycleCount + UDINT + 32 + 96 + + + DcTaskTime + LINT + 64 + 128 + + + LastExecTime + UDINT + 32 + 192 + + + FirstCycle + BOOL + 8 + 224 + + + CycleTimeExceeded + BOOL + 8 + 232 + + + InCallAfterOutputUpdate + BOOL + 8 + 240 + + + RTViolation + BOOL + 8 + 248 + + + TaskName + STRING(63) + 512 + 512 + + + + + + + + TcSystemEventClass + TcSystemEventClass + + InternalError + InternalError + Error + + + NoRTime + NoRTime + Error + + + AllocationLockedMemoryError + AllocationLockedMemoryError + Error + + + InsertMailboxError + InsertMailboxError + Error + + + WrongReceiveHMSG + WrongReceiveHMSG + Error + + + TargetPortNotFound + TargetPortNotFound (possible cause: ADS server not started) + Error + + + TargetMachineNotFound + TargetMachineNotFound (possible cause: missing ADS route) + Error + + + UnknownCommandID + UnknownCommandID + Error + + + BadTaskID + BadTaskID + Error + + + NoIO + NoIO + Error + + + UnknownAdsCommand + UnknownAdsCommand + Error + + + Win32Error + Win32Error + Error + + + PortNotConnected + PortNotConnected + Error + + + InvalidAdsLength + InvalidAdsLength + Error + + + InvalidAdsNetID + InvalidAdsNetID + Error + + + LowInstallationLevel + LowInstallationLevel + Error + + + NoDebugAvailable + NoDebugAvailable + Error + + + PortDisabled + PortDisabled + Error + + + PortAlreadyConnected + PortAlreadyConnected + Error + + + AdsSyncWin32Error + AdsSyncWin32Error + Error + + + AdsSyncTimeout + AdsSyncTimeout + Error + + + AdsSyncAmsError + AdsSyncAmsError + Error + + + AdsSyncNoIndexMap + AdsSyncNoIndexMap + Error + + + InvalidAdsPort + InvalidAdsPort + Error + + + NoMemory + NoMemory + Error + + + TCPSendError + TCPSendError + Error + + + HostUnreachable + HostUnreachable + Error + + + InvalidAMSFragment + InvalidAMSFragment + Error + + + + TcGeneralAdsEventClass + TcGeneralAdsEventClass + + GeneralDeviceError + General device error + Error + + + ServiceNotSupported + Service is not supported by server. + Error + + + InvalidIndexGroup + Invalid index group + Error + + + InvalidIndexOffset + Invalid index offset + Error + + + InvalidAccess + Reading/writing is not permitted. + Error + + + InvalidSize + Parameter size is not correct. + Error + + + InvalidData + Invalid parameter value(s) + Error + + + NotReady + Device is not in a ready state. + Error + + + Busy + Device is busy. + Error + + + InvalidContext + Invalid context + Error + + + NoMemory + Out of memory + Error + + + InvalidParam + Invalid parameter value(s) + Error + + + NotFound + Not found (files, ...) + Error + + + Syntax + Syntax error in comand or file + Error + + + Incompatible + Object does not match. + Error + + + AlreadyExists + Object already exists. + Error + + + SymbolNotFound + Symbol was not found. + Error + + + SymbolVersionInvalid + Symbol version is invalid. (-> Release handle and try again.) + Error + + + InvalidState + Server is in invalid state. + Error + + + TransModeNotSupported + AdsTransMode is not supported. + Error + + + NotificationHandleInvalid + Notification handle is invalid. (-> Release handle and try again.) + Error + + + ClientUnknown + Notification client is not registered. + Error + + + NoMoreHandles + No more notification handles + Error + + + InvalidWatchSize + Size for watch is too big. + Error + + + NotInit + Device is not initialized. + Error + + + DeviceTimeout + Device has a timeout. + Error + + + NoInterface + Query interface is failed. + Error + + + InvalidInterface + Wrong interface is required. + Error + + + InvalidClassID + Class ID is invalid. + Error + + + InvalidObjectID + Object ID is invalid. + Error + + + Pending + Request is pending. + Error + + + Aborted + Request is aborted. + Error + + + SignalWarning + Signal warning + Error + + + InvalidArrayIndex + Invalid array index + Error + + + SymbolNotActive + Symbol is not active. (-> Release handle and try again.) + Error + + + AccessDenied + Access is denied. + Error + + + LicenseMissing + License is missing / not found. + Error + + + LicenseExpired + License is expired. + Error + + + LicenseExceeded + License is exceeded. + Error + + + LicenseInvalid + License is invalid. + Error + + + LicenseSystemID + License with invalid system ID + Error + + + LicenseNoTimeLimit + License is not time limited. + Error + + + LicenseFutureIssue + License issue time is in the future. + Error + + + LicenseTimeTooLong + License time period is too long. + Error + + + Exception + Exception in the device code + Error + + + LicenseDuplicated + License file is read twice. + Error + + + InvalidServiceParam + Invalid parameter at service call + Error + + + ListEmpty + Polling list is empty. + Error + + + VariableConAlreadyInUse + Variable connection is already in use. + Error + + + InvokeIDAlreadyInUse + Invoke ID is already in use. + Error + + + TimeoutElapsed + Timeout is elapsed. + Error + + + Win32Error + Error in Win32 subsystem + Error + + + TimeoutInvalid + Timeout value is invalid. + Error + + + PortNotOpen + Port is not open (Ads dll). + Error + + + NoAMSAddr + No AMS address (Ads dll) + Error + + + SyncInternalError + Internal error in Ads sync + Error + + + AddHash + Hash table overflow + Error + + + RemoveHash + Key not found in hash table + Error + + + NoMoreSymbols + No more symbols in cache + Error + + + SyncResInvalid + Invalid response received + Error + + + SyncPortLocked + Sync port is locked. + Error + + + + + + + TcRouterEventClass + TcRouterEventClass + + NoLockedMemory + No locked memory can be allocated. + Error + + + ResizeMemory + The size of the router memory could not be changed. + Error + + + MailboxFull + The mailbox has reached the maximum number of possible messages. The current sent message was rejected. + Error + + + DebugBoxFull + The debug mailbox has reached the maximum number of possible messages. The sent message will not be displayed in the debug monitor. + Error + + + UnknownPortType + The port type is unknown. + Error + + + NotInitialized + TwinCAT Router is not initialised. + Error + + + PortAlreadyInUse + The desired port number is already assigned. + Error + + + NotRegistered + The Port is not registered. + Error + + + NoMoreQueues + The maximum number of Ports is reached. + Error + + + InvalidPort + The port is invalid. + Error + + + NotActivated + TwinCAT Router is not active. + Error + + + FragmentBoxFull + Fragment Box is full. + Error + + + FragmentTimeout + Fragment Timeout + Error + + + ToBeRemoved + ToBeRemoved + Error + + + + TcRTimeEventClass + TcRTimeEventClass + + InternalError + An internal fatal error in the TwinCAT real-time system occurred. + Error + + + BadTimerPeriods + The timer period is invalid. + Error + + + InvalidTaskPtr + The task pointer has the invalid value ZERO. + Error + + + InvalidStackPtr + The task stack pointer has the invalid value ZERO. + Error + + + PrioExists + The demanded task priority is already assigned. + Error + + + NoMoreTCB + No more free TCB (Task Control Block) available. The maximum number of TCBs is 64. + Error + + + NoMoreSemas + No more free semaphores available. The maximum number of semaphores is 64. + Error + + + NoMoreQueues + No more free queues available. The maximum number of queues is 64. + Error + + + ExtIRQAlreadyDef + An external synchronisation interrupt is already applied. + Error + + + ExtIRQNotDef + No external synchronsiation interrupt is applied. + Error + + + ExtIRQInstallFailed + The apply of the external synchronisation interrupt failed. + Error + + + IRQNotLessOrEqual + Call of a service function in the wrong context. + Error + + + VMXNotSupported + Intel VT-x extension is not supported. + Error + + + VMXDisabled + Intel VT-x extension is not enabled in BIOS. + Error + + + VMXControlsMissing + Missing feature in Intel VT-x extension. + Error + + + VMXEnableFails + Enabling Intel VT-x fails. + Error + + + + Win32EventClass + Win32EventClass + + ERROR_SUCCESS + The operation completed successfully. + Verbose + + + ERROR_INVALID_FUNCTION + Incorrect function. + Error + + + ERROR_FILE_NOT_FOUND + The system cannot find the file specified. + Error + + + ERROR_PATH_NOT_FOUND + The system cannot find the path specified. + Error + + + ERROR_TOO_MANY_OPEN_FILES + The system cannot open the file. + Error + + + ERROR_ACCESS_DENIED + Access is denied. + Error + + + ERROR_INVALID_HANDLE + The handle is invalid. + Error + + + ERROR_NOT_ENOUGH_MEMORY + Not enough storage is available to process this command. + Error + + + ERROR_INVALID_DATA + The data is invalid. + Error + + + ERROR_NOT_READY + The device is not ready. + Error + + + ERROR_BAD_COMMAND + The device does not recognize the command. + Error + + + ERROR_CRC + Data error (cyclic redundancy check). + Error + + + ERROR_BAD_LENGTH + The program issued a command but the command length is incorrect. + Error + + + ERROR_WRITE_FAULT + The system cannot write to the specified device. + Error + + + ERROR_READ_FAULT + The system cannot read from the specified device. + Error + + + ERROR_GEN_FAILURE + A device attached to the system is not functioning. + Error + + + ERROR_NOT_SUPPORTED + The request is not supported. + Error + + + ERROR_REM_NOT_LIST + The remote computer is not available. + Error + + + ERROR_DUP_NAME + A duplicate name exists on the network. + Error + + + ERROR_BAD_NETPATH + The network path was not found. + Error + + + ERROR_NETWORK_BUSY + The network is busy. + Error + + + ERROR_DEV_NOT_EXIST + The specified network resource or device is no longer available. + Error + + + ERROR_FILE_EXISTS + The file exists. + Error + + + ERROR_CANNOT_MAKE + The directory or file cannot be created. + Error + + + ERROR_ALREADY_ASSIGNED + The local device name is already in use. + Error + + + ERROR_INVALID_PASSWORD + The specified network password is not correct. + Error + + + ERROR_INVALID_PARAMETER + The parameter is incorrect. + Error + + + ERROR_OPEN_FAILED + The system cannot open the device or file specified. + Error + + + ERROR_ALREADY_EXISTS + Cannot create a file when that file already exists. + Error + + + ERROR_INVALID_FLAG_NUMBER + The flag passed is not correct. + Error + + + WAIT_TIMEOUT + The wait operation timed out. + Error + + + ERROR_NO_MORE_ITEMS + No more data is available. + Error + + + ERROR_INVALID_ADDRESS + Attempt to access invalid address. + Error + + + ERROR_ARITHMETIC_OVERFLOW + Arithmetic result exceeded 32 bits. + Error + + + ERROR_OPERATION_ABORTED + The I/O operation has been aborted because of either a thread exit or an application request. + Error + + + ERROR_IO_INCOMPLETE + Overlapped I/O event is not in a signaled state. + Error + + + ERROR_IO_PENDING + Overlapped I/O operation is in progress. + Error + + + + + + + LCLSGeneralEventClass + Log event + + Critical + Critical + Critical + + + Error + Error + Error + + + Warning + Warning + Warning + + + Info + Info + Info + + + Verbose + Verbose + Verbose + + + + + + + + + + + + + + + KFEArbiter + {08500001-0000-0000-F000-000000000064} + + + + 0 + FFOTask + + #x02010040 + + + + 1 + PlcTask + + #x02010030 + + + + + + + 3 + FFOTask Internal + 0 + 160104448 + + TwinCAT_SystemInfoVarList._AppInfo + 2048 + PlcAppSystemInfo + + + no_init + + + TcVarGlobal + + + 1274579072 + + + TwinCAT_SystemInfoVarList._TaskPouOid_FFOTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 1274583168 + + + TwinCAT_SystemInfoVarList._TaskOid_FFOTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 1274583200 + + + TwinCAT_SystemInfoVarList.__FFOTask + 704 + _Implicit_Task_Info + + + .dwVersion + 2 + + + + + TcContextName + FFOTask + + + TcVarGlobal + + + 1274583296 + + + + 16 + PlcTask Inputs + 1 + 160104448 + + MAIN.fbEcatDiag.wFrmXWcState + link to task related ethercat frame state (Frm1WcState) + 16 + WORD + + + TcLinkTo + TIID^Device 1 (EtherCAT)^Inputs^Frm1WcState + + + TcAddressType + Input + + + 1270630048 + + + MAIN.fbEcatDiag.nEcMasterSlaveCount + link to SlaveCount of EtherCAT Master (Inputs) + 16 + UINT + + + TcLinkTo + TIID^Device 1 (EtherCAT)^Inputs^SlaveCount + + + TcAddressType + Input + + + 1271712960 + + + MAIN.fbEcatDiag.nEcMasterDevState + link to DevState of EtherCAT Master (Inputs) + 16 + UINT + + + TcLinkTo + TIID^Device 1 (EtherCAT)^Inputs^DevState + + + TcAddressType + Input + + + 1271712976 + + + MAIN.fbEcatDiag.nEcMasterDeviceId + link to DevID of EtherCAT Master (InfoData) + 16 + UINT + + + TcLinkTo + TIID^Device 1 (EtherCAT)^InfoData^DevId + + + TcAddressType + Input + + + 1271712992 + + + MAIN.fbEcatDiag.arrEcMasterNetId + link to NetID of EtherCAT Master (InfoData) + 48 + T_AmsNetIdArr + + + TcLinkTo + TIID^Device 1 (EtherCAT)^InfoData^AmsNetId + + + TcAddressType + Input + + + 1271713008 + + + MAIN.fbEcatDiag.nEcMasterSlaveCountCfg + link to CfgSlaveCount of EtherCAT Master (InfoData) + 16 + UINT + + + TcLinkTo + TIID^Device 1 (EtherCAT)^InfoData^CfgSlaveCount + + + TcAddressType + Input + + + 1271713248 + + + CurrentBPUpdate.i_MR1K1_ENC + ///////////////////// + 32 + UDINT + + + TcLinkTo + TIIB[plc-rix-optics]^IO Inputs^MR1K1_Y_ENC + + + TcAddressType + Input + + + 1271896800 + + + CurrentBPUpdate.st3k4Watcher.i_StopperOutLS + 8 + BOOL + + + TcAddressType + Input + + + 1271896896 + + + CurrentBPUpdate.st3k4Watcher.i_StopperInLS + 8 + BOOL + + + TcAddressType + Input + + + 1271896904 + + + CurrentBPUpdate.st1k2Watcher.i_StopperOutLS + 8 + BOOL + + + TcAddressType + Input + + + 1271981504 + + + CurrentBPUpdate.st1k2Watcher.i_StopperInLS + 8 + BOOL + + + TcAddressType + Input + + + 1271981512 + + + P_AT1K0_SL1K0.i_bWcStateOut_AT1K0 + plc-kfe-gatt interface diagnostics + 8 + BOOL + + + TcLinkTo + TIIB[plc-kfe-gatt]^WcState^WcStateOut + + + TcAddressType + Input + + + 1272066152 + + + P_AT1K0_SL1K0.i_bWcStateIn_AT1K0 + 8 + BOOL + + + TcLinkTo + TIIB[plc-kfe-gatt]^WcState^WcStateIn + + + TcAddressType + Input + + + 1272066160 + + + P_AT1K0_SL1K0.i_bWcStateOut_KFEMOT + plc-kfe-motion interface diagnostics + 8 + BOOL + + + TcLinkTo + TIIB[plc-kfe-motion]^WcState^WcStateOut + + + TcAddressType + Input + + + 1272066168 + + + CurrentBPUpdate.st4k4Watcher.i_StopperOutLS + 8 + BOOL + + + TcAddressType + Input + + + 1272150912 + + + CurrentBPUpdate.st4k4Watcher.i_StopperInLS + 8 + BOOL + + + TcAddressType + Input + + + 1272150920 + + + PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272513696 + + + PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272518976 + + + PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272518984PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272518984 + + + PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272518992PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272518992 + + + PMPS_Arbiter.plc_kfe_motion_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272519000PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272545024PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272550304PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272519000 + + + PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272545024 + + + PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272550304 + + + PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272550312PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272550312 + + + PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272550320PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272550320 + + + PMPS_Arbiter.plc_kfe_vac_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272550328PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272576352PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272581632PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272550328 + + + PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272576352 + + + PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272581632 + + + PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272581640PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272581640 + + + PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272581648PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272581648 + + + PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272581656PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272607680PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272612960PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272581656 + + + PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272607680 + + + PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272612960 + + + PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272612968PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272612968 + + + PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272612976PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272612976 + + + PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272612984PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272639008PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272644288PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272612984 + + + PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272639008 + + + PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272644288 + + + PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272644296PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272644296 + + + PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272644304PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272644304 + + + PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272644312PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272670336PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272675616PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272644312 + + + PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272670336 + + + PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272675616 + + + PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272675624PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272675624 + + + PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272675632PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272675632 + + + PMPS_Arbiter.plc_tmo_motion_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272675640PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272701664PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272706944PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272675640 + + + PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272701664 + + + PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272706944 + + + PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272706952PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272706952 + + + PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272706960PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272706960 + + + PMPS_Arbiter.plc_tmo_optics_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272706968PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272732992PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272738272PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272706968 + + + PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272732992 + + + PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272738272 + + + PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272738280PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272738280 + + + PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272738288PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272738288 + + + PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272738296PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272764448PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272769728PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272738296 + + + PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272764448 + + + PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272769728 + + + PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272769736PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272769736 + + + PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272769744PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272769744 + + + PMPS_Arbiter.plc_rix_vac_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272769752PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272795776PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272801056PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272769752 + + + PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272795776 + + + PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272801056 + + + PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272801064PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272801064 + + + PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272801072PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272801072 + + + PMPS_Arbiter.plc_rix_optics_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272801080PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272827104PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272832384PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272801080 + + + PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272827104 + + + PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272832384 + + + PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272832392PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272832392 + + + PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272832400PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272832400 + + + PMPS_Arbiter.plc_rix_mot_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272832408PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272858432PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272863712PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272832408 + + + PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272858432 + + + PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272863712 + + + PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272863720PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272863720 + + + PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272863728PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272863728 + + + PMPS_Arbiter.plc_crix_mot_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272863736PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272889760PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272895040PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272863736 + + + PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272889760 + + + PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272895040 + + + PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272895048PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272895048 + + + PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272895056PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272895056 + + + PMPS_Arbiter.plc_crix_vac_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272895064PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272921088PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272926368PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272895064 + + + PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272921088 + + + PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272926368 + + + PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272926376PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272926376 + + + PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272926384PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272926384 + + + PMPS_Arbiter.plc_qrix_mot_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272926392PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_RequestedBP1760ST_BeamParams_IOTcAddressTypeInput1272952416PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_Connected8BOOLTcAddressTypeInput1272957696PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_WcState8BOOL1pytmcpv: WcState + field: ONAM Error + + + TcAddressType + Input + + + 1272926392 + + + PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_RequestedBP + Requested BP from subsystem + 1760 + ST_BeamParams_IO + + + TcAddressType + Input + + + 1272952416 + + + PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_Connected + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + BOOL + + + TcAddressType + Input + + + 1272957696 + + + PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_WcState + WcState^WcState + 8 + BOOL + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272957704PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_TxPDOState8BOOL1pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + 1272957704 + + + PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_TxPDOState + SYNC Inputs^TxPDO state + 8 + BOOL + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272957712PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_TxPDOToggle8BOOLpytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + 1272957712 + + + PMPS_Arbiter.plc_qrix_vac_PMPS_IO.i_TxPDOToggle + TxPDO toggle + 8 + BOOL + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInput1272957720P_AT1K0_SL1K0.i_nTranToAT1K0Stat64ST_PMPS_Attenuator_IOTcLinkToTIIB[plc-kfe-gatt]^IO Inputs^Current TransmissionTcAddressTypeInput1272983008P_AT1K0_SL1K0.i_nState_AT1K016UINTTcLinkToTIIB[plc-kfe-gatt]^InfoData^StateTcAddressTypeInput1272983072P_AT1K0_SL1K0.i_bWcStateIn_KFEMOT8BOOLTcLinkToTIIB[plc-kfe-motion]^WcState^WcStateInTcAddressTypeInput1272983088P_AT1K0_SL1K0.i_stAptArrayStat384ST_PMPS_Aperture_IO14TcLinkToTIIB[plc-kfe-motion]^IO Inputs^AptArrayStatusTcAddressTypeInput1272983488P_AT1K0_SL1K0.i_nState_KFEMOT16UINTTcLinkToTIIB[plc-kfe-motion]^InfoData^StateTcAddressTypeInput1272983872P_SATT.i_bWcStateOut_kfe_mot8BOOLTcLinkToTIIB[plc-kfe-motion]^WcState^WcStateOutTcAddressTypeInput1273034128P_SATT.i_bWcStateIn_kfe_mot8BOOLTcLinkToTIIB[plc-kfe-motion]^WcState^WcStateInTcAddressTypeInput1273034136P_SATT.i_SattArrayStatus_KFE1024ST_PMPS_Attenuator_IO116TcLinkToTIIB[plc-kfe-motion]^IO Inputs^SattArrayStatusTcAddressTypeInput1273035488P_SATT.i_SattArrayStatus_RIX1024ST_PMPS_Attenuator_IO116TcLinkToTIIB[plc-rix-mot]^IO Inputs^SattArrayStatusTcAddressTypeInput1273036512P_SATT.i_nState_kfe_mot16UINTTcLinkToTIIB[plc-kfe-motion]^InfoData^StateTcAddressTypeInput1273037536P_SATT.i_bWcStateOut_rix_mot8BOOLTcLinkToTIIB[plc-rix-mot]^WcState^WcStateOutTcAddressTypeInput1273037552P_SATT.i_bWcStateIn_rix_mot8BOOLTcLinkToTIIB[plc-rix-mot]^WcState^WcStateInTcAddressTypeInput1273037560P_SATT.i_nState_rix_mot16UINTTcLinkToTIIB[plc-rix-mot]^InfoData^StateTcAddressTypeInput1273037568Fast_Faults_Evaluate.i_xFastFaultOut_qrix_vac8BOOLTcAddressTypeInput127303758417PlcTask Outputs1160104448MAIN.bM1K1_OUT_Override8BOOLTcLinkToTIIB[PMPS_Premp]^Channel 8^Output;TcAddressTypeOutput1256421720CurrentBPUpdate.q_rPhotonEnergy32REALTcLinkToTIIB[plc-kfe-gatt]^IO Outputs^rPhotonEnergyTcAddressTypeOutput1271896768CurrentBPUpdate.st3k4Watcher.q_StopperOUT_Relay8BOOLTcAddressTypeOutput1271896912CurrentBPUpdate.st3k4Watcher.q_StopperIN_Relay8BOOLTcAddressTypeOutput1271896920CurrentBPUpdate.st1k2Watcher.q_StopperOUT_Relay8BOOLTcAddressTypeOutput1271981520CurrentBPUpdate.st1k2Watcher.q_StopperIN_Relay8BOOLTcAddressTypeOutput1271981528CurrentBPUpdate.q_MR1K1_VETO8BOOLTcLinkToTIIB[PMPS_Premp]^Channel 13^MR1K1 INTcAddressTypeOutput1272066144CurrentBPUpdate.st4k4Watcher.q_StopperOUT_Relay8BOOLTcAddressTypeOutput1272150928CurrentBPUpdate.st4k4Watcher.q_StopperIN_Relay8BOOLTcAddressTypeOutput1272150936PMPS_Arbiter.fbMPSInterface.q_BC_ASSERTION_LINES32BOOL14TcLinkTo[1] := TIIB[PMPS_Premp]^Channel 1^Output; + field: ONAM Error + + + TcAddressType + Input + + + 1272957720 + + + P_AT1K0_SL1K0.i_nTranToAT1K0Stat + Transmission request to AT1K0 + 64 + ST_PMPS_Attenuator_IO + + + TcLinkTo + TIIB[plc-kfe-gatt]^IO Inputs^Current Transmission + + + TcAddressType + Input + + + 1272983008 + + + P_AT1K0_SL1K0.i_nState_AT1K0 + 16 + UINT + + + TcLinkTo + TIIB[plc-kfe-gatt]^InfoData^State + + + TcAddressType + Input + + + 1272983072 + + + P_AT1K0_SL1K0.i_bWcStateIn_KFEMOT + 8 + BOOL + + + TcLinkTo + TIIB[plc-kfe-motion]^WcState^WcStateIn + + + TcAddressType + Input + + + 1272983088 + + + P_AT1K0_SL1K0.i_stAptArrayStat + 384 + ST_PMPS_Aperture_IO + + 1 + 4 + + + + TcLinkTo + TIIB[plc-kfe-motion]^IO Inputs^AptArrayStatus + + + TcAddressType + Input + + + 1272983488 + + + P_AT1K0_SL1K0.i_nState_KFEMOT + 16 + UINT + + + TcLinkTo + TIIB[plc-kfe-motion]^InfoData^State + + + TcAddressType + Input + + + 1272983872 + + + P_SATT.i_bWcStateOut_kfe_mot + plc-tmo-mot interface diagnostics + 8 + BOOL + + + TcLinkTo + TIIB[plc-kfe-motion]^WcState^WcStateOut + + + TcAddressType + Input + + + 1273034128 + + + P_SATT.i_bWcStateIn_kfe_mot + 8 + BOOL + + + TcLinkTo + TIIB[plc-kfe-motion]^WcState^WcStateIn + + + TcAddressType + Input + + + 1273034136 + + + P_SATT.i_SattArrayStatus_KFE + Transmission request to KFE MOT PLC + 1024 + ST_PMPS_Attenuator_IO + + 1 + 16 + + + + TcLinkTo + TIIB[plc-kfe-motion]^IO Inputs^SattArrayStatus + + + TcAddressType + Input + + + 1273035488 + + + P_SATT.i_SattArrayStatus_RIX + Transmission request to RIX MOT PLC + 1024 + ST_PMPS_Attenuator_IO + + 1 + 16 + + + + TcLinkTo + TIIB[plc-rix-mot]^IO Inputs^SattArrayStatus + + + TcAddressType + Input + + + 1273036512 + + + P_SATT.i_nState_kfe_mot + 16 + UINT + + + TcLinkTo + TIIB[plc-kfe-motion]^InfoData^State + + + TcAddressType + Input + + + 1273037536 + + + P_SATT.i_bWcStateOut_rix_mot + plc-rix-mot interface diagnostics + 8 + BOOL + + + TcLinkTo + TIIB[plc-rix-mot]^WcState^WcStateOut + + + TcAddressType + Input + + + 1273037552 + + + P_SATT.i_bWcStateIn_rix_mot + 8 + BOOL + + + TcLinkTo + TIIB[plc-rix-mot]^WcState^WcStateIn + + + TcAddressType + Input + + + 1273037560 + + + P_SATT.i_nState_rix_mot + 16 + UINT + + + TcLinkTo + TIIB[plc-rix-mot]^InfoData^State + + + TcAddressType + Input + + + 1273037568 + + + Fast_Faults_Evaluate.i_xFastFaultOut_qrix_vac + 8 + BOOL + + + TcAddressType + Input + + + 1273037584 + + + + 17 + PlcTask Outputs + 1 + 160104448 + + MAIN.bM1K1_OUT_Override + Using this book to completely overrule the last bit of the BC interface. + 8 + BOOL + + + TcLinkTo + TIIB[PMPS_Premp]^Channel 8^Output; + + + TcAddressType + Output + + + 1256421720 + + + CurrentBPUpdate.q_rPhotonEnergy + Photon energy for the masses + 32 + REAL + + + TcLinkTo + TIIB[plc-kfe-gatt]^IO Outputs^rPhotonEnergy + + + TcAddressType + Output + + + 1271896768 + + + CurrentBPUpdate.st3k4Watcher.q_StopperOUT_Relay + 8 + BOOL + + + TcAddressType + Output + + + 1271896912 + + + CurrentBPUpdate.st3k4Watcher.q_StopperIN_Relay + 8 + BOOL + + + TcAddressType + Output + + + 1271896920 + + + CurrentBPUpdate.st1k2Watcher.q_StopperOUT_Relay + 8 + BOOL + + + TcAddressType + Output + + + 1271981520 + + + CurrentBPUpdate.st1k2Watcher.q_StopperIN_Relay + 8 + BOOL + + + TcAddressType + Output + + + 1271981528 + + + CurrentBPUpdate.q_MR1K1_VETO + Signal to accel. MPS that MR1K1 is in + 8 + BOOL + + + TcLinkTo + TIIB[PMPS_Premp]^Channel 13^MR1K1 IN + + + TcAddressType + Output + + + 1272066144 + + + CurrentBPUpdate.st4k4Watcher.q_StopperOUT_Relay + 8 + BOOL + + + TcAddressType + Output + + + 1272150928 + + + CurrentBPUpdate.st4k4Watcher.q_StopperIN_Relay + 8 + BOOL + + + TcAddressType + Output + + + 1272150936 + + + PMPS_Arbiter.fbMPSInterface.q_BC_ASSERTION_LINES + 32 + BOOL + + 1 + 4 + + + + TcLinkTo + [1] := TIIB[PMPS_Premp]^Channel 1^Output; [2] := TIIB[PMPS_Premp]^Channel 2^Output; [3] := TIIB[PMPS_Premp]^Channel 3^Output; - [4] := TIIB[PMPS_Premp]^Channel 4^Output;TcAddressTypeOutput1272510976PMPS_Arbiter.fbCuInterface.q_CLTS_ASSERTION_LINES24BOOL13TcLinkTo[1] := TIIB[PMPS_Premp]^Channel 9^Output; + [4] := TIIB[PMPS_Premp]^Channel 4^Output; + + + TcAddressType + Output + + + 1272510976 + + + PMPS_Arbiter.fbCuInterface.q_CLTS_ASSERTION_LINES + 24 + BOOL + + 1 + 3 + + + + TcLinkTo + [1] := TIIB[PMPS_Premp]^Channel 9^Output; [2] := TIIB[PMPS_Premp]^Channel 10^Output; - [3] := TIIB[PMPS_Premp]^Channel 11^Output;TcAddressTypeOutput1272512848PMPS_Arbiter.plc_kfe_motion_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272517216PMPS_Arbiter.plc_kfe_vac_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272548544PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272579872PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272611200PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272642528PMPS_Arbiter.plc_tmo_motion_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272673856PMPS_Arbiter.plc_tmo_optics_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272705184PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272736512PMPS_Arbiter.plc_rix_vac_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272767968PMPS_Arbiter.plc_rix_optics_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272799296PMPS_Arbiter.plc_rix_mot_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272830624PMPS_Arbiter.plc_crix_mot_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272861952PMPS_Arbiter.plc_crix_vac_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272893280PMPS_Arbiter.plc_qrix_mot_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272924608PMPS_Arbiter.plc_qrix_vac_PMPS_IO.o_CurrentBP1760ST_BeamParams_IOTcAddressTypeOutput1272955936P_AT1K0_SL1K0.q_nTranToAT1K0Req64ST_PMPS_Attenuator_IOTcLinkToTIIB[plc-kfe-gatt]^IO Outputs^Requested TransmissionTcAddressTypeOutput1272982944P_AT1K0_SL1K0.q_stAptArrayReq384ST_PMPS_Aperture_IO14TcLinkToTIIB[plc-kfe-motion]^IO Outputs^AptArrayReqTcAddressTypeOutput1272983104P_SATT.q_SattArrayReq1024ST_PMPS_Attenuator_IO116TcAddressTypeOutput1273034464GVL.g_FastFaultOutput1.q_xFastFaultOut8BOOLpytmc + [3] := TIIB[PMPS_Premp]^Channel 11^Output; + + + TcAddressType + Output + + + 1272512848 + + + PMPS_Arbiter.plc_kfe_motion_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272517216 + + + PMPS_Arbiter.plc_kfe_vac_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272548544 + + + PMPS_Arbiter.plc_kfe_gatt_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272579872 + + + PMPS_Arbiter.plc_kfe_gmd_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272611200 + + + PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272642528 + + + PMPS_Arbiter.plc_tmo_motion_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272673856 + + + PMPS_Arbiter.plc_tmo_optics_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272705184 + + + PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272736512 + + + PMPS_Arbiter.plc_rix_vac_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272767968 + + + PMPS_Arbiter.plc_rix_optics_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272799296 + + + PMPS_Arbiter.plc_rix_mot_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272830624 + + + PMPS_Arbiter.plc_crix_mot_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272861952 + + + PMPS_Arbiter.plc_crix_vac_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272893280 + + + PMPS_Arbiter.plc_qrix_mot_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272924608 + + + PMPS_Arbiter.plc_qrix_vac_PMPS_IO.o_CurrentBP + Current BP set + 1760 + ST_BeamParams_IO + + + TcAddressType + Output + + + 1272955936 + + + P_AT1K0_SL1K0.q_nTranToAT1K0Req + Transmission request to AT1K0 + 64 + ST_PMPS_Attenuator_IO + + + TcLinkTo + TIIB[plc-kfe-gatt]^IO Outputs^Requested Transmission + + + TcAddressType + Output + + + 1272982944 + + + P_AT1K0_SL1K0.q_stAptArrayReq + Apterure request and status to plc-kfe-motion + 384 + ST_PMPS_Aperture_IO + + 1 + 4 + + + + TcLinkTo + TIIB[plc-kfe-motion]^IO Outputs^AptArrayReq + + + TcAddressType + Output + + + 1272983104 + + + P_SATT.q_SattArrayReq + Transmission request to ALL PLCs + 1024 + ST_PMPS_Attenuator_IO + + 1 + 16 + + + + TcAddressType + Output + + + 1273034464 + + + GVL.g_FastFaultOutput1.q_xFastFaultOut + 8 + BOOL + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutput1273589064GVL.g_FastFaultOutput2.q_xFastFaultOut8BOOLpytmc + + + + TcAddressType + Output + + + 1273589064 + + + GVL.g_FastFaultOutput2.q_xFastFaultOut + 8 + BOOL + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutput127408397619PlcTask Internal1160104448DefaultGlobals.stSys40ST_SystemTcVarGlobal4096000GVL_Logger.bTrickleTripped8BOOLpytmc + + + + TcAddressType + Output + + + 1274083976 + + + + 19 + PlcTask Internal + 1 + 160104448 + + DefaultGlobals.stSys + Included for you + 40 + ST_System + + + TcVarGlobal + + + 4096000 + + + GVL_Logger.bTrickleTripped + Global trickle trip flag + 8 + BOOL + + + pytmc + pv: @(PREFIX)LCLSGeneral:GlobalLogTrickleTrip io: i field: DESC Tripped by overall log count - TcVarGlobal4096040GeneralConstants.MAX_STATES + + + TcVarGlobal + + + 4096040 + + + GeneralConstants.MAX_STATES + 16 including "Unknown" is the max for an EPICS MBBI/MBBO This is the max number of user-defined states (OUT, TARGET1, YAG...) You can make this smaller if you want to use less memory in your program in exchange for limiting your max state count - You can make this larger if you want to use states-based FBs sized beyond the EPICS enum limit]]>16UINT15TcVarGlobal4096048DefaultGlobals.fTimeStamp64LREALTcVarGlobal4096064GVL_Logger.cLogHost + 16 + UINT + + 15 + + + + TcVarGlobal + + + 4096048 + + + DefaultGlobals.fTimeStamp + 64 + LREAL + + + TcVarGlobal + + + 4096064 + + + GVL_Logger.cLogHost + Using the IP address directly avoids DNS configuration issues. While we may want to address this in the future, for now the static IP will suffice: @@ -848,76 +40034,7373 @@ request loop (two arbiters elevating to each other), or there is a RequestAdd, R $ nslookup ctl-logsrv01 Name: ctl-logsrv01.pcdsn Address: 172.21.32.36 - ]]>128STRING(15)172.21.32.36pytmc + + 128 + STRING(15) + + 172.21.32.36 + + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogHost io: io field: DESC The log host IP address - TcVarGlobal4096128GVL_Logger.iLogPort16UINT54321pytmc + + + + TcVarGlobal + + + 4096128 + + + GVL_Logger.iLogPort + 16 + UINT + + 54321 + + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogPort io: io field: DESC The log host UDP port - TcVarGlobal4096256GVL_Logger.sIpTidbit56STRING(6)172.21TcVarGlobal4096272Global_Variables.EC_CMD_TYPE_APRD8BYTE1TcVarGlobal4096328GVL_Logger.nMinTimeViolationAcceptable16INT5TcVarGlobal4096336GVL_Logger.nLocalTripThreshold32TIME1TcVarGlobal4096352GVL_Logger.nLocalTrickleTripThreshold32TIME100TcVarGlobal4096384GVL_Logger.nTrickleTripTime32TIME10000TcVarGlobal4096416GVL_Logger.nTripResetPeriod32TIME600000TcVarGlobal4096448GVL_Logger.sPlcHostname648STRING(80)unknownTcVarGlobal4096480Global_Variables.EC_CMD_TYPE_APWR8BYTE2TcVarGlobal4097128Global_Variables_EtherCAT.iSLAVEADDR_ARR_SIZE16UINT256TcVarGlobal4097136GVL_Logger.TCPADS_MAXUDP_BUFFSIZE + + + TcVarGlobal + + + 4096256 + + + GVL_Logger.sIpTidbit + 56 + STRING(6) + + 172.21 + + + + TcVarGlobal + + + 4096272 + + + Global_Variables.EC_CMD_TYPE_APRD + ethercat commands + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4096328 + + + GVL_Logger.nMinTimeViolationAcceptable + Trip if `nLocalTripThreshold` exceeded `nMinTimeViolationAcceptable` times + 16 + INT + + 5 + + + + TcVarGlobal + + + 4096336 + + + GVL_Logger.nLocalTripThreshold + Minimum time between log messages + 32 + TIME + + 1 + + + + TcVarGlobal + + + 4096352 + + + GVL_Logger.nLocalTrickleTripThreshold + Default trickle trip, activated by global threshold + 32 + TIME + + 100 + + + + TcVarGlobal + + + 4096384 + + + GVL_Logger.nTrickleTripTime + Default time for log-handler to recognize a trickle overload condition, many log-message FB occasionally creating a message + 32 + TIME + + 10000 + + + + TcVarGlobal + + + 4096416 + + + GVL_Logger.nTripResetPeriod + Default time for CB auto-reset + 32 + TIME + + 600000 + + + + TcVarGlobal + + + 4096448 + + + GVL_Logger.sPlcHostname + 648 + STRING(80) + + unknown + + + + TcVarGlobal + + + 4096480 + + + Global_Variables.EC_CMD_TYPE_APWR + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4097128 + + + Global_Variables_EtherCAT.iSLAVEADDR_ARR_SIZE + 16 + UINT + + 256 + + + + TcVarGlobal + + + 4097136 + + + GVL_Logger.TCPADS_MAXUDP_BUFFSIZE + Ref: https://infosys.beckhoff.com/english.php?content=../content/1033/tcpipserver/html/TcPlcLibTcpIp_FB_SocketUdpSendTo.htm TODO: Activate the "Replace constants" option in the - TwinCAT PLC Control->"Project->Options...->Build" dialog window. - ]]>32UDINT10000analysis-33TcVarGlobal4097152GVL_Logger.nGlobAccEvents32UDINTpytmc + TwinCAT PLC Control->"Project->Options...->Build" dialog window. + + 32 + UDINT + + 10000 + + + + analysis + -33 + + + TcVarGlobal + + + 4097152 + + + GVL_Logger.nGlobAccEvents + Global log message count + 32 + UDINT + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogMessageCount io: i field: DESC Total log messages on the last cycle - TcVarGlobal4097184GVL_Logger.fbRootLogger81600FB_LogMessageTcVarGlobal4097216Global_Variables_EtherCAT.ESC_MAX_PORTS16UINT3TcVarGlobal4178816Global_Variables.EC_AMSPORT_MASTER16UINT65535TcVarGlobal4178832Global_Version.stLibVersion_Tc2_EtherCAT288ST_LibVersion.iMajor3.iMinor3.iBuild15.iRevision0.sVersion3.3.15.0const_non_replacedTcVarGlobal4178848Global_Variables.EC_MAX_SLAVES16UINT65535TcVarGlobal4179136Global_Variables.EC_CMD_TYPE_APRW8BYTE3TcVarGlobal4179152Global_Variables.EC_CMD_TYPE_FPRD8BYTE4TcVarGlobal4179160Global_Variables.EC_CMD_TYPE_FPWR8BYTE5TcVarGlobal4179168Global_Variables.EC_CMD_TYPE_FPRW8BYTE6TcVarGlobal4179176Global_Variables.EC_CMD_TYPE_BRD8BYTE7TcVarGlobal4179184Global_Variables.EC_CMD_TYPE_BWR8BYTE8TcVarGlobal4179192Global_Variables.EC_CMD_TYPE_BRW8BYTE9TcVarGlobal4179200Global_Variables.EC_CMD_TYPE_LRD8BYTE10TcVarGlobal4179208Global_Variables.EC_CMD_TYPE_LWR8BYTE11TcVarGlobal4179216Global_Variables.EC_CMD_TYPE_LRW8BYTE12TcVarGlobal4179224Global_Variables.EC_DEVICE_STATE_MASK8BYTE15TcVarGlobal4179232Global_Variables.EC_DEVICE_STATE_INIT8BYTE1TcVarGlobal4179240Global_Variables.EC_DEVICE_STATE_PREOP8BYTE2TcVarGlobal4179248Global_Variables.EC_DEVICE_STATE_BOOTSTRAP8BYTE3TcVarGlobal4179256Global_Variables.EC_DEVICE_STATE_SAFEOP8BYTE4TcVarGlobal4179264Global_Variables.EC_DEVICE_STATE_OP8BYTE8TcVarGlobal4179272Global_Variables.EC_DEVICE_STATE_ERROR8BYTE16TcVarGlobal4179280Global_Variables.EC_DEVICE_STATE_INVALID_VPRS8BYTE32TcVarGlobal4179288Global_Variables.EC_DEVICE_STATE_INITCMD_ERROR8BYTE64TcVarGlobal4179296Global_Variables.EC_DEVICE_STATE_DISABLED8BYTE128TcVarGlobal4179304Global_Variables.EC_LINK_STATE_OK8BYTE0TcVarGlobal4179312Global_Variables.EC_LINK_STATE_NOT_PRESENT8BYTE1TcVarGlobal4179320Global_Variables.EC_LINK_STATE_LINK_WITHOUT_COMM8BYTE2TcVarGlobal4179328Global_Variables.EC_LINK_STATE_MISSING_LINK8BYTE4TcVarGlobal4179336Global_Variables.EC_LINK_STATE_ADDITIONAL_LINK8BYTE8TcVarGlobal4179344Global_Variables.EC_LINK_STATE_PORT_A8BYTE16TcVarGlobal4179352Global_Variables.EC_LINK_STATE_PORT_B8BYTE32TcVarGlobal4179360Global_Variables.EC_LINK_STATE_PORT_C8BYTE64TcVarGlobal4179368Global_Variables.EC_LINK_STATE_PORT_D8BYTE128TcVarGlobal4179376Global_Variables.EC_SOE_ELEMENT_DATASTATE8BYTE1TcVarGlobal4179384Global_Variables.EC_ADS_IGRP_MASTER_STATEMACHINE32UDINT3TcVarGlobal4179392Global_Variables.EC_ADS_IOFFS_MASTER_CURSTATE32UDINT256TcVarGlobal4179424Global_Variables.EC_ADS_IOFFS_MASTER_REQSTATE32UDINT257TcVarGlobal4179456Global_Variables.EC_ADS_IOFFS_MASTER_INTERNALSTATE32UDINT258TcVarGlobal4179488Global_Variables.EC_ADS_IGRP_MASTER_COUNT_SLAVE32UDINT6TcVarGlobal4179520Global_Variables.EC_ADS_IOFFS_MASTER_COUNT_SLAVE32UDINT0TcVarGlobal4179552Global_Variables.EC_ADS_IOFFS_MASTER_COUNT_PORT32UDINT1TcVarGlobal4179584Global_Variables.EC_ADS_IOFFS_MASTER_COUNT_ROUTER32UDINT2TcVarGlobal4179616Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_ADDRESSES32UDINT7TcVarGlobal4179648Global_Variables.EC_ADS_IGRP_MASTER_SENDCMD32UDINT8TcVarGlobal4179680Global_Variables.EC_ADS_IGRP_SLAVE_STATEMACHINE32UDINT9TcVarGlobal4179712Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_IDENTITY32UDINT17TcVarGlobal4179744Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_CRC32UDINT18TcVarGlobal4179776Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_ABNORMAL_STATE_CHANGES32UDINT19TcVarGlobal4179808Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_SETPRESENT_CHANGES32UDINT22TcVarGlobal4179840Global_Variables.EC_ADS_IGRP_MASTER_DEVICESTATE32UDINT69TcVarGlobal4179872Global_Variables.EC_ADS_IGRP_MASTER_COUNT_FRAME32UDINT72TcVarGlobal4179904Global_Variables.EC_ADS_IGRP_ECAT_SOE32UDINT62496TcVarGlobal4179936Global_Variables.EC_ADS_IGRP_ECAT_SOE_LASTERROR32UDINT62497TcVarGlobal4179968Global_Variables.EC_SOE_ELEMENT_NAME8BYTE2TcVarGlobal4180000Global_Variables.EC_SOE_ELEMENT_ATTRIBUTE8BYTE4TcVarGlobal4180008Global_Variables.EC_SOE_ELEMENT_UNIT8BYTE8TcVarGlobal4180016Global_Variables.EC_SOE_ELEMENT_MIN8BYTE16TcVarGlobal4180024Global_Variables.EC_SOE_ELEMENT_MAX8BYTE32TcVarGlobal4180032Global_Variables.EC_SOE_ELEMENT_VALUE8BYTE64TcVarGlobal4180040Global_Variables.EC_SOE_ELEMENT_DEFAULT8BYTE128TcVarGlobal4180048Global_Variables.bSeqReadDrvAttrAndValue8BOOL0TcVarGlobal4180056Global_Variables.EC_ADS_IGRP_FOE_FOPENREAD32UDINT62465TcVarGlobal4180064Global_Variables.EC_ADS_IGRP_FOE_FOPENWRITE32UDINT62466TcVarGlobal4180096Global_Variables.EC_ADS_IGRP_FOE_FCLOSE32UDINT62467TcVarGlobal4180128Global_Variables.EC_ADS_IGRP_FOE_FREAD32UDINT62468TcVarGlobal4180160Global_Variables.EC_ADS_IGRP_FOE_FWRITE32UDINT62469TcVarGlobal4180192Global_Variables.EC_ADS_IGRP_FOE_PROGRESSINFO32UDINT62470TcVarGlobal4180224Global_Variables.EC_ADS_IGRP_FOE_LASTERROR32UDINT62471TcVarGlobal4180256Global_Variables.EC_ADS_IGRP_CANOPEN_SDO32UDINT62210TcVarGlobal4180288Global_Variables.EC_ADS_IGRP_CANOPEN_SDO_LASTERROR32UDINT62211TcVarGlobal4180320Global_Variables.EC_FOE_PROTERR_NOTDEFINED32UDINT0TcVarGlobal4180352Global_Variables.EC_FOE_PROTERR_NOTFOUND32UDINT1TcVarGlobal4180384Global_Variables.EC_FOE_PROTERR_ACCESS32UDINT2TcVarGlobal4180416Global_Variables.EC_FOE_PROTERR_DISKFULL32UDINT3TcVarGlobal4180448Global_Variables.EC_FOE_PROTERR_ILLEAGAL32UDINT4TcVarGlobal4180480Global_Variables.EC_FOE_PROTERR_PACKENO32UDINT5TcVarGlobal4180512Global_Variables.EC_FOE_PROTERR_EXISTS32UDINT6TcVarGlobal4180544Global_Variables.EC_FOE_PROTERR_NOUSER32UDINT7TcVarGlobal4180576Global_Variables.EC_FOE_PROTERR_BOOTSTRAPONLY32UDINT8TcVarGlobal4180608Global_Variables.EC_FOE_PROTERR_NOTINBOOTSTRAP32UDINT9TcVarGlobal4180640Global_Variables.EC_FOE_PROTERR_INVALIDPASSWORD32UDINT10TcVarGlobal4180672Global_Variables.EC_COE_PROTERR_TOGGLE32UDINT84082688TcVarGlobal4180704Global_Variables.EC_COE_PROTERR_TIMEOUT32UDINT84148224TcVarGlobal4180736Global_Variables.EC_COE_PROTERR_CCS_SCS32UDINT84148225TcVarGlobal4180768Global_Variables.EC_COE_PROTERR_BLK_SIZE32UDINT84148226TcVarGlobal4180800Global_Variables.EC_COE_PROTERR_SEQNO32UDINT84148227TcVarGlobal4180832Global_Variables.EC_COE_PROTERR_CRC32UDINT84148228TcVarGlobal4180864Global_Variables.EC_COE_PROTERR_MEMORY32UDINT84148229TcVarGlobal4180896Global_Variables.EC_COE_PROTERR_ACCESS32UDINT100728832TcVarGlobal4180928Global_Variables.EC_COE_PROTERR_WRITEONLY32UDINT100728833TcVarGlobal4180960Global_Variables.EC_COE_PROTERR_READONLY32UDINT100728834TcVarGlobal4180992Global_Variables.EC_COE_PROTERR_INDEX32UDINT100794368TcVarGlobal4181024Global_Variables.EC_COE_PROTERR_PDO_MAP32UDINT100925505TcVarGlobal4181056Global_Variables.EC_COE_PROTERR_PDO_LEN32UDINT100925506TcVarGlobal4181088Global_Variables.EC_COE_PROTERR_P_INCOMP32UDINT100925507TcVarGlobal4181120Global_Variables.EC_COE_PROTERR_I_INCOMP32UDINT100925511TcVarGlobal4181152Global_Variables.EC_COE_PROTERR_HARDWARE32UDINT101056512TcVarGlobal4181184Global_Variables.EC_COE_PROTERR_DATA_SIZE32UDINT101122064TcVarGlobal4181216Global_Variables.EC_COE_PROTERR_DATA_SIZE132UDINT101122066TcVarGlobal4181248Global_Variables.EC_COE_PROTERR_DATA_SIZE232UDINT101122067TcVarGlobal4181280Global_Variables.EC_COE_PROTERR_OFFSET32UDINT101253137TcVarGlobal4181312Global_Variables.EC_COE_PROTERR_DATA_RANGE32UDINT101253168TcVarGlobal4181344Global_Variables.EC_COE_PROTERR_DATA_RANGE132UDINT101253169TcVarGlobal4181376Global_Variables.EC_COE_PROTERR_DATA_RANGE232UDINT101253170TcVarGlobal4181408Global_Variables.EC_COE_PROTERR_MINMAX32UDINT101253174TcVarGlobal4181440Global_Variables.EC_COE_PROTERR_GENERAL32UDINT134217728TcVarGlobal4181472Global_Variables.EC_COE_PROTERR_TRANSFER32UDINT134217760TcVarGlobal4181504Global_Variables.EC_COE_PROTERR_TRANSFER132UDINT134217761TcVarGlobal4181536Global_Variables.EC_COE_PROTERR_TRANSFER232UDINT134217762TcVarGlobal4181568Global_Variables.EC_COE_PROTERR_DICTIONARY32UDINT134217763TcVarGlobal4181600Global_Variables.EC_DCTIME_DATEDELTA_OFFSET32DWORD730120TcVarGlobal4181632Global_Variables.EC_DCTIME_DELTA_OFFSET64T_ULARGE_INTEGER.dwHighPart29316075.dwLowPart627916800TcVarGlobal4181664Global_Variables.EC_DCTIME_TICKSPERMSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart1000000TcVarGlobal4181728Global_Variables.EC_DCTIME_TICKSPERSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart1000000000TcVarGlobal4181792Global_Variables.EC_DCTIME_TICKSPERDAY64T_ULARGE_INTEGER.dwHighPart20116.dwLowPart2437873664TcVarGlobal4181856Global_Variables.bEcFoeOpenFileNameWithFileExt FB_EcFoeOpen opens file name without file extension. If TRUE => FB_EcFoeOpen opens file name with file extension. ]]>8BOOL0TcVarGlobal4181920Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED8BYTE1TcVarGlobal4181928Global_Variables.AMSPORT_LOGGER16UINT100TcVarGlobal4181936Global_Variables.EC_DCTIME_DELTA_OFFSET6464ULINT125911584000000000TcVarGlobal4181952Global_Variables.EC_DCTIME_TICKSPERMSEC6464ULINT1000000TcVarGlobal4182016Global_Variables.EC_DCTIME_TICKSPERSEC6464ULINT1000000000TcVarGlobal4182080Global_Variables.EC_DCTIME_TICKSPERDAY6464ULINT86400000000000TcVarGlobal4182144Global_Version.stLibVersion_Tc2_Standard288ST_LibVersion.iMajor3.iMinor3.iBuild3.iRevision0.nFlags0.sVersion3.3.3.0const_non_replacedTcVarGlobal4182208Global_Version.stLibVersion_Tc2_System288ST_LibVersion.iMajor3.iMinor4.iBuild24.iRevision0.nFlags0.sVersion3.4.24.0const_non_replacedTcVarGlobal4182496Global_Variables.AMSPORT_EVENTLOG16UINT110TcVarGlobal4182784Global_Variables.AMSPORT_R0_RTIME16UINT200TcVarGlobal4182800Global_Variables.AMSPORT_R0_IO16UINT300TcVarGlobal4182816Global_Variables.AMSPORT_R0_NC16UINT500TcVarGlobal4182832Global_Variables.AMSPORT_R0_NCSAF16UINT501TcVarGlobal4182848Global_Variables.AMSPORT_R0_NCSVB16UINT511TcVarGlobal4182864Global_Variables.AMSPORT_R0_ISG16UINT550TcVarGlobal4182880Global_Variables.AMSPORT_R0_CNC16UINT600TcVarGlobal4182896Global_Variables.AMSPORT_R0_LINE16UINT700TcVarGlobal4182912Global_Variables.AMSPORT_R0_PLC16UINT800TcVarGlobal4182928Global_Variables.AMSPORT_R0_PLC_RTS116UINT801TcVarGlobal4182944Global_Variables.AMSPORT_R0_PLC_RTS216UINT811TcVarGlobal4182960Global_Variables.AMSPORT_R0_PLC_RTS316UINT821TcVarGlobal4182976Global_Variables.AMSPORT_R0_PLC_RTS416UINT831TcVarGlobal4182992Global_Variables.AMSPORT_R0_CAM16UINT900TcVarGlobal4183008Global_Variables.AMSPORT_R0_CAMTOOL16UINT950TcVarGlobal4183024Global_Variables.AMSPORT_R3_SYSSERV16UINT10000TcVarGlobal4183040Global_Variables.AMSPORT_R3_SCOPESERVER16UINT14001TcVarGlobal4183056Global_Variables.ADSSTATE_INVALID16UINT0TcVarGlobal4183072Global_Variables.ADSSTATE_IDLE16UINT1TcVarGlobal4183088Global_Variables.ADSSTATE_RESET16UINT2TcVarGlobal4183104Global_Variables.ADSSTATE_INIT16UINT3TcVarGlobal4183120Global_Variables.ADSSTATE_START16UINT4TcVarGlobal4183136Global_Variables.ADSSTATE_RUN16UINT5TcVarGlobal4183152Global_Variables.ADSSTATE_STOP16UINT6TcVarGlobal4183168Global_Variables.ADSSTATE_SAVECFG16UINT7TcVarGlobal4183184Global_Variables.ADSSTATE_LOADCFG16UINT8TcVarGlobal4183200Global_Variables.ADSSTATE_POWERFAILURE16UINT9TcVarGlobal4183216Global_Variables.ADSSTATE_POWERGOOD16UINT10TcVarGlobal4183232Global_Variables.ADSSTATE_ERROR16UINT11TcVarGlobal4183248Global_Variables.ADSSTATE_SHUTDOWN16UINT12TcVarGlobal4183264Global_Variables.ADSSTATE_SUSPEND16UINT13TcVarGlobal4183280Global_Variables.ADSSTATE_RESUME16UINT14TcVarGlobal4183296Global_Variables.ADSSTATE_CONFIG16UINT15TcVarGlobal4183312Global_Variables.ADSSTATE_RECONFIG16UINT16TcVarGlobal4183328Global_Variables.ADSSTATE_STOPPING16UINT17TcVarGlobal4183344Global_Variables.ADSSTATE_INCOMPATIBLE16UINT18TcVarGlobal4183360Global_Variables.ADSSTATE_EXCEPTION16UINT19TcVarGlobal4183376Global_Variables.ADSSTATE_MAXSTATES16UINT20TcVarGlobal4183392Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID8BYTE2TcVarGlobal4183408Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED8BYTE4TcVarGlobal4183416Global_Variables.ADSIGRP_SYMTAB32UDINT61440TcVarGlobal4183424Global_Variables.ADSIGRP_SYMNAME32UDINT61441TcVarGlobal4183456Global_Variables.ADSIGRP_SYMVAL32UDINT61442TcVarGlobal4183488Global_Variables.ADSIGRP_SYM_HNDBYNAME32UDINT61443TcVarGlobal4183520Global_Variables.ADSIGRP_SYM_VALBYNAME32UDINT61444TcVarGlobal4183552Global_Variables.ADSIGRP_SYM_VALBYHND32UDINT61445TcVarGlobal4183584Global_Variables.ADSIGRP_SYM_RELEASEHND32UDINT61446TcVarGlobal4183616Global_Variables.ADSIGRP_SYM_INFOBYNAME32UDINT61447TcVarGlobal4183648Global_Variables.ADSIGRP_SYM_VERSION32UDINT61448TcVarGlobal4183680Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX32UDINT61449TcVarGlobal4183712Global_Variables.ADSIGRP_SYM_DOWNLOAD32UDINT61450TcVarGlobal4183744Global_Variables.ADSIGRP_SYM_UPLOAD32UDINT61451TcVarGlobal4183776Global_Variables.ADSIGRP_SYM_UPLOADINFO32UDINT61452TcVarGlobal4183808Global_Variables.ADSIGRP_SYMNOTE32UDINT61456TcVarGlobal4183840Global_Variables.ADSIGRP_IOIMAGE_RWIB32UDINT61472TcVarGlobal4183872Global_Variables.ADSIGRP_IOIMAGE_RWIX32UDINT61473TcVarGlobal4183904Global_Variables.ADSIGRP_IOIMAGE_RISIZE32UDINT61477TcVarGlobal4183936Global_Variables.ADSIGRP_IOIMAGE_RWOB32UDINT61488TcVarGlobal4183968Global_Variables.ADSIGRP_IOIMAGE_RWOX32UDINT61489TcVarGlobal4184000Global_Variables.ADSIGRP_IOIMAGE_ROSIZE32UDINT61493TcVarGlobal4184032Global_Variables.ADSIGRP_IOIMAGE_CLEARI32UDINT61504TcVarGlobal4184064Global_Variables.ADSIGRP_IOIMAGE_CLEARO32UDINT61520TcVarGlobal4184096Global_Variables.ADSIGRP_IOIMAGE_RWIOB32UDINT61536TcVarGlobal4184128Global_Variables.ADSIGRP_DEVICE_DATA32UDINT61696TcVarGlobal4184160Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE32UDINT0TcVarGlobal4184192Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE32UDINT2TcVarGlobal4184224Global_Variables.SYSTEMSERVICE_OPENCREATE32UDINT100TcVarGlobal4184256Global_Variables.SYSTEMSERVICE_OPENREAD32UDINT101TcVarGlobal4184288Global_Variables.SYSTEMSERVICE_OPENWRITE32UDINT102TcVarGlobal4184320Global_Variables.SYSTEMSERVICE_CREATEFILE32UDINT110TcVarGlobal4184352Global_Variables.SYSTEMSERVICE_CLOSEHANDLE32UDINT111TcVarGlobal4184384Global_Variables.SYSTEMSERVICE_FOPEN32UDINT120TcVarGlobal4184416Global_Variables.SYSTEMSERVICE_FCLOSE32UDINT121TcVarGlobal4184448Global_Variables.SYSTEMSERVICE_FREAD32UDINT122TcVarGlobal4184480Global_Variables.SYSTEMSERVICE_FWRITE32UDINT123TcVarGlobal4184512Global_Variables.SYSTEMSERVICE_FSEEK32UDINT124TcVarGlobal4184544Global_Variables.SYSTEMSERVICE_FTELL32UDINT125TcVarGlobal4184576Global_Variables.SYSTEMSERVICE_FGETS32UDINT126TcVarGlobal4184608Global_Variables.SYSTEMSERVICE_FPUTS32UDINT127TcVarGlobal4184640Global_Variables.SYSTEMSERVICE_FSCANF32UDINT128TcVarGlobal4184672Global_Variables.SYSTEMSERVICE_FPRINTF32UDINT129TcVarGlobal4184704Global_Variables.SYSTEMSERVICE_FEOF32UDINT130TcVarGlobal4184736Global_Variables.SYSTEMSERVICE_FDELETE32UDINT131TcVarGlobal4184768Global_Variables.SYSTEMSERVICE_FRENAME32UDINT132TcVarGlobal4184800Global_Variables.SYSTEMSERVICE_MKDIR32UDINT138TcVarGlobal4184832Global_Variables.SYSTEMSERVICE_RMDIR32UDINT139TcVarGlobal4184864Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE32UDINT200TcVarGlobal4184896Global_Variables.SYSTEMSERVICE_SENDEMAIL32UDINT300TcVarGlobal4184928Global_Variables.SYSTEMSERVICE_TIMESERVICES32UDINT400TcVarGlobal4184960Global_Variables.SYSTEMSERVICE_STARTPROCESS32UDINT500TcVarGlobal4184992Global_Variables.SYSTEMSERVICE_CHANGENETID32UDINT600TcVarGlobal4185024Global_Variables.TIMESERVICE_DATEANDTIME32UDINT1TcVarGlobal4185056Global_Variables.TIMESERVICE_SYSTEMTIMES32UDINT2TcVarGlobal4185088Global_Variables.TIMESERVICE_RTCTIMEDIFF32UDINT3TcVarGlobal4185120Global_Variables.TIMESERVICE_ADJUSTTIMETORTC32UDINT4TcVarGlobal4185152Global_Variables.TIMESERVICE_TIMEZONINFORMATION32UDINT6TcVarGlobal4185184Global_Variables.ADSLOG_MSGTYPE_HINT32DWORD1TcVarGlobal4185216Global_Variables.ADSLOG_MSGTYPE_WARN32DWORD2TcVarGlobal4185248Global_Variables.ADSLOG_MSGTYPE_ERROR32DWORD4TcVarGlobal4185280Global_Variables.ADSLOG_MSGTYPE_LOG32DWORD16TcVarGlobal4185312Global_Variables.ADSLOG_MSGTYPE_MSGBOX32DWORD32TcVarGlobal4185344Global_Variables.ADSLOG_MSGTYPE_RESOURCE32DWORD64TcVarGlobal4185376Global_Variables.ADSLOG_MSGTYPE_STRING32DWORD128TcVarGlobal4185408Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED8BYTE16TcVarGlobal4185440Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID8BYTE32TcVarGlobal4185448Global_Variables.SYSTEMSTATEFLAGS_BSOD8BYTE1TcVarGlobal4185456Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION8BYTE2TcVarGlobal4185464Global_Variables.FOPEN_MODEREAD32DWORD1TcVarGlobal4185472Global_Variables.FOPEN_MODEWRITE32DWORD2TcVarGlobal4185504Global_Variables.FOPEN_MODEAPPEND32DWORD4TcVarGlobal4185536Global_Variables.FOPEN_MODEPLUS32DWORD8TcVarGlobal4185568Global_Variables.FOPEN_MODEBINARY32DWORD16TcVarGlobal4185600Global_Variables.FOPEN_MODETEXT32DWORD32TcVarGlobal4185632Global_Variables.TCEVENTFLAG_PRIOCLASS16WORD16TcVarGlobal4185888Global_Variables.TCEVENTFLAG_FMTSELF16WORD32TcVarGlobal4185904Global_Variables.TCEVENTFLAG_LOG16WORD64TcVarGlobal4185920Global_Variables.TCEVENTFLAG_MSGBOX16WORD128TcVarGlobal4185936Global_Variables.TCEVENTFLAG_SRCID16WORD256TcVarGlobal4185952Global_Variables.TCEVENTFLAG_AUTOFMTALL16WORD4096TcVarGlobal4185968Global_Variables.TCEVENTSTATE_INVALID16WORD0TcVarGlobal4185984Global_Variables.TCEVENTSTATE_SIGNALED16WORD1TcVarGlobal4186000Global_Variables.TCEVENTSTATE_RESET16WORD2TcVarGlobal4186016Global_Variables.TCEVENTSTATE_CONFIRMED16WORD16TcVarGlobal4186032Global_Variables.TCEVENTSTATE_RESETCON16WORD18TcVarGlobal4186048Global_Variables.TCEVENT_SRCNAMESIZE16INT15TcVarGlobal4186064Global_Variables.TCEVENT_FMTPRGSIZE16INT31TcVarGlobal4186080Global_Variables.eWatchdogConfig16E_WATCHDOG_TIME_CONFIG0TcVarGlobal4186096Global_Variables.PI64LREAL3.14159265358979TcVarGlobal4186112Global_Variables.DEFAULT_ADS_TIMEOUT32TIME5000TcVarGlobal4186176Global_Variables.MAX_STRING_LENGTH32UDINT255TcVarGlobal4186208Global_Variables.nWatchdogTime8BYTETcVarGlobal4186752Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK8BOOL0TcVarGlobal4186760Global_Variables.MAX_AVERAGE_MEASURES16INT10LowerBorder2UpperBorder100TcVarGlobal4186768Global_Version.stLibVersion_Tc3_Module288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.sVersion3.3.21.0const_non_replacedTcVarGlobal4186784Global_Version.stLibVersion_Tc2_Utilities288ST_LibVersion.iMajor3.iMinor3.iBuild40.iRevision1.nFlags0.sVersion3.3.40.1const_non_replacedTcVarGlobal4187392Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE16E_HashPrefixTypes0TcVarGlobal4187680Global_Variables.GLOBAL_SBCS_TABLE16E_SBCSType1TcVarGlobal4187696Global_Variables.GLOBAL_DCF77_PULSE_SPLIT pulse < 140ms, Bit == 1 => pulse >= 140ms ]]>32TIME140TcVarGlobal4187712Global_Variables.DEFAULT_CSV_FIELD_SEP german field separator, comma (,) := 16#2C => US field separator ]]>8BYTE59TcVarGlobal4187744Global_Variables.MAX_ROUTE_NAME_LEN8BYTE31TcVarGlobal4187752Global_Variables.MAX_REMOTE_PCS16INT99TcVarGlobal4187760Global_Variables.MAX_ADAPTER_NAME_LENGTH32UDINT259TcVarGlobal4249248Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH32UDINT131TcVarGlobal4249280Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH32UDINT7TcVarGlobal4249312Global_Variables.SYSTEMSERVICE_IPHELPERAPI32UDINT701TcVarGlobal4249344Global_Variables.SYSTEMSERVICE_IPHOSTNAME32UDINT702TcVarGlobal4249376Global_Variables.IPHELPERAPI_ADAPTERSINFO32UDINT1TcVarGlobal4249408Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME32UDINT4TcVarGlobal4249440Global_Variables.MAX_LOCAL_ADAPTERS32UDINT5TcVarGlobal4249472Global_Variables.SYSTEMSERVICE_ADDREMOTE32UDINT801TcVarGlobal4249504Global_Variables.SYSTEMSERVICE_DELREMOTE32UDINT802TcVarGlobal4249536Global_Variables.SYSTEMSERVICE_ENUMREMOTE32UDINT803TcVarGlobal4249568Global_Variables.ROUTE_FLAG_TEMPORARY32DWORD1TcVarGlobal4249600Global_Variables.ROUTE_FLAG_DYNAMIC32DWORD2TcVarGlobal4249632Global_Variables.ROUTE_FLAG_NOOVERRIDE32DWORD4TcVarGlobal4249664Global_Variables.MAX_ROUTE_ADDR_LEN8BYTE79TcVarGlobal4249696Global_Variables.MIN_ROUTE_TRANSPORT8BYTE0TcVarGlobal4249704Global_Variables.MAX_ROUTE_TRANSPORT8BYTE12TcVarGlobal4249712Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE used to enclose special characters like line breaks, double-quotes, commas... ]]>8BYTE34TcVarGlobal4249720Global_Variables.EMPTY_ROUTE_ENTRY1184ST_AmsRouteEntry.sName.sNetID.sAddress.tTimeout0.dwFlags0TcVarGlobal4249728Global_Variables.SYSTEMSERVICE_FFILEFIND32UDINT133TcVarGlobal4250912Global_Variables.HKEY_MAX_BINARY_DATA_SIZE32UDINT500TcVarGlobal4250944Global_Variables.AMSLOGGER_IGR_GENERAL32UDINT4096TcVarGlobal4250976Global_Variables.AMSLOGGER_IOF_MODE32UDINT1TcVarGlobal4251008Global_Variables.AMSPORT_AMSLOGGER16UINT10502TcVarGlobal4251040Global_Variables.FORMAT_MAX_ARGS16INT10TcVarGlobal4251056Global_Variables.FLOATREC_EXP_IS_NAN16INT-32768TcVarGlobal4251072Global_Variables.FLOATREC_EXP_IS_INF16INT32767TcVarGlobal4251088Global_Variables.FLOATREC_MAX_DIGITS16INT20TcVarGlobal4251104Global_Variables.FLOATREC_MAX_PRECISION16INT307TcVarGlobal4251120Global_Variables.FLOATREC_MIN_PRECISION16INT0TcVarGlobal4251136Global_Variables.FMTERR_NOERROR32DWORD0TcVarGlobal4251168Global_Variables.FMTERR_PERCENTSIGNPOSITION32DWORD16TcVarGlobal4251200Global_Variables.FMTERR_ASTERISKPOSITION32DWORD32TcVarGlobal4251232Global_Variables.FMTERR_WIDTHVALUE32DWORD64TcVarGlobal4251264Global_Variables.FMTERR_PRECISIONVALUE32DWORD128TcVarGlobal4251296Global_Variables.FMTERR_FLAGPOSITION32DWORD256TcVarGlobal4251328Global_Variables.FMTERR_WIDTHPRECISIONVALPOS32DWORD512TcVarGlobal4251360Global_Variables.FMTERR_PRECISIONDOTPOSITION32DWORD1024TcVarGlobal4251392Global_Variables.FMTERR_TYPEFIELDVALUE32DWORD2048TcVarGlobal4251424Global_Variables.FMTERR_ARGTYPEINVALID32DWORD4096TcVarGlobal4251456Global_Variables.FMTERR_UNACCEPTEDPARAMETER32DWORD8192TcVarGlobal4251488Global_Variables.FMTERR_INSUFFICIENTARGS32DWORD16384TcVarGlobal4251520Global_Variables.FMTERR_DESTBUFFOVERFLOW32DWORD32768TcVarGlobal4251552Global_Variables.FMTERR_INVALIDPOINTERINPUT32DWORD65536TcVarGlobal4251584Global_Variables.EMPTY_ARG_VALUE96T_Arg.eType0.cbLen0.pData0TcVarGlobal4251616Global_Variables.FORMAT_HEXASC_CODES256BYTE02016[0,0]48[0,1]49[0,2]50[0,3]51[0,4]52[0,5]53[0,6]54[0,7]55[0,8]56[0,9]57[0,10]97[0,11]98[0,12]99[0,13]100[0,14]101[0,15]102[1,0]48[1,1]49[1,2]50[1,3]51[1,4]52[1,5]53[1,6]54[1,7]55[1,8]56[1,9]57[1,10]65[1,11]66[1,12]67[1,13]68[1,14]69[1,15]70TcVarGlobal4251712Global_Variables.FORMAT_DECASC_CODES80BYTE010[0]48[1]49[2]50[3]51[4]52[5]53[6]54[7]55[8]56[9]57TcVarGlobal4251968Global_Variables.SYSTEMTIME_MAX_MONTHDAYS384WORD02112[0,1]31[0,2]28[0,3]31[0,4]30[0,5]31[0,6]30[0,7]31[0,8]31[0,9]30[0,10]31[0,11]30[0,12]31[1,1]31[1,2]29[1,3]31[1,4]30[1,5]31[1,6]30[1,7]31[1,8]31[1,9]30[1,10]31[1,11]30[1,12]31TcVarGlobal4257456Global_Variables.SYSTEMTIME_MAX_YEARSDAY448WORD02014[0,0]0[0,1]31[0,2]59[0,3]90[0,4]120[0,5]151[0,6]181[0,7]212[0,8]243[0,9]273[0,10]304[0,11]334[0,12]365[0,13]396[1,0]0[1,1]31[1,2]60[1,3]91[1,4]121[1,5]152[1,6]182[1,7]213[1,8]244[1,9]274[1,10]305[1,11]335[1,12]366[1,13]397TcVarGlobal4257840Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET32DWORD584389TcVarGlobal4258304Global_Variables.SYSTEMTIME_TICKSPERMSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000TcVarGlobal4258336Global_Variables.SYSTEMTIME_TICKSPERSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000000TcVarGlobal4258400Global_Variables.SYSTEMTIME_TICKSPERDAY64T_ULARGE_INTEGER.dwHighPart201.dwLowPart711573504TcVarGlobal4258464Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64T_ULARGE_INTEGER.dwHighPart27111902.dwLowPart3577643008TcVarGlobal4258528Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64T_ULARGE_INTEGER.dwHighPart37111701.dwLowPart2856069504TcVarGlobal4258592Global_Variables.DATE_AND_TIME_SECPERDAY32DWORD86400TcVarGlobal4258656Global_Variables.SYSTEMTIME_TICKSPERMSEC6464ULINT10000TcVarGlobal4258688Global_Variables.SYSTEMTIME_TICKSPERSEC6464ULINT10000000TcVarGlobal4258752Global_Variables.SYSTEMTIME_TICKSPERDAY6464ULINT864000000000TcVarGlobal4258816Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN6464ULINT116444736000000000TcVarGlobal4258880Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX6464ULINT159393544950000000TcVarGlobal4258944Global_Variables.WEST_EUROPE_TZI864ST_TimeZoneInformation.bias-60.standardNameW. Europe Standard Time.standardDate.wYear0.standardDate.wMonth10.standardDate.wDayOfWeek0.standardDate.wDay5.standardDate.wHour3.standardBias0.daylightNameW. Europe Daylight Time.daylightDate.wYear0.daylightDate.wMonth3.daylightDate.wDayOfWeek0.daylightDate.wDay5.daylightDate.wHour2.daylightBias-60TcVarGlobal4259008Global_Variables.DATE_AND_TIME_SECPERWEEK32DWORD604800TcVarGlobal4263968Global_Variables.DBG_OUTPUT_NONE32DWORD0TcVarGlobal4270176Global_Variables.DBG_OUTPUT_LOG32DWORD1TcVarGlobal4270208Global_Variables.DBG_OUTPUT_FILE32DWORD2TcVarGlobal4270240Global_Variables.DBG_OUTPUT_VISU32DWORD4TcVarGlobal4270272Global_Variables.DEFAULT_CSV_RECORD_SEP_CR record separator (first character) ]]>8BYTE13TcVarGlobal4386512Global_Variables.DEFAULT_CSV_RECORD_SEP_LF record separator (second character) ]]>8BYTE10TcVarGlobal4386520Global_Variables.EMPTY_GUID_STRUCT128GUID.Data10.Data20.Data30.Data4[0]0.Data4[1]0.Data4[2]0.Data4[3]0.Data4[4]0.Data4[5]0.Data4[6]0.Data4[7]0TcVarGlobal4389216Global_Variables.EMPTY_GUID_STRING296STRING(36)00000000-0000-0000-0000-000000000000TcVarGlobal4389344Global_Variables.EMPTY_GUID_REGSTRING312STRING(38){00000000-0000-0000-0000-000000000000}TcVarGlobal4389640Global_Version.stLibVersion_Tc2_IoFunctions288ST_LibVersion.iMajor3.iMinor3.iBuild13.iRevision0.nFlags0.sVersion3.3.13.0const_non_replacedTcVarGlobal4390016Global_Version.stLibVersion_Tc2_ModbusSrv288ST_LibVersion.iMajor3.iMinor3.iBuild2.iRevision0.sVersion3.3.2.0const_non_replacedTcVarGlobal4390304Global_Version.stLibVersion_Tc2_SerialCom288ST_LibVersion.iMajor3.iMinor3.iBuild7.iRevision0.nFlags0.sVersion3.3.7.0const_non_replacedTcVarGlobal4390592Global_Constants.EMPTY_EVENT_CLASS128GUID.Data10.Data20.Data30.Data4[0]0.Data4[1]0.Data4[2]0.Data4[3]0.Data4[4]0.Data4[5]0.Data4[6]0.Data4[7]0TcVarGlobal4390880Global_Constants.EMPTY_EVENT_ID32UDINT0TcVarGlobal4391008Global_Constants.EMPTY_SEVERITY16TcEventSeverity0TcVarGlobal4391040Global_Variables.AMSPORT_TCPIPSRV16UINT10201TcVarGlobal4391056Global_Constants.SUCCESS_EVENT192TcEventEntry.uuidEventClass.Data10.uuidEventClass.Data20.uuidEventClass.Data30.uuidEventClass.Data4[0]0.uuidEventClass.Data4[1]0.uuidEventClass.Data4[2]0.uuidEventClass.Data4[3]0.uuidEventClass.Data4[4]0.uuidEventClass.Data4[5]0.uuidEventClass.Data4[6]0.uuidEventClass.Data4[7]0.nEventID0.eSeverity0TcVarGlobal4391072GVL.nLangId_OnlineMonitoring32DINT1033TcVarGlobal4391264ParameterList.cSourceNameSize32UDINT256LowerBorder81UpperBorder10000TcVarGlobal4391296Global_Version.stLibVersion_Tc3_EventLogger288ST_LibVersion.iMajor3.iMinor1.iBuild24.iRevision0.nFlags0.sVersion3.1.24.0const_non_replacedTcVarGlobal4391328GVL_INTERNAL.UNINITIALIZED_CLASS_GUID128GUID.Data13886330336.Data262671.Data318227.Data4[0]149.Data4[1]213.Data4[2]115.Data4[3]223.Data4[4]8.Data4[5]75.Data4[6]96.Data4[7]248TcVarGlobal4391616.TCPADS_MAXUDP_BUFFSIZE32UDINT8192TcVarGlobal4391744Global_Variables.TCPADS_IGR_CONLIST32UDINT2147483649TcVarGlobal4391776Global_Variables.TCPADS_IGR_CLOSEBYHDL32UDINT2147483650TcVarGlobal4391808Global_Variables.TCPADS_IGR_SENDBYHDL32UDINT2147483651TcVarGlobal4391840Global_Variables.TCPADS_IGR_PEERBYHDL32UDINT2147483652TcVarGlobal4391872Global_Variables.TCPADS_IGR_RECVBYHDL32UDINT2147483653TcVarGlobal4391904Global_Variables.TCPADS_IGR_RECVFROMBYHDL32UDINT2147483654TcVarGlobal4391936Global_Variables.TCPADS_IGR_SENDTOBYHDL32UDINT2147483655TcVarGlobal4391968Global_Variables.TCPADS_IGR_MULTICAST_ADDBYHDL32UDINT2147483656TcVarGlobal4392000Global_Variables.TCPADS_IGR_MULTICAST_DROPBYHDL32UDINT2147483657TcVarGlobal4392032Global_Variables.TCPADS_IGR_ADAPTER_LINKSTATUS32UDINT2147483658TcVarGlobal4392064Global_Variables.TCPADSCONLST_IOF_CONNECT32UDINT1TcVarGlobal4392096Global_Variables.TCPADSCONLST_IOF_LISTEN32UDINT2TcVarGlobal4392128Global_Variables.TCPADSCONLST_IOF_CLOSEALL32UDINT3TcVarGlobal4392160Global_Variables.TCPADSCONLST_IOF_ACCEPT32UDINT4TcVarGlobal4392192Global_Variables.TCPADSCONLST_IOF_UDPBIND32UDINT5TcVarGlobal4392224Global_Variables.TCPADSCONLST_IOF_GETHNDLBYADDR32UDINT6TcVarGlobal4392256Global_Variables.TCPADSCONLST_IOF_GETLINKSTATUS32UDINT7TcVarGlobal4392288Global_Variables.TCPADS_NULL_HSOCKET352T_HSOCKET.handle0.remoteAddr.nPort0.remoteAddr.sAddr.localAddr.nPort0.localAddr.sAddrTcVarGlobal4392320Global_Variables.LISTEN_MODE_CLOSEALL32DWORD1TcVarGlobal4392672Global_Variables.LISTEN_MODE_USEOPENED32DWORD2TcVarGlobal4392704Global_Variables.CONNECT_MODE_ENABLEDBG32DWORD2147483648TcVarGlobal4392736Global_Variables.MAX_THROTTLE_MODE32DWORD12TcVarGlobal4392768Global_Variables.THROTTLE_MODE_OFF416T_ThrottleTimes[0]0[1]0[2]0[3]0[4]0[5]0[6]0[7]0[8]0[9]0[10]0[11]0[12]0TcVarGlobal4392800Global_Variables.THROTTLE_MODE_DEFAULT416T_ThrottleTimes[0]0[1]10[2]20[3]40[4]60[5]80[6]100[7]200[8]400[9]600[10]800[11]1000[12]2000TcVarGlobal4393216Global_Version.stLibVersion_Tc3_JsonXml288ST_LibVersion.iMajor3.iMinor3.iBuild14.iRevision0.nFlags0.sVersion3.3.14.0const_non_replacedTcVarGlobal4393632GVL_Param_TcUnit.MaxNumberOfTestSuites16UINT1000TcVarGlobal4393920GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite16UINT100TcVarGlobal4393936GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite16UINT1000TcVarGlobal4393952GVL_Param_TcUnit.LogExtendedResults + + + TcVarGlobal + + + 4097184 + + + GVL_Logger.fbRootLogger + Instantiated here to be used everywhere + 81600 + FB_LogMessage + + + TcVarGlobal + + + 4097216 + + + Global_Variables_EtherCAT.ESC_MAX_PORTS + Maximum number of ports (4) on ESC + 16 + UINT + + 3 + + + + TcVarGlobal + + + 4178816 + + + Global_Variables.EC_AMSPORT_MASTER + 16 + UINT + + 65535 + + + + TcVarGlobal + + + 4178832 + + + Global_Version.stLibVersion_Tc2_EtherCAT + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 15 + + + .iRevision + 0 + + + .sVersion + 3.3.15.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4178848 + + + Global_Variables.EC_MAX_SLAVES + 16 + UINT + + 65535 + + + + TcVarGlobal + + + 4179136 + + + Global_Variables.EC_CMD_TYPE_APRW + 8 + BYTE + + 3 + + + + TcVarGlobal + + + 4179152 + + + Global_Variables.EC_CMD_TYPE_FPRD + 8 + BYTE + + 4 + + + + TcVarGlobal + + + 4179160 + + + Global_Variables.EC_CMD_TYPE_FPWR + 8 + BYTE + + 5 + + + + TcVarGlobal + + + 4179168 + + + Global_Variables.EC_CMD_TYPE_FPRW + 8 + BYTE + + 6 + + + + TcVarGlobal + + + 4179176 + + + Global_Variables.EC_CMD_TYPE_BRD + 8 + BYTE + + 7 + + + + TcVarGlobal + + + 4179184 + + + Global_Variables.EC_CMD_TYPE_BWR + 8 + BYTE + + 8 + + + + TcVarGlobal + + + 4179192 + + + Global_Variables.EC_CMD_TYPE_BRW + 8 + BYTE + + 9 + + + + TcVarGlobal + + + 4179200 + + + Global_Variables.EC_CMD_TYPE_LRD + 8 + BYTE + + 10 + + + + TcVarGlobal + + + 4179208 + + + Global_Variables.EC_CMD_TYPE_LWR + 8 + BYTE + + 11 + + + + TcVarGlobal + + + 4179216 + + + Global_Variables.EC_CMD_TYPE_LRW + 8 + BYTE + + 12 + + + + TcVarGlobal + + + 4179224 + + + Global_Variables.EC_DEVICE_STATE_MASK + device states + 8 + BYTE + + 15 + + + + TcVarGlobal + + + 4179232 + + + Global_Variables.EC_DEVICE_STATE_INIT + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4179240 + + + Global_Variables.EC_DEVICE_STATE_PREOP + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4179248 + + + Global_Variables.EC_DEVICE_STATE_BOOTSTRAP + 8 + BYTE + + 3 + + + + TcVarGlobal + + + 4179256 + + + Global_Variables.EC_DEVICE_STATE_SAFEOP + 8 + BYTE + + 4 + + + + TcVarGlobal + + + 4179264 + + + Global_Variables.EC_DEVICE_STATE_OP + 8 + BYTE + + 8 + + + + TcVarGlobal + + + 4179272 + + + Global_Variables.EC_DEVICE_STATE_ERROR + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 4179280 + + + Global_Variables.EC_DEVICE_STATE_INVALID_VPRS + 8 + BYTE + + 32 + + + + TcVarGlobal + + + 4179288 + + + Global_Variables.EC_DEVICE_STATE_INITCMD_ERROR + 8 + BYTE + + 64 + + + + TcVarGlobal + + + 4179296 + + + Global_Variables.EC_DEVICE_STATE_DISABLED + 8 + BYTE + + 128 + + + + TcVarGlobal + + + 4179304 + + + Global_Variables.EC_LINK_STATE_OK + link states + 8 + BYTE + + 0 + + + + TcVarGlobal + + + 4179312 + + + Global_Variables.EC_LINK_STATE_NOT_PRESENT + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4179320 + + + Global_Variables.EC_LINK_STATE_LINK_WITHOUT_COMM + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4179328 + + + Global_Variables.EC_LINK_STATE_MISSING_LINK + 8 + BYTE + + 4 + + + + TcVarGlobal + + + 4179336 + + + Global_Variables.EC_LINK_STATE_ADDITIONAL_LINK + 8 + BYTE + + 8 + + + + TcVarGlobal + + + 4179344 + + + Global_Variables.EC_LINK_STATE_PORT_A + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 4179352 + + + Global_Variables.EC_LINK_STATE_PORT_B + 8 + BYTE + + 32 + + + + TcVarGlobal + + + 4179360 + + + Global_Variables.EC_LINK_STATE_PORT_C + 8 + BYTE + + 64 + + + + TcVarGlobal + + + 4179368 + + + Global_Variables.EC_LINK_STATE_PORT_D + 8 + BYTE + + 128 + + + + TcVarGlobal + + + 4179376 + + + Global_Variables.EC_SOE_ELEMENT_DATASTATE + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4179384 + + + Global_Variables.EC_ADS_IGRP_MASTER_STATEMACHINE + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 4179392 + + + Global_Variables.EC_ADS_IOFFS_MASTER_CURSTATE + 32 + UDINT + + 256 + + + + TcVarGlobal + + + 4179424 + + + Global_Variables.EC_ADS_IOFFS_MASTER_REQSTATE + 32 + UDINT + + 257 + + + + TcVarGlobal + + + 4179456 + + + Global_Variables.EC_ADS_IOFFS_MASTER_INTERNALSTATE + 32 + UDINT + + 258 + + + + TcVarGlobal + + + 4179488 + + + Global_Variables.EC_ADS_IGRP_MASTER_COUNT_SLAVE + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 4179520 + + + Global_Variables.EC_ADS_IOFFS_MASTER_COUNT_SLAVE + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 4179552 + + + Global_Variables.EC_ADS_IOFFS_MASTER_COUNT_PORT + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4179584 + + + Global_Variables.EC_ADS_IOFFS_MASTER_COUNT_ROUTER + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4179616 + + + Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_ADDRESSES + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 4179648 + + + Global_Variables.EC_ADS_IGRP_MASTER_SENDCMD + 32 + UDINT + + 8 + + + + TcVarGlobal + + + 4179680 + + + Global_Variables.EC_ADS_IGRP_SLAVE_STATEMACHINE + 32 + UDINT + + 9 + + + + TcVarGlobal + + + 4179712 + + + Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_IDENTITY + 32 + UDINT + + 17 + + + + TcVarGlobal + + + 4179744 + + + Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_CRC + 32 + UDINT + + 18 + + + + TcVarGlobal + + + 4179776 + + + Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_ABNORMAL_STATE_CHANGES + 32 + UDINT + + 19 + + + + TcVarGlobal + + + 4179808 + + + Global_Variables.EC_ADS_IGRP_MASTER_SLAVE_SETPRESENT_CHANGES + 32 + UDINT + + 22 + + + + TcVarGlobal + + + 4179840 + + + Global_Variables.EC_ADS_IGRP_MASTER_DEVICESTATE + 32 + UDINT + + 69 + + + + TcVarGlobal + + + 4179872 + + + Global_Variables.EC_ADS_IGRP_MASTER_COUNT_FRAME + 32 + UDINT + + 72 + + + + TcVarGlobal + + + 4179904 + + + Global_Variables.EC_ADS_IGRP_ECAT_SOE + SoE IG/IO + 32 + UDINT + + 62496 + + + + TcVarGlobal + + + 4179936 + + + Global_Variables.EC_ADS_IGRP_ECAT_SOE_LASTERROR + 32 + UDINT + + 62497 + + + + TcVarGlobal + + + 4179968 + + + Global_Variables.EC_SOE_ELEMENT_NAME + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4180000 + + + Global_Variables.EC_SOE_ELEMENT_ATTRIBUTE + 8 + BYTE + + 4 + + + + TcVarGlobal + + + 4180008 + + + Global_Variables.EC_SOE_ELEMENT_UNIT + 8 + BYTE + + 8 + + + + TcVarGlobal + + + 4180016 + + + Global_Variables.EC_SOE_ELEMENT_MIN + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 4180024 + + + Global_Variables.EC_SOE_ELEMENT_MAX + 8 + BYTE + + 32 + + + + TcVarGlobal + + + 4180032 + + + Global_Variables.EC_SOE_ELEMENT_VALUE + 8 + BYTE + + 64 + + + + TcVarGlobal + + + 4180040 + + + Global_Variables.EC_SOE_ELEMENT_DEFAULT + 8 + BYTE + + 128 + + + + TcVarGlobal + + + 4180048 + + + Global_Variables.bSeqReadDrvAttrAndValue + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 4180056 + + + Global_Variables.EC_ADS_IGRP_FOE_FOPENREAD + FoE IG/IO + 32 + UDINT + + 62465 + + + + TcVarGlobal + + + 4180064 + + + Global_Variables.EC_ADS_IGRP_FOE_FOPENWRITE + 32 + UDINT + + 62466 + + + + TcVarGlobal + + + 4180096 + + + Global_Variables.EC_ADS_IGRP_FOE_FCLOSE + 32 + UDINT + + 62467 + + + + TcVarGlobal + + + 4180128 + + + Global_Variables.EC_ADS_IGRP_FOE_FREAD + 32 + UDINT + + 62468 + + + + TcVarGlobal + + + 4180160 + + + Global_Variables.EC_ADS_IGRP_FOE_FWRITE + 32 + UDINT + + 62469 + + + + TcVarGlobal + + + 4180192 + + + Global_Variables.EC_ADS_IGRP_FOE_PROGRESSINFO + 32 + UDINT + + 62470 + + + + TcVarGlobal + + + 4180224 + + + Global_Variables.EC_ADS_IGRP_FOE_LASTERROR + 32 + UDINT + + 62471 + + + + TcVarGlobal + + + 4180256 + + + Global_Variables.EC_ADS_IGRP_CANOPEN_SDO + CoE IG/IO + 32 + UDINT + + 62210 + + + + TcVarGlobal + + + 4180288 + + + Global_Variables.EC_ADS_IGRP_CANOPEN_SDO_LASTERROR + 32 + UDINT + + 62211 + + + + TcVarGlobal + + + 4180320 + + + Global_Variables.EC_FOE_PROTERR_NOTDEFINED + FoE mailbox protocol error codes + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 4180352 + + + Global_Variables.EC_FOE_PROTERR_NOTFOUND + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4180384 + + + Global_Variables.EC_FOE_PROTERR_ACCESS + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4180416 + + + Global_Variables.EC_FOE_PROTERR_DISKFULL + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 4180448 + + + Global_Variables.EC_FOE_PROTERR_ILLEAGAL + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4180480 + + + Global_Variables.EC_FOE_PROTERR_PACKENO + 32 + UDINT + + 5 + + + + TcVarGlobal + + + 4180512 + + + Global_Variables.EC_FOE_PROTERR_EXISTS + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 4180544 + + + Global_Variables.EC_FOE_PROTERR_NOUSER + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 4180576 + + + Global_Variables.EC_FOE_PROTERR_BOOTSTRAPONLY + 32 + UDINT + + 8 + + + + TcVarGlobal + + + 4180608 + + + Global_Variables.EC_FOE_PROTERR_NOTINBOOTSTRAP + 32 + UDINT + + 9 + + + + TcVarGlobal + + + 4180640 + + + Global_Variables.EC_FOE_PROTERR_INVALIDPASSWORD + 32 + UDINT + + 10 + + + + TcVarGlobal + + + 4180672 + + + Global_Variables.EC_COE_PROTERR_TOGGLE + Toggle bit not alternated. + 32 + UDINT + + 84082688 + + + + TcVarGlobal + + + 4180704 + + + Global_Variables.EC_COE_PROTERR_TIMEOUT + SDO protocol timed out. + 32 + UDINT + + 84148224 + + + + TcVarGlobal + + + 4180736 + + + Global_Variables.EC_COE_PROTERR_CCS_SCS + Client/server command specifier not valid or unknown. + 32 + UDINT + + 84148225 + + + + TcVarGlobal + + + 4180768 + + + Global_Variables.EC_COE_PROTERR_BLK_SIZE + Invalid block size (block mode only). + 32 + UDINT + + 84148226 + + + + TcVarGlobal + + + 4180800 + + + Global_Variables.EC_COE_PROTERR_SEQNO + Invalid sequence number (block mode only). + 32 + UDINT + + 84148227 + + + + TcVarGlobal + + + 4180832 + + + Global_Variables.EC_COE_PROTERR_CRC + CRC error (block mode only). + 32 + UDINT + + 84148228 + + + + TcVarGlobal + + + 4180864 + + + Global_Variables.EC_COE_PROTERR_MEMORY + Out of memory. + 32 + UDINT + + 84148229 + + + + TcVarGlobal + + + 4180896 + + + Global_Variables.EC_COE_PROTERR_ACCESS + Unsupported access to an object. + 32 + UDINT + + 100728832 + + + + TcVarGlobal + + + 4180928 + + + Global_Variables.EC_COE_PROTERR_WRITEONLY + Attempt to read a write only object. + 32 + UDINT + + 100728833 + + + + TcVarGlobal + + + 4180960 + + + Global_Variables.EC_COE_PROTERR_READONLY + Attempt to write a read only object. + 32 + UDINT + + 100728834 + + + + TcVarGlobal + + + 4180992 + + + Global_Variables.EC_COE_PROTERR_INDEX + Object does not exist in the object dictionary. + 32 + UDINT + + 100794368 + + + + TcVarGlobal + + + 4181024 + + + Global_Variables.EC_COE_PROTERR_PDO_MAP + Object cannot be mapped to the PDO. + 32 + UDINT + + 100925505 + + + + TcVarGlobal + + + 4181056 + + + Global_Variables.EC_COE_PROTERR_PDO_LEN + The number and length of the objects to be mapped would exceed PDO length. + 32 + UDINT + + 100925506 + + + + TcVarGlobal + + + 4181088 + + + Global_Variables.EC_COE_PROTERR_P_INCOMP + General parameter incompatibility reason. + 32 + UDINT + + 100925507 + + + + TcVarGlobal + + + 4181120 + + + Global_Variables.EC_COE_PROTERR_I_INCOMP + General internal incompatibility in the device. + 32 + UDINT + + 100925511 + + + + TcVarGlobal + + + 4181152 + + + Global_Variables.EC_COE_PROTERR_HARDWARE + Access failed due to an hardware error. + 32 + UDINT + + 101056512 + + + + TcVarGlobal + + + 4181184 + + + Global_Variables.EC_COE_PROTERR_DATA_SIZE + Data type does not match, length of service parameter does not match + 32 + UDINT + + 101122064 + + + + TcVarGlobal + + + 4181216 + + + Global_Variables.EC_COE_PROTERR_DATA_SIZE1 + Data type does not match, length of service parameter too high + 32 + UDINT + + 101122066 + + + + TcVarGlobal + + + 4181248 + + + Global_Variables.EC_COE_PROTERR_DATA_SIZE2 + Data type does not match, length of service parameter too low + 32 + UDINT + + 101122067 + + + + TcVarGlobal + + + 4181280 + + + Global_Variables.EC_COE_PROTERR_OFFSET + Sub-index does not exist. + 32 + UDINT + + 101253137 + + + + TcVarGlobal + + + 4181312 + + + Global_Variables.EC_COE_PROTERR_DATA_RANGE + Value range of parameter exceeded (only for write access). + 32 + UDINT + + 101253168 + + + + TcVarGlobal + + + 4181344 + + + Global_Variables.EC_COE_PROTERR_DATA_RANGE1 + Value of parameter written too high. + 32 + UDINT + + 101253169 + + + + TcVarGlobal + + + 4181376 + + + Global_Variables.EC_COE_PROTERR_DATA_RANGE2 + Value of parameter written too low. + 32 + UDINT + + 101253170 + + + + TcVarGlobal + + + 4181408 + + + Global_Variables.EC_COE_PROTERR_MINMAX + Maximum value is less than minimum value. + 32 + UDINT + + 101253174 + + + + TcVarGlobal + + + 4181440 + + + Global_Variables.EC_COE_PROTERR_GENERAL + general error + 32 + UDINT + + 134217728 + + + + TcVarGlobal + + + 4181472 + + + Global_Variables.EC_COE_PROTERR_TRANSFER + Data cannot be transferred or stored to the application. + 32 + UDINT + + 134217760 + + + + TcVarGlobal + + + 4181504 + + + Global_Variables.EC_COE_PROTERR_TRANSFER1 + Data cannot be transferred or stored to the application because of local control. + 32 + UDINT + + 134217761 + + + + TcVarGlobal + + + 4181536 + + + Global_Variables.EC_COE_PROTERR_TRANSFER2 + Data cannot be transferred or stored to the application because of the present device state. + 32 + UDINT + + 134217762 + + + + TcVarGlobal + + + 4181568 + + + Global_Variables.EC_COE_PROTERR_DICTIONARY + Object dictionary dynamic generation fails or no object dictionary is present (e.g. object dictionary is generated from file and generation fails because of an file error). + 32 + UDINT + + 134217763 + + + + TcVarGlobal + + + 4181600 + + + Global_Variables.EC_DCTIME_DATEDELTA_OFFSET + Number of past days since year zero until 1 January 2000 + 32 + DWORD + + 730120 + + + + TcVarGlobal + + + 4181632 + + + Global_Variables.EC_DCTIME_DELTA_OFFSET + Number of 100ns ticks between 1.1.1601 and 1.1.2000 + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 29316075 + + + .dwLowPart + 627916800 + + + + + TcVarGlobal + + + 4181664 + + + Global_Variables.EC_DCTIME_TICKSPERMSEC + Number of nanosecond ticks per millisecond + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 1000000 + + + + + TcVarGlobal + + + 4181728 + + + Global_Variables.EC_DCTIME_TICKSPERSEC + Number of nanosecond ticks per second + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 1000000000 + + + + + TcVarGlobal + + + 4181792 + + + Global_Variables.EC_DCTIME_TICKSPERDAY + Number of nanosecond ticks per day + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 20116 + + + .dwLowPart + 2437873664 + + + + + TcVarGlobal + + + 4181856 + + + Global_Variables.bEcFoeOpenFileNameWithFileExt + If FALSE (default) => FB_EcFoeOpen opens file name without file extension. If TRUE => FB_EcFoeOpen opens file name with file extension. + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 4181920 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED + Retain data loaded + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4181928 + + + Global_Variables.AMSPORT_LOGGER + Logger + 16 + UINT + + 100 + + + + TcVarGlobal + + + 4181936 + + + Global_Variables.EC_DCTIME_DELTA_OFFSET64 + Number of 100ns ticks between 1.1.1601 and 1.1.2000 + 64 + ULINT + + 125911584000000000 + + + + TcVarGlobal + + + 4181952 + + + Global_Variables.EC_DCTIME_TICKSPERMSEC64 + Number of nanosecond ticks per millisecond + 64 + ULINT + + 1000000 + + + + TcVarGlobal + + + 4182016 + + + Global_Variables.EC_DCTIME_TICKSPERSEC64 + Number of nanosecond ticks per second + 64 + ULINT + + 1000000000 + + + + TcVarGlobal + + + 4182080 + + + Global_Variables.EC_DCTIME_TICKSPERDAY64 + Number of nanosecond ticks per day + 64 + ULINT + + 86400000000000 + + + + TcVarGlobal + + + 4182144 + + + Global_Version.stLibVersion_Tc2_Standard + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 3 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.3.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4182208 + + + Global_Version.stLibVersion_Tc2_System + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 4 + + + .iBuild + 24 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.4.24.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4182496 + + + Global_Variables.AMSPORT_EVENTLOG + Event logger + 16 + UINT + + 110 + + + + TcVarGlobal + + + 4182784 + + + Global_Variables.AMSPORT_R0_RTIME + R0 Real time + 16 + UINT + + 200 + + + + TcVarGlobal + + + 4182800 + + + Global_Variables.AMSPORT_R0_IO + I/O Driver + 16 + UINT + + 300 + + + + TcVarGlobal + + + 4182816 + + + Global_Variables.AMSPORT_R0_NC + 16 + UINT + + 500 + + + + TcVarGlobal + + + 4182832 + + + Global_Variables.AMSPORT_R0_NCSAF + 16 + UINT + + 501 + + + + TcVarGlobal + + + 4182848 + + + Global_Variables.AMSPORT_R0_NCSVB + 16 + UINT + + 511 + + + + TcVarGlobal + + + 4182864 + + + Global_Variables.AMSPORT_R0_ISG + 16 + UINT + + 550 + + + + TcVarGlobal + + + 4182880 + + + Global_Variables.AMSPORT_R0_CNC + 16 + UINT + + 600 + + + + TcVarGlobal + + + 4182896 + + + Global_Variables.AMSPORT_R0_LINE + 16 + UINT + + 700 + + + + TcVarGlobal + + + 4182912 + + + Global_Variables.AMSPORT_R0_PLC + 16 + UINT + + 800 + + + + TcVarGlobal + + + 4182928 + + + Global_Variables.AMSPORT_R0_PLC_RTS1 + TwinCAT v2.xx first PLC runtime system + 16 + UINT + + 801 + + + + TcVarGlobal + + + 4182944 + + + Global_Variables.AMSPORT_R0_PLC_RTS2 + TwinCAT v2.xx second PLC runtime system + 16 + UINT + + 811 + + + + TcVarGlobal + + + 4182960 + + + Global_Variables.AMSPORT_R0_PLC_RTS3 + TwinCAT v2.xx third PLC runtime system + 16 + UINT + + 821 + + + + TcVarGlobal + + + 4182976 + + + Global_Variables.AMSPORT_R0_PLC_RTS4 + TwinCAT v2.xx fourth PLC runtime system + 16 + UINT + + 831 + + + + TcVarGlobal + + + 4182992 + + + Global_Variables.AMSPORT_R0_CAM + 16 + UINT + + 900 + + + + TcVarGlobal + + + 4183008 + + + Global_Variables.AMSPORT_R0_CAMTOOL + Camming tool + 16 + UINT + + 950 + + + + TcVarGlobal + + + 4183024 + + + Global_Variables.AMSPORT_R3_SYSSERV + TwinCAT System Service + 16 + UINT + + 10000 + + + + TcVarGlobal + + + 4183040 + + + Global_Variables.AMSPORT_R3_SCOPESERVER + TwinCAT Scope Server + 16 + UINT + + 14001 + + + + TcVarGlobal + + + 4183056 + + + Global_Variables.ADSSTATE_INVALID + Invalid ADS state + 16 + UINT + + 0 + + + + TcVarGlobal + + + 4183072 + + + Global_Variables.ADSSTATE_IDLE + 16 + UINT + + 1 + + + + TcVarGlobal + + + 4183088 + + + Global_Variables.ADSSTATE_RESET + 16 + UINT + + 2 + + + + TcVarGlobal + + + 4183104 + + + Global_Variables.ADSSTATE_INIT + 16 + UINT + + 3 + + + + TcVarGlobal + + + 4183120 + + + Global_Variables.ADSSTATE_START + 16 + UINT + + 4 + + + + TcVarGlobal + + + 4183136 + + + Global_Variables.ADSSTATE_RUN + 16 + UINT + + 5 + + + + TcVarGlobal + + + 4183152 + + + Global_Variables.ADSSTATE_STOP + 16 + UINT + + 6 + + + + TcVarGlobal + + + 4183168 + + + Global_Variables.ADSSTATE_SAVECFG + 16 + UINT + + 7 + + + + TcVarGlobal + + + 4183184 + + + Global_Variables.ADSSTATE_LOADCFG + 16 + UINT + + 8 + + + + TcVarGlobal + + + 4183200 + + + Global_Variables.ADSSTATE_POWERFAILURE + 16 + UINT + + 9 + + + + TcVarGlobal + + + 4183216 + + + Global_Variables.ADSSTATE_POWERGOOD + 16 + UINT + + 10 + + + + TcVarGlobal + + + 4183232 + + + Global_Variables.ADSSTATE_ERROR + 16 + UINT + + 11 + + + + TcVarGlobal + + + 4183248 + + + Global_Variables.ADSSTATE_SHUTDOWN + 16 + UINT + + 12 + + + + TcVarGlobal + + + 4183264 + + + Global_Variables.ADSSTATE_SUSPEND + 16 + UINT + + 13 + + + + TcVarGlobal + + + 4183280 + + + Global_Variables.ADSSTATE_RESUME + 16 + UINT + + 14 + + + + TcVarGlobal + + + 4183296 + + + Global_Variables.ADSSTATE_CONFIG + System is in config mode + 16 + UINT + + 15 + + + + TcVarGlobal + + + 4183312 + + + Global_Variables.ADSSTATE_RECONFIG + System should restart in config mode + 16 + UINT + + 16 + + + + TcVarGlobal + + + 4183328 + + + Global_Variables.ADSSTATE_STOPPING + 16 + UINT + + 17 + + + + TcVarGlobal + + + 4183344 + + + Global_Variables.ADSSTATE_INCOMPATIBLE + 16 + UINT + + 18 + + + + TcVarGlobal + + + 4183360 + + + Global_Variables.ADSSTATE_EXCEPTION + 16 + UINT + + 19 + + + + TcVarGlobal + + + 4183376 + + + Global_Variables.ADSSTATE_MAXSTATES + Max. number of available ads states + 16 + UINT + + 20 + + + + TcVarGlobal + + + 4183392 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID + Retain data is invalid + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4183408 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED + 8 + BYTE + + 4 + + + + TcVarGlobal + + + 4183416 + + + Global_Variables.ADSIGRP_SYMTAB + Symbol table + 32 + UDINT + + 61440 + + + + TcVarGlobal + + + 4183424 + + + Global_Variables.ADSIGRP_SYMNAME + Symbol name + 32 + UDINT + + 61441 + + + + TcVarGlobal + + + 4183456 + + + Global_Variables.ADSIGRP_SYMVAL + Symbol value + 32 + UDINT + + 61442 + + + + TcVarGlobal + + + 4183488 + + + Global_Variables.ADSIGRP_SYM_HNDBYNAME + 32 + UDINT + + 61443 + + + + TcVarGlobal + + + 4183520 + + + Global_Variables.ADSIGRP_SYM_VALBYNAME + 32 + UDINT + + 61444 + + + + TcVarGlobal + + + 4183552 + + + Global_Variables.ADSIGRP_SYM_VALBYHND + 32 + UDINT + + 61445 + + + + TcVarGlobal + + + 4183584 + + + Global_Variables.ADSIGRP_SYM_RELEASEHND + 32 + UDINT + + 61446 + + + + TcVarGlobal + + + 4183616 + + + Global_Variables.ADSIGRP_SYM_INFOBYNAME + 32 + UDINT + + 61447 + + + + TcVarGlobal + + + 4183648 + + + Global_Variables.ADSIGRP_SYM_VERSION + 32 + UDINT + + 61448 + + + + TcVarGlobal + + + 4183680 + + + Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX + 32 + UDINT + + 61449 + + + + TcVarGlobal + + + 4183712 + + + Global_Variables.ADSIGRP_SYM_DOWNLOAD + 32 + UDINT + + 61450 + + + + TcVarGlobal + + + 4183744 + + + Global_Variables.ADSIGRP_SYM_UPLOAD + 32 + UDINT + + 61451 + + + + TcVarGlobal + + + 4183776 + + + Global_Variables.ADSIGRP_SYM_UPLOADINFO + 32 + UDINT + + 61452 + + + + TcVarGlobal + + + 4183808 + + + Global_Variables.ADSIGRP_SYMNOTE + Notification of named handle + 32 + UDINT + + 61456 + + + + TcVarGlobal + + + 4183840 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIB + Read/write input BYTE(S) + 32 + UDINT + + 61472 + + + + TcVarGlobal + + + 4183872 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIX + Read/write input bit + 32 + UDINT + + 61473 + + + + TcVarGlobal + + + 4183904 + + + Global_Variables.ADSIGRP_IOIMAGE_RISIZE + Read input size (in BYTE) + 32 + UDINT + + 61477 + + + + TcVarGlobal + + + 4183936 + + + Global_Variables.ADSIGRP_IOIMAGE_RWOB + Read/write output BYTE(S) + 32 + UDINT + + 61488 + + + + TcVarGlobal + + + 4183968 + + + Global_Variables.ADSIGRP_IOIMAGE_RWOX + Read/write output bit + 32 + UDINT + + 61489 + + + + TcVarGlobal + + + 4184000 + + + Global_Variables.ADSIGRP_IOIMAGE_ROSIZE + Read/write output bit + 32 + UDINT + + 61493 + + + + TcVarGlobal + + + 4184032 + + + Global_Variables.ADSIGRP_IOIMAGE_CLEARI + Write inputs TO null + 32 + UDINT + + 61504 + + + + TcVarGlobal + + + 4184064 + + + Global_Variables.ADSIGRP_IOIMAGE_CLEARO + Write outputs TO null + 32 + UDINT + + 61520 + + + + TcVarGlobal + + + 4184096 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIOB + Read input AND write output BYTE(S) ADS-READWRITE + 32 + UDINT + + 61536 + + + + TcVarGlobal + + + 4184128 + + + Global_Variables.ADSIGRP_DEVICE_DATA + State, name, etc... + 32 + UDINT + + 61696 + + + + TcVarGlobal + + + 4184160 + + + Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE + Ads state OF device + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 4184192 + + + Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE + Device state + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4184224 + + + Global_Variables.SYSTEMSERVICE_OPENCREATE + Open and if not existing create + 32 + UDINT + + 100 + + + + TcVarGlobal + + + 4184256 + + + Global_Variables.SYSTEMSERVICE_OPENREAD + Open existing for read access + 32 + UDINT + + 101 + + + + TcVarGlobal + + + 4184288 + + + Global_Variables.SYSTEMSERVICE_OPENWRITE + Open existing for write access + 32 + UDINT + + 102 + + + + TcVarGlobal + + + 4184320 + + + Global_Variables.SYSTEMSERVICE_CREATEFILE + Create + 32 + UDINT + + 110 + + + + TcVarGlobal + + + 4184352 + + + Global_Variables.SYSTEMSERVICE_CLOSEHANDLE + Close + 32 + UDINT + + 111 + + + + TcVarGlobal + + + 4184384 + + + Global_Variables.SYSTEMSERVICE_FOPEN + 32 + UDINT + + 120 + + + + TcVarGlobal + + + 4184416 + + + Global_Variables.SYSTEMSERVICE_FCLOSE + 32 + UDINT + + 121 + + + + TcVarGlobal + + + 4184448 + + + Global_Variables.SYSTEMSERVICE_FREAD + 32 + UDINT + + 122 + + + + TcVarGlobal + + + 4184480 + + + Global_Variables.SYSTEMSERVICE_FWRITE + 32 + UDINT + + 123 + + + + TcVarGlobal + + + 4184512 + + + Global_Variables.SYSTEMSERVICE_FSEEK + 32 + UDINT + + 124 + + + + TcVarGlobal + + + 4184544 + + + Global_Variables.SYSTEMSERVICE_FTELL + 32 + UDINT + + 125 + + + + TcVarGlobal + + + 4184576 + + + Global_Variables.SYSTEMSERVICE_FGETS + 32 + UDINT + + 126 + + + + TcVarGlobal + + + 4184608 + + + Global_Variables.SYSTEMSERVICE_FPUTS + 32 + UDINT + + 127 + + + + TcVarGlobal + + + 4184640 + + + Global_Variables.SYSTEMSERVICE_FSCANF + 32 + UDINT + + 128 + + + + TcVarGlobal + + + 4184672 + + + Global_Variables.SYSTEMSERVICE_FPRINTF + 32 + UDINT + + 129 + + + + TcVarGlobal + + + 4184704 + + + Global_Variables.SYSTEMSERVICE_FEOF + 32 + UDINT + + 130 + + + + TcVarGlobal + + + 4184736 + + + Global_Variables.SYSTEMSERVICE_FDELETE + 32 + UDINT + + 131 + + + + TcVarGlobal + + + 4184768 + + + Global_Variables.SYSTEMSERVICE_FRENAME + 32 + UDINT + + 132 + + + + TcVarGlobal + + + 4184800 + + + Global_Variables.SYSTEMSERVICE_MKDIR + 32 + UDINT + + 138 + + + + TcVarGlobal + + + 4184832 + + + Global_Variables.SYSTEMSERVICE_RMDIR + 32 + UDINT + + 139 + + + + TcVarGlobal + + + 4184864 + + + Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE + 32 + UDINT + + 200 + + + + TcVarGlobal + + + 4184896 + + + Global_Variables.SYSTEMSERVICE_SENDEMAIL + 32 + UDINT + + 300 + + + + TcVarGlobal + + + 4184928 + + + Global_Variables.SYSTEMSERVICE_TIMESERVICES + 32 + UDINT + + 400 + + + + TcVarGlobal + + + 4184960 + + + Global_Variables.SYSTEMSERVICE_STARTPROCESS + 32 + UDINT + + 500 + + + + TcVarGlobal + + + 4184992 + + + Global_Variables.SYSTEMSERVICE_CHANGENETID + 32 + UDINT + + 600 + + + + TcVarGlobal + + + 4185024 + + + Global_Variables.TIMESERVICE_DATEANDTIME + Date/time + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4185056 + + + Global_Variables.TIMESERVICE_SYSTEMTIMES + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4185088 + + + Global_Variables.TIMESERVICE_RTCTIMEDIFF + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 4185120 + + + Global_Variables.TIMESERVICE_ADJUSTTIMETORTC + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4185152 + + + Global_Variables.TIMESERVICE_TIMEZONINFORMATION + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 4185184 + + + Global_Variables.ADSLOG_MSGTYPE_HINT + Hint icon + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4185216 + + + Global_Variables.ADSLOG_MSGTYPE_WARN + Warning icon + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4185248 + + + Global_Variables.ADSLOG_MSGTYPE_ERROR + Error icon + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4185280 + + + Global_Variables.ADSLOG_MSGTYPE_LOG + Write message to log file + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4185312 + + + Global_Variables.ADSLOG_MSGTYPE_MSGBOX + View message in message box + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4185344 + + + Global_Variables.ADSLOG_MSGTYPE_RESOURCE + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 4185376 + + + Global_Variables.ADSLOG_MSGTYPE_STRING + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 4185408 + + + Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED + Persistent data loaded + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 4185440 + + + Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID + Persistent data is invalid + 8 + BYTE + + 32 + + + + TcVarGlobal + + + 4185448 + + + Global_Variables.SYSTEMSTATEFLAGS_BSOD + Blue screen of death + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4185456 + + + Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION + Realtime violation - latency time + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4185464 + + + Global_Variables.FOPEN_MODEREAD + "r": Opens for reading. If the file does not exist or cannot be found, the call fails. + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4185472 + + + Global_Variables.FOPEN_MODEWRITE + "w": Opens an empty file for writing. If the given file exists, its contents are destroyed. + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4185504 + + + Global_Variables.FOPEN_MODEAPPEND + "a": Opens for writing at the end of the file (appending) without removing the EOF marker before writing new data to the file; creates the file first if it doesnot exist. + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4185536 + + + Global_Variables.FOPEN_MODEPLUS + "+": Opens for reading and writing + 32 + DWORD + + 8 + + + + TcVarGlobal + + + 4185568 + + + Global_Variables.FOPEN_MODEBINARY + "b": Open in binary (untranslated) mode. + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4185600 + + + Global_Variables.FOPEN_MODETEXT + "t": Open in text (translated) mode. + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4185632 + + + Global_Variables.TCEVENTFLAG_PRIOCLASS + Event class/priority through textformatter + 16 + WORD + + 16 + + + + TcVarGlobal + + + 4185888 + + + Global_Variables.TCEVENTFLAG_FMTSELF + Format in message + 16 + WORD + + 32 + + + + TcVarGlobal + + + 4185904 + + + Global_Variables.TCEVENTFLAG_LOG + Write to log file + 16 + WORD + + 64 + + + + TcVarGlobal + + + 4185920 + + + Global_Variables.TCEVENTFLAG_MSGBOX + Display message box + 16 + WORD + + 128 + + + + TcVarGlobal + + + 4185936 + + + Global_Variables.TCEVENTFLAG_SRCID + Src id instead of source name + 16 + WORD + + 256 + + + + TcVarGlobal + + + 4185952 + + + Global_Variables.TCEVENTFLAG_AUTOFMTALL + 16 + WORD + + 4096 + + + + TcVarGlobal + + + 4185968 + + + Global_Variables.TCEVENTSTATE_INVALID + Event object is not initialized + 16 + WORD + + 0 + + + + TcVarGlobal + + + 4185984 + + + Global_Variables.TCEVENTSTATE_SIGNALED + Event object is in a signaled state + 16 + WORD + + 1 + + + + TcVarGlobal + + + 4186000 + + + Global_Variables.TCEVENTSTATE_RESET + Event object is in a reset state + 16 + WORD + + 2 + + + + TcVarGlobal + + + 4186016 + + + Global_Variables.TCEVENTSTATE_CONFIRMED + Event object is confirmed but not reset + 16 + WORD + + 16 + + + + TcVarGlobal + + + 4186032 + + + Global_Variables.TCEVENTSTATE_RESETCON + Event object is confirmed and reset + 16 + WORD + + 18 + + + + TcVarGlobal + + + 4186048 + + + Global_Variables.TCEVENT_SRCNAMESIZE + 16 + INT + + 15 + + + + TcVarGlobal + + + 4186064 + + + Global_Variables.TCEVENT_FMTPRGSIZE + 16 + INT + + 31 + + + + TcVarGlobal + + + 4186080 + + + Global_Variables.eWatchdogConfig + 16 + E_WATCHDOG_TIME_CONFIG + + 0 + + + + TcVarGlobal + + + 4186096 + + + Global_Variables.PI + 64 + LREAL + + 3.14159265358979 + + + + TcVarGlobal + + + 4186112 + + + Global_Variables.DEFAULT_ADS_TIMEOUT + Default ADS timeout value + 32 + TIME + + 5000 + + + + TcVarGlobal + + + 4186176 + + + Global_Variables.MAX_STRING_LENGTH + Max. length of T_MaxString (inclusive null delimiter) + 32 + UDINT + + 255 + + + + TcVarGlobal + + + 4186208 + + + Global_Variables.nWatchdogTime + Watchdog time. Depending of g_WatchdogConfig : seconds or minutes + 8 + BYTE + + + TcVarGlobal + + + 4186752 + + + Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK + TRUE = Enable DCF77 telegram plausibility check (two telegrams are checked), FALSE = Disable check + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 4186760 + + + Global_Variables.MAX_AVERAGE_MEASURES + Max. number of measures used in the profiler function block: 2..100 + 16 + INT + + 10 + + + + LowerBorder + 2 + + + UpperBorder + 100 + + + TcVarGlobal + + + 4186768 + + + Global_Version.stLibVersion_Tc3_Module + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 21 + + + .iRevision + 0 + + + .sVersion + 3.3.21.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4186784 + + + Global_Version.stLibVersion_Tc2_Utilities + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 40 + + + .iRevision + 1 + + + .nFlags + 0 + + + .sVersion + 3.3.40.1 + + + + + const_non_replaced + + + TcVarGlobal + + + 4187392 + + + Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE + Global hash prefix type constant used for binary, octal or hexadecimal string format type + 16 + E_HashPrefixTypes + + 0 + + + + TcVarGlobal + + + 4187680 + + + Global_Variables.GLOBAL_SBCS_TABLE + Windows SBCS (Single Byte Character Set) Code Page Table + 16 + E_SBCSType + + 1 + + + + TcVarGlobal + + + 4187696 + + + Global_Variables.GLOBAL_DCF77_PULSE_SPLIT + Default DCF77 short/long pulse split time value. Bit == 0 => pulse < 140ms, Bit == 1 => pulse >= 140ms + 32 + TIME + + 140 + + + + TcVarGlobal + + + 4187712 + + + Global_Variables.DEFAULT_CSV_FIELD_SEP + Default CSV-file field separator character. Semicolon (;) := 16#3B => german field separator, comma (,) := 16#2C => US field separator + 8 + BYTE + + 59 + + + + TcVarGlobal + + + 4187744 + + + Global_Variables.MAX_ROUTE_NAME_LEN + Max. TwinCAT router route name length + 8 + BYTE + + 31 + + + + TcVarGlobal + + + 4187752 + + + Global_Variables.MAX_REMOTE_PCS + Max. number of TwinCAT remote systems/PC's + 16 + INT + + 99 + + + + TcVarGlobal + + + 4187760 + + + Global_Variables.MAX_ADAPTER_NAME_LENGTH + Max. System Service local adapter name length (256 + 4 inkl. \0) + 32 + UDINT + + 259 + + + + TcVarGlobal + + + 4249248 + + + Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH + Max. System Service local adapter descirpion length (128 + 4 inkl. \0) + 32 + UDINT + + 131 + + + + TcVarGlobal + + + 4249280 + + + Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH + Max. System Service local adapter physical address length (bytes[0..7]) + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 4249312 + + + Global_Variables.SYSTEMSERVICE_IPHELPERAPI + IPHELPERAPI index group + 32 + UDINT + + 701 + + + + TcVarGlobal + + + 4249344 + + + Global_Variables.SYSTEMSERVICE_IPHOSTNAME + IPHOSTNAME index group + 32 + UDINT + + 702 + + + + TcVarGlobal + + + 4249376 + + + Global_Variables.IPHELPERAPI_ADAPTERSINFO + IPHELPERAPI index offset + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4249408 + + + Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME + IPHELPERAPI index offset + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4249440 + + + Global_Variables.MAX_LOCAL_ADAPTERS + Max. number of local network adapters + 32 + UDINT + + 5 + + + + TcVarGlobal + + + 4249472 + + + Global_Variables.SYSTEMSERVICE_ADDREMOTE + System Service route function: Add route + 32 + UDINT + + 801 + + + + TcVarGlobal + + + 4249504 + + + Global_Variables.SYSTEMSERVICE_DELREMOTE + System Service route function: Delete route + 32 + UDINT + + 802 + + + + TcVarGlobal + + + 4249536 + + + Global_Variables.SYSTEMSERVICE_ENUMREMOTE + System Service route function: Enumerater route + 32 + UDINT + + 803 + + + + TcVarGlobal + + + 4249568 + + + Global_Variables.ROUTE_FLAG_TEMPORARY + TwinCAT route flag: Temporary + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4249600 + + + Global_Variables.ROUTE_FLAG_DYNAMIC + TwinCAT route flag: Hostname instead OF IP address + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4249632 + + + Global_Variables.ROUTE_FLAG_NOOVERRIDE + TwinCAT route flag: No override + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4249664 + + + Global_Variables.MAX_ROUTE_ADDR_LEN + Max. TwinCAT router route address length + 8 + BYTE + + 79 + + + + TcVarGlobal + + + 4249696 + + + Global_Variables.MIN_ROUTE_TRANSPORT + Min. route type: eRouteTransport_None + 8 + BYTE + + 0 + + + + TcVarGlobal + + + 4249704 + + + Global_Variables.MAX_ROUTE_TRANSPORT + Max. route type: eRouteTransport_SOAP + 8 + BYTE + + 12 + + + + TcVarGlobal + + + 4249712 + + + Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE + CSV separator constant: double-quote (") => used to enclose special characters like line breaks, double-quotes, commas... + 8 + BYTE + + 34 + + + + TcVarGlobal + + + 4249720 + + + Global_Variables.EMPTY_ROUTE_ENTRY + eTransport := eRouteTransport_None see Workitem 7547 + 1184 + ST_AmsRouteEntry + + + .sName + + + + .sNetID + + + + .sAddress + + + + .tTimeout + 0 + + + .dwFlags + 0 + + + + + TcVarGlobal + + + 4249728 + + + Global_Variables.SYSTEMSERVICE_FFILEFIND + System Service file find function number + 32 + UDINT + + 133 + + + + TcVarGlobal + + + 4250912 + + + Global_Variables.HKEY_MAX_BINARY_DATA_SIZE + Max. byte size of binary registry value data + 32 + UDINT + + 500 + + + + TcVarGlobal + + + 4250944 + + + Global_Variables.AMSLOGGER_IGR_GENERAL + TwinCAT Ams Logger general index group + 32 + UDINT + + 4096 + + + + TcVarGlobal + + + 4250976 + + + Global_Variables.AMSLOGGER_IOF_MODE + TwinCAT Ams Logger mode + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4251008 + + + Global_Variables.AMSPORT_AMSLOGGER + TwinCAT Ams Logger port number + 16 + UINT + + 10502 + + + + TcVarGlobal + + + 4251040 + + + Global_Variables.FORMAT_MAX_ARGS + Format string constant: Max. number of format arguments in FB_FormatString + 16 + INT + + 10 + + + + TcVarGlobal + + + 4251056 + + + Global_Variables.FLOATREC_EXP_IS_NAN + T_FloatRec type and F_GetFloatRec function constant: The value is #NAN or -#NAN + 16 + INT + + -32768 + + + + TcVarGlobal + + + 4251072 + + + Global_Variables.FLOATREC_EXP_IS_INF + T_FloatRec type and F_GetFloatRec function constant: The value is #INF or -#INF + 16 + INT + + 32767 + + + + TcVarGlobal + + + 4251088 + + + Global_Variables.FLOATREC_MAX_DIGITS + T_FloatRec type and F_GetFloatRec function constant: Max. number of significant digits. Note: double precision floats have max. 15 significant digits + 16 + INT + + 20 + + + + TcVarGlobal + + + 4251104 + + + Global_Variables.FLOATREC_MAX_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Max. floating point precision (1e-307) + 16 + INT + + 307 + + + + TcVarGlobal + + + 4251120 + + + Global_Variables.FLOATREC_MIN_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Min. floating point precision + 16 + INT + + 0 + + + + TcVarGlobal + + + 4251136 + + + Global_Variables.FMTERR_NOERROR + FB_FormatString function block error code: No error + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 4251168 + + + Global_Variables.FMTERR_PERCENTSIGNPOSITION + FB_FormatString function block error code: Percent sign (%) at invalid position + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4251200 + + + Global_Variables.FMTERR_ASTERISKPOSITION + FB_FormatString function block error code: Asterisk parameter at invalid position + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4251232 + + + Global_Variables.FMTERR_WIDTHVALUE + FB_FormatString function block error code: Invalid width field value + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 4251264 + + + Global_Variables.FMTERR_PRECISIONVALUE + FB_FormatString function block error code: Invalid precision field value + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 4251296 + + + Global_Variables.FMTERR_FLAGPOSITION + FB_FormatString function block error code: One of the flags at invalid position + 32 + DWORD + + 256 + + + + TcVarGlobal + + + 4251328 + + + Global_Variables.FMTERR_WIDTHPRECISIONVALPOS + FB_FormatString function block error code: The width or precision field value at invalid position + 32 + DWORD + + 512 + + + + TcVarGlobal + + + 4251360 + + + Global_Variables.FMTERR_PRECISIONDOTPOSITION + FB_FormatString function block error code: Dot "." sign of precision field at invalid position + 32 + DWORD + + 1024 + + + + TcVarGlobal + + + 4251392 + + + Global_Variables.FMTERR_TYPEFIELDVALUE + FB_FormatString function block error code: Invalid (unsupported) type field value + 32 + DWORD + + 2048 + + + + TcVarGlobal + + + 4251424 + + + Global_Variables.FMTERR_ARGTYPEINVALID + FB_FormatString function block error code: Different type field and argument parameter + 32 + DWORD + + 4096 + + + + TcVarGlobal + + + 4251456 + + + Global_Variables.FMTERR_UNACCEPTEDPARAMETER + FB_FormatString function block error code: Invalid format string parameters + 32 + DWORD + + 8192 + + + + TcVarGlobal + + + 4251488 + + + Global_Variables.FMTERR_INSUFFICIENTARGS + FB_FormatString function block error code: To much arguments in format string + 32 + DWORD + + 16384 + + + + TcVarGlobal + + + 4251520 + + + Global_Variables.FMTERR_DESTBUFFOVERFLOW + FB_FormatString function block error code: Destination string buffer overflow (formatted string is to long ) + 32 + DWORD + + 32768 + + + + TcVarGlobal + + + 4251552 + + + Global_Variables.FMTERR_INVALIDPOINTERINPUT + FB_FormatString function block error code: Invalid pointer input + 32 + DWORD + + 65536 + + + + TcVarGlobal + + + 4251584 + + + Global_Variables.EMPTY_ARG_VALUE + T_Arg empty value + 96 + T_Arg + + + .eType + 0 + + + .cbLen + 0 + + + .pData + 0 + + + + + TcVarGlobal + + + 4251616 + + + Global_Variables.FORMAT_HEXASC_CODES + 256 + BYTE + + 0 + 2 + + + 0 + 16 + + + + [0,0] + 48 + + + [0,1] + 49 + + + [0,2] + 50 + + + [0,3] + 51 + + + [0,4] + 52 + + + [0,5] + 53 + + + [0,6] + 54 + + + [0,7] + 55 + + + [0,8] + 56 + + + [0,9] + 57 + + + [0,10] + 97 + + + [0,11] + 98 + + + [0,12] + 99 + + + [0,13] + 100 + + + [0,14] + 101 + + + [0,15] + 102 + + + [1,0] + 48 + + + [1,1] + 49 + + + [1,2] + 50 + + + [1,3] + 51 + + + [1,4] + 52 + + + [1,5] + 53 + + + [1,6] + 54 + + + [1,7] + 55 + + + [1,8] + 56 + + + [1,9] + 57 + + + [1,10] + 65 + + + [1,11] + 66 + + + [1,12] + 67 + + + [1,13] + 68 + + + [1,14] + 69 + + + [1,15] + 70 + + + + + TcVarGlobal + + + 4251712 + + + Global_Variables.FORMAT_DECASC_CODES + ASCII to decimal and decimal digits to ASCII codes + 80 + BYTE + + 0 + 10 + + + + [0] + 48 + + + [1] + 49 + + + [2] + 50 + + + [3] + 51 + + + [4] + 52 + + + [5] + 53 + + + [6] + 54 + + + [7] + 55 + + + [8] + 56 + + + [9] + 57 + + + + + TcVarGlobal + + + 4251968 + + + Global_Variables.SYSTEMTIME_MAX_MONTHDAYS + 384 + WORD + + 0 + 2 + + + 1 + 12 + + + + [0,1] + 31 + + + [0,2] + 28 + + + [0,3] + 31 + + + [0,4] + 30 + + + [0,5] + 31 + + + [0,6] + 30 + + + [0,7] + 31 + + + [0,8] + 31 + + + [0,9] + 30 + + + [0,10] + 31 + + + [0,11] + 30 + + + [0,12] + 31 + + + [1,1] + 31 + + + [1,2] + 29 + + + [1,3] + 31 + + + [1,4] + 30 + + + [1,5] + 31 + + + [1,6] + 30 + + + [1,7] + 31 + + + [1,8] + 31 + + + [1,9] + 30 + + + [1,10] + 31 + + + [1,11] + 30 + + + [1,12] + 31 + + + + + TcVarGlobal + + + 4257456 + + + Global_Variables.SYSTEMTIME_MAX_YEARSDAY + 448 + WORD + + 0 + 2 + + + 0 + 14 + + + + [0,0] + 0 + + + [0,1] + 31 + + + [0,2] + 59 + + + [0,3] + 90 + + + [0,4] + 120 + + + [0,5] + 151 + + + [0,6] + 181 + + + [0,7] + 212 + + + [0,8] + 243 + + + [0,9] + 273 + + + [0,10] + 304 + + + [0,11] + 334 + + + [0,12] + 365 + + + [0,13] + 396 + + + [1,0] + 0 + + + [1,1] + 31 + + + [1,2] + 60 + + + [1,3] + 91 + + + [1,4] + 121 + + + [1,5] + 152 + + + [1,6] + 182 + + + [1,7] + 213 + + + [1,8] + 244 + + + [1,9] + 274 + + + [1,10] + 305 + + + [1,11] + 335 + + + [1,12] + 366 + + + [1,13] + 397 + + + + + TcVarGlobal + + + 4257840 + + + Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET + Number of past days since year zero until 1 January 1601 + 32 + DWORD + + 584389 + + + + TcVarGlobal + + + 4258304 + + + Global_Variables.SYSTEMTIME_TICKSPERMSEC + Number of 100ns ticks per millisecond + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 10000 + + + + + TcVarGlobal + + + 4258336 + + + Global_Variables.SYSTEMTIME_TICKSPERSEC + Number of 100ns ticks per second + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 10000000 + + + + + TcVarGlobal + + + 4258400 + + + Global_Variables.SYSTEMTIME_TICKSPERDAY + Number of 100ns ticks per day + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 201 + + + .dwLowPart + 711573504 + + + + + TcVarGlobal + + + 4258464 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN + Min. DT value as file time DT#1970-01-01-00:00:00 + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 27111902 + + + .dwLowPart + 3577643008 + + + + + TcVarGlobal + + + 4258528 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX + Max. DT value as file time DT#2106-02-06-06:28:15 + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 37111701 + + + .dwLowPart + 2856069504 + + + + + TcVarGlobal + + + 4258592 + + + Global_Variables.DATE_AND_TIME_SECPERDAY + Number of seconds per day + 32 + DWORD + + 86400 + + + + TcVarGlobal + + + 4258656 + + + Global_Variables.SYSTEMTIME_TICKSPERMSEC64 + Number of 100ns ticks per millisecond + 64 + ULINT + + 10000 + + + + TcVarGlobal + + + 4258688 + + + Global_Variables.SYSTEMTIME_TICKSPERSEC64 + Number of 100ns ticks per second + 64 + ULINT + + 10000000 + + + + TcVarGlobal + + + 4258752 + + + Global_Variables.SYSTEMTIME_TICKSPERDAY64 + Number of 100ns ticks per day + 64 + ULINT + + 864000000000 + + + + TcVarGlobal + + + 4258816 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64 + Min. DT value as file time DT#1970-01-01-00:00:00 + 64 + ULINT + + 116444736000000000 + + + + TcVarGlobal + + + 4258880 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64 + Max. DT value as file time DT#2106-02-06-06:28:15 + 64 + ULINT + + 159393544950000000 + + + + TcVarGlobal + + + 4258944 + + + Global_Variables.WEST_EUROPE_TZI + 864 + ST_TimeZoneInformation + + + .bias + -60 + + + .standardName + W. Europe Standard Time + + + .standardDate.wYear + 0 + + + .standardDate.wMonth + 10 + + + .standardDate.wDayOfWeek + 0 + + + .standardDate.wDay + 5 + + + .standardDate.wHour + 3 + + + .standardBias + 0 + + + .daylightName + W. Europe Daylight Time + + + .daylightDate.wYear + 0 + + + .daylightDate.wMonth + 3 + + + .daylightDate.wDayOfWeek + 0 + + + .daylightDate.wDay + 5 + + + .daylightDate.wHour + 2 + + + .daylightBias + -60 + + + + + TcVarGlobal + + + 4259008 + + + Global_Variables.DATE_AND_TIME_SECPERWEEK + Number of seconds per week + 32 + DWORD + + 604800 + + + + TcVarGlobal + + + 4263968 + + + Global_Variables.DBG_OUTPUT_NONE + Disabled (no debug oputput) + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 4270176 + + + Global_Variables.DBG_OUTPUT_LOG + Enabled, TwinCAT System Manager Log + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4270208 + + + Global_Variables.DBG_OUTPUT_FILE + Enabled, text file + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4270240 + + + Global_Variables.DBG_OUTPUT_VISU + reserved + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4270272 + + + Global_Variables.DEFAULT_CSV_RECORD_SEP_CR + CSV separator constant: cariage return => record separator (first character) + 8 + BYTE + + 13 + + + + TcVarGlobal + + + 4386512 + + + Global_Variables.DEFAULT_CSV_RECORD_SEP_LF + CSV separator constant: line feed => record separator (second character) + 8 + BYTE + + 10 + + + + TcVarGlobal + + + 4386520 + + + Global_Variables.EMPTY_GUID_STRUCT + 128 + GUID + + + .Data1 + 0 + + + .Data2 + 0 + + + .Data3 + 0 + + + .Data4[0] + 0 + + + .Data4[1] + 0 + + + .Data4[2] + 0 + + + .Data4[3] + 0 + + + .Data4[4] + 0 + + + .Data4[5] + 0 + + + .Data4[6] + 0 + + + .Data4[7] + 0 + + + + + TcVarGlobal + + + 4389216 + + + Global_Variables.EMPTY_GUID_STRING + 296 + STRING(36) + + 00000000-0000-0000-0000-000000000000 + + + + TcVarGlobal + + + 4389344 + + + Global_Variables.EMPTY_GUID_REGSTRING + 312 + STRING(38) + + {00000000-0000-0000-0000-000000000000} + + + + TcVarGlobal + + + 4389640 + + + Global_Version.stLibVersion_Tc2_IoFunctions + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 13 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.13.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4390016 + + + Global_Version.stLibVersion_Tc2_ModbusSrv + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 2 + + + .iRevision + 0 + + + .sVersion + 3.3.2.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4390304 + + + Global_Version.stLibVersion_Tc2_SerialCom + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 7 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.7.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4390592 + + + Global_Constants.EMPTY_EVENT_CLASS + 128 + GUID + + + .Data1 + 0 + + + .Data2 + 0 + + + .Data3 + 0 + + + .Data4[0] + 0 + + + .Data4[1] + 0 + + + .Data4[2] + 0 + + + .Data4[3] + 0 + + + .Data4[4] + 0 + + + .Data4[5] + 0 + + + .Data4[6] + 0 + + + .Data4[7] + 0 + + + + + TcVarGlobal + + + 4390880 + + + Global_Constants.EMPTY_EVENT_ID + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 4391008 + + + Global_Constants.EMPTY_SEVERITY + 16 + TcEventSeverity + + 0 + + + + TcVarGlobal + + + 4391040 + + + Global_Variables.AMSPORT_TCPIPSRV + 16 + UINT + + 10201 + + + + TcVarGlobal + + + 4391056 + + + Global_Constants.SUCCESS_EVENT + 192 + TcEventEntry + + + .uuidEventClass.Data1 + 0 + + + .uuidEventClass.Data2 + 0 + + + .uuidEventClass.Data3 + 0 + + + .uuidEventClass.Data4[0] + 0 + + + .uuidEventClass.Data4[1] + 0 + + + .uuidEventClass.Data4[2] + 0 + + + .uuidEventClass.Data4[3] + 0 + + + .uuidEventClass.Data4[4] + 0 + + + .uuidEventClass.Data4[5] + 0 + + + .uuidEventClass.Data4[6] + 0 + + + .uuidEventClass.Data4[7] + 0 + + + .nEventID + 0 + + + .eSeverity + 0 + + + + + TcVarGlobal + + + 4391072 + + + GVL.nLangId_OnlineMonitoring + language id for online monitoring; English(US)=1033 ; German(Germay)=1031 + 32 + DINT + + 1033 + + + + TcVarGlobal + + + 4391264 + + + ParameterList.cSourceNameSize + size [bytes] for source names (recommended is a size between 128 and 512) + 32 + UDINT + + 256 + + + + LowerBorder + 81 + + + UpperBorder + 10000 + + + TcVarGlobal + + + 4391296 + + + Global_Version.stLibVersion_Tc3_EventLogger + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 1 + + + .iBuild + 24 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.1.24.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4391328 + + + GVL_INTERNAL.UNINITIALIZED_CLASS_GUID + {E7A4B1E0-F4CF-4733-95D5-73DF084B60F8} + 128 + GUID + + + .Data1 + 3886330336 + + + .Data2 + 62671 + + + .Data3 + 18227 + + + .Data4[0] + 149 + + + .Data4[1] + 213 + + + .Data4[2] + 115 + + + .Data4[3] + 223 + + + .Data4[4] + 8 + + + .Data4[5] + 75 + + + .Data4[6] + 96 + + + .Data4[7] + 248 + + + + + TcVarGlobal + + + 4391616 + + + .TCPADS_MAXUDP_BUFFSIZE + 32 + UDINT + + 8192 + + + + TcVarGlobal + + + 4391744 + + + Global_Variables.TCPADS_IGR_CONLIST + 32 + UDINT + + 2147483649 + + + + TcVarGlobal + + + 4391776 + + + Global_Variables.TCPADS_IGR_CLOSEBYHDL + 32 + UDINT + + 2147483650 + + + + TcVarGlobal + + + 4391808 + + + Global_Variables.TCPADS_IGR_SENDBYHDL + 32 + UDINT + + 2147483651 + + + + TcVarGlobal + + + 4391840 + + + Global_Variables.TCPADS_IGR_PEERBYHDL + 32 + UDINT + + 2147483652 + + + + TcVarGlobal + + + 4391872 + + + Global_Variables.TCPADS_IGR_RECVBYHDL + 32 + UDINT + + 2147483653 + + + + TcVarGlobal + + + 4391904 + + + Global_Variables.TCPADS_IGR_RECVFROMBYHDL + 32 + UDINT + + 2147483654 + + + + TcVarGlobal + + + 4391936 + + + Global_Variables.TCPADS_IGR_SENDTOBYHDL + 32 + UDINT + + 2147483655 + + + + TcVarGlobal + + + 4391968 + + + Global_Variables.TCPADS_IGR_MULTICAST_ADDBYHDL + 32 + UDINT + + 2147483656 + + + + TcVarGlobal + + + 4392000 + + + Global_Variables.TCPADS_IGR_MULTICAST_DROPBYHDL + 32 + UDINT + + 2147483657 + + + + TcVarGlobal + + + 4392032 + + + Global_Variables.TCPADS_IGR_ADAPTER_LINKSTATUS + 32 + UDINT + + 2147483658 + + + + TcVarGlobal + + + 4392064 + + + Global_Variables.TCPADSCONLST_IOF_CONNECT + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4392096 + + + Global_Variables.TCPADSCONLST_IOF_LISTEN + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4392128 + + + Global_Variables.TCPADSCONLST_IOF_CLOSEALL + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 4392160 + + + Global_Variables.TCPADSCONLST_IOF_ACCEPT + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4392192 + + + Global_Variables.TCPADSCONLST_IOF_UDPBIND + 32 + UDINT + + 5 + + + + TcVarGlobal + + + 4392224 + + + Global_Variables.TCPADSCONLST_IOF_GETHNDLBYADDR + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 4392256 + + + Global_Variables.TCPADSCONLST_IOF_GETLINKSTATUS + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 4392288 + + + Global_Variables.TCPADS_NULL_HSOCKET + Empty (not initialized) socket + 352 + T_HSOCKET + + + .handle + 0 + + + .remoteAddr.nPort + 0 + + + .remoteAddr.sAddr + + + + .localAddr.nPort + 0 + + + .localAddr.sAddr + + + + + + TcVarGlobal + + + 4392320 + + + Global_Variables.LISTEN_MODE_CLOSEALL + FORCED close of all previous opened sockets + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4392672 + + + Global_Variables.LISTEN_MODE_USEOPENED + Try to use allready opened listener socket + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4392704 + + + Global_Variables.CONNECT_MODE_ENABLEDBG + Enables/Disables debugging messages + 32 + DWORD + + 2147483648 + + + + TcVarGlobal + + + 4392736 + + + Global_Variables.MAX_THROTTLE_MODE + 32 + DWORD + + 12 + + + + TcVarGlobal + + + 4392768 + + + Global_Variables.THROTTLE_MODE_OFF + 416 + T_ThrottleTimes + + + [0] + 0 + + + [1] + 0 + + + [2] + 0 + + + [3] + 0 + + + [4] + 0 + + + [5] + 0 + + + [6] + 0 + + + [7] + 0 + + + [8] + 0 + + + [9] + 0 + + + [10] + 0 + + + [11] + 0 + + + [12] + 0 + + + + + TcVarGlobal + + + 4392800 + + + Global_Variables.THROTTLE_MODE_DEFAULT + 416 + T_ThrottleTimes + + + [0] + 0 + + + [1] + 10 + + + [2] + 20 + + + [3] + 40 + + + [4] + 60 + + + [5] + 80 + + + [6] + 100 + + + [7] + 200 + + + [8] + 400 + + + [9] + 600 + + + [10] + 800 + + + [11] + 1000 + + + [12] + 2000 + + + + + TcVarGlobal + + + 4393216 + + + Global_Version.stLibVersion_Tc3_JsonXml + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 14 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.14.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4393632 + + + GVL_Param_TcUnit.MaxNumberOfTestSuites + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 4393920 + + + GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite + 16 + UINT + + 100 + + + + TcVarGlobal + + + 4393936 + + + GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 4393952 + + + GVL_Param_TcUnit.LogExtendedResults + TcUnit logs complete test results. These include: - Amount of test suites - Amount of tests - Amount of successful tests - Amount of failed tests - - Any eventual failed assertion (with the expected & actual value plus an user defined message) + - Any eventual failed assertion (with the expected & actual value plus an user defined message) These are all printed to the ADS logger (Visual Studio error list) marked with ERROR criticality On top of this TcUnit also reports some statistics/extended information with HINT/INFO criticality. These statistics are more detailed results of the tests. This information is used when results are being collected by an external software (such as TcUnit-Runner) to do for example Jenkins integration. This extra information however takes time to print, so by setting the following parameter to FALSE - it will speed up TcUnit finishing. ]]>8BOOL1TcVarGlobal4393968GVL_Param_TcUnit.xUnitEnablePublish8BOOL0TcVarGlobal4393976GVL_Param_TcUnit.xUnitBufferSize32UDINT65535TcVarGlobal4393984GVL_Param_TcUnit.xUnitFilePath2048T_MaxStringC:\tcunit_xunit_testresults.xmlTcVarGlobal4394016GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 4393968 + + + GVL_Param_TcUnit.xUnitEnablePublish + Enable (TRUE) or disable (FALSE) publishing of the xUnit Xml report + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 4393976 + + + GVL_Param_TcUnit.xUnitBufferSize + Default reserved PLC memory buffer used for composition of the xUnit xml file (64 kb default) + 32 + UDINT + + 65535 + + + + TcVarGlobal + + + 4393984 + + + GVL_Param_TcUnit.xUnitFilePath + Default path and filename for the xunit testresults e.g.: for use with jenkins + 2048 + T_MaxString + + C:\tcunit_xunit_testresults.xml + + + + TcVarGlobal + + + 4394016 + + + GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + This is the maximum number of ADS-messages that can be stored for reporting at the same time. Having a size of 2000 means that it's possible to report up to ~400 test cases in one single PLC cycle. Each entry consumes around 500 bytes, so with an example of a ring buffer size of - 2000 it means that TcUnit will consume around 1 MB of router memory. ]]>16UINT2000TcVarGlobal4396064GVL_TcUnit.TestSuiteIsRegistered8BOOLTcVarGlobal4396080GVL_TcUnit.CurrentTestIsFinished8BOOLTcVarGlobal4396088GVL_TcUnit.TcUnitRunner621826944FB_TcUnitRunnerTcVarGlobal4396096GVL_TcUnit.CurrentTestSuiteBeingCalled32FB_TestSuiteTcVarGlobal626223040GVL_TcUnit.CurrentTestNameBeingCalled2048T_MaxStringTcVarGlobal626223072GVL_TcUnit.IgnoreCurrentTest + 16 + UINT + + 2000 + + + + TcVarGlobal + + + 4396064 + + + GVL_TcUnit.TestSuiteIsRegistered + Indication of whether the last instantiated test suite has an assert instance created + 8 + BOOL + + + TcVarGlobal + + + 4396080 + + + GVL_TcUnit.CurrentTestIsFinished + Whether or not the current test being called has finished running + 8 + BOOL + + + TcVarGlobal + + + 4396088 + + + GVL_TcUnit.TcUnitRunner + 621826944 + FB_TcUnitRunner + + + TcVarGlobal + + + 4396096 + + + GVL_TcUnit.CurrentTestSuiteBeingCalled + Pointer to current test suite being called + 32 + FB_TestSuite + + + TcVarGlobal + + + 626223040 + + + GVL_TcUnit.CurrentTestNameBeingCalled + Current name of test being called + 2048 + T_MaxString + + + TcVarGlobal + + + 626223072 + + + GVL_TcUnit.IgnoreCurrentTest + This is a flag that indicates that the current test should be ignored, and thus that all assertions under it should be ignored as well. A test can be ignored either - because the user has requested so, or because the test is a duplicate name ]]>8BOOLTcVarGlobal626225120GVL_Param_TcUnit.LogExtendedResults + 8 + BOOL + + + TcVarGlobal + + + 626225120 + + + GVL_Param_TcUnit.LogExtendedResults + TcUnit logs complete test results. These include: - Number of test suites - Number of tests - Number of successful tests - Number of failed tests - - Any eventual failed assertion (with the expected & actual value plus an user defined message) + - Any eventual failed assertion (with the expected & actual value plus an user defined message) These are all printed to the ADS logger (Visual Studio error list) marked with ERROR criticality On top of this TcUnit also reports some statistics/extended information with HINT/INFO criticality. These statistics are more detailed results of the tests. This information is used when results are being collected by an external software (such as TcUnit-Runner) to do for example Jenkins integration. This extra information however takes time to print, so by setting the following parameter to FALSE - it will speed up TcUnit finishing. ]]>8BOOL1TcVarGlobal626225128GVL_TcUnit.NumberOfInitializedTestSuites16UINT0TcVarGlobal626225136GVL_TcUnit.TestSuiteAddresses32000FB_TestSuite11000TcVarGlobal626225152GVL_TcUnit.AdsMessageQueue8320864FB_AdsLogStringMessageFifoQueueTcVarGlobal626257152Global_Version.stLibVersion_TcUnit288ST_LibVersion.iMajor1.iMinor1.iBuild0.iRevision0.sVersion1.1.0.0const_non_replacedTcVarGlobal634578016PMPS_GVL.stRequestedBeamParameters1760ST_BeamParamspytmc + it will speed up TcUnit finishing. + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 626225128 + + + GVL_TcUnit.NumberOfInitializedTestSuites + The assert function block instance should be 1:1 mapped to + the test suite instance path. + 16 + UINT + + 0 + + + + TcVarGlobal + + + 626225136 + + + GVL_TcUnit.TestSuiteAddresses + 32000 + FB_TestSuite + + 1 + 1000 + + + + TcVarGlobal + + + 626225152 + + + GVL_TcUnit.AdsMessageQueue + Buffered ADS message queue for output to the error list + 8320864 + FB_AdsLogStringMessageFifoQueue + + + TcVarGlobal + + + 626257152 + + + Global_Version.stLibVersion_TcUnit + 288 + ST_LibVersion + + + .iMajor + 1 + + + .iMinor + 1 + + + .iBuild + 0 + + + .iRevision + 0 + + + .sVersion + 1.1.0.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 634578016 + + + PMPS_GVL.stRequestedBeamParameters + Summarized request for the line, as recognized by the line arbiter PLC + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)RequestedBP io: i archive: 1Hz monitor - TcVarGlobal634578304PMPS_GVL.stCurrentBeamParameters1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 634578304 + + + PMPS_GVL.stCurrentBeamParameters + Currently active BP set, broadcast by the line arbiter PLC + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)CurrentBP io: i archive: 1Hz monitor - TcVarGlobal634580064PMPS_GVL.g_areVBoundaries1024REAL032pytmc + + + + TcVarGlobal + + + 634580064 + + + PMPS_GVL.g_areVBoundaries + 1024 + REAL + + 0 + 32 + + + + pytmc + pv: @(PREFIX)eVRangeCnst io: i archive: 1Hz monitor field: DESC Active eV Range constants field: EGU eV - TcVarGlobal634581824PMPS_GVL.PERange32PE_RangesTcVarGlobal634582848PMPS_GVL.EXCLUDED_ASSERTION_ID32UDINT4294967295TcVarGlobal634582880PMPS_GVL.VISIBLE_TEST_VELOCITY64LREAL10TcVarGlobal634582912PMPS_GVL.FAST_TEST_VELOCITY64LREAL100TcVarGlobal634582976PMPS_GVL.MAX_DEVICE_STATES32UDINT300TcVarGlobal634583040PMPS_GVL.TRANS_SCALING_FACTOR32REAL1TcVarGlobal634583072PMPS_GVL.AUX_ATTENUATORS16UINT16TcVarGlobal634583104PMPS_GVL.MAX_VETO_DEVICES16UINT16TcVarGlobal634583120PMPS_GVL.stAttenuators64ST_PMPS_Attenuator.nTran1.xAttOK1TcVarGlobal634583136PMPS_GVL.cstFullBeam1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 634581824 + + + PMPS_GVL.PERange + Included to place the ev ranges properly + 32 + PE_Ranges + + + TcVarGlobal + + + 634582848 + + + PMPS_GVL.EXCLUDED_ASSERTION_ID + An assertion ID that should always return "not found" in the assertion pool + 32 + UDINT + + 4294967295 + + + + TcVarGlobal + + + 634582880 + + + PMPS_GVL.VISIBLE_TEST_VELOCITY + 64 + LREAL + + 10 + + + + TcVarGlobal + + + 634582912 + + + PMPS_GVL.FAST_TEST_VELOCITY + 64 + LREAL + + 100 + + + + TcVarGlobal + + + 634582976 + + + PMPS_GVL.MAX_DEVICE_STATES + 32 + UDINT + + 300 + + + + TcVarGlobal + + + 634583040 + + + PMPS_GVL.TRANS_SCALING_FACTOR + Scaling factor for fixed-point transmission + 32 + REAL + + 1 + + + + TcVarGlobal + + + 634583072 + + + PMPS_GVL.AUX_ATTENUATORS + Maximum # of attenuators in the PMPS + 16 + UINT + + 16 + + + + TcVarGlobal + + + 634583104 + + + PMPS_GVL.MAX_VETO_DEVICES + 16 + UINT + + 16 + + + + TcVarGlobal + + + 634583120 + + + PMPS_GVL.stAttenuators + 64 + ST_PMPS_Attenuator + + + .nTran + 1 + + + .xAttOK + 1 + + + + + TcVarGlobal + + + 634583136 + + + PMPS_GVL.cstFullBeam + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)FullBeamCnst io: i archive: 1Hz monitor field: DESC Full beam constant - TcVarGlobal634583200PMPS_GVL.cst0RateBeam1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 634583200 + + + PMPS_GVL.cst0RateBeam + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)0RateBeamCnst io: i archive: 1Hz monitor field: DESC 0-rate beam constant - TcVarGlobal634584960PMPS_GVL.cnMaxStateArrayLen + + + TcVarGlobal + + + 634584960 + + + PMPS_GVL.cnMaxStateArrayLen + {attribute 'pytmc' := ' pv: @(PREFIX)SafeBeamCnst io: i archive: 1Hz monitor @@ -927,181 +47410,2786 @@ request loop (two arbiters elevating to each other), or there is a RequestAdd, R nTran := 0, neVRange := 0, nRate := 0 - );]]>16INT20TcVarGlobal634586720PMPS_GVL.MAX_APERTURES16UINT4TcVarGlobal634586736PMPS_GVL.DUMMY_AUX_ATT_ARRAY1024ST_PMPS_Attenuator116suppress_warning_0C0228TcVarGlobal634586752PMPS_GVL.g_cBoundaries16INT31TcVarGlobal634587776PMPS_PARAM.MAX_FAST_FAULTS16UINT50TcVarGlobal634587792PMPS_GVL.reVHyst + 16 + INT + + 20 + + + + TcVarGlobal + + + 634586720 + + + PMPS_GVL.MAX_APERTURES + Maximum # of power slits in the PMPS + 16 + UINT + + 4 + + + + TcVarGlobal + + + 634586736 + + + PMPS_GVL.DUMMY_AUX_ATT_ARRAY + 1024 + ST_PMPS_Attenuator + + 1 + 16 + + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 634586752 + + + PMPS_GVL.g_cBoundaries + 16 + INT + + 31 + + + + TcVarGlobal + + + 634587776 + + + PMPS_PARAM.MAX_FAST_FAULTS + Max fast faults for an FFO + 16 + UINT + + 50 + + + + TcVarGlobal + + + 634587792 + + + PMPS_GVL.reVHyst + /////////////////////// /////////////////////// -////////////////////////////////////]]>32REAL5pytmc +//////////////////////////////////// + 32 + REAL + + 5 + + + + pytmc + pv: @(PREFIX)eVRangeHyst io: i archive: 1Hz monitor field: DESC eV Range hystersis field: EGU eV - TcVarGlobal634587808PMPS_GVL.g_areVBoundariesL1024REAL032[0]1000[1]1700[2]2100[3]2500[4]3800[5]4000[6]5000[7]7000[8]7500[9]7700[10]8900[11]10000[12]11100[13]12000[14]13000[15]13500[16]14000[17]16900[18]18000[19]20000[20]22000[21]24000[22]25000[23]25500[24]26000[25]27000[26]28000[27]28500[28]29000[29]30000[30]60000[31]90000pytmc + + + + TcVarGlobal + + + 634587808 + + + PMPS_GVL.g_areVBoundariesL + 1024 + REAL + + 0 + 32 + + + + [0] + 1000 + + + [1] + 1700 + + + [2] + 2100 + + + [3] + 2500 + + + [4] + 3800 + + + [5] + 4000 + + + [6] + 5000 + + + [7] + 7000 + + + [8] + 7500 + + + [9] + 7700 + + + [10] + 8900 + + + [11] + 10000 + + + [12] + 11100 + + + [13] + 12000 + + + [14] + 13000 + + + [15] + 13500 + + + [16] + 14000 + + + [17] + 16900 + + + [18] + 18000 + + + [19] + 20000 + + + [20] + 22000 + + + [21] + 24000 + + + [22] + 25000 + + + [23] + 25500 + + + [24] + 26000 + + + [25] + 27000 + + + [26] + 28000 + + + [27] + 28500 + + + [28] + 29000 + + + [29] + 30000 + + + [30] + 60000 + + + [31] + 90000 + + + + + pytmc + pv: @(PREFIX)L:eVRangeCnst io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - TcVarGlobal634587840PMPS_GVL.g_areVBoundariesK1024REAL032[0]100[1]250[2]270[3]350[4]400[5]450[6]480[7]530[8]680[9]730[10]850[11]1100[12]1150[13]1250[14]1450[15]1500[16]1550[17]1650[18]1700[19]1750[20]1820[21]1850[22]2000[23]2200[24]2500[25]2800[26]3000[27]3150[28]3500[29]4000[30]5300[31]7000pytmc + + + + TcVarGlobal + + + 634587840 + + + PMPS_GVL.g_areVBoundariesK + 1024 + REAL + + 0 + 32 + + + + [0] + 100 + + + [1] + 250 + + + [2] + 270 + + + [3] + 350 + + + [4] + 400 + + + [5] + 450 + + + [6] + 480 + + + [7] + 530 + + + [8] + 680 + + + [9] + 730 + + + [10] + 850 + + + [11] + 1100 + + + [12] + 1150 + + + [13] + 1250 + + + [14] + 1450 + + + [15] + 1500 + + + [16] + 1550 + + + [17] + 1650 + + + [18] + 1700 + + + [19] + 1750 + + + [20] + 1820 + + + [21] + 1850 + + + [22] + 2000 + + + [23] + 2200 + + + [24] + 2500 + + + [25] + 2800 + + + [26] + 3000 + + + [27] + 3150 + + + [28] + 3500 + + + [29] + 4000 + + + [30] + 5300 + + + [31] + 7000 + + + + + pytmc + pv: @(PREFIX)K:eVRangeCnst io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - TcVarGlobal634588864PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal634589888PMPS_PARAM.TRANS_MARGIN32REAL0.05TcVarGlobal634589920PMPS_TOOLS.fbJson256FB_JsonSaxWriterTcVarGlobal634589952GVL_Param_TcUnit.MaxNumberOfTestSuites16UINT1000TcVarGlobal634590208GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite16UINT100TcVarGlobal634590224GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite16UINT1000TcVarGlobal634590240GVL_Param_TcUnit.xUnitEnablePublish8BOOL0TcVarGlobal634590256GVL_TcUnit.TestSuiteIsRegistered8BOOLTcVarGlobal634590264GVL_Param_TcUnit.xUnitBufferSize32UDINT65535TcVarGlobal634590272GVL_Param_TcUnit.xUnitFilePath2048T_MaxStringC:\tcunit_xunit_testresults.xmlTcVarGlobal634590304GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + + + TcVarGlobal + + + 634588864 + + + PMPS_PARAM.MAX_ASSERTIONS + Maximum number of BP requests in the arbiter + 32 + UDINT + + 20 + + + + TcVarGlobal + + + 634589888 + + + PMPS_PARAM.TRANS_MARGIN + Allowed % margin above requested transmission level in SafeBPCompare (0.0500 = 5deci% default). Note: change this value if scaling factor changes. + 32 + REAL + + 0.05 + + + + TcVarGlobal + + + 634589920 + + + PMPS_TOOLS.fbJson + 256 + FB_JsonSaxWriter + + + TcVarGlobal + + + 634589952 + + + GVL_Param_TcUnit.MaxNumberOfTestSuites + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 634590208 + + + GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite + 16 + UINT + + 100 + + + + TcVarGlobal + + + 634590224 + + + GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 634590240 + + + GVL_Param_TcUnit.xUnitEnablePublish + Enable (TRUE) or disable (FALSE) publishing of the xUnit Xml report + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 634590256 + + + GVL_TcUnit.TestSuiteIsRegistered + Indication of whether the last instantiated test suite has an assert instance created + 8 + BOOL + + + TcVarGlobal + + + 634590264 + + + GVL_Param_TcUnit.xUnitBufferSize + Default reserved PLC memory buffer used for composition of the xUnit xml file (64 kb default) + 32 + UDINT + + 65535 + + + + TcVarGlobal + + + 634590272 + + + GVL_Param_TcUnit.xUnitFilePath + Default path and filename for the xunit testresults e.g.: for use with jenkins + 2048 + T_MaxString + + C:\tcunit_xunit_testresults.xml + + + + TcVarGlobal + + + 634590304 + + + GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + This is the maximum number of ADS-messages that can be stored for reporting at the same time. Having a size of 2000 means that it's possible to report up to ~400 test cases in one single PLC cycle. Each entry consumes around 500 bytes, so with an example of a ring buffer size of - 2000 it means that TcUnit will consume around 1 MB of router memory. ]]>16UINT2000TcVarGlobal634592352GVL_TcUnit.CurrentTestIsFinished8BOOLTcVarGlobal634592368GVL_TcUnit.IgnoreCurrentTest + 16 + UINT + + 2000 + + + + TcVarGlobal + + + 634592352 + + + GVL_TcUnit.CurrentTestIsFinished + Whether or not the current test being called has finished running + 8 + BOOL + + + TcVarGlobal + + + 634592368 + + + GVL_TcUnit.IgnoreCurrentTest + This is a flag that indicates that the current test should be ignored, and thus that all assertions under it should be ignored as well. A test can be ignored either - because the user has requested so, or because the test is a duplicate name ]]>8BOOLTcVarGlobal634592376GVL_Param_TcUnit.TimeBetweenTestSuitesExecution32TIME0TcVarGlobal634592384GVL_TcUnit.TcUnitRunner621827200FB_TcUnitRunnerTcVarGlobal634592416GVL_TcUnit.CurrentTestSuiteBeingCalled32FB_TestSuiteTcVarGlobal1256419616GVL_TcUnit.CurrentTestNameBeingCalled2048T_MaxStringTcVarGlobal1256419648GVL_TcUnit.NumberOfInitializedTestSuites16UINT0TcVarGlobal1256421696MAIN.Initialize8BOOL11256421712GVL_TcUnit.TestSuiteAddresses32000FB_TestSuite11000TcVarGlobal1256421728GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite + 8 + BOOL + + + TcVarGlobal + + + 634592376 + + + GVL_Param_TcUnit.TimeBetweenTestSuitesExecution + Time delay between a test suite is finished and the execution of the next test suite starts + if using RUN_IN_SEQUENCE() + 32 + TIME + + 0 + + + + TcVarGlobal + + + 634592384 + + + GVL_TcUnit.TcUnitRunner + 621827200 + FB_TcUnitRunner + + + TcVarGlobal + + + 634592416 + + + GVL_TcUnit.CurrentTestSuiteBeingCalled + Pointer to current test suite being called + 32 + FB_TestSuite + + + TcVarGlobal + + + 1256419616 + + + GVL_TcUnit.CurrentTestNameBeingCalled + Current name of test being called + 2048 + T_MaxString + + + TcVarGlobal + + + 1256419648 + + + GVL_TcUnit.NumberOfInitializedTestSuites + The assert function block instance should be 1:1 mapped to + the test suite instance path. + 16 + UINT + + 0 + + + + TcVarGlobal + + + 1256421696 + + + MAIN.Initialize + 8 + BOOL + + 1 + + 1256421712 + + + GVL_TcUnit.TestSuiteAddresses + 32000 + FB_TestSuite + + 1 + 1000 + + + + TcVarGlobal + + + 1256421728 + + + GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite + If the user is utilizing the TEST_ORDERED(), we need to keep track of which ordered test is currently running. We do this by defining an array, in where we can see which current TEST_ORDERED() is the one to be handled right now. - The below array is only used for TEST_ORDERED()-tests. ]]>16000UINT11000LowerBorder1UpperBorder100TcVarGlobal1256453728GVL_TcUnit.AdsMessageQueue8320864FB_AdsLogStringMessageFifoQueueTcVarGlobal1256469728Global_Version.stLibVersion_TcUnit288ST_LibVersion.iMajor1.iMinor2.iBuild0.iRevision0.sVersion1.2.0.0const_non_replacedTcVarGlobal1264790592Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild42.iRevision0.sVersion3.3.42.0const_non_replacedTcVarGlobal1264790880Global_Variables.TcMcGlobal6976_TCMCGLOBALTcVarGlobal1264791168Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal1264798144Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal1264798208Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal1264798272MAIN.fbLogHandler5788736FB_LogHandler1264840896MAIN.fbEcatDiag1095936FB_EcatDiagWrapper1270629632MAIN.fbBPControl2752FB_BPControlDevicepytmc + The below array is only used for TEST_ORDERED()-tests. + 16000 + UINT + + 1 + 1000 + + + + LowerBorder + 1 + + + UpperBorder + 100 + + + TcVarGlobal + + + 1256453728 + + + GVL_TcUnit.AdsMessageQueue + Buffered ADS message queue for output to the error list + 8320864 + FB_AdsLogStringMessageFifoQueue + + + TcVarGlobal + + + 1256469728 + + + Global_Version.stLibVersion_TcUnit + 288 + ST_LibVersion + + + .iMajor + 1 + + + .iMinor + 2 + + + .iBuild + 0 + + + .iRevision + 0 + + + .sVersion + 1.2.0.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 1264790592 + + + Global_Version.stLibVersion_Tc2_MC2 + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 42 + + + .iRevision + 0 + + + .sVersion + 3.3.42.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 1264790880 + + + Global_Variables.TcMcGlobal + 6976 + _TCMCGLOBAL + + + TcVarGlobal + + + 1264791168 + + + Global_Variables.DEFAULT_HOME_POSITION + 64 + LREAL + + 1E+307 + + + + TcVarGlobal + + + 1264798144 + + + Global_Variables.DEFAULT_BACKLASHVALUE + 64 + LREAL + + 1E+307 + + + + TcVarGlobal + + + 1264798208 + + + Global_Version.stLibVersion_Tc2_Math + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 1 + + + .iRevision + 0 + + + .sVersion + 3.3.1.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 1264798272 + + + MAIN.fbLogHandler + 5788736 + FB_LogHandler + 1264840896 + + + MAIN.fbEcatDiag + 1095936 + FB_EcatDiagWrapper + 1270629632 + + + MAIN.fbBPControl + 2752 + FB_BPControlDevice + + + pytmc + pv: @(PREFIX)BeamParamCntl - old_input_assignments1271725568MAIN.PERanges32PE_Ranges1271728320MAIN.SystemTime32DINTpytmc + + + + old_input_assignments + + + 1271725568 + + + MAIN.PERanges + 32 + PE_Ranges + 1271728320 + + + MAIN.SystemTime + System Time + 32 + DINT + + + pytmc + pv: @(PREFIX)SystemDT io: i - 1271728352MAIN.fbTime19040FB_LocalSystemTime.bEnable1.dwCycle11271728384MAIN.fbTime_to_UTC3584FB_TzSpecificLocalTimeToSystemTime1271747424MAIN.fbGetTimeZone3488FB_GetTimeZoneInformation1271751008CurrentBPUpdate.fbBYKIK_Rate960FB_LREALFromEPICS.iMaximumValidSeverity2pytmc + + + + 1271728352 + + + MAIN.fbTime + Get current system time, used for override + 19040 + FB_LocalSystemTime + + + .bEnable + 1 + + + .dwCycle + 1 + + + 1271728384 + + + MAIN.fbTime_to_UTC + 3584 + FB_TzSpecificLocalTimeToSystemTime + 1271747424 + + + MAIN.fbGetTimeZone + 3488 + FB_GetTimeZoneInformation + 1271751008 + + + CurrentBPUpdate.fbBYKIK_Rate + 960 + FB_LREALFromEPICS + + + .iMaximumValidSeverity + 2 + + + + + pytmc + pv: @(PREFIX)K:Rate link: IOC:BSY0:MP01:BYKIKS_RATE field: EGU RateEnum - 1271758912CurrentBPUpdate.fbEPICS_KRate25280FB_RateFromEPICSpytmc + + + + 1271758912 + + + CurrentBPUpdate.fbEPICS_KRate + 25280 + FB_RateFromEPICS + + + pytmc + pv: @(PREFIX) - 1271759872CurrentBPUpdate.fbMPS_BeamClass960FB_LREALFromEPICS.iMaximumValidSeverity2pytmc + + + + 1271759872 + + + CurrentBPUpdate.fbMPS_BeamClass + 960 + FB_LREALFromEPICS + + + .iMaximumValidSeverity + 2 + + + + + pytmc + pv: @(PREFIX)L:BC link: SIOC:SYS0:MP03:SC_SXR_BC field: EGU BCEnum - 1271785152CurrentBPUpdate.fbEPICSKBeamClass25280FB_BeamClassFromEPICSpytmc + + + + 1271785152 + + + CurrentBPUpdate.fbEPICSKBeamClass + 25280 + FB_BeamClassFromEPICS + + + pytmc + pv: @(PREFIX) - 1271786112CurrentBPUpdate.fbSXR_MachineMode960FB_LREALFromEPICS.iMaximumValidSeverity2pytmc + + + + 1271786112 + + + CurrentBPUpdate.fbSXR_MachineMode + 960 + FB_LREALFromEPICS + + + .iMaximumValidSeverity + 2 + + + + + pytmc + pv: @(PREFIX)K:Mode link: SIOC:FEES:MP01:FACMODE_RBV - 1271811392CurrentBPUpdate.fbEPICSLMachineMode25280FB_MachineModeFromEPICSpytmc + + + + 1271811392 + + + CurrentBPUpdate.fbEPICSLMachineMode + 25280 + FB_MachineModeFromEPICS + + + pytmc + pv: @(PREFIX) - 1271812352CurrentBPUpdate.fbKPhotonEnergy59136FB_KPhotonEnergypytmc + + + + 1271812352 + + + CurrentBPUpdate.fbKPhotonEnergy + 59136 + FB_KPhotonEnergy + + + pytmc + pv: @(PREFIX)PE - 1271837632CurrentBPUpdate.st3k4Watcher84608FB_KStopperTcLinkTo + + + + 1271837632 + + + CurrentBPUpdate.st3k4Watcher + Stoppers + 84608 + FB_KStopper + + + TcLinkTo + .i_StopperInLS:=TIIB[PPS Stoppers 1]^Channel 1^ST3K4 IN; .i_StopperOutLS:=TIIB[PPS Stoppers 1]^Channel 2^ST3K4 OUT; .q_StopperIN_Relay:=TIIB[PMPS_Premp]^Channel 12^ST3K4 RELAY IN; - old_input_assignments1271896832CurrentBPUpdate.st1k2Watcher84608FB_KStopperTcLinkTo + + + + old_input_assignments + + + 1271896832 + + + CurrentBPUpdate.st1k2Watcher + 84608 + FB_KStopper + + + TcLinkTo + .i_StopperInLS:=TIIB[PPS Stoppers 1]^Channel 3^ST1K2 IN; .i_StopperOutLS:=TIIB[PPS Stoppers 1]^Channel 4^ST1K2 OUT; .q_StopperIN_Relay:=TIIB[PMPS_Premp]^Channel 14^ST1K2 RELAY IN; - old_input_assignments1271981440CurrentBPUpdate.cMR1K1_IN_UpperLimit32UDINT334110001272066048CurrentBPUpdate.cMR1K1_IN_LowerLimit32UDINT319110001272066080CurrentBPUpdate.cMR1K1_OUT_UpperLimit32UDINT141734001272066112CurrentBPUpdate.fbMR1K1VetoDevice84672FB_KVetoDeviceold_input_assignments1272066176CurrentBPUpdate.st4k4Watcher84608FB_KStopperTcLinkTo + + + + old_input_assignments + + + 1271981440 + + + CurrentBPUpdate.cMR1K1_IN_UpperLimit + 32 + UDINT + + 33411000 + + 1272066048 + + + CurrentBPUpdate.cMR1K1_IN_LowerLimit + 32 + UDINT + + 31911000 + + 1272066080 + + + CurrentBPUpdate.cMR1K1_OUT_UpperLimit + 32 + UDINT + + 14173400 + + 1272066112 + + + CurrentBPUpdate.fbMR1K1VetoDevice + 84672 + FB_KVetoDevice + + + old_input_assignments + + + 1272066176 + + + CurrentBPUpdate.st4k4Watcher + ST4K4 Photon Terminator Veto + 84608 + FB_KStopper + + + TcLinkTo + .i_StopperInLS:=TIIB[plc-tmo-mot]^IO Inputs^bST4K4_IN; .i_StopperOutLS:=TIIB[plc-tmo-mot]^IO Inputs^bST4K4_OUT; - old_input_assignments1272150848MachineSimulation.fbMachine2368FB_MachineSimulator1272236096MachineSimulation.fbeVSimulator9088FB_eVSimulator.NoiseLevel11272238464PMPS_Arbiter.fbSetPE32PE_Ranges1272248160PMPS_Arbiter.fbBPRequestor3904FB_BPRequestor1272248192PMPS_Arbiter.fbPhotonEnergyWatcher128512FB_PhotonEnergyWatcherpytmc + + + + old_input_assignments + + + 1272150848 + + + MachineSimulation.fbMachine + Simulates attenuator as well + 2368 + FB_MachineSimulator + 1272236096 + + + MachineSimulation.fbeVSimulator + 9088 + FB_eVSimulator + + + .NoiseLevel + 1 + + + 1272238464 + + + PMPS_Arbiter.fbSetPE + 32 + PE_Ranges + 1272248160 + + + PMPS_Arbiter.fbBPRequestor + Updates global PMPS RequestedBeamParams + 3904 + FB_BPRequestor + 1272248192 + + + PMPS_Arbiter.fbPhotonEnergyWatcher + 128512 + FB_PhotonEnergyWatcher + + + pytmc + pv: @(PREFIX)PhotonEnergyWatcher - 1272252096PMPS_Arbiter.fbBeamClassWatcher128512FB_BeamClassWatcherpytmc + + + + 1272252096 + + + PMPS_Arbiter.fbBeamClassWatcher + 128512 + FB_BeamClassWatcher + + + pytmc + pv: @(PREFIX)BeamClassWatcher - 1272380608PMPS_Arbiter.fbMPSInterface1920FB_BeamClassOutputs_BCDpytmc + + + + 1272380608 + + + PMPS_Arbiter.fbMPSInterface + 1920 + FB_BeamClassOutputs_BCD + + + pytmc + pv: @(PREFIX)BeamClassOutputs - 1272509120PMPS_Arbiter.fbCuInterface1856FB_CTLS_Outputspytmc + + + + 1272509120 + + + PMPS_Arbiter.fbCuInterface + 1856 + FB_CTLS_Outputs + + + pytmc + pv: @(PREFIX)CuRateOutputs - 1272511040PMPS_Arbiter.plc_kfe_motion_PMPS_IO + + + 1272511040 + + + PMPS_Arbiter.plc_kfe_motion_PMPS_IO + Subsystem requests use this FB and a pragma link to pass their requests to the arbiter. The fb is called on each cycle and updates the arbiter with the current BP set requested from the subsystem PLC. - make this so it does input and output to the IF +<TODO> make this so it does input and output to the IF {attribute 'pytmc' := ' pv: @(PREFIX):PLC1 - '}]]>31328FB_ArbiterToSubSys_IO.RequestingSystemID65295TcLinkTo.i_RequestedBP:=TIIB[plc-kfe-motion]^IO Inputs^RequestedBP; + '} + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 65295 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-kfe-motion]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-kfe-motion]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-kfe-motion]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-kfe-motion]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-kfe-motion]^SYNC Inputs^TxPDO state; - 1272512896PMPS_Arbiter.plc_kfe_vac_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID65297TcLinkTo.i_RequestedBP:=TIIB[plc-kfe-vac]^IO Inputs^RequestedBP; + + + + 1272512896 + + + PMPS_Arbiter.plc_kfe_vac_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 65297 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-kfe-vac]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-kfe-vac]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-kfe-vac]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-kfe-vac]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-kfe-vac]^SYNC Inputs^TxPDO state; - 1272544224PMPS_Arbiter.plc_kfe_gatt_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID65298TcLinkTo.i_RequestedBP:=TIIB[plc-kfe-gatt]^IO Inputs^RequestedBP; + + + + 1272544224 + + + PMPS_Arbiter.plc_kfe_gatt_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 65298 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-kfe-gatt]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-kfe-gatt]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-kfe-gatt]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-kfe-gatt]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-kfe-gatt]^SYNC Inputs^TxPDO state; - 1272575552PMPS_Arbiter.plc_kfe_gmd_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID65299TcLinkTo.i_RequestedBP:=TIIB[plc-kfe-gmd-vac-01]^IO Inputs^RequestedBP; + + + + 1272575552 + + + PMPS_Arbiter.plc_kfe_gmd_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 65299 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-kfe-gmd-vac-01]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-kfe-gmd-vac-01]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-kfe-gmd-vac-01]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-kfe-gmd-vac-01]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-kfe-gmd-vac-01]^SYNC Inputs^TxPDO state; - 1272606880PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID65300TcLinkTo.i_RequestedBP:=TIIB[plc-kfe-xgmd-vac-01]^IO Inputs^RequestedBP; + + + + 1272606880 + + + PMPS_Arbiter.plc_kfe_xgmd_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 65300 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-kfe-xgmd-vac-01]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-kfe-xgmd-vac-01]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-kfe-xgmd-vac-01]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-kfe-xgmd-vac-01]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-kfe-xgmd-vac-01]^SYNC Inputs^TxPDO state; - 1272638208PMPS_Arbiter.plc_tmo_motion_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61696TcLinkTo.i_RequestedBP:=TIIB[plc-tmo-mot]^IO Inputs^RequestedBP; + + + + 1272638208 + + + PMPS_Arbiter.plc_tmo_motion_PMPS_IO + /////////////////////////////////////////// +////////////////////////////////////////// + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61696 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-tmo-mot]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-tmo-mot]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-tmo-mot]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-tmo-mot]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-tmo-mot]^SYNC Inputs^TxPDO state; - 1272669536PMPS_Arbiter.plc_tmo_optics_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61697TcLinkTo.i_RequestedBP:=TIIB[plc-tmo-optics]^IO Inputs^RequestedBP; + + + + 1272669536 + + + PMPS_Arbiter.plc_tmo_optics_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61697 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-tmo-optics]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-tmo-optics]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-tmo-optics]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-tmo-optics]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-tmo-optics]^SYNC Inputs^TxPDO state; - 1272700864PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61698TcLinkTo.i_RequestedBP:=TIIB[plc-tmo-vac]^IO Inputs^RequestedBP; + + + + 1272700864 + + + PMPS_Arbiter.plc_tmo_vacuum_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61698 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-tmo-vac]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-tmo-vac]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-tmo-vac]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-tmo-vac]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-tmo-vac]^SYNC Inputs^TxPDO state; - 1272732192PMPS_Arbiter.count128CTU1272763520PMPS_Arbiter.plc_rix_vac_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61952TcLinkTo.i_RequestedBP:=TIIB[plc-rix-vac]^IO Inputs^RequestedBP; + + + + 1272732192 + + + PMPS_Arbiter.count + 128 + CTU + 1272763520 + + + PMPS_Arbiter.plc_rix_vac_PMPS_IO + /////////////////////////////////////////// +////////////////////////////////////////// + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61952 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-rix-vac]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-rix-vac]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-rix-vac]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-rix-vac]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-rix-vac]^SYNC Inputs^TxPDO state; - 1272763648PMPS_Arbiter.plc_rix_optics_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61953TcLinkTo.i_RequestedBP:=TIIB[plc-rix-optics]^IO Inputs^RequestedBP; + + + + 1272763648 + + + PMPS_Arbiter.plc_rix_optics_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61953 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-rix-optics]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-rix-optics]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-rix-optics]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-rix-optics]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-rix-optics]^SYNC Inputs^TxPDO state; - 1272794976PMPS_Arbiter.plc_rix_mot_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61954TcLinkTo.i_RequestedBP:=TIIB[plc-rix-mot]^IO Inputs^RequestedBP; + + + + 1272794976 + + + PMPS_Arbiter.plc_rix_mot_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61954 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-rix-mot]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-rix-mot]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-rix-mot]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-rix-mot]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-rix-mot]^SYNC Inputs^TxPDO state; - 1272826304PMPS_Arbiter.plc_crix_mot_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61955TcLinkTo.i_RequestedBP:=TIIB[plc-crix-mot]^IO Inputs^RequestedBP; + + + + 1272826304 + + + PMPS_Arbiter.plc_crix_mot_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61955 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-crix-mot]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-crix-mot]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-crix-mot]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-crix-mot]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-crix-mot]^SYNC Inputs^TxPDO state; - 1272857632PMPS_Arbiter.plc_crix_vac_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61957TcLinkTo.i_RequestedBP:=TIIB[plc-crix-vac]^IO Inputs^RequestedBP; + + + + 1272857632 + + + PMPS_Arbiter.plc_crix_vac_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61957 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-crix-vac]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-crix-vac]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-crix-vac]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-crix-vac]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-crix-vac]^SYNC Inputs^TxPDO state; - 1272888960PMPS_Arbiter.plc_qrix_mot_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61958TcLinkTo.i_RequestedBP:=TIIB[plc-qrix-mot]^IO Inputs^RequestedBP; + + + + 1272888960 + + + PMPS_Arbiter.plc_qrix_mot_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61958 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-qrix-mot]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-qrix-mot]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-qrix-mot]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-qrix-mot]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-qrix-mot]^SYNC Inputs^TxPDO state; - 1272920288PMPS_Arbiter.plc_qrix_vac_PMPS_IO31328FB_ArbiterToSubSys_IO.RequestingSystemID61956TcLinkTo.i_RequestedBP:=TIIB[plc-qrix-vac]^IO Inputs^RequestedBP; + + + + 1272920288 + + + PMPS_Arbiter.plc_qrix_vac_PMPS_IO + 31328 + FB_ArbiterToSubSys_IO + + + .RequestingSystemID + 61956 + + + + + TcLinkTo + .i_RequestedBP:=TIIB[plc-qrix-vac]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-qrix-vac]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-qrix-vac]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-qrix-vac]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-qrix-vac]^SYNC Inputs^TxPDO state; - 1272951616P_AT1K0_SL1K0.bSimApt8BOOL1272983096P_AT1K0_SL1K0.idx16UINT1272983888P_AT1K0_SL1K0.ffKFEMotConnection25088FB_FastFault.i_DevNamePMPS Arbiter.i_DescEtherCAT interface watcher, for connection to KFE Motion systems for SL1K0 size requests. Very rare. Make a note, and if it can be reset, go ahead..i_TypeCode51272983904P_AT1K0_SL1K0.ffKFEGattConnection25088FB_FastFault.i_DevNamePMPS Arbiter.i_DescEtherCAT interface watcher, for connection to KFE Gas Att. systems for Transmission requests. Very rare. Make a note, and if it can be reset, go ahead..i_TypeCode51273008992P_AT1K0_SL1K0.nBeamIntensityJF32REAL5pytmc + + + + 1272951616 + + + P_AT1K0_SL1K0.bSimApt + 8 + BOOL + 1272983096 + + + P_AT1K0_SL1K0.idx + 16 + UINT + 1272983888 + + + P_AT1K0_SL1K0.ffKFEMotConnection + 25088 + FB_FastFault + + + .i_DevName + PMPS Arbiter + + + .i_Desc + EtherCAT interface watcher, for connection to KFE Motion systems for SL1K0 size requests. Very rare. Make a note, and if it can be reset, go ahead. + + + .i_TypeCode + 5 + + + 1272983904 + + + P_AT1K0_SL1K0.ffKFEGattConnection + 25088 + FB_FastFault + + + .i_DevName + PMPS Arbiter + + + .i_Desc + EtherCAT interface watcher, for connection to KFE Gas Att. systems for Transmission requests. Very rare. Make a note, and if it can be reset, go ahead. + + + .i_TypeCode + 5 + + + 1273008992 + + + P_AT1K0_SL1K0.nBeamIntensityJF + Administrative mode for beam intensity + 32 + REAL + + 5 + + + + pytmc + pv: @(PREFIX)IntensityJF - 1273034080P_AT1K0_SL1K0.bApplyJF8BOOL0pytmc + + + + 1273034080 + + + P_AT1K0_SL1K0.bApplyJF + 8 + BOOL + + 0 + + + + pytmc + pv: @(PREFIX)ApplyJF - 1273034112P_AT1K0_SL1K0.bCancelJF8BOOL0pytmc + + + + 1273034112 + + + P_AT1K0_SL1K0.bCancelJF + 8 + BOOL + + 0 + + + + pytmc + pv: @(PREFIX)CancelJF - 1273034120P_AT1K0_SL1K0.rDurationJF32REAL12pytmc + + + + 1273034120 + + + P_AT1K0_SL1K0.rDurationJF + hours + 32 + REAL + + 12 + + + + pytmc + pv: @(PREFIX)DurationJF - 1273034144P_AT1K0_SL1K0.rTimeRemainJF32REAL12pytmc + + + + 1273034144 + + + P_AT1K0_SL1K0.rTimeRemainJF + hours + 32 + REAL + + 12 + + + + pytmc + pv: @(PREFIX)TimeRemainJF - 1273034176P_AT1K0_SL1K0.tDuration32TIME1273034208P_AT1K0_SL1K0.tonDuration224TON1273034240GVL.AttemptReset8BOOLTcVarGlobal1273037592P_SATT.ffkfeConnection25088FB_FastFault.i_DevNamePMPS Arbiter.i_DescEtherCAT interface watcher, for tmo-mot connection to systems for attenuation requests. Very rare. Make a note, and if it can be reset, go ahead..i_TypeCode51273037600P_SATT.ffRixConnection25088FB_FastFault.i_DevNamePMPS Arbiter.i_DescEtherCAT interface watcher, for rix-mot connection to systems for attenuation requests. Very rare. Make a note, and if it can be reset, go ahead..i_TypeCode51273062688Fast_Faults_Evaluate.FFO25088FB_FastFault.i_DescFault occurs when the beamline valves on qrixs are not in open state.i_TypeCode41121273087776GVL.g_fbArbiter1473472FB_Arbiterpytmc + + + + 1273034176 + + + P_AT1K0_SL1K0.tDuration + 32 + TIME + 1273034208 + + + P_AT1K0_SL1K0.tonDuration + 224 + TON + 1273034240 + + + GVL.AttemptReset + For testing + 8 + BOOL + + + TcVarGlobal + + + 1273037592 + + + P_SATT.ffkfeConnection + FFO Connection per PLC + 25088 + FB_FastFault + + + .i_DevName + PMPS Arbiter + + + .i_Desc + EtherCAT interface watcher, for tmo-mot connection to systems for attenuation requests. Very rare. Make a note, and if it can be reset, go ahead. + + + .i_TypeCode + 5 + + + 1273037600 + + + P_SATT.ffRixConnection + 25088 + FB_FastFault + + + .i_DevName + PMPS Arbiter + + + .i_Desc + EtherCAT interface watcher, for rix-mot connection to systems for attenuation requests. Very rare. Make a note, and if it can be reset, go ahead. + + + .i_TypeCode + 5 + + + 1273062688 + + + Fast_Faults_Evaluate.FFO + 25088 + FB_FastFault + + + .i_Desc + Fault occurs when the beamline valves on qrixs are not in open state + + + .i_TypeCode + 4112 + + + 1273087776 + + + GVL.g_fbArbiter1 + 473472 + FB_Arbiter + + + pytmc + pv: @(PREFIX)Arbiter:01 - old_input_assignmentsTcVarGlobal1273113536GVL.ReqBP1760ST_BeamParamsTcVarGlobal1273587008GVL.MAX_FAST_FAULTS16UINT100TcVarGlobal1273588768GVL.nBeamIntensity16INT5TcVarGlobal1273588784GVL.g_FastFaultOutput1494912FB_HardwareFFOutput.bAutoReset1pytmc + + + + old_input_assignments + + + TcVarGlobal + + + 1273113536 + + + GVL.ReqBP + Currently the placeholder for the fully arbitrated BP set + 1760 + ST_BeamParams + + + TcVarGlobal + + + 1273587008 + + + GVL.MAX_FAST_FAULTS + 16 + UINT + + 100 + + + + TcVarGlobal + + + 1273588768 + + + GVL.nBeamIntensity + mj + 16 + INT + + 5 + + + + TcVarGlobal + + + 1273588784 + + + GVL.g_FastFaultOutput1 + Example implementation of the FFO + 494912 + FB_HardwareFFOutput + + + .bAutoReset + 1 + + + + + pytmc + pv: @(PREFIX)FFO:01 - TcLinkTo.q_xFastFaultOut:=TIIB[FFO]^Channel 1^OutputTcVarGlobal1273588800GVL.g_FastFaultOutput2494912FB_HardwareFFOutput.bAutoReset1pytmc + + + + TcLinkTo + .q_xFastFaultOut:=TIIB[FFO]^Channel 1^Output + + + TcVarGlobal + + + 1273588800 + + + GVL.g_FastFaultOutput2 + 494912 + FB_HardwareFFOutput + + + .bAutoReset + 1 + + + + + pytmc + pv: @(PREFIX)FFO:02 - TcLinkTo.q_xFastFaultOut:=TIIB[FFO]^Channel 2^OutputTcVarGlobal1274083712GVL.g_rTestingVelocity64LREAL10TcVarGlobal1274578624GVL.MaxDuration32REAL12TcVarGlobal1274578688GVL_CheckBounds.nTooLow32UDINTTcVarGlobal1274578720GVL_CheckBounds.nTooHigh32UDINTTcVarGlobal1274578752GVL_CheckBounds.nDivByZero32UDINTTcVarGlobal1274578784Constants.bLittleEndian8BOOL1TcVarGlobal1274578824Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal1274578832Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal1274578896Constants.bSimulationMode8BOOL0TcVarGlobal1274578960Constants.bFPUSupport8BOOL1TcVarGlobal1274578968Constants.nRegisterSize16WORD32TcVarGlobal1274578976Constants.nPackMode16UINT8TcVarGlobal1274578992Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal1274579008Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal1274579040TwinCAT_SystemInfoVarList._TaskInfo2048PlcTaskSystemInfo12no_initTcVarGlobal1274581120TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal1274583232TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal1274583264TwinCAT_SystemInfoVarList.__PlcTask704_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal1274584000TC_EVENT_CLASSES.TcSystemEventClass128GUID.Data1301464608.Data256308.Data319887.Data4[0]150.Data4[1]199.Data4[2]31.Data4[3]214.Data4[4]182.Data4[5]21.Data4[6]107.Data4[7]49tc_no_symbolunused;ST_TcSystemEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal1274597376TC_EVENT_CLASSES.TcGeneralAdsEventClass128GUID.Data12562503300.Data263794.Data320132.Data4[0]181.Data4[1]139.Data4[2]104.Data4[3]161.Data4[4]241.Data4[5]195.Data4[6]65.Data4[7]146tc_no_symbolunused;ST_TcGeneralAdsEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal1274597504TC_EVENT_CLASSES.TcRouterEventClass128GUID.Data13822601028.Data219635.Data317627.Data4[0]141.Data4[1]148.Data4[2]18.Data4[3]249.Data4[4]206.Data4[5]14.Data4[6]47.Data4[7]144tc_no_symbolunused;ST_TcRouterEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal1274597632TC_EVENT_CLASSES.TcRTimeEventClass128GUID.Data13056961710.Data245834.Data319918.Data4[0]164.Data4[1]79.Data4[2]249.Data4[3]41.Data4[4]251.Data4[5]17.Data4[6]73.Data4[7]68tc_no_symbolunused;ST_TcRTimeEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal1274597760TC_EVENT_CLASSES.Win32EventClass128GUID.Data1487345068.Data260659.Data320275.Data4[0]143.Data4[1]32.Data4[2]161.Data4[3]46.Data4[4]119.Data4[5]171.Data4[6]99.Data4[7]135tc_no_symbolunused;ST_Win32EventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal1274597888TC_EVENT_CLASSES.LCLSGeneralEventClass128GUID.Data12546958919.Data246492.Data320012.Data4[0]180.Data4[1]176.Data4[2]115.Data4[3]80.Data4[4]208.Data4[5]71.Data4[6]20.Data4[7]87tc_no_symbolunused;ST_LCLSGeneralEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal1274598016TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal127462835220PlcTask Retains1160104448PMPS_GVL.SuccessfulPreemption32UDINTpytmc + + + + TcLinkTo + .q_xFastFaultOut:=TIIB[FFO]^Channel 2^Output + + + TcVarGlobal + + + 1274083712 + + + GVL.g_rTestingVelocity + 64 + LREAL + + 10 + + + + TcVarGlobal + + + 1274578624 + + + GVL.MaxDuration + 32 + REAL + + 12 + + + + TcVarGlobal + + + 1274578688 + + + GVL_CheckBounds.nTooLow + 32 + UDINT + + + TcVarGlobal + + + 1274578720 + + + GVL_CheckBounds.nTooHigh + 32 + UDINT + + + TcVarGlobal + + + 1274578752 + + + GVL_CheckBounds.nDivByZero + 32 + UDINT + + + TcVarGlobal + + + 1274578784 + + + Constants.bLittleEndian + Does the target support an FPU + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 1274578824 + + + Constants.RuntimeVersion + Does the target support an FPU + 64 + VERSION + + + .uiMajor + 3 + + + .uiMinor + 5 + + + .uiServicePack + 6 + + + .uiPatch + 0 + + + + + TcVarGlobal + + + 1274578832 + + + Constants.CompilerVersion + Does the target support an FPU + 64 + VERSION + + + .uiMajor + 3 + + + .uiMinor + 5 + + + .uiServicePack + 10 + + + .uiPatch + 100 + + + + + TcVarGlobal + + + 1274578896 + + + Constants.bSimulationMode + Does the target support an FPU + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 1274578960 + + + Constants.bFPUSupport + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 1274578968 + + + Constants.nRegisterSize + Does the target support an FPU + 16 + WORD + + 32 + + + + TcVarGlobal + + + 1274578976 + + + Constants.nPackMode + Does the target support an FPU + 16 + UINT + + 8 + + + + TcVarGlobal + + + 1274578992 + + + Constants.RuntimeVersionNumeric + 32 + DWORD + + 50660864 + + + + TcVarGlobal + + + 1274579008 + + + Constants.CompilerVersionNumeric + 32 + DWORD + + 50661988 + + + + TcVarGlobal + + + 1274579040 + + + TwinCAT_SystemInfoVarList._TaskInfo + 2048 + PlcTaskSystemInfo + + 1 + 2 + + + + no_init + + + TcVarGlobal + + + 1274581120 + + + TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 1274583232 + + + TwinCAT_SystemInfoVarList._TaskOid_PlcTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 1274583264 + + + TwinCAT_SystemInfoVarList.__PlcTask + 704 + _Implicit_Task_Info + + + .dwVersion + 2 + + + + + TcContextName + PlcTask + + + TcVarGlobal + + + 1274584000 + + + TC_EVENT_CLASSES.TcSystemEventClass + 11F7FC20-DBF4-4DAF-96C7-1FD6B6156B31 + 128 + GUID + + + .Data1 + 301464608 + + + .Data2 + 56308 + + + .Data3 + 19887 + + + .Data4[0] + 150 + + + .Data4[1] + 199 + + + .Data4[2] + 31 + + + .Data4[3] + 214 + + + .Data4[4] + 182 + + + .Data4[5] + 21 + + + .Data4[6] + 107 + + + .Data4[7] + 49 + + + + + tc_no_symbol + unused;ST_TcSystemEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 1274597376 + + + TC_EVENT_CLASSES.TcGeneralAdsEventClass + 98BCB284-F932-4EA4-B58B-68A1F1C34192 + 128 + GUID + + + .Data1 + 2562503300 + + + .Data2 + 63794 + + + .Data3 + 20132 + + + .Data4[0] + 181 + + + .Data4[1] + 139 + + + .Data4[2] + 104 + + + .Data4[3] + 161 + + + .Data4[4] + 241 + + + .Data4[5] + 195 + + + .Data4[6] + 65 + + + .Data4[7] + 146 + + + + + tc_no_symbol + unused;ST_TcGeneralAdsEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 1274597504 + + + TC_EVENT_CLASSES.TcRouterEventClass + E3D84344-4CB3-44DB-8D94-12F9CE0E2F90 + 128 + GUID + + + .Data1 + 3822601028 + + + .Data2 + 19635 + + + .Data3 + 17627 + + + .Data4[0] + 141 + + + .Data4[1] + 148 + + + .Data4[2] + 18 + + + .Data4[3] + 249 + + + .Data4[4] + 206 + + + .Data4[5] + 14 + + + .Data4[6] + 47 + + + .Data4[7] + 144 + + + + + tc_no_symbol + unused;ST_TcRouterEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 1274597632 + + + TC_EVENT_CLASSES.TcRTimeEventClass + B63588AE-B30A-4DCE-A44F-F929FB114944 + 128 + GUID + + + .Data1 + 3056961710 + + + .Data2 + 45834 + + + .Data3 + 19918 + + + .Data4[0] + 164 + + + .Data4[1] + 79 + + + .Data4[2] + 249 + + + .Data4[3] + 41 + + + .Data4[4] + 251 + + + .Data4[5] + 17 + + + .Data4[6] + 73 + + + .Data4[7] + 68 + + + + + tc_no_symbol + unused;ST_TcRTimeEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 1274597760 + + + TC_EVENT_CLASSES.Win32EventClass + 1D0C4BAC-ECF3-4F33-8F20-A12E77AB6387 + 128 + GUID + + + .Data1 + 487345068 + + + .Data2 + 60659 + + + .Data3 + 20275 + + + .Data4[0] + 143 + + + .Data4[1] + 32 + + + .Data4[2] + 161 + + + .Data4[3] + 46 + + + .Data4[4] + 119 + + + .Data4[5] + 171 + + + .Data4[6] + 99 + + + .Data4[7] + 135 + + + + + tc_no_symbol + unused;ST_Win32EventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 1274597888 + + + TC_EVENT_CLASSES.LCLSGeneralEventClass + 97CF8247-B59C-4E2C-B4B0-7350D0471457 + 128 + GUID + + + .Data1 + 2546958919 + + + .Data2 + 46492 + + + .Data3 + 20012 + + + .Data4[0] + 180 + + + .Data4[1] + 176 + + + .Data4[2] + 115 + + + .Data4[3] + 80 + + + .Data4[4] + 208 + + + .Data4[5] + 71 + + + .Data4[6] + 20 + + + .Data4[7] + 87 + + + + + tc_no_symbol + unused;ST_LCLSGeneralEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 1274598016 + + + TC_EVENTS.LCLSGeneralEventClass + ST_LCLSGeneralEventClass + 960 + ST_LCLSGeneralEventClass + + + tc_no_symbol + unused + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 1274628352 + + + + 20 + PlcTask Retains + 1 + 160104448 + + PMPS_GVL.SuccessfulPreemption + Any time BPTM applies a new BP request which is confirmed + 32 + UDINT + + + pytmc + pv: @(PREFIX)SuccessfulPreemptions io: i - TcVarGlobal3072000PMPS_GVL.AccumulatedFF32UDINTpytmc + + + + TcVarGlobal + + + 3072000 + + + PMPS_GVL.AccumulatedFF + Any time a FF occurs + 32 + UDINT + + + pytmc + pv: @(PREFIX)AccumulatedFastFaults io: i - TcVarGlobal3072032PMPS_GVL.BP_jsonDoc32SJsonValueTcVarGlobal3072064TcSystemEventClassTcGeneralAdsEventClassTcRouterEventClassTcRTimeEventClassWin32EventClassLCLSGeneralEventClassApplicationNamePort_851ChangeDate2024-05-09T15:57:04GeneratedCodeSize622592GlobalDataSize158834688 \ No newline at end of file + + + + TcVarGlobal + + + 3072032 + + + PMPS_GVL.BP_jsonDoc + 32 + SJsonValue + + + TcVarGlobal + + + 3072064 + + + + + + + TcSystemEventClass + + + TcGeneralAdsEventClass + + + TcRouterEventClass + + + TcRTimeEventClass + + + Win32EventClass + + + LCLSGeneralEventClass + + + + + ApplicationName + Port_851 + + + ChangeDate + 2024-05-09T15:57:04 + + + GeneratedCodeSize + 622592 + + + GlobalDataSize + 158834688 + + + + + diff --git a/Arbiter/KFEArbiter/POUs/Fast_Faults_Evaluate.TcPOU b/Arbiter/KFEArbiter/POUs/Fast_Faults_Evaluate.TcPOU index 9f64a67..161f7a6 100644 --- a/Arbiter/KFEArbiter/POUs/Fast_Faults_Evaluate.TcPOU +++ b/Arbiter/KFEArbiter/POUs/Fast_Faults_Evaluate.TcPOU @@ -6,7 +6,7 @@ VAR FFO : FB_FastFault :=( i_Desc := 'Fault occurs when the beamline valves on qrixs are not in open state', i_TypeCode := 16#1010); -i_xFastFaultOut_qrix_vac AT %I*: BOOL; +i_xFastFaultOut_qrix_vac AT %I*: BOOL; END_VAR ]]> diff --git a/Arbiter/KFEArbiter/POUs/PMPS_Arbiter.TcPOU b/Arbiter/KFEArbiter/POUs/PMPS_Arbiter.TcPOU index e26177d..93107c3 100644 --- a/Arbiter/KFEArbiter/POUs/PMPS_Arbiter.TcPOU +++ b/Arbiter/KFEArbiter/POUs/PMPS_Arbiter.TcPOU @@ -147,18 +147,18 @@ VAR .i_TxPDOState:=TIIB[plc-crix-vac]^SYNC Inputs^TxPDO state; '} plc_crix_vac_PMPS_IO : FB_ArbiterToSubSys_IO := (RequestingSystemID := 16#F205); - - {attribute 'TcLinkTo' := '.i_RequestedBP:=TIIB[plc-qrix-mot]^IO Inputs^RequestedBP; + + {attribute 'TcLinkTo' := '.i_RequestedBP:=TIIB[plc-qrix-mot]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-qrix-mot]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-qrix-mot]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-qrix-mot]^WcState^WcStateIn; .i_TxPDOState:=TIIB[plc-qrix-mot]^SYNC Inputs^TxPDO state; '} - - + + plc_qrix_mot_PMPS_IO : FB_ArbiterToSubSys_IO := (RequestingSystemID := 16#F206); - {attribute 'TcLinkTo' := '.i_RequestedBP:=TIIB[plc-qrix-vac]^IO Inputs^RequestedBP; + {attribute 'TcLinkTo' := '.i_RequestedBP:=TIIB[plc-qrix-vac]^IO Inputs^RequestedBP; .o_CurrentBP:=TIIB[plc-qrix-vac]^IO Outputs^CurrentBP; .i_Connected:=TIIB[plc-qrix-vac]^SYNC Inputs^External device not connected; .i_WcState:=TIIB[plc-qrix-vac]^WcState^WcStateIn; @@ -192,7 +192,7 @@ END_VAR plc_rix_optics_PMPS_IO(Arbiter:=GVL.g_fbArbiter1, fbFFHWO:=GVL.g_FastFaultOutput1, Reset:=GVL.AttemptReset, sName:= 'RIX OPTICS'); plc_crix_mot_PMPS_IO(Arbiter:=GVL.g_fbArbiter1, fbFFHWO:=GVL.g_FastFaultOutput1, Reset:=GVL.AttemptReset, sName:= 'CRIX MOTION'); plc_crix_vac_PMPS_IO(Arbiter:=GVL.g_fbArbiter1, fbFFHWO:=GVL.g_FastFaultOutput1, Reset:=GVL.AttemptReset, sName:= 'CRIX VACUUM'); - plc_qrix_vac_PMPS_IO(Arbiter:=GVL.g_fbArbiter1, fbFFHWO:=GVL.g_FastFaultOutput1, Reset:=GVL.AttemptReset, sName:= 'QRIX VACUUM'); + plc_qrix_vac_PMPS_IO(Arbiter:=GVL.g_fbArbiter1, fbFFHWO:=GVL.g_FastFaultOutput1, Reset:=GVL.AttemptReset, sName:= 'QRIX VACUUM'); /////////////////////////// ////////////////////////////