diff --git a/lcls-plc-qrix-vac/iocBoot/ioc-PLC-QRIX-VAC/Makefile b/lcls-plc-qrix-vac/iocBoot/ioc-PLC-QRIX-VAC/Makefile index 9df8e0c..17469a9 100644 --- a/lcls-plc-qrix-vac/iocBoot/ioc-PLC-QRIX-VAC/Makefile +++ b/lcls-plc-qrix-vac/iocBoot/ioc-PLC-QRIX-VAC/Makefile @@ -9,7 +9,7 @@ PROJECT_PATH := ../../lcls-plc-qrix-vac/lcls-plc-qrix-vac.tsproj PLC := PLC_QRIX_VAC PYTMC_OPTS := -PREFIX := PLC:$(PLC) +PREFIX := PLC:QRIX:VAC # With two $$, as in $$(IOC) below, this will be expanded in the # environment of st.cmd: diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_PMPS.TcGVL b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_PMPS.TcGVL index 3b81e43..ea30e0e 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_PMPS.TcGVL +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_PMPS.TcGVL @@ -1,16 +1,16 @@  - \ No newline at end of file diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_SA.TcGVL b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_SA.TcGVL index 04ede21..9a8e1dc 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_SA.TcGVL +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_SA.TcGVL @@ -31,10 +31,10 @@ VAR_GLOBAL .q_xOPN_DO := TIIB[qRIXS_PNL1_E3_EL2004]^Channel 3^Output '} {attribute 'pytmc' := ' - pv: QRIXS:DET:VRC:01 + pv: QRIXS:DET:VGC:01 io: io '} - qRIXS_DET_VRC_01: FB_VRC; + qRIXS_DET_VGC_01: FB_VGC; (* MKS275 - Pirani *) diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_Variables.TcGVL b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_Variables.TcGVL index 40c47aa..6daf93f 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_Variables.TcGVL +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/GVLs/GVL_Variables.TcGVL @@ -11,13 +11,13 @@ xSystemOverrideMode : BOOL := FALSE; (* Global system override for the qRIXS Vac {attribute 'pytmc' := ' - pv: QRIXS:VAC:OVRDON + pv: QRIXS:SA:OVRDON io: io '} -xSystemOverrideMode_Valve : BOOL := FALSE; (* Global system override for the qRIXS Vacuum System*) +xSAOverrideMode : BOOL := FALSE; -{attribute 'pytmc' := ' pv: QRIXS:SA:VAC:SETUP_MODE'} -SetupMode_Valve : BOOL := FALSE; +{attribute 'pytmc' := ' pv: QRIXS:SA:SETUP_MODE'} +SetupMode : BOOL := FALSE; diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/PLC_QRIX_VAC.plcproj b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/PLC_QRIX_VAC.plcproj index bc0c025..9181723 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/PLC_QRIX_VAC.plcproj +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/PLC_QRIX_VAC.plcproj @@ -150,7 +150,7 @@ LCLSVacuumSerialDriverLib, 1.2.2 (SLAC - LCLS) - PMPS, 2.1.0 (SLAC - LCLS) + PMPS, 3.2.1 (SLAC - LCLS) Tc2_Utilities, 3.3.54.0 (Beckhoff Automation GmbH) diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/PLC_QRIX_VAC.tmc b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/PLC_QRIX_VAC.tmc index 05c29a2..885e845 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/PLC_QRIX_VAC.tmc +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/PLC_QRIX_VAC.tmc @@ -1,62 +1,4064 @@ -T_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener32PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult64bBusyBOOL880952988bErrorBOOL880953024hrErrorCodeHRESULT3280953032nStringSizeUDINT3280953012sResultSTRING(255)204880953028__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult32conditionalshowGetStringBOOL8sResultSTRING(80)32nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32pEmptySTRING(80)32propertymonitoringcallClear__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyTcSourceInfoType32UDINT0124plcAttribute_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__getipDataITcArguments32propertyconditionalshow__getnCountUDINT32propertyAddBlobI_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_TcArguments32ITcEventUniqueIdProvider32ITcUnknownGetUniqueIdHRESULT32idUDINT32FB_TcSourceInfo2848I_TcSourceInfonIdUDINT328095292880952952sNameSTRING(255)20488095296880952980ExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo32ipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefaultHRESULT32Clear__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo32__getguidGUID128guidGUID128property__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase3424I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2848256conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult643232conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83296conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult643328conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL83392conditionalshoweSeverityTcEventSeverity1680953080ipSourceInfoI_TcSourceInfo3280953060nEventIdUDINT3280953148nUniqueIdUDINT3280953152sEventClassNameSTRING(255)204880953108sEventTextSTRING(255)204880953156EqualsToEventClassBOOL8OtherEventClassGUID128_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__getnUniqueIdUDINT32nUniqueIdUDINT32ipTmpEventITcEvent32ipProviderITcEventUniqueIdProvider32propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyI_TcMessage32I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage3488FB_TcEventBaseI_TcMessagenTimeSentULINT6480953180SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo32InitipMessageITcMessage32ipArgumentsITcArguments32ipSourceInfoITcSourceInfo32conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage232nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo32hrHRESULT32ipArgumentsITcArguments32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshowSendHRESULT32nTimeStampULINT64ReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIG + + + + 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 + 81024904 + + + bError + BOOL + 8 + 81024940 + + + hrErrorCode + HRESULT + 32 + 81024948 + + + nStringSize + UDINT + 32 + 81024928 + + + sResult + STRING(255) + 2048 + 81024944 + + + __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 + + + pEmpty + STRING(80) + 32 + + + + property + + + monitoring + call + + + + + Clear + + + __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 + + + + + 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 + + + + + __getnCount + UDINT + 32 + + + property + + + + + 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 + + + + ITcEventUniqueIdProvider + 32 + ITcUnknown + + GetUniqueId + HRESULT + 32 + + id + UDINT + 32 + + + + + FB_TcSourceInfo + 2848 + I_TcSourceInfo + + nId + UDINT + 32 + 81024844 + 81024868 + + + sName + STRING(255) + 2048 + 81024884 + 81024896 + + + 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 + HRESULT + 32 + + + Clear + + + __setnId + + nId + UDINT + 32 + + + monitoring + call + + + + + + property + + + monitoring + call + + + + + __setguid + + guid + GUID + 128 + + + + property + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcSourceInfo + 32 + + + + __getguid + GUID + 128 + + guid + GUID + 128 + + + + property + + + + + __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 + 3424 + I_ArgumentsChangeListener + + fbSourceInfo + FB_TcSourceInfo + 2848 + 256 + + + conditionalshow + + + + + __REQUESTEVENTCLASSNAME__FBRESULT + FB_AsyncStrResult + 64 + 3232 + + + conditionalshow + + + + + __REQUESTEVENTCLASSNAME__BBUSY + BOOL + 8 + 3296 + + + conditionalshow + + + + + __REQUESTEVENTTEXT__FBRESULT + FB_AsyncStrResult + 64 + 3328 + + + conditionalshow + + + + + __REQUESTEVENTTEXT__BBUSY + BOOL + 8 + 3392 + + + conditionalshow + + + + + eSeverity + TcEventSeverity + 16 + 81024996 + + + ipSourceInfo + I_TcSourceInfo + 32 + 81024976 + + + nEventId + UDINT + 32 + 81025064 + + + nUniqueId + UDINT + 32 + 81025068 + + + sEventClassName + STRING(255) + 2048 + 81025024 + + + sEventText + STRING(255) + 2048 + 81025072 + + + 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 + + + + + __getnUniqueId + UDINT + 32 + + nUniqueId + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + ipProvider + ITcEventUniqueIdProvider + 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 + + + + + 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 + 3488 + FB_TcEventBase + I_TcMessage + + nTimeSent + ULINT + 64 + 81025096 + + + 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 + + + + 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_LogMessage81984sMsgT_MaxString204832ItemTypeInputeSevrTcEventSeverity1620800ItemTypeInputeSubsystemE_Subsystem162096ItemTypeInputsJsonSTRING(7000)560082112{}ItemTypeInputnMinTimeViolationAcceptableINT16581285ItemTypeInputnLocalTripThresholdTIME32581441ItemTypeInputnTrickleTripThresholdTIME> LocalTripThreshold]]>3258176100ItemTypeInputnTripResetPeriodTIME3258208600000ItemTypeInputbEnableAutoResetBOOL8582401ItemTypeInputbInitializedBOOL8582480bInitFailedBOOL8582560sSubsystemSourceSTRING(80)64858264fbMessageFB_TcMessage3258912fbMessagesFB_TcMessage051744058944fbSourceFB_TcSourceInfo284876384ipResultMessageI_TcMessage3279232hrHRESULT3279264hrLastInternalErrorHRESULT3279296eTraceLevelTcEventSeverity16793280bFirstCallBOOL8793441sPathT_MaxString204879352instance-pathnoinitnTimesViolatedINT1681408LastCallTimeULINT6481472CurrentCallTimeULINT6481536DeltaSinceLastCallULINT6481600WhenTripsClearedULINT6481664ftTrippedReleasedF_TRIG6481728bLocalTrickleTrippedBOOL881792bLocalTrippedBOOL881800bTrippedBOOL881808pytmc + + 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 + 81984 + + 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 + + 17440 + 58944 + + + fbSource + FB_TcSourceInfo + 2848 + 76384 + + + ipResultMessage + I_TcMessage + 32 + 79232 + + + hr + HRESULT + 32 + 79264 + + + hrLastInternalError + HRESULT + 32 + 79296 + + + eTraceLevel + TcEventSeverity + 16 + 79328 + + 0 + + + + bFirstCall + BOOL + 8 + 79344 + + 1 + + + + sPath + T_MaxString + 2048 + 79352 + + + instance-path + + + noinit + + + + + nTimesViolated + INT + //////////////////////////// + 16 + 81408 + + + LastCallTime + ULINT + 64 + 81472 + + + CurrentCallTime + ULINT + 64 + 81536 + + + DeltaSinceLastCall + ULINT + 64 + 81600 + + + WhenTripsCleared + ULINT + 64 + 81664 + + + ftTrippedReleased + F_TRIG + 64 + 81728 + + + bLocalTrickleTripped + BOOL + 8 + 81792 + + + bLocalTripped + BOOL + 8 + 81800 + + + bTripped + BOOL + Won't emit messages if true + 8 + 81808 + + + pytmc + pv: Tripped io: i field: DESC Log message FB tripped - bResetBreakerBOOL881816pytmc + + + + + + bResetBreaker + BOOL + 8 + 81816 + + + pytmc + pv: Reset io: o field: DESC Rising-edge reset of trip - rtResetBreakerR_TRIG6481824rtTrippedR_TRIG6481888CircuitBreakerPouTypeFunctionBlockreflectionE_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1ST_SockAddr160nPortUDINT320sAddrSTRING(15)12832T_HSOCKET352handleUDINT320localAddrST_SockAddr16032remoteAddrST_SockAddr160192ST_PMPS_Attenuator_IO64nTranREAL320xAttOKUINT1632ST_PMPS_Attenuator64ST_PMPS_Attenuator_IOST_PMPS_Aperture_IO96WidthREAL320plcAttribute_pytmcpv: Width + + + + + + rtResetBreaker + R_TRIG + 64 + 81824 + + + rtTripped + R_TRIG + 64 + 81888 + + + CircuitBreaker + + + + PouType + FunctionBlock + + + reflection + + + + + E_HashPrefixTypes + 16 + INT + + HASHPREFIX_IEC + 0 + 2#, 8#, 16# + + + HASHPREFIX_STDC + 1 + 0 for octal type, 0x, 0X for hex else none + + + + 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 + + + + 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_BeamParams1696nTranREAL3201pytmcpv: 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; - nRateUDINT3232120pytmcpv: Rate + field: HOPR 1; + field: LOPR 0; + field: PREC 2; + + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 0 + + + + pytmc + pv: Rate io: i field: EGU Hz - neVRangeDWORD32644294967295pytmcpv: PhotonEnergyRanges + + + + + + neVRange + DWORD + Photon energy ranges + 32 + 64 + + 0 + + + + pytmc + pv: eVRanges io: i - field: EGU eVdisplaymodebinaryastAttenuatorsST_PMPS_Attenuator116102496pytmcpv: AuxAtt - io: iaVetoDevicesBOOL1161281120pytmcpv: Veto - io: iastAperturesST_PMPS_Aperture143841248[1].Width1000[1].Height1000[2].Width1000[2].Height1000[3].Width1000[3].Height1000[4].Width1000[4].Height1000xValidToggleBOOL81632xValidBOOL81640pytmcpv: Valid - io: inCohortIntUDINT321664pytmcpv: Cohort + field: EGU eV + + + displaymode + binary + + + + + neV + REAL + Photon energy + 32 + 96 + + 0 + + + + pytmc + pv: PhotonEnergy + io: i + 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 - FB_JsonSaxWriter + + + + + + 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)32ItemTypeInOutResetDocumentHRESULT32AddKeyLrealkeySTRING(80)32ItemTypeInOutvalueLREAL64StartObjectHRESULT32GetDocumentLengthUDINT32hrErrorCodeHRESULT32ItemTypeOutputnUDINT32pSTRING(80)32AddKeyDcTimekeySTRING(80)32ItemTypeInOutvalueDCTIME64AddDateTimevalueDATE_AND_TIME32AddRawObjectrawJsonSTRING(80)32ItemTypeInOutSetMaxDecimalPlacesHRESULT32decimalPlacesDINT32__get_ipWriterITcJsonSaxWriter32_ipWriterITcJsonSaxWriter32propertyAddKeyBoolkeySTRING(80)32ItemTypeInOutvalueBOOL8GetDocumentSTRING(255)2048hrErrorCodeHRESULT32ItemTypeOutputpSINT32nUDINT32AddDintvalueDINT32AddRawArrayBOOL8rawJsonSTRING(80)32ItemTypeInOutAddKeyStringkeySTRING(80)32ItemTypeInOutvalueSTRING(80)32ItemTypeInOutCopyDocumentUDINT32pDocSTRING(80)32ItemTypeInOutnDocUDINT32hrErrorCodeHRESULT32ItemTypeOutputAddUlintvalueULINT64GetMaxDecimalPlacesDINT32dpDINT32AddFileTimevalueFILETIME64AddNullAddKeyDateTimekeySTRING(80)32ItemTypeInOutvalueDATE_AND_TIME32AddBoolvalueBOOL8AddBase64pBytesBYTE32nBytesDINT32AddDcTimevalueDCTIME64AddKeyNullkeySTRING(80)32ItemTypeInOutEndArrayHRESULT32EndObjectHRESULT32StartArrayHRESULT32AddRealvalueREAL32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_ADS82112fbLoggerFB_LogMessage8198464.eSubsystem4tErrorPresentR_TRIG6482048PouTypeFunctionBlockE_PressureState16INTOff0GaugeDisconnected1OoR2PressInvalid3Starting4Valid5ValidHi6ValidLo7Gauge_Type16INTPG722B0IG9031PG9072IG9093PG9254ST_VG1056rPRESSREAL + 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 + HRESULT + 32 + + + AddKeyLreal + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + LREAL + 64 + + + + StartObject + HRESULT + 32 + + + GetDocumentLength + UDINT + 32 + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + HRESULT + 32 + + 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 + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + 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 + HRESULT + 32 + + + EndObject + HRESULT + 32 + + + StartArray + HRESULT + 32 + + + AddReal + + value + REAL + 32 + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + FB_ADS + 82112 + + fbLogger + FB_LogMessage + 81984 + 64 + + + .eSubsystem + 4 + + + + + tErrorPresent + R_TRIG + 64 + 82048 + + + + PouType + FunctionBlock + + + + + E_PressureState + 16 + INT + + Off + 0 + //gc_GaugeValidState - 1, + + + GaugeDisconnected + 1 + gc_GaugeValidState -2, + + + OoR + 2 + gc_GaugeValidState -6, + + + PressInvalid + 3 + gc_GaugeValidState - 3, + + + Starting + 4 + gc_GaugeValidState - 4 + + + Valid + 5 + gc_GaugeValidState set in "Global Variable Folder: Constants" + + + ValidHi + 6 + gc_GaugeValidState + 1, + + + ValidLo + 7 + gc_GaugeValidState + 2, + + + + Gauge_Type + 16 + INT + + PG722B + 0 + Baraton Gauge + + + IG903 + 1 + Cold Cathode + + + PG907 + 2 + Pirani Gauge + + + IG909 + 3 + Hot Cathode + + + PG925 + 4 + + + + ST_VG + 1056 + + rPRESS + REAL + A general gauge structure is used to make the rest of the interlocking simpler. There are some parameters for cold cathodes that are not used by pirani. These features aren't disabled, they just aren't used, think child/parent classes. - ]]>320pytmc + + 32 + 0 + + + pytmc + pv: PRESS; field: HOPR 1000 field: LOPR 0 field: PREC 2 field: EGU "TORR" io: i; - xAT_VACBOOL832pytmc + + + + + + xAT_VAC + BOOL + 8 + 32 + + + pytmc + pv: AT_VAC; io: i; field: ZNAM FALSE; field: ONAM TRUE; - xPRESS_OKBOOL840pytmc + + + + + + xPRESS_OK + BOOL + 8 + 40 + + + pytmc + pv: PRESS_OK; field: ZNAM OFF; field: ONAM ON; io: i; - eStateE_PressureState1648pytmc + + + + + + eState + E_PressureState + 16 + 48 + + + pytmc + pv: STATE; field: ZRST Off; field: ONST GaugeDisconnected; @@ -67,36 +4069,197 @@ These features aren't disabled, they just aren't used, think child/parent classe field: SXST ValidHi; field: SVST ValidLo; io: i; - xHV_SWBOOL864pytmc + + + + + + xHV_SW + BOOL + High Voltage Switch from epics + 8 + 64 + + + pytmc + pv: HV_SW; io: io; field: ZNAM OFF; field: ONAM ON; - xAutoOnBOOL8721pytmc + + + + + + xAutoOn + BOOL + 8 + 72 + + 1 + + + + pytmc + pv: Auto_On; field: ZNAM FALSE; field: ONAM TRUE; io:io; - iAutoOnTimerINT1680pytmc + + + + + + iAutoOnTimer + INT + 16 + 80 + + + pytmc + pv: AutoOn_timer; io:i; - i_iPRESS_RINT1696pytmc + + + + + + i_iPRESS_R + INT + Controls and I/Os + 16 + 96 + + + pytmc + pv: PRESS_AI; io: i; - i_xHV_ONBOOL8112pytmc + + + + + + i_xHV_ON + BOOL + True when High Voltage is on + 8 + 112 + + + pytmc + pv: HV_ON; io: i; - i_xDisc_ActiveBOOL8120pytmc + + + + + + i_xDisc_Active + BOOL + Discharge Current Active + 8 + 120 + + + pytmc + pv: DISC_ACTIVE; field: ZNAM NO DISC; field: ONAM DISC ACTIVE; io: i; - q_xHV_DISBOOL8128pytmc + + + + + + q_xHV_DIS + BOOL + Enable High Voltage when True + 8 + 128 + + + pytmc + pv: HV_DIS_DO; io: i; field: ZNAM FALSE ; field: ONAM TRUE ; - wHV_ROWORD16144xBAKEOUTBOOL8160eTYPEGauge_Type161762iTYPEINT161922wPGWORD16208xTurnOnTimeBOOL8224iVacSpINT16240rVAC_SPREAL322560.001pytmc + + + + + + wHV_RO + WORD + 16 + 144 + + + xBAKEOUT + BOOL + Bakeout bit + 8 + 160 + + + eTYPE + Gauge_Type + enum for gauge type - will replace iType + 16 + 176 + + 2 + + + + iTYPE + INT + Gauge type, deprecated (default to pirani) + 16 + 192 + + 2 + + + + wPG + WORD + Index location of the associated Pirani Gauge + 16 + 208 + + + xTurnOnTime + BOOL + 8 + 224 + + + iVacSp + INT + Turn on Timers for cold cathode warmup + 16 + 240 + + + rVAC_SP + REAL + At vacuum setpoint for all gauges + 32 + 256 + + 0.001 + + + + pytmc + pv: VAC_SP; io:io; field: HOPR 1000 @@ -104,8 +4267,24 @@ These features aren't disabled, they just aren't used, think child/parent classe field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - rPRO_SPREAL322880.001pytmc + + + + + + rPRO_SP + REAL + At vacuum setpoint for all gauges + Protection setpoint for ion gauges at which the gauge turns off, not used for pirani + 32 + 288 + + 0.001 + + + + pytmc + pv: PRO_SP; io: io; field: HOPR 1000 @@ -113,7 +4292,23 @@ These features aren't disabled, they just aren't used, think child/parent classe field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - rHYS_PRREAL323200.001pytmc + + + + + + rHYS_PR + REAL + Protection setpoint hysteresis + 32 + 320 + + 0.001 + + + + pytmc + pv: SP_HYS; io: io; field: HOPR 1000 @@ -121,36 +4316,3004 @@ These features aren't disabled, they just aren't used, think child/parent classe field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - xILKOkBOOL8352pytmc + + + + + + xILKOk + BOOL + also a control + 8 + 352 + + + pytmc + pv: ILK_OK; field: ZNAM NOT OK ; field: ONAM OK ; io: i; - xLogBOOL83601pytmc + + + + + + xLog + BOOL + 8 + 360 + + 1 + + + + pytmc + pv: LOGGER; io: io; field: ZNAM OFF ; field: ONAM ON ; - sPathSTRING(80)648368rFULL_SCALEREAL3210241000TON224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockFB_CheckWatchdog448bEnableBOOL8320ItemTypeInputtWatchdogTimeTIME32640ItemTypeInputnCntUDINT3296ItemTypeInputbWatchdogBOOL81280ItemTypeOutputnLastCntUDINT32160ItemTypeOutputtimerWatchdogTON224192bFirstCycleBOOL84160PouTypeFunctionBlockT_AmsNetID192STRING(23)T_AmsPort16UINTE_AdsComMode16INTeAdsComModeSecureCom0eAdsComModeFastCom1ADSRDWRT1408NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputWRITELENUDINT32320ItemTypeInputREADLENUDINT32352ItemTypeInputSRCADDRPVOID32384ItemTypeInputTcIgnorePersistentDESTADDRPVOID32416ItemTypeInputTcIgnorePersistentWRTRDBOOL8448ItemTypeInputTMOUTTIME324805000ItemTypeInputBUSYBOOL8512ItemTypeOutputERRBOOL8520ItemTypeOutputERRIDUDINT32544ItemTypeOutputPouTypeFunctionBlockhide_all_localsADSWRITE1216NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputSRCADDRPVOID32352ItemTypeInputTcIgnorePersistentWRITEBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsADSREAD1248NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputDESTADDRPVOID32352ItemTypeInputTcIgnorePersistentREADBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsFB_ReadAdsSymByName8768bReadBOOL832ItemTypeInputsNetIdT_AmsNetID19240ItemTypeInputnPortT_AmsPort16240851ItemTypeInputsVarNameSTRING(255)2048256ItemTypeInputnDestAddrPVOID322304ItemTypeInputnLenUDINT322336ItemTypeInputtTimeoutTIME3223685000ItemTypeInputeComModeE_AdsComMode1624000ItemTypeInputbClearOnErrorBOOL824161ItemTypeInputbBusyBOOL82424ItemTypeOutputbErrorBOOL82432ItemTypeOutputnErrorIdUDINT322464ItemTypeOutputsVarName_IntSTRING(255)20482496sNetId_IntT_AmsNetID1924544nPort_IntT_AmsPort164736801fbGetHandleADSRDWRT14084768fbReleaseHandleADSWRITE12166176fbReadByHandleADSREAD12487392trigReadR_TRIG648640iStepINT1687040iNextStepINT168720nSymbolHandleDWORD3287360PouTypeFunctionBlockFB_TGCC_ADS + + + + + sPath + STRING(80) + Required for other devices using this gauge as interlock + 648 + 368 + + + rFULL_SCALE + REAL + Full scale pressure in Torr for baratron pressure conversion + 32 + 1024 + + 1000 + + + + + 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_CheckWatchdog + 448 + + bEnable + BOOL + 8 + 32 + + 0 + + + + ItemType + Input + + + + + tWatchdogTime + TIME + 32 + 64 + + 0 + + + + ItemType + Input + + + + + nCnt + UDINT + 32 + 96 + + + ItemType + Input + + + + + bWatchdog + BOOL + 8 + 128 + + 0 + + + + ItemType + Output + + + + + nLastCnt + UDINT + 32 + 160 + + + ItemType + Output + + + + + timerWatchdog + TON + 224 + 192 + + + bFirstCycle + BOOL + 8 + 416 + + 0 + + + + + PouType + FunctionBlock + + + + + T_AmsNetID + TwinCAT AMS netID address string. + 192 + STRING(23) + + + T_AmsPort + TwinCAT AMS port address. + 16 + UINT + + + E_AdsComMode + 16 + INT + + eAdsComModeSecureCom + 0 + + + eAdsComModeFastCom + 1 + + + + ADSRDWRT + ADS read/write command. + 1408 + + 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 + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + 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 + + + + + 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_ReadAdsSymByName + The function block enables reading of any value from another controller using the symbol name. + 8768 + + bRead + BOOL + The function block reads the content of the variables sVarName of the selected ADS devices and writes it to the variable to which the pointer nDestAddr points. + 8 + 32 + + + ItemType + Input + + + + + sNetId + T_AmsNetID + AMS-NetId of the ADS device from which the value is to be read. + 192 + 40 + + + ItemType + Input + + + + + nPort + T_AmsPort + AMS Port number of the ADS device from which the value is to be read. + 16 + 240 + + 851 + + + + ItemType + Input + + + + + sVarName + STRING(255) + Symbol name of the variable to be read on the selected ADS device. + 2048 + 256 + + + ItemType + Input + + + + + nDestAddr + PVOID + Address of the variable into which the read value is written. + 32 + 2304 + + + ItemType + Input + + + + + nLen + UDINT + Length of the variable to be read in bytes. + 32 + 2336 + + + ItemType + Input + + + + + tTimeout + TIME + Time until processing is aborted. + 32 + 2368 + + 5000 + + + + ItemType + Input + + + + + eComMode + E_AdsComMode + Enum used to specify whether the handle of the PLC variable is released again after each read procedure. + 16 + 2400 + + 0 + + + + ItemType + Input + + + + + bClearOnError + BOOL + If TRUE buffer "nDestAddr" will be cleared if an error occurs. + 8 + 2416 + + 1 + + + + ItemType + Input + + + + + bBusy + BOOL + The transmission is active. + 8 + 2424 + + + ItemType + Output + + + + + bError + BOOL + An error occurred during the transmission. + 8 + 2432 + + + ItemType + Output + + + + + nErrorId + UDINT + ADS error number if an error has occurred. + 32 + 2464 + + + ItemType + Output + + + + + sVarName_Int + STRING(255) + 2048 + 2496 + + + sNetId_Int + T_AmsNetID + 192 + 4544 + + + nPort_Int + T_AmsPort + 16 + 4736 + + 801 + + + + fbGetHandle + ADSRDWRT + 1408 + 4768 + + + fbReleaseHandle + ADSWRITE + 1216 + 6176 + + + fbReadByHandle + ADSREAD + 1248 + 7392 + + + trigRead + R_TRIG + 64 + 8640 + + + iStep + INT + 16 + 8704 + + 0 + + + + iNextStep + INT + 16 + 8720 + + + nSymbolHandle + DWORD + 32 + 8736 + + 0 + + + + + PouType + FunctionBlock + + + + + FB_TGCC_ADS + This function block is created for interface devices between different PLC Not all the Variables in the original structure is required, just few signals - The variable values are read via ADS using the symbol name]]>93888FB_ADSsNetIdSTRING(80)64882112ItemTypeInputnPortUINT1682768ItemTypeInputsVarNameSTRING(80)64882784ItemTypeInputiWatchdogUDINT3283456ItemTypeInputIGST_VG105683488ItemTypeOutputpytmcpv:bErrorBOOL884544ItemTypeOutputfb_CheckWatchdogFB_CheckWatchdog44884576fb_Read_VGFB_ReadAdsSymByName876885024ftResetF_TRIG6493792xFirstPassBOOL8938561ACT_LoggerPouTypeFunctionBlockTP + 93888 + FB_ADS + + sNetId + STRING(80) + NetID of the Destination PLC controller + 648 + 82112 + + + ItemType + Input + + + + + nPort + UINT + port number + 16 + 82768 + + + ItemType + Input + + + + + sVarName + STRING(80) + the variable name of the declared gauge function block. + 648 + 82784 + + + ItemType + Input + + + + + iWatchdog + UDINT + The watchdog variable name written to by the remote plc + 32 + 83456 + + + ItemType + Input + + + + + IG + ST_VG + 1056 + 83488 + + + ItemType + Output + + + pytmc + pv: + + + + + bError + BOOL + 8 + 84544 + + + ItemType + Output + + + + + fb_CheckWatchdog + FB_CheckWatchdog + 448 + 84576 + + + fb_Read_VG + FB_ReadAdsSymByName + 8768 + 85024 + + + ftReset + F_TRIG + 64 + 93792 + + + xFirstPass + BOOL + 8 + 93856 + + 1 + + + + ACT_Logger + + + + PouType + FunctionBlock + + + + + TP + Pulse Timer. Q produces a High-Signal with the length of PT on every rising edge on IN. -]]>192INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputStartTimeTIME32160PouTypeFunctionBlockFB_WriteWatchdog5536bEnableBOOL8320ItemTypeInputsNetIdT_AmsNetID19240ItemTypeInputnPortT_AmsPort16240ItemTypeInputnIdxGrpUDINT32256ItemTypeInputnIdxOffsUDINT32288ItemTypeInputsVarNameSTRING(255)2048320ItemTypeInputtWatchdogTimeTIME3223680ItemTypeInputbSendNowBOOL82400ItemTypeInputbBusyBOOL824080ItemTypeOutputnLastCntUDINT3224320ItemTypeOutputbErrorBOOL824640ItemTypeOutputnErrorIdUDINT3224960ItemTypeOutputfbAdsWriteADSWRITE12162528fbAdsReadWriteADSRDWRT14083744timerWatchdogTP1925152RisingEdgeSendNowR_TRIG645344nStepINT1654080nSymbolHandleDWORD3254400bFirstCycleBOOL854720nCntUDINT3255040PouTypeFunctionBlockFB_ADS_WATCHDOG + 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 + + + + + FB_WriteWatchdog + 5536 + + bEnable + BOOL + 8 + 32 + + 0 + + + + ItemType + Input + + + + + sNetId + T_AmsNetID + 192 + 40 + + + ItemType + Input + + + + + nPort + T_AmsPort + 16 + 240 + + + ItemType + Input + + + + + nIdxGrp + UDINT + 32 + 256 + + + ItemType + Input + + + + + nIdxOffs + UDINT + 32 + 288 + + + ItemType + Input + + + + + sVarName + STRING(255) + 2048 + 320 + + + ItemType + Input + + + + + tWatchdogTime + TIME + 32 + 2368 + + 0 + + + + ItemType + Input + + + + + bSendNow + BOOL + 8 + 2400 + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 2408 + + 0 + + + + ItemType + Output + + + + + nLastCnt + UDINT + 32 + 2432 + + 0 + + + + ItemType + Output + + + + + bError + BOOL + 8 + 2464 + + 0 + + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 2496 + + 0 + + + + ItemType + Output + + + + + fbAdsWrite + ADSWRITE + 1216 + 2528 + + + fbAdsReadWrite + ADSRDWRT + 1408 + 3744 + + + timerWatchdog + TP + 192 + 5152 + + + RisingEdgeSendNow + R_TRIG + 64 + 5344 + + + nStep + INT + 16 + 5408 + + 0 + + + + nSymbolHandle + DWORD + 32 + 5440 + + 0 + + + + bFirstCycle + BOOL + 8 + 5472 + + 0 + + + + nCnt + UDINT + 32 + 5504 + + 0 + + + + + PouType + FunctionBlock + + + + + FB_ADS_WATCHDOG + This function block is to be used whenever deivce data going to be read over ADS The remote plc has to instantiate this function block in order to write a watchdog variable -that the ADS read function expects to keep checking]]>7008sNetIdSTRING(80)64832ItemTypeInputnPortUINT16688ItemTypeInputsVarNameSTRING(80)648704ItemTypeInputbErrorBOOL81352ItemTypeOutputfb_WriteWatchdogFB_WriteWatchdog55361376ftReset_WatchdogF_TRIG646912xFirstPassBOOL869761PouTypeFunctionBlockI_HigherAuthority32PVOIDCheckRequestBOOL8nReqIDDWORD32RemoveRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1696I_LowerAuthority32PVOID__getnLowerAuthorityIDDWORD32propertyElevateRequestBOOL8HigherAuthorityI_HigherAuthority32T_HashTableEntry64keyDWORD3200pytmc +that the ADS read function expects to keep checking + 7008 + + sNetId + STRING(80) + NetID of the Destination PLC controller + 648 + 32 + + + ItemType + Input + + + + + nPort + UINT + port number + 16 + 688 + + + ItemType + Input + + + + + sVarName + STRING(80) + the variable name of the watchdog on the remote plc. + 648 + 704 + + + ItemType + Input + + + + + bError + BOOL + 8 + 1352 + + + ItemType + Output + + + + + fb_WriteWatchdog + FB_WriteWatchdog + 5536 + 1376 + + + ftReset_Watchdog + F_TRIG + 64 + 6912 + + + xFirstPass + BOOL + 8 + 6976 + + 1 + + + + + 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_ArbInternal2400ST_BeamParamsnIdDWORD321696pytmcpv: ID - io: i - LiveInTableBOOL81728pytmcpv: Live - io: i - sDevNameSTRING(80)6481736pytmcpv: Device - io: i - FW_GetCurTaskIndex64nIndexBYTE832ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX128indexBYTE832ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex6464conditionalshowPouTypeFunctionBlockconditionalshow_all_localsT_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_BeamParamAssertionPool207232keyDWORD32320ItemTypeInputputPosPtrT_HashTableEntry32640ItemTypeInputputValueST_BP_ArbInternal240096ItemTypeInputbOkBOOL824960ItemTypeOutputgetPosPtrT_HashTableEntry3225280ItemTypeOutputgetValueST_BP_ArbInternal24002560ItemTypeOutputnCountUDINT3249600ItemTypeOutputepicsDataPoolST_BP_ArbInternal120480004992pytmc + + + + + + value + PVOID + 32 + 32 + + 0 + + + + + ST_BP_ArbInternal + 2464 + ST_BeamParams + + nId + DWORD + 32 + 1760 + + + pytmc + pv: ID + io: i + + + + + + LiveInTable + BOOL + 8 + 1792 + + + pytmc + pv: Live + io: i + + + + + + sDevName + STRING(80) + 648 + 1800 + + + pytmc + pv: Device + io: i + + + + + + + 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 + + + + + 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_ArbInternal06114640052992entriesT_HashTableEntry0613904199392fbTableFB_HashTableCtrl352203296hTableT_HHASHTABLE3488203648pRefPtrST_BP_ArbInternal322071360indexOfElemULINT32bit, x64=>64bit)]]>64207168A_ResetA_CountDataPoolToEpicsA_AddA_RemoveA_GetFirstA_GetNextA_LookupPouTypeFunctionBlockE_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). ]]>32320pDataPVOID32640E_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_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 + + + + + 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 + + + + + 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_Arbiter + FB Arbiter A. Wallace 2020-6-26 The arbiter primary objectives are: @@ -163,300 +7326,9935 @@ to determine the safest combination of all sets, provide this set as an output. To these ends, the arbiter uses a hash-table, the rows being a state-id as the key, and a corresponding beam parameter set to be evaluated against all the other sets (or rows), in the table. - + The hash table can be thought of as an array on steriods, they are worth reading about, suffice to say 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. -]]>467456I_HigherAuthorityI_LowerAuthoritynRequestsCountUDINT3296fbBPAssertionPoolFB_BeamParamAssertionPool207232128pytmc + + 474624 + 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 - xRequestMadeBOOL8207360nArbiterIDUDINT32207392pytmc + + + + + + 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. - nNextCohortUDINT322074241nAckInProgCohortUDINT322074560nActiveCohortUDINT322074880pytmc + + + + + + 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 - bStartNewAckRequestBOOL8207520bAckInProgressBOOL8207528idTransmissionDWORD32207552idRateDWORD32207584sPathT_MaxString2048207616instance-pathnoinitsArbNameT_MaxString2048209664InfoStringFmtrFB_FormatString7840211712bVerboseBOOL82195520q_stBeamParamsST_BeamParams1696219584ItemTypeOutputpytmc + + + + + + 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_xStateIDFoundBOOL8221280ItemTypeOutput__GETARBITRATEDBP__XFIRSTPASSBOOL82212881__GETARBITRATEDBP__FBGETCURTASKIDXGETCURTASKINDEX128221312__GETARBITRATEDBP__LASTCYCLECOUNTUDINT32221440__GETARBITRATEDBP__FBLOGMESSAGEFB_LogMessage81984221504__ADDREQUEST__FBLOGFB_LogMessage81984303488__REMOVEREQUEST__FBLOGFB_LogMessage81984385472__getnEntryCountUDINT32nEntryCountUDINT32propertyCheckRequestBOOL8nReqIDDWORD32BPST_BeamParams1696ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32GetArbitratedBPST_BeamParams1696getPosPtrT_HashTableEntry32getBPStructIntST_BP_ArbInternal2400stOutputBPST_BP_ArbInternal2400xFirstPassBOOL8uselocation__GETARBITRATEDBP__XFIRSTPASSfbGetCurTaskIdxGETCURTASKINDEX128uselocation__GETARBITRATEDBP__FBGETCURTASKIDXLastCycleCountUDINT32uselocation__GETARBITRATEDBP__LASTCYCLECOUNTfbLogMessageFB_LogMessage81984uselocation__GETARBITRATEDBP__FBLOGMESSAGEArbitrateBPST_BP_ArbInternal2400stBP1ST_BP_ArbInternal2400stBP2ST_BP_ArbInternal2400idxUINT16__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32propertyAddRequestBOOL8nReqIDDWORD32stReqBPST_BeamParams1696sDevNameSTRING(80)648BP_IntST_BP_ArbInternal2400fbLogFB_LogMessage81984uselocation__ADDREQUEST__FBLOGRemoveRequestBOOL8nReqIdDWORD32fbLogFB_LogMessage81984uselocation__REMOVEREQUEST__FBLOGBP_IntST_BP_ArbInternal2400CheckRequestInPoolBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1696PouTypeFunctionBlockreflectionST_FFInfo6832sPathT_MaxString20480pytmc + + + + + + 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 + 81984 + 228672 + + + __ADDREQUEST__FBLOG + FB_LogMessage + 81984 + 310656 + + + __REMOVEREQUEST__FBLOG + FB_LogMessage + 81984 + 392640 + + + __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 + 81984 + + + 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 + 81984 + + + uselocation + __ADDREQUEST__FBLOG + + + + + + RemoveRequest + BOOL + 8 + + nReqId + DWORD + 32 + + + fbLog + FB_LogMessage + 81984 + + + 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 + + + + + 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 - ST_FFOverride576DurationDINT320pytmc + + + + + + + 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_TRIG647616TOF224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockDWORD (1..86400)32DWORDLowerBorder1UpperBorder86400TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112E_TimeZoneID16INTeTimeZoneID_Invalid-1eTimeZoneID_Unknown0eTimeZoneID_Standard1eTimeZoneID_Daylight2NT_GetTime1728NETIDT_AmsNetID19232ItemTypeInputSTARTBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputTIMESTRTIMESTRUCT128352ItemTypeOutputfbAdsReadADSREAD1248480.PORT10000.IDXGRP400.IDXOFFS1conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_TimeZoneInformation864biasDINT + + + + + bsFF + RS + 64 + 7488 + + + rtReset + R_TRIG + 64 + 7552 + + + ftCountFault + F_TRIG + 64 + 7616 + + + + 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 + + + + + DWORD (1..86400) + 32 + DWORD + + + LowerBorder + 1 + + + UpperBorder + 86400 + + + + + 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 + + + + 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_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_AmsGetTimeZoneInformation896tzInfoST_TimeZoneInformation8640apiResultDWORD32864conditionalshowFB_GetTimeZoneInformation3488sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputtzIDE_TimeZoneID16352ItemTypeOutputtzInfoST_TimeZoneInformation864384ItemTypeOutputfbAdsReadADSREAD12481248.PORT10000.IDXGRP400.IDXOFFS6conditionalshowfbTriggerR_TRIG642496conditionalshowstateBYTE82560conditionalshowresST_AmsGetTimeZoneInformation8962592conditionalshowPouTypeFunctionBlockconditionalshow_all_localsADSRDWRTEX1440NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputWRITELENUDINT32320ItemTypeInputREADLENUDINT32352ItemTypeInputSRCADDRPVOID32384ItemTypeInputTcIgnorePersistentDESTADDRPVOID32416ItemTypeInputTcIgnorePersistentWRTRDBOOL8448ItemTypeInputTMOUTTIME324805000ItemTypeInputBUSYBOOL8512ItemTypeOutputERRBOOL8520ItemTypeOutputERRIDUDINT32544ItemTypeOutputCOUNT_RUDINT32576ItemTypeOutputPouTypeFunctionBlockhide_all_localsST_HKeySrvRead4096sSubT_MaxString20480sValT_MaxString20482048conditionalshowFB_RegQueryValue10304sNetIdT_AmsNetID19232ItemTypeInputsSubKeyT_MaxString2048224ItemTypeInputsValNameT_MaxString20482272ItemTypeInputcbDataUDINT324320ItemTypeInputpDataBYTE324352ItemTypeInputbExecuteBOOL84384ItemTypeInputtTimeOutTIME3244165000ItemTypeInputbBusyBOOL84448ItemTypeOutputbErrorBOOL84456ItemTypeOutputnErrIdUDINT324480ItemTypeOutputcbReadUDINT324512ItemTypeOutputfbAdsRdWrtExADSRDWRTEX14404544.PORT10000.IDXGRP200.IDXOFFS0conditionalshowfbTriggerR_TRIG645984conditionalshowstateBYTE86048conditionalshows1LenUDINT326080conditionalshows2LenUDINT326112conditionalshowptrBYTE326144conditionalshowcbBuffUDINT326176conditionalshowtmpBuffST_HKeySrvRead40966208conditionalshowPouTypeFunctionBlockconditionalshow_all_localsNT_SetTimeToRTCTime12032NETIDT_AmsNetID19232ItemTypeInputSETBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputfbAdsWriteADSWRITE1216352.PORT10000.IDXGRP4.IDXOFFS0conditionalshowfbRegQueryFB_RegQueryValue103041568.sSubKeySoftware\Beckhoff\TwinCAT3\System.sValNameNumOfCPUsconditionalshowfbTriggerR_TRIG6411872conditionalshowbTmpDWORD32119360conditionalshowstateBYTE8119680conditionalshowbInitBOOL8119761conditionalshownumOfCPUsDWORD32120000conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFW_GetCpuCounter96dwCpuCntLoUDINT3232ItemTypeOutputdwCpuCntHiUDINT3264ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCPUCOUNTER + 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_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 + + + + + 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 + + + + + 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_FILETIME64dwLowDateTimeDWORD320dwHighDateTimeDWORD3232T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232FB_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_HardwareFFOutput495296FF_ARRAY_UPPER_BOUNDUINT163250i_xResetBOOL848ItemTypeInputpytmc + One unit is equivalent to 100 ns. + 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 + + + + T_ULARGE_INTEGER + 64 bit unsigned integer + 64 + + dwLowPart + DWORD + Lower double word + 32 + 0 + + + dwHighPart + DWORD + Higher double word + 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_HardwareFFOutput + 495296 + + 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_LogMessage81984413056.eSevr4.eSubsystem2.nMinTimeViolationAcceptable50__EXECUTELOGGING__HELLOTIMERTOF224495040.PT86400000ExecuteNoLogEvaluateOutputExecuteEvaluateVetosBOOL8obsoleteUse EvaluateOverrides instead.EvaluateOverridesBOOL8FFST_FF32EvalIdxDINT32MaxTimeDINT32ExecuteLoggingBOOL8FFST_FF32logIdxDINT32HelloTimerTOF224uselocation__EXECUTELOGGING__HELLOTIMERRegisterBOOL8stFFInfoST_FFInfo6832FFONameT_MaxString2048ItemTypeOutputIdxUINT16ItemTypeOutputIdxCheckInBOOL8IdxDINT32OKBOOL8ResetBOOL8stFFST_FF7680BeamPermittedBOOL8FormulateLogJsonSTRING(80)648FFST_FF7680PouTypeFunctionBlockreflectionST_BeamParams_IO1696nTranREAL320011plcAttribute_pytmcpv: Attenuation - io: inRateUDINT3232120plcAttribute_pytmcpv: Rate - io: ineVRangeDWORD32644294967295plcAttribute_pytmcpv: PhotonEnergy - io: iplcAttribute_displaymodebinaryastAttenuatorsST_PMPS_Attenuator_IO116102496plcAttribute_pytmcpv: AuxAttenuator - io: iastAperturesST_PMPS_Aperture_IO143841120aVetoDevicesBOOL1161281504plcAttribute_pytmcpv: AuxAttenuator - io: ixValidToggleBOOL81632xValidBOOL81640plcAttribute_pytmcpv: Valid - io: inCohortIntUDINT321664plcAttribute_pytmcpv: Attenuation - io: iFB_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 + 81984 + 413056 + + + .eSevr + 4 + + + .eSubsystem + 2 + + + .nMinTimeViolationAcceptable + 50 + + + + + __EXECUTELOGGING__HELLOTIMER + TOF + 224 + 495040 + + + .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 + + + + + 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_FastFault + Fast Fault 2019-9-13 A. Wallace -Use this block to generate a beam-off fault. Connects to a fast fault hardware output +Use this block to generate a beam-off fault. Connects to a fast fault hardware output 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_VetoArbiter27104I_HigherAuthoritybVetoBOOL8640ItemTypeInputHigherAuthorityI_HigherAuthority3296ItemTypeInputLowerAuthorityI_LowerAuthority32128ItemTypeInputFFOFB_HardwareFFOutput32160ItemTypeInOutffKeepItSecretKeepItSafeFB_FastFault25088192.i_xAutoReset1.i_DescHolds beam off until request is back in arbitration.i_TypeCode200.i_xVetoable1stStandbyBPST_BeamParams169625280rtVetoR_TRIG6426976ftVetoF_TRIG6427040CheckRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1696RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFB_SubSysToArbiter_IO138560I_HigherAuthorityResetBOOL864ItemTypeInputsNameSTRING(80)64872SubSysToArbiterItemTypeInputi_bVetoBOOL8720ItemTypeInputArbiterFB_Arbiter32736ItemTypeInOutfbFFHWOFB_HardwareFFOutput32768ItemTypeInOuti_stCurrentBPST_BeamParams_IO1696800TcLinkToTIIB[PMPS_PRE]^IO Inputs^CurrentBPTcAddressTypeInputq_stRequestedBPST_BeamParams_IO16962496TcLinkToTIIB[PMPS_PRE]^IO Outputs^RequestedBPTcAddressTypeOutputxTxPDO_toggleBIT14192pytmcpv: TxPDO_toggle - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggleTcAddressTypeInputxTxPDO_stateBIT14193pytmcpv: TxPDO_state - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO stateTcAddressTypeInputffPMPSIO_DisconnectFB_FastFault250884224.i_DescArbiter network interface disconnected or not OP.i_DevNameSubSysToArbiternRequestCohortUDINT32293120pytmcpv: RequestCohort - io: inActiveCohortUDINT32293440pytmcpv: ActiveCohort - io: ifbVetoArbFB_VetoArbiter2710429376fbLogFB_LogMessage8198456512__CHECKREQUEST__XFIRSTTIMEBOOL81384961__CHECKREQUEST__NIDDWORD32138528CheckRequestBOOL8nReqIDDWORD32xFirstTimeBOOL8uselocation__CHECKREQUEST__XFIRSTTIMEnIdDWORD32uselocation__CHECKREQUEST__NIDRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1696RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockTcEventConfirmationState16INT01234plcAttribute_qualified_onlyplcAttribute_strictITcAlarm32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32GetIsRaisedHRESULT32bIsRaisedBOOL3232RaiseHRESULT32timeStampULINT64ClearHRESULT32timeStampULINT64bResetConfirmationBOOL3232GetConfirmationStateHRESULT32stateTcEventConfirmationState32ConfirmHRESULT32timeStampULINT64ITcAlarm232ITcAlarmGetTimeRaisedHRESULT32timeStampULINT32GetTimeConfirmedHRESULT32timeStampULINT32GetTimeClearedHRESULT32timeStampULINT32FB_TcEvent3584FB_TcEventBaseI_TcEventBasenTimestampULINT6480958336__getnTimestampULINT64nTimestampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046ReleaseHRESULT32InitipEventITcEvent32nTimestampULINT64ipMessageITcMessage232ipAlarmITcAlarm232conditionalshowobsoleteInit is obsolete, use Init2 instead!__getipEventITcEvent32ipEventITcEvent32propertyconditionalshowInit2ipEventITcEvent32nTimestampULINT64ipArgumentsITcArguments32ipMessageITcMessage32ipAlarmITcAlarm32ipSourceInfoITcSourceInfo32conditionalshowPouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyI_Listener32PVOIDOnAlarmClearedfbEventFB_TcEvent32OnAlarmConfirmedfbEventFB_TcEvent32OnAlarmDisposedfbEventFB_TcEvent32OnAlarmRaisedfbEventFB_TcEvent32OnMessageSentfbEventFB_TcEvent32ITcEventFilterConfig32ITcUnknownAddEventClassHRESULT32eventClassGUID32severityTcEventSeverity16RemoveEventClassHRESULT32eventClassGUID32AddSourceInfoHRESULT32ipSourceInfoITcSourceInfo32severityTcEventSeverity16RemoveSourceInfoHRESULT32ipSourceInfoITcSourceInfo32ITcMessageListener32ITcUnknownOnMessageSentHRESULT32ipEventITcEvent32ITcAlarmListener32ITcUnknownOnAlarmRaisedHRESULT32ipEventITcEvent32OnAlarmClearedHRESULT32ipEventITcEvent32OnAlarmConfirmedHRESULT32ipEventITcEvent32OnAlarmDisposedHRESULT32ipEventITcEvent32FB_ListenerWrapper3840ITcMessageListenerITcAlarmListenerTcAddRefUDINT32c++_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 directlyFB_ListenerBase96I_Listener_pListenerWrapperFB_ListenerWrapper3264OnAlarmRaisedfbEventFB_TcEvent32UnsubscribeHRESULT32hrHRESULT32OnAlarmClearedfbEventFB_TcEvent32OnMessageSentfbEventFB_TcEvent32SubscribeHRESULT32ipMessageFilterConfigITcEventFilterConfig32ipAlarmFilterConfigITcEventFilterConfig32hrHRESULT32OnAlarmConfirmedfbEventFB_TcEvent32OnAlarmDisposedfbEventFB_TcEvent32ExecuteHRESULT32hrHRESULT32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyE_LogEventType16INT0123plcAttribute_qualified_onlyplcAttribute_strictST_LoggingEventInfo86272schemaSTRING(80) + 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_VetoArbiter + 27168 + I_HigherAuthority + + bVeto + BOOL + Rising edge clears request, hold true to veto continuously, falling edge restores request + 8 + 64 + + 0 + + + + ItemType + Input + + + + + HigherAuthority + I_HigherAuthority + Typically connected to a higher-level arbiter. + 32 + 96 + + + ItemType + Input + + + + + LowerAuthority + I_LowerAuthority + Lower authority to be vetoed + 32 + 128 + + + ItemType + Input + + + + + FFO + FB_HardwareFFOutput + This should be the FFO upstream of the veto device + 32 + 160 + + + ItemType + InOut + + + + + ffKeepItSecretKeepItSafe + FB_FastFault + 25088 + 192 + + + .i_xAutoReset + 1 + + + .i_Desc + Holds beam off until request is back in arbitration + + + .i_TypeCode + 200 + + + .i_xVetoable + 1 + + + + + stStandbyBP + ST_BeamParams + 1760 + 25280 + + + rtVeto + R_TRIG + 64 + 27040 + + + ftVeto + F_TRIG + 64 + 27104 + + + CheckRequest + 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 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + FB_SubSysToArbiter_IO + Use on a subsystem PLC to request from the arbiter + Run at the top of your cycle to receive the latest BP + 138752 + I_HigherAuthority + + Reset + BOOL + Fast fault reset + 8 + 64 + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 72 + + SubSysToArbiter + + + + ItemType + Input + + + + + i_bVeto + BOOL + 8 + 720 + + + ItemType + Input + + + + + Arbiter + FB_Arbiter + 32 + 736 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 768 + + + ItemType + InOut + + + + + i_stCurrentBP + ST_BeamParams_IO + 1760 + 800 + + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + + + TcAddressType + Input + + + + + q_stRequestedBP + ST_BeamParams_IO + 1760 + 2560 + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + + + xTxPDO_toggle + BIT + 1 + 4320 + + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + + + TcAddressType + Input + + + + + xTxPDO_state + BIT + 1 + 4321 + + + pytmc + pv: TxPDO_state + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state + + + TcAddressType + Input + + + + + ffPMPSIO_Disconnect + FB_FastFault + Fast faults + 25088 + 4352 + + + .i_Desc + Arbiter network interface disconnected or not OP + + + .i_DevName + SubSysToArbiter + + + + + nRequestCohort + UDINT + Request cohort + 32 + 29440 + + 0 + + + + pytmc + pv: RequestCohort + io: i + + + + + nActiveCohort + UDINT + Active cohort, updated by incoming BP from arbiter PLC, in the ElevateRequest arbiter call + 32 + 29472 + + 0 + + + + pytmc + pv: ActiveCohort + io: i + + + + + fbVetoArb + FB_VetoArbiter + 27168 + 29504 + + + fbLog + FB_LogMessage + 81984 + 56704 + + + __CHECKREQUEST__XFIRSTTIME + BOOL + 8 + 138688 + + 1 + + + + __CHECKREQUEST__NID + DWORD + 32 + 138720 + + + 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 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + 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 + + + + + ITcAlarm2 + 32 + ITcAlarm + + GetTimeRaised + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + GetTimeConfirmed + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + GetTimeCleared + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + + FB_TcEvent + 3584 + FB_TcEventBase + I_TcEventBase + + nTimestamp + ULINT + 64 + 81030296 + + + __getnTimestamp + ULINT + 64 + + nTimestamp + ULINT + 64 + + + + property + + + monitoring + call + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + Release + HRESULT + 32 + + + Init + + ipEvent + ITcEvent + 32 + + + nTimestamp + ULINT + 64 + + + ipMessage + ITcMessage2 + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + + conditionalshow + + + obsolete + Init is obsolete, use Init2 instead! + + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + Init2 + + ipEvent + ITcEvent + 32 + + + nTimestamp + ULINT + 64 + + + ipArguments + ITcArguments + 32 + + + ipMessage + ITcMessage + 32 + + + ipAlarm + ITcAlarm + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + reflection + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + 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 + + + + + FB_ListenerWrapper + 3840 + 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 + + + + + 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 messageAMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]ITcEventFilter32ITcUnknownITcEventListener32ITcUnknownITcAsyncCollection32ITcAsyncResultCountHRESULT32nCountUDINT32GetHRESULT32nIndexUDINT32pipValueITcUnknown32TcEventField16UINT0123456789101112plcAttribute_qualified_onlyplcAttribute_strictTcEventSortOrder16INT01plcAttribute_qualified_onlyplcAttribute_strictTcEventLimitType16UINT01plcAttribute_qualified_onlyplcAttribute_strictTcExportTimeFormat16UINT012345plcAttribute_qualified_onlyplcAttribute_strictTcExportTimeType16UINT01plcAttribute_qualified_onlyplcAttribute_strictTcExportTimePrecision16INT-103679plcAttribute_qualified_onlyplcAttribute_strictITcExportSettings32ITcUnknownSetSortingHRESULT32eFieldTcEventField16eOrderTcEventSortOrder16SetLimitHRESULT32eTypeTcEventLimitType16nLimitDINT32nOffsetDINT32SetTimeFormatHRESULT32eFormatTcExportTimeFormat16eTypeTcExportTimeType16ePrecisionTcExportTimePrecision16nLangIdDINT32sFormatPCCH32AddLanguageHRESULT32nLangIdDINT32sHeaderPCCH32AddFieldHRESULT32eTypeTcEventField16sHeaderPCCH32sPathPCCH32CreateFilterHRESULT32pipFilterITcEventFilter32AddFilterHRESULT32ipFilterITcEventFilter32ClearHRESULT32ITcClearLoggedEventsSettings32ITcUnknownSetSortingHRESULT32eFieldTcEventField16eOrderTcEventSortOrder16SetLimitHRESULT32eTypeTcEventLimitType16nLimitDINT32nOffsetDINT32AddFilterHRESULT32ipFilterITcEventFilter32ClearHRESULT32ITcRemoteEventLogger32ITcUnknownIsInitializedHRESULT32ConnectHRESULT32netIdAMSNETID32DisconnectHRESULT32IsConnectedHRESULT32GetAmsNetIdHRESULT32pAmsNetIdAMSNETID32ConfirmAlarmsHRESULT32timeStampULINT64ipFilterITcEventFilter32pipResultITcAsyncResult32ClearAlarmsHRESULT32timeStampULINT64bResetConfirmationBOOL3232ipFilterITcEventFilter32pipResultITcAsyncResult32AddListenerHRESULT32ipListenerITcEventListener32ipFilterITcEventFilter32RemoveListenerHRESULT32ipListenerITcEventListener32NotifyListenerHRESULT32ipListenerITcEventListener32SendTcMessageHRESULT32eventClassGUID32eventIdUDINT32severityTcEventSeverity16ipSourceInfoITcSourceInfo32timeStampULINT64ipSerializedArgumentsITcArguments32sJsonAttributePCCH32GetEventTextHRESULT32eventClassGUID32eventIdUDINT32ipSourceInfoITcSourceInfo32ipArgumentsITcArguments32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32eventClassGUID32nLangIdDINT32pipResultITcAsyncStringResult32GetCauseRemedyHRESULT32eventClassGUID32eventIdUDINT32nLangIdDINT32pipCollectionITcAsyncCollection32GetEventClassDetailsHRESULT32eventClassGUID32nLangIdDINT32pipCollectionITcAsyncCollection32GetEventDetailsHRESULT32eventClassGUID32eventIdUDINT32nLangIdDINT32pipCollectionITcAsyncCollection32GetActiveAlarmsHRESULT32pipCollectionITcAsyncCollection32GetLoggedEventsHRESULT32pipSettingsITcExportSettings32pipCollectionITcAsyncCollection32ClearLoggedEventsHRESULT32ipSettingsITcClearLoggedEventsSettings32pipResultITcAsyncResult32I_TcRemoteEventLogger32PVOID__getipDataITcRemoteEventLogger32propertyhideFB_RequestEventText96bBusyBOOL880957912bErrorBOOL880957956hrErrorCodeHRESULT3280957920nStringSizeUDINT3280957944sEventTextSTRING(255)204880957964__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcall__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallRequestRemoteHRESULT32ipRemoteLoggerI_TcRemoteEventLogger32eventClassGUID128nEventIdUDINT32nLangIdDINT32ipArgsI_TcArguments32ipTcRemoteLoggerITcRemoteEventLogger32ipArgumentsITcArguments32conditionalshowGetStringBOOL8sResultSTRING(80)32nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32pEmptySTRING(80)32propertymonitoringcallClear__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcallRequestHRESULT32eventClassGUID128nEventIdUDINT32nLangIdDINT32ipArgsI_TcArguments32ipArgumentsITcArguments32__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyST_PendingEvent86400stEventInfoST_LoggingEventInfo862720pytmc + field: DESC Metadata with the message + + + + + + + + + AMSNETID + 48 + BYTE + + 0 + 6 + + + %d.%d.%d.%d.%d.%d + [0] + [1] + [2] + [3] + [4] + [5] + + + + ITcEventFilter + 32 + ITcUnknown + + + ITcEventListener + 32 + ITcUnknown + + + ITcAsyncCollection + 32 + ITcAsyncResult + + Count + HRESULT + 32 + + nCount + UDINT + 32 + + + + Get + HRESULT + 32 + + nIndex + UDINT + 32 + + + pipValue + ITcUnknown + 32 + + + + + TcEventField + 16 + UINT + + Id + 0 + + + SeverityLevel + 1 + + + EventClass + 2 + + + EventClassName + 3 + + + EventId + 4 + + + EventText + 5 + + + TimeRaised + 6 + + + TimeConfirmed + 7 + + + TimeCleared + 8 + + + SourceName + 9 + + + SourceId + 10 + + + SourceGuid + 11 + + + JsonAttribute + 12 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcEventSortOrder + 16 + INT + + Descending + 0 + + + Ascending + 1 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcEventLimitType + 16 + UINT + + First + 0 + + + Last + 1 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcExportTimeFormat + 16 + UINT + + Filetime + 0 + + + Iso8601 + 1 + + + IecDateAndTime + 2 + + + VariantTime + 3 + + + Localized + 4 + + + Custom + 5 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcExportTimeType + 16 + UINT + + UTC + 0 + + + LocaleTime + 1 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcExportTimePrecision + 16 + INT + + Floating + -1 + + + Seconds + 0 + + + Milliseconds + 3 + + + Microseconds + 6 + + + OneHundertNanoseconds + 7 + + + Nanoseconds + 9 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + ITcExportSettings + 32 + ITcUnknown + + SetSorting + HRESULT + 32 + + eField + TcEventField + 16 + + + eOrder + TcEventSortOrder + 16 + + + + SetLimit + HRESULT + 32 + + eType + TcEventLimitType + 16 + + + nLimit + DINT + 32 + + + nOffset + DINT + 32 + + + + SetTimeFormat + HRESULT + 32 + + eFormat + TcExportTimeFormat + 16 + + + eType + TcExportTimeType + 16 + + + ePrecision + TcExportTimePrecision + 16 + + + nLangId + DINT + 32 + + + sFormat + PCCH + 32 + + + + AddLanguage + HRESULT + 32 + + nLangId + DINT + 32 + + + sHeader + PCCH + 32 + + + + AddField + HRESULT + 32 + + eType + TcEventField + 16 + + + sHeader + PCCH + 32 + + + sPath + PCCH + 32 + + + + CreateFilter + HRESULT + 32 + + pipFilter + ITcEventFilter + 32 + + + + AddFilter + HRESULT + 32 + + ipFilter + ITcEventFilter + 32 + + + + Clear + HRESULT + 32 + + + + ITcClearLoggedEventsSettings + 32 + ITcUnknown + + SetSorting + HRESULT + 32 + + eField + TcEventField + 16 + + + eOrder + TcEventSortOrder + 16 + + + + SetLimit + HRESULT + 32 + + eType + TcEventLimitType + 16 + + + nLimit + DINT + 32 + + + nOffset + DINT + 32 + + + + AddFilter + HRESULT + 32 + + ipFilter + ITcEventFilter + 32 + + + + Clear + HRESULT + 32 + + + + ITcRemoteEventLogger + 32 + ITcUnknown + + IsInitialized + HRESULT + 32 + + + Connect + HRESULT + 32 + + netId + AMSNETID + 32 + + + + Disconnect + HRESULT + 32 + + + IsConnected + HRESULT + 32 + + + GetAmsNetId + HRESULT + 32 + + pAmsNetId + AMSNETID + 32 + + + + ConfirmAlarms + HRESULT + 32 + + timeStamp + ULINT + 64 + + + ipFilter + ITcEventFilter + 32 + + + pipResult + ITcAsyncResult + 32 + + + + ClearAlarms + HRESULT + 32 + + timeStamp + ULINT + 64 + + + bResetConfirmation + BOOL32 + 32 + + + ipFilter + ITcEventFilter + 32 + + + pipResult + ITcAsyncResult + 32 + + + + AddListener + HRESULT + 32 + + ipListener + ITcEventListener + 32 + + + ipFilter + ITcEventFilter + 32 + + + + RemoveListener + HRESULT + 32 + + ipListener + ITcEventListener + 32 + + + + NotifyListener + HRESULT + 32 + + ipListener + ITcEventListener + 32 + + + + SendTcMessage + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + severity + TcEventSeverity + 16 + + + ipSourceInfo + ITcSourceInfo + 32 + + + timeStamp + ULINT + 64 + + + ipSerializedArguments + ITcArguments + 32 + + + sJsonAttribute + PCCH + 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 + + + + GetCauseRemedy + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + nLangId + DINT + 32 + + + pipCollection + ITcAsyncCollection + 32 + + + + GetEventClassDetails + HRESULT + 32 + + eventClass + GUID + 32 + + + nLangId + DINT + 32 + + + pipCollection + ITcAsyncCollection + 32 + + + + GetEventDetails + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + nLangId + DINT + 32 + + + pipCollection + ITcAsyncCollection + 32 + + + + GetActiveAlarms + HRESULT + 32 + + pipCollection + ITcAsyncCollection + 32 + + + + GetLoggedEvents + HRESULT + 32 + + pipSettings + ITcExportSettings + 32 + + + pipCollection + ITcAsyncCollection + 32 + + + + ClearLoggedEvents + HRESULT + 32 + + ipSettings + ITcClearLoggedEventsSettings + 32 + + + pipResult + ITcAsyncResult + 32 + + + + + + + + I_TcRemoteEventLogger + 32 + PVOID + + __getipData + ITcRemoteEventLogger + 32 + + + property + + + hide + + + + + + FB_RequestEventText + 96 + + bBusy + BOOL + 8 + 81029872 + + + bError + BOOL + 8 + 81029916 + + + hrErrorCode + HRESULT + 32 + 81029880 + + + nStringSize + UDINT + 32 + 81029904 + + + sEventText + STRING(255) + 2048 + 81029924 + + + __getbBusy + BOOL + 8 + + bBusy + BOOL + 8 + + + b32IsBusy + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + monitoring + call + + + + + RequestRemote + HRESULT + 32 + + ipRemoteLogger + I_TcRemoteEventLogger + 32 + + + eventClass + GUID + 128 + + + nEventId + UDINT + 32 + + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + ipArgs + I_TcArguments + 32 + + + ipTcRemoteLogger + ITcRemoteEventLogger + 32 + + + ipArguments + ITcArguments + 32 + + + + conditionalshow + + + + + GetString + BOOL + 8 + + sResult + STRING(80) + 32 + + + nResult + buffer size in bytes + UDINT + 32 + + + + __getnStringSize + UDINT + 32 + + nStringSize + UDINT + 32 + + + pEmpty + STRING(80) + 32 + + + + property + + + monitoring + call + + + + + Clear + + + __getbError + BOOL + 8 + + bError + BOOL + 8 + + + b32HasError + BOOL32 + 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 + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + ST_PendingEvent + 86400 + + stEventInfo + ST_LoggingEventInfo + 86272 + 0 + + + pytmc + pv: - bInUseBOOL886272fbRequestEventTextFB_RequestEventText9686304FB_JsonReadWriteDatatype96initStatusHRESULT3232-1743714536ItemTypeOutputipJsonITcIecApplicationJson3264GetJsonFromSymbolBOOL8sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32nJsonUDINT32pJsonSTRING(80)32hrErrorCodeHRESULT32ItemTypeOutputCopyJsonStringFromSymbolPropertiesUDINT32sDatatype retrieve with GetDatatypeNameByAddress()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOutpDocSTRING(80)32ItemTypeInOutnDocUDINT32hrErrorCodeHRESULT32ItemTypeOutputpTmpSTRING(80)32CopySymbolNameByAddressUDINT32nDataUDINT32pDataPVOID32sNameSTRING(80)32ItemTypeInOutnNameUDINT32hrErrorCodeHRESULT32ItemTypeOutputpTmpSTRING(80)32GetSizeJsonStringFromSymbolUDINT32sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputnSizeUDINT32pTmpSTRING(80)32GetJsonStringFromSymbolPropertiesSTRING(255)2048sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOuthrErrorCodeHRESULT32ItemTypeOutputnSizeUDINT32pTmpSTRING(80)32AddJsonKeyPropertiesFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsKeySTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOuthrErrorCodeHRESULT32ItemTypeOutputipWriterITcJsonSaxWriter32GetDatatypeNameByAddressSTRING(80)648nDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputlengthUDINT32dataTypeSTRING(80)648SetSymbolFromJsonBOOL8sJsonSTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputGetSizeJsonStringFromSymbolPropertiesUDINT32sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOuthrErrorCodeHRESULT32ItemTypeOutputnSizeUDINT32pTmpSTRING(80)32GetJsonStringFromSymbolSTRING(255)2048sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputnSizeUDINT32pTmpSTRING(80)32CopyJsonStringFromSymbolUDINT32sDatatype retrieve with GetDatatypeNameByAddress()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32pDocSTRING(80)32ItemTypeInOutnDocUDINT32hrErrorCodeHRESULT32ItemTypeOutputpTmpSTRING(80)32GetSymbolNameByAddressSTRING(255)2048nDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputlengthUDINT32AddJsonValueFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputipWriterITcJsonSaxWriter32AddJsonKeyValueFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsKeySTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputipWriterITcJsonSaxWriter32PouTypeFunctionBlockno_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_Listener944896FB_ListenerBasenEventIdxUINT16960nPendingEventsUINT161120bLogToVisualStudioBOOL81280pytmc + + + + + + bInUse + BOOL + 8 + 86272 + + + fbRequestEventText + FB_RequestEventText + 96 + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + pTmp + STRING(80) + 32 + + + + CopySymbolNameByAddress + UDINT + 32 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + sName + target string buffer where the symbol name should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nName + size in bytes of target string buffer + UDINT + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + ipWriter + ITcJsonSaxWriter + 32 + + + + GetDatatypeNameByAddress + STRING(80) + 648 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + 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 + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + pTmp + STRING(80) + 32 + + + + GetSymbolNameByAddress + STRING(255) + 2048 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + 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 + 944896 + 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_PendingEvent010864000384ipMessageConfigITcEventFilterConfig32864384fbSocketFB_ConnectionlessSocket32864416bConfiguredBOOL88644480nMaxEventsUINT1686446410__CONFIGURE__BSUBSCRIBEDBOOL88644800__PUBLISHEVENTS__FBJSONFB_JsonSaxWriter256864512__PUBLISHEVENTS__FBJSONDATATYPEFB_JsonReadWriteDatatype96864768__PUBLISHEVENTS__SJSONDOCSTRING(10000)80008864864OnAlarmRaisedfbEventFB_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-33PouTypeFunctionBlockFB_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_TIME324128ST_IP_ADDR_STRING320pNextDWORD3200sIpAddrT_IPv4Addr12832sIpMaskT_IPv4Addr128160dwContextDWORD322880conditionalshowST_IP_ADAPTER_INFO5120cbNextEntryOffsetDWORD 0 => offset to the next entry, If == 0 => last entry. ]]>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 + + 864000 + 384 + + + ipMessageConfig + ITcEventFilterConfig + 32 + 864384 + + + fbSocket + FB_ConnectionlessSocket + 32 + 864416 + + + bConfigured + BOOL + 8 + 864448 + + 0 + + + + nMaxEvents + UINT + The maximum number of events allowed *per-cycle* + 16 + 864464 + + 10 + + + + __CONFIGURE__BSUBSCRIBED + BOOL + 8 + 864480 + + 0 + + + + __PUBLISHEVENTS__FBJSON + FB_JsonSaxWriter + 256 + 864512 + + + __PUBLISHEVENTS__FBJSONDATATYPE + FB_JsonReadWriteDatatype + 96 + 864768 + + + __PUBLISHEVENTS__SJSONDOC + STRING(10000) + 80008 + 864864 + + + 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 + + + + + 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 + + + + 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. + 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. ADS 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 + 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_LogHandler5784896fbTcAdsListenerFB_Listener94489664ItemTypeInputpytmc + + 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 + 5784896 + + fbTcAdsListener + FB_Listener + 944896 + 64 + + + ItemType + Input + + + pytmc + pv: ADS - fbTcRouterListenerFB_Listener944896944960ItemTypeInputpytmc + + + + + + fbTcRouterListener + FB_Listener + 944896 + 944960 + + + ItemType + Input + + + pytmc + pv: Router - fbTcRTimeListenerFB_Listener9448961889856ItemTypeInputpytmc + + + + + + fbTcRTimeListener + FB_Listener + 944896 + 1889856 + + + ItemType + Input + + + pytmc + pv: RTime - fbTcSystemListenerFB_Listener9448962834752ItemTypeInputpytmc + + + + + + fbTcSystemListener + FB_Listener + 944896 + 2834752 + + + ItemType + Input + + + pytmc + pv: System - fbWindowsListenerFB_Listener9448963779648ItemTypeInputpytmc + + + + + + fbWindowsListener + FB_Listener + 944896 + 3779648 + + + ItemType + Input + + + pytmc + pv: Windows - fbLCLSListenerFB_Listener9448964724544ItemTypeInputpytmc + + + + + + fbLCLSListener + FB_Listener + 944896 + 4724544 + + + ItemType + Input + + + pytmc + pv: LCLS - bInitializedBOOL856694400bReadyToLogBOOL856694480rtFirstLogR_TRIG645669472fbGetHostNameFB_GetPLCHostname61765669536fbGetIPFB_GetPLCIPAddress1011845675712fbListenerFB_Listener325776896fbListenersFB_Listener061925776928eMinSeverityTcEventSeverity1657771200rtResetR_TRIG645777152namingomitbResetBOOL85777216fbSocketFB_ConnectionlessSocket67845777248nIUINT165784032SocketEnableBOOL85784048ctuSocketErrorCTU1285784064.PV3tRetryConnectionTON2245784192.PT3600000tofTrickleBreakerPreTOF2245784416.PT1000tonTrickleBreakerTON2245784640.PT10000bTripConBOOL85784864nNumListenersUINT1657848806CircuitBreakerPouTypeFunctionBlockComBuffer + + + + + bInitialized + BOOL + 8 + 5669440 + + 0 + + + + bReadyToLog + BOOL + 8 + 5669448 + + 0 + + + + rtFirstLog + R_TRIG + 64 + 5669472 + + + fbGetHostName + FB_GetPLCHostname + 6176 + 5669536 + + + fbGetIP + FB_GetPLCIPAddress + 101184 + 5675712 + + + fbListener + FB_Listener + 32 + 5776896 + + + fbListeners + FB_Listener + + 0 + 6 + + 192 + 5776928 + + + eMinSeverity + TcEventSeverity + Default minimum severity for subscriptions + 16 + 5777120 + + 0 + + + + rtReset + R_TRIG + Reset trigger + 64 + 5777152 + + + naming + omit + + + + + bReset + BOOL + 8 + 5777216 + + + fbSocket + FB_ConnectionlessSocket + 6784 + 5777248 + + + nI + UINT + 16 + 5784032 + + + SocketEnable + BOOL + 8 + 5784048 + + + ctuSocketError + CTU + Circuit breaker for socket errors. 3 errors before it stops. + 128 + 5784064 + + + .PV + 3 + + + + + tRetryConnection + TON + Retry after an hour + 224 + 5784192 + + + .PT + 3600000 + + + + + tofTrickleBreakerPre + TOF + 224 + 5784416 + + + .PT + 1000 + + + + + tonTrickleBreaker + TON + 224 + 5784640 + + + .PT + 10000 + + + + + bTripCon + BOOL + 8 + 5784864 + + + nNumListeners + UINT + 16 + 5784880 + + 6 + + + + CircuitBreaker + + + + PouType + FunctionBlock + + + + + ComBuffer + This data type will be used as a software character buffer between serial line I/O and user functions as ReceiveByte or SendByte. -]]>2512BufferBYTE030124080RdIdxUINT162416WrIdxUINT162432CountUINT162448FreeByteUINT162464ErrorUINT162480blockedBOOL82496ST_PfeifferControl160xEnableCommBOOL80pytmc + + 2512 + + Buffer + BYTE + + 0 + 301 + + ringbuffer + 2408 + 0 + + + RdIdx + UINT + first valid byte in ringbuffer + 16 + 2416 + + + WrIdx + UINT + first invalid byte in ringbuffer + 16 + 2432 + + + Count + UINT + number of bytes in ringbuffer + 16 + 2448 + + + FreeByte + UINT + number of free bytes in ringbuffer + 16 + 2464 + + + Error + UINT + error code of serial line interface + 16 + 2480 + + + blocked + BOOL + semaphore for task synchronization + 8 + 2496 + + + + ST_PfeifferControl + 160 + + xEnableComm + BOOL + enables communication + 8 + 0 + + + pytmc + pv: COMM_EN; io: io; - iSerialAddressINT1616pytmc + + + + + + iSerialAddress + INT + RS-485 Address + 16 + 16 + + + pytmc + pv: ADDR; io: io; - xPumpingStation_010BOOL832pytmc + + + + + + xPumpingStation_010 + BOOL + pumping station (equivalent to ilk bit for varian) + 8 + 32 + + + pytmc + pv: EXT_ILK_OK; field: ZNAM ILK ACTIVE; field: ONAM ILK OK; io: i; - iSetRotationSpeed_707INT1648100pytmc + + + + + + iSetRotationSpeed_707 + INT + 16 + 48 + + 100 + + + + pytmc + pv: SetPumpSpeed; io: i; - xMotorPump_023BOOL864pytmc + + + + + + xMotorPump_023 + BOOL + speed setting in % (normally 100%) + RUN_DO bit + 8 + 64 + + + pytmc + pv: RUN_DO; io: i; - iGasMode_027INT1680pytmc + + + + + + iGasMode_027 + INT + 16 + 80 + + + pytmc + pv: GAS_MODE; io: i0; - xIlkBOOL896pytmc + + + + + + xIlk + BOOL + interlock bit + 8 + 96 + + + pytmc + pv: ILK_OK; field: ZNAM ILK ACTIVE; field: ONAM ILK OK; io: i; - xRunSWBOOL8104pytmc + + + + + + xRunSW + BOOL + run/start bit + 8 + 104 + + + pytmc + pv: RUN_SW; io: io; - xErrorAck_009BOOL8112pytmc + + + + + + xErrorAck_009 + BOOL + error acknowledgement/reset bit + 8 + 112 + + + pytmc + pv: ERR_RST; io: io; - uiPowerPct_708UINT16128xSetSpdMode_026BOOL8144ST_PfeifferStatus1152xPumpingStation_010BOOL80pytmc + + + + + + uiPowerPct_708 + UINT + power consumption setting in % (normally 100%) + 16 + 128 + + + xSetSpdMode_026 + BOOL + 8 + 144 + + + + ST_PfeifferStatus + 1152 + + xPumpingStation_010 + BOOL + 8 + 0 + + + pytmc + pv: PumpingStation_RBV; field: ZNAM ILK ACTIVE; field: ONAM ILK OK; io: i; - xMotorPump_023BOOL88pytmc + + + + + + xMotorPump_023 + BOOL + 8 + 8 + + + pytmc + pv: PumpingStation_RBV; field: ZNAM FALSE; field: ONAM TRUE; io: i; - iGasMode_027INT1616pytmc + + + + + + iGasMode_027 + INT + 16 + 16 + + + pytmc + pv: GasMode_RBV; io: i; - sErrorCode_303STRING(80)64832pytmc + + + + + + sErrorCode_303 + STRING(80) + 648 + 32 + + + pytmc + pv: ErrorMessage_RBV; io: i; - iErrorCode_303INT16688pytmc + + + + + + iErrorCode_303 + INT + 16 + 688 + + + pytmc + pv: ErrorCode_RBV; io: i; - iWarningCode_303INT16704pytmc + + + + + + iWarningCode_303 + INT + 16 + 704 + + + pytmc + pv: WarningCode_RBV; io: i; - xExcessTempPump_305BOOL8720pytmc + + + + + + xExcessTempPump_305 + BOOL + 8 + 720 + + + pytmc + pv: ExcessPumpTemp_RBV; field: ZNAM FALSE; field: ONAM TRUE; io: i; - xRotationSpeedAttn_306BOOL8728pytmc + + + + + + xRotationSpeedAttn_306 + BOOL + 8 + 728 + + + pytmc + pv: TotationSpeedAttn_RBV; field: ZNAM FALSE; field: ONAM TRUE; io: i; - xPumpAccelerating_307BOOL8736pytmc + + + + + + xPumpAccelerating_307 + BOOL + 8 + 736 + + + pytmc + pv: PumpAccelerating_RBV; field: ZNAM FALSE; field: ONAM TRUE; io: i; - diActiveRotationSpeed_309DINT32768pytmc + + + + + + diActiveRotationSpeed_309 + DINT + 32 + 768 + + + pytmc + pv: PumpSpeed_RBV; io: i; - lrDriveCurrent_310LREAL64832pytmc + + + + + + lrDriveCurrent_310 + LREAL + 64 + 832 + + + pytmc + pv: DriveCurrent_RBV; io: i; - diDrivePower_316DINT32896pytmc + + + + + + diDrivePower_316 + DINT + 32 + 896 + + + pytmc + pv: DrivePower_RBV; io: i; - diTempElec_326DINT32928pytmc + + + + + + diTempElec_326 + DINT + 32 + 928 + + + pytmc + pv: TempElect_RBV; io: i; - diTempPmpBot_330DINT32960pytmc + + + + + + diTempPmpBot_330 + DINT + 32 + 960 + + + pytmc + pv: TempPump_RBV; io: i; - diTempBearng_342DINT32992pytmc + + + + + + diTempBearng_342 + DINT + 32 + 992 + + + pytmc + pv: TempBearing_RBV; io: i; - diTempMotor_346DINT321024pytmc + + + + + + diTempMotor_346 + DINT + 32 + 1024 + + + pytmc + pv: TempMotor_RBV; io: i; - uiPowerPct_708UINT161056pytmc + + + + + + uiPowerPct_708 + UINT + 16 + 1056 + + + pytmc + pv: Power_RBV; io: i; - xTimeoutBOOL81072pytmc + + + + + + xTimeout + BOOL + 8 + 1072 + + + pytmc + pv: Timeout_RBV; field: ZNAM FALSE; field: ONAM TRUE; io: i; - iSetRotationSpeed_707INT161088iSetSpdMode_026INT161104xErrorAcknowledgedBOOL81120ClearComBuffer + + + + + iSetRotationSpeed_707 + INT + 16 + 1088 + + + iSetSpdMode_026 + INT + 16 + 1104 + + + xErrorAcknowledged + BOOL + Not actually read back from the pump, but tells us ErrAck has processed + 8 + 1120 + + + + ClearComBuffer + ================================================================= * * Modul: ClearComBuffer * The function block clears the software read/write @@ -465,7 +17263,136 @@ contributing fast faults, unless the FFO is currently vetoed. * Date: 01.12.1998 * *================================================================= - ]]>128BufferComBuffer3232ItemTypeInOutnBlockedCounterUDINT3264iUINT1696PouTypeFunctionBlockComError_t16INTCOMERROR_NOERROR0COMERROR_PARAMETERCHANGED1COMERROR_TXBUFFOVERRUN2 transmit buffer ]]>COMERROR_STRINGOVERRUN10COMERROR_ZEROCHARINVALID11COMERROR_INVALIDPOINTER20COMERROR_INVALIDRXPOINTER21COMERROR_INVALIDRXLENGTH22COMERROR_DATASIZEOVERRUN23COMERROR_INVALIDPROCESSDATASIZE24COMERROR_MODENOTSUPPORTED257COMERROR_INVALIDCHANNELNUMBER258COMERROR_INVALIDBAUDRATE4097COMERROR_INVALIDNUMDATABITS4098COMERROR_INVALIDNUMSTOPBITS4099COMERROR_INVALIDPARITY4100COMERROR_INVALIDHANDSHAKE4101COMERROR_INVALIDNUMREGISTERS4102COMERROR_INVALIDREGISTER4103COMERROR_TIMEOUT4104SendByte + 128 + + Buffer + ComBuffer + 32 + 32 + + + ItemType + InOut + + + + + nBlockedCounter + UDINT + 32 + 64 + + + i + UINT + 16 + 96 + + + + PouType + FunctionBlock + + + + + ComError_t + 16 + INT + + COMERROR_NOERROR + 0 + + + COMERROR_PARAMETERCHANGED + 1 + input parameters changed during reception + + + COMERROR_TXBUFFOVERRUN + 2 + string > transmit buffer + + + COMERROR_STRINGOVERRUN + 10 + end of string + + + COMERROR_ZEROCHARINVALID + 11 + string cannot receive zero characters + + + COMERROR_INVALIDPOINTER + 20 + invalid data pointer, e. g. zero + + + COMERROR_INVALIDRXPOINTER + 21 + invalid data pointer for ReceiveData + + + COMERROR_INVALIDRXLENGTH + 22 + invalid length for ReceiveData, e. g. zero + + + COMERROR_DATASIZEOVERRUN + 23 + end of data block + + + COMERROR_INVALIDPROCESSDATASIZE + 24 + + + COMERROR_MODENOTSUPPORTED + 257 + mode not supported (3-Byte Terminals connectd to bus controllers) + + + COMERROR_INVALIDCHANNELNUMBER + 258 + + + COMERROR_INVALIDBAUDRATE + 4097 + + + COMERROR_INVALIDNUMDATABITS + 4098 + + + COMERROR_INVALIDNUMSTOPBITS + 4099 + + + COMERROR_INVALIDPARITY + 4100 + + + COMERROR_INVALIDHANDSHAKE + 4101 + + + COMERROR_INVALIDNUMREGISTERS + 4102 + + + COMERROR_INVALIDREGISTER + 4103 + + + COMERROR_TIMEOUT + 4104 + + + + SendByte + ================================================================= * * Modul: SendByte * The function block writes one byte into @@ -473,7 +17400,218 @@ contributing fast faults, unless the FFO is currently vetoed. * Date: 11.8.98 * *================================================================= - ]]>128SendByteBYTE832ItemTypeInputBusyBOOL840ItemTypeOutputErrorComError_t1648ItemTypeOutputTxBufferComBuffer3264ItemTypeInOutnBlockedCounterUDINT3296PouTypeFunctionBlock_SendString2336SendStringSTRING(255)204832ItemTypeInputBusyBOOL82080ItemTypeOutputErrorComError_t162096ItemTypeOutputTXbufferComBuffer322112ItemTypeInOutposINT162144SendSendByte1282176cBYTE82304lsINT162320PouTypeFunctionBlockSendString3072SendStringSTRING(80)64832ItemTypeInputBusyBOOL8680ItemTypeOutputErrorComError_t16688ItemTypeOutputTXbufferComBuffer32704ItemTypeInOutSendStringStandard_SendString2336736PouTypeFunctionBlockReceiveByte + 128 + + SendByte + BYTE + 8 + 32 + + + ItemType + Input + + + + + Busy + BOOL + 8 + 40 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 48 + + + ItemType + Output + + + + + TxBuffer + ComBuffer + 32 + 64 + + + ItemType + InOut + + + + + nBlockedCounter + UDINT + 32 + 96 + + + + PouType + FunctionBlock + + + + + _SendString + 2336 + + SendString + STRING(255) + 2048 + 32 + + + ItemType + Input + + + + + Busy + BOOL + 8 + 2080 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 2096 + + + ItemType + Output + + + + + TXbuffer + ComBuffer + 32 + 2112 + + + ItemType + InOut + + + + + pos + INT + 16 + 2144 + + + Send + SendByte + 128 + 2176 + + + c + BYTE + 8 + 2304 + + + ls + INT + 16 + 2320 + + + + PouType + FunctionBlock + + + + + SendString + 3072 + + SendString + STRING(80) + 648 + 32 + + + ItemType + Input + + + + + Busy + BOOL + 8 + 680 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 688 + + + ItemType + Output + + + + + TXbuffer + ComBuffer + 32 + 704 + + + ItemType + InOut + + + + + SendStringStandard + _SendString + 2336 + 736 + + + + PouType + FunctionBlock + + + + + ReceiveByte + ================================================================= * * Modul: ReceiveByte * The function block reads one byte out of @@ -481,11 +17619,1492 @@ contributing fast faults, unless the FFO is currently vetoed. * Date: 11.8.98 * *================================================================= - ]]>128ByteReceivedBOOL832ItemTypeOutputReceivedByteBYTE840ItemTypeOutputErrorComError_t1648ItemTypeOutputRxBufferComBuffer3264ItemTypeInOutnBlockedCounterUDINT3296PouTypeFunctionBlock_ReceiveString4736PrefixSTRING(80)64832ItemTypeInputSuffixSTRING(80)648680ItemTypeInputTimeoutTIME321344ItemTypeInputResetBOOL81376ItemTypeInputpReceivedStringBYTE321408ItemTypeInputSizeReceivedStringINT161440ItemTypeInputStringReceivedBOOL81456ItemTypeOutputBusyBOOL81464ItemTypeOutputErrorComError_t161472ItemTypeOutputRxTimeoutBOOL81488ItemTypeOutputErrorCountPrefixINT161504ItemTypeOutputReceivedPrefixSTRING(80)6481520ItemTypeOutputRXbufferComBuffer322176ItemTypeInOutRxStringSTRING(255)20482208stateINT164256cBYTE84272lINT164288l2INT164304plINT164320slINT164336iTimeoutTIME324352ReceiveReceiveByte1284384TimeoutTimerTOF2244512PouTypeFunctionBlockReceiveString6912PrefixSTRING(80)64832ItemTypeInputSuffixSTRING(80)648680ItemTypeInputTimeoutTIME321344ItemTypeInputResetBOOL81376ItemTypeInputStringReceivedBOOL81384ItemTypeOutputBusyBOOL81392ItemTypeOutputErrorComError_t161408ItemTypeOutputRxTimeoutBOOL81424ItemTypeOutputReceivedStringSTRING(80)321440ItemTypeInOutRXbufferComBuffer321472ItemTypeInOutReceiveStringStandard_ReceiveString47361504ErrorCountPrefixINT166240ReceivedPrefixSTRING(80)6486256PouTypeFunctionBlockFB_PfeifferTransaction26400i_xExecuteBOOL832ItemTypeInputi_iAddressINT1648ItemTypeInputi_xActionCommandBOOL864ItemTypeInputi_iParameterNumINT1680ItemTypeInputi_iDataLengthINT1696ItemTypeInputi_sSendDataSTRING(80)648112ItemTypeInputi_tTimeOutTIME327681000ItemTypeInputq_xDoneBOOL8800ItemTypeOutputq_sResponseDataSTRING(80)648808ItemTypeOutputq_xErrorBOOL81456ItemTypeOutputq_xTimeoutBOOL81464ItemTypeOutputq_sResultSTRING(80)6481472ItemTypeOutputq_sLastSentStringSTRING(80)6482120ItemTypeOutputq_sLastReceivedStringSTRING(80)6482768ItemTypeOutputiq_stSerialRXBufferComBuffer323424ItemTypeInOutiq_stSerialTXBufferComBuffer323456ItemTypeInOutrtExecuteR_TRIG643488iStepINT163552fbClearComBufferClearComBuffer1283584sSendStringSTRING(80)6483712fbFormatStringFB_FormatString78404384iChecksumINT1612224fbSendStringSendString307212256fbReceiveStringReceiveString691215328sReceivedStringSTRING(80)64822240tonTimeoutTON22422912sRXStringForChecksumSTRING(80)64823136sReceiveStringWOChecksumSTRING(80)64823784sRXCheckSumSTRING(80)64824432sRXAddressSTRING(80)64825080sRXParmNumSTRING(80)64825728PouTypeFunctionBlockFB_PfeifferSerialDriver39872i_xExecuteBOOL832ItemTypeInputi_tTimeOutTIME32641000ItemTypeInputi_stControlST_PfeifferControl16096ItemTypeInputq_xDoneBOOL8256ItemTypeOutputq_xErrorBOOL8264ItemTypeOutputq_xTimeoutBOOL8272ItemTypeOutputq_sResultSTRING(255)2048280ItemTypeOutputq_sLastSentStringSTRING(80)6482328ItemTypeOutputq_sLastReceivedStringSTRING(80)6482976ItemTypeOutputq_stStatusST_PfeifferStatus11523648ItemTypeOutputiq_stSerialRXBufferComBuffer324800ItemTypeInOutiq_stSerialTXBufferComBuffer324832ItemTypeInOutrtExecuteR_TRIG644864iStepINT164928sSendDataSTRING(80)6484944fbPfeifferTransactionFB_PfeifferTransaction264005600fbFormatStringFB_FormatString784032000diOldSetRotationSpeed_707DINT3239840_A_ClearStatusa_ClearTransPouTypeFunctionBlockFB_PFEIFFER_COM797696astPfeifferControlST_PfeifferControl1203232ItemTypeInOutastPfeifferStatusST_PfeifferStatus1203264ItemTypeInOutSerialRXBufferComBuffer3296ItemTypeInOutSerialTXBufferComBuffer32128ItemTypeInOutafbPfeifferSerialDriverFB_PfeifferSerialDriver120797440192iPumpINT167976321tTimeOutTIME327976641000PouTypeFunctionBlockE_PersistentMode16INTSPDM_2PASS0SPDM_VAR_BOOST1WritePersistentData1600NETIDT_AmsNetID19232ItemTypeInputPORTUINT16224ItemTypeInputSTARTBOOL8240ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputfbAdsWriteADSWRITE1216352.IDXGRP139460625.IDXOFFS0conditionalshowMODEE_PersistentMode1615680conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_GaugeBase85312fbLoggerFB_LogMessage8198464.eSubsystem1ePrevStateE_PressureState1682048tErrorPresentR_TRIG6482080tActionR_TRIG6482144tOverrideActivatedR_TRIG6482208tStateR_TRIG6482272sPathSTRING(80)64882336instance-pathnoinitbRestorePersistentDataBOOL8829841stateTimerTON22483008fbGetCurTaskIdxGETCURTASKINDEX12883232fbWritePersistentDataWritePersistentData160083360tRecoverTON22484960rVAC_SPREAL3285184TcPersistentrPRO_SPREAL3285216TcPersistentrHYS_PRREAL3285248TcPersistentPouTypeFunctionBlockreflectionFB_MKS275 + 128 + + ByteReceived + BOOL + 8 + 32 + + + ItemType + Output + + + + + ReceivedByte + BYTE + 8 + 40 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 48 + + + ItemType + Output + + + + + RxBuffer + ComBuffer + 32 + 64 + + + ItemType + InOut + + + + + nBlockedCounter + UDINT + 32 + 96 + + + + PouType + FunctionBlock + + + + + _ReceiveString + 4736 + + Prefix + STRING(80) + 648 + 32 + + + ItemType + Input + + + + + Suffix + STRING(80) + 648 + 680 + + + ItemType + Input + + + + + Timeout + TIME + 32 + 1344 + + + ItemType + Input + + + + + Reset + BOOL + 8 + 1376 + + + ItemType + Input + + + + + pReceivedString + BYTE + Pointer to variable length string + 32 + 1408 + + + ItemType + Input + + + + + SizeReceivedString + INT + variable string size + 16 + 1440 + + + ItemType + Input + + + + + StringReceived + BOOL + 8 + 1456 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 1464 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 1472 + + + ItemType + Output + + + + + RxTimeout + BOOL + 8 + 1488 + + + ItemType + Output + + + + + ErrorCountPrefix + INT + invalid characters received before prefix + 16 + 1504 + + + ItemType + Output + + + + + ReceivedPrefix + STRING(80) + received prefix including invalid characters + 648 + 1520 + + + ItemType + Output + + + + + RXbuffer + ComBuffer + 32 + 2176 + + + ItemType + InOut + + + + + RxString + STRING(255) + 2048 + 2208 + + + state + INT + 16 + 4256 + + + c + BYTE + 8 + 4272 + + + l + INT + 16 + 4288 + + + l2 + INT + 16 + 4304 + + + pl + INT + 16 + 4320 + + + sl + INT + 16 + 4336 + + + iTimeout + TIME + 32 + 4352 + + + Receive + ReceiveByte + 128 + 4384 + + + TimeoutTimer + TOF + 224 + 4512 + + + + PouType + FunctionBlock + + + + + ReceiveString + 6912 + + Prefix + STRING(80) + 648 + 32 + + + ItemType + Input + + + + + Suffix + STRING(80) + 648 + 680 + + + ItemType + Input + + + + + Timeout + TIME + 32 + 1344 + + + ItemType + Input + + + + + Reset + BOOL + 8 + 1376 + + + ItemType + Input + + + + + StringReceived + BOOL + 8 + 1384 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 1392 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 1408 + + + ItemType + Output + + + + + RxTimeout + BOOL + 8 + 1424 + + + ItemType + Output + + + + + ReceivedString + STRING(80) + 32 + 1440 + + + ItemType + InOut + + + + + RXbuffer + ComBuffer + 32 + 1472 + + + ItemType + InOut + + + + + ReceiveStringStandard + _ReceiveString + 4736 + 1504 + + + ErrorCountPrefix + INT + 16 + 6240 + + + ReceivedPrefix + STRING(80) + 648 + 6256 + + + + PouType + FunctionBlock + + + + + FB_PfeifferTransaction + 26400 + + i_xExecute + BOOL + rising edge execute + 8 + 32 + + + ItemType + Input + + + + + i_iAddress + INT + RS-485 Address of Pump + 16 + 48 + + + ItemType + Input + + + + + i_xActionCommand + BOOL + False is data request, True is control command + 8 + 64 + + + ItemType + Input + + + + + i_iParameterNum + INT + Parameter Number 1-999 + 16 + 80 + + + ItemType + Input + + + + + i_iDataLength + INT + Send Data Length + 16 + 96 + + + ItemType + Input + + + + + i_sSendData + STRING(80) + Send Data + 648 + 112 + + + ItemType + Input + + + + + i_tTimeOut + TIME + Maximum wait time for reply + 32 + 768 + + 1000 + + + + ItemType + Input + + + + + q_xDone + BOOL + 8 + 800 + + + ItemType + Output + + + + + q_sResponseData + STRING(80) + 648 + 808 + + + ItemType + Output + + + + + q_xError + BOOL + 8 + 1456 + + + ItemType + Output + + + + + q_xTimeout + BOOL + 8 + 1464 + + + ItemType + Output + + + + + q_sResult + STRING(80) + 648 + 1472 + + + ItemType + Output + + + + + q_sLastSentString + STRING(80) + Last String Sent to Serial Device - for debugging + 648 + 2120 + + + ItemType + Output + + + + + q_sLastReceivedString + STRING(80) + Last String Received from Serial Device - for debugging + 648 + 2768 + + + ItemType + Output + + + + + iq_stSerialRXBuffer + ComBuffer + 32 + 3424 + + + ItemType + InOut + + + + + iq_stSerialTXBuffer + ComBuffer + 32 + 3456 + + + ItemType + InOut + + + + + rtExecute + R_TRIG + 64 + 3488 + + + iStep + INT + 16 + 3552 + + + fbClearComBuffer + ClearComBuffer + 128 + 3584 + + + sSendString + STRING(80) + 648 + 3712 + + + fbFormatString + FB_FormatString + 7840 + 4384 + + + iChecksum + INT + 16 + 12224 + + + fbSendString + SendString + 3072 + 12256 + + + fbReceiveString + ReceiveString + 6912 + 15328 + + + sReceivedString + STRING(80) + 648 + 22240 + + + tonTimeout + TON + 224 + 22912 + + + sRXStringForChecksum + STRING(80) + 648 + 23136 + + + sReceiveStringWOChecksum + STRING(80) + 648 + 23784 + + + sRXCheckSum + STRING(80) + 648 + 24432 + + + sRXAddress + STRING(80) + 648 + 25080 + + + sRXParmNum + STRING(80) + 648 + 25728 + + + + PouType + FunctionBlock + + + + + FB_PfeifferSerialDriver + 39872 + + i_xExecute + BOOL + rising edge execute + 8 + 32 + + + ItemType + Input + + + + + i_tTimeOut + TIME + Maximum wait time for reply + 32 + 64 + + 1000 + + + + ItemType + Input + + + + + i_stControl + ST_PfeifferControl + 160 + 96 + + + ItemType + Input + + + + + q_xDone + BOOL + 8 + 256 + + + ItemType + Output + + + + + q_xError + BOOL + 8 + 264 + + + ItemType + Output + + + + + q_xTimeout + BOOL + 8 + 272 + + + ItemType + Output + + + + + q_sResult + STRING(255) + 2048 + 280 + + + ItemType + Output + + + + + q_sLastSentString + STRING(80) + Last String Sent to Serial Device - for debugging + 648 + 2328 + + + ItemType + Output + + + + + q_sLastReceivedString + STRING(80) + Last String Received from Serial Device - for debugging + 648 + 2976 + + + ItemType + Output + + + + + q_stStatus + ST_PfeifferStatus + 1152 + 3648 + + + ItemType + Output + + + + + iq_stSerialRXBuffer + ComBuffer + 32 + 4800 + + + ItemType + InOut + + + + + iq_stSerialTXBuffer + ComBuffer + 32 + 4832 + + + ItemType + InOut + + + + + rtExecute + R_TRIG + 64 + 4864 + + + iStep + INT + 16 + 4928 + + + sSendData + STRING(80) + 648 + 4944 + + + fbPfeifferTransaction + FB_PfeifferTransaction + 26400 + 5600 + + + fbFormatString + FB_FormatString + 7840 + 32000 + + + diOldSetRotationSpeed_707 + DINT + 32 + 39840 + + + _A_ClearStatus + + + a_ClearTrans + + + + PouType + FunctionBlock + + + + + FB_PFEIFFER_COM + 797696 + + astPfeifferControl + ST_PfeifferControl + + 1 + 20 + + 32 + 32 + + + ItemType + InOut + + + + + astPfeifferStatus + ST_PfeifferStatus + + 1 + 20 + + 32 + 64 + + + ItemType + InOut + + + + + SerialRXBuffer + ComBuffer + 32 + 96 + + + ItemType + InOut + + + + + SerialTXBuffer + ComBuffer + 32 + 128 + + + ItemType + InOut + + + + + afbPfeifferSerialDriver + FB_PfeifferSerialDriver + + 1 + 20 + + 797440 + 192 + + + iPump + INT + 16 + 797632 + + 1 + + + + tTimeOut + TIME + 32 + 797664 + + 1000 + + + + + PouType + FunctionBlock + + + + + E_PersistentMode + 16 + INT + + SPDM_2PASS + 0 + + + SPDM_VAR_BOOST + 1 + + + + WritePersistentData + This function block initiatializes storage of the persistent data from the PLC program + 1600 + + NETID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + PORT + UINT + Contains the ADS port number of the PLC run-time system whose persistent data is to be stored (851, 852...) + 16 + 224 + + + ItemType + Input + + + + + START + BOOL + Rising edge on this input activates the fb execution + 8 + 240 + + + 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 + + + .IDXGRP + 139460625 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + MODE + E_PersistentMode + 16 + 1568 + + 0 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_GaugeBase + 85312 + + fbLogger + FB_LogMessage + Logging + 81984 + 64 + + + .eSubsystem + 1 + + + + + ePrevState + E_PressureState + 16 + 82048 + + + tErrorPresent + R_TRIG + 64 + 82080 + + + tAction + R_TRIG + Primary action of this device (OPN_DO, etc.) + 64 + 82144 + + + tOverrideActivated + R_TRIG + 64 + 82208 + + + tState + R_TRIG + 64 + 82272 + + + sPath + STRING(80) + 648 + 82336 + + + instance-path + + + noinit + + + + + bRestorePersistentData + BOOL + For Persistent Data + 8 + 82984 + + 1 + + + + stateTimer + TON + 224 + 83008 + + + fbGetCurTaskIdx + GETCURTASKINDEX + 128 + 83232 + + + fbWritePersistentData + WritePersistentData + 1600 + 83360 + + + tRecover + TON + 224 + 84960 + + + rVAC_SP + REAL + 32 + 85184 + + + TcPersistent + + + + + rPRO_SP + REAL + 32 + 85216 + + + TcPersistent + + + + + rHYS_PR + REAL + 32 + 85248 + + + TcPersistent + + + + + + PouType + FunctionBlock + + + reflection + + + + + FB_MKS275 + This function block is used to provide protection and automatic turn on of ion gauges, it also manages the turn on of the AT_VAC boolean, and checks to make sure the pressure is good - For MKS 275 mini-convectron ]]>86720FB_GaugeBasePGST_VG105685312ItemTypeOutputpytmc + For MKS 275 mini-convectron + 86720 + FB_GaugeBase + + PG + ST_VG + 1056 + 85312 + + + ItemType + Output + + + pytmc + pv: - VREAL3286368iTermBitsUINT168640032767VlowestREAL328643210i_iPRESS_RINT1686464TcAddressTypeInputMinPressureREAL32864960.0001rDeadbandREAL32865280.05rValidLoBoundaryREAL32865600.375rValidHiBoundaryREAL32865925.659rDisconnectedBoundaryREAL32866240.3rDefaultVAC_SPREAL32866560.05ACT_LoggerACT_PersistentIOM_SetBitsBOOL8TermBitsUINT16PouTypeFunctionBlockno_checkFB_MKS500 + + + + + V + REAL + 32 + 86368 + + + iTermBits + UINT + The terminal's maximum value in bits + 16 + 86400 + + 32767 + + + + Vlowest + REAL + 32 + 86432 + + 10 + + + + i_iPRESS_R + INT + input Pressure // Link to analog Input + 16 + 86464 + + + TcAddressType + Input + + + + + MinPressure + REAL + 32 + 86496 + + 0.0001 + + + + rDeadband + REAL + 32 + 86528 + + 0.05 + + + + rValidLoBoundary + REAL + 0.375V as per manual page 27 + 32 + 86560 + + 0.375 + + + + rValidHiBoundary + REAL + 5.534; // manual page 27 + 32 + 86592 + + 5.659 + + + + rDisconnectedBoundary + REAL + 32 + 86624 + + 0.3 + + + + rDefaultVAC_SP + REAL + Default set point 50 mT + 32 + 86656 + + 0.05 + + + + ACT_Logger + + + ACT_Persistent + + + IO + + + M_SetBits + BOOL + 8 + + TermBits + The terminal's maximum value in bits + UINT + 16 + + + + + PouType + FunctionBlock + + + no_check + + + + + FB_MKS500 + This function is for the Cold Cathode MKS 500. If connected to Beckhoff EP boxes. Set the EP bit to TRUE, this is necessary for the MKS500-to-EP box interface because the EP boxes do not natively support the 5v IO @@ -495,55 +19114,711 @@ A setup process is required for the MKS500 to be usable. See here: https://confluence.slac.stanford.edu/display/PCDS/MKS+500+-+Cold+Cathode This function provides ILK and Set Point Protection for the Cold Cathode. -]]>88384FB_GaugeBasePGST_VG105685312ItemTypeInputbEPBOOL8863680ItemTypeInputtRecoverDelayTIME3286400600000ItemTypeInputIGST_VG105686432ItemTypeOutputpytmc + + 88384 + FB_GaugeBase + + PG + ST_VG + 1056 + 85312 + + + ItemType + Input + + + + + bEP + BOOL + Set to True if This Gauge is connected to EP BOX and not EL Terminals + 8 + 86368 + + 0 + + + + ItemType + Input + + + + + tRecoverDelay + TIME + Delay Time after the first cycle to start the device. Default is 600S + 32 + 86400 + + 600000 + + + + ItemType + Input + + + + + IG + ST_VG + 1056 + 86432 + + + ItemType + Output + + + pytmc + pv: - rVREAL3287488GaugeTurnOnTmrTON22487520tStartupTimerTON22487744iTermBitsUINT168796832767i_iPRESS_RINT1687984TcAddressTypeInputq_xHV_DISBOOL888000TcAddressTypeOutputi_xHV_ONBOOL888008TcAddressTypeInputi_xDisc_ActiveBOOL888016TcAddressTypeInputbinitBOOL8880241pBaseREAL32880321E-10vBaseREAL32880641vDisconnectedREAL32880960.5vSlopeREAL32881281vGaugeOffREAL32881609.8vNoDischargeREAL32881929.3MinPressureREAL32882241E-10cDefaultPressureREAL32882560rDeadbandREAL32882880.3bWasOnBOOL888320TcPersistentbAutoRecoverBOOL888328TcPersistentbAutoRecoverWriteBOOL888336TcPersistentACT_LoggerIOACT_RecoverACT_PersistentM_HVEBOOL8enableBOOL8M_SetBitsBOOL8TermBitsUINT16M_RecoverBOOL8PouTypeFunctionBlockFB_97286464FB_GaugeBasePGST_VG105685312ItemTypeOutputpytmc + + + + + + rV + REAL + 32 + 87488 + + + GaugeTurnOnTmr + TON + 224 + 87520 + + + tStartupTimer + TON + 224 + 87744 + + + iTermBits + UINT + The terminal's maximum value in bits + 16 + 87968 + + 32767 + + + + i_iPRESS_R + INT + Controls and I/Os + 16 + 87984 + + + TcAddressType + Input + + + + + q_xHV_DIS + BOOL + Enable High Voltage when True // 'TcLinkTo' (EP2624) ^Output + 8 + 88000 + + + TcAddressType + Output + + + + + i_xHV_ON + BOOL + True when High Voltage is on // 'TcLinkTo' (EL1124) ^Input + 8 + 88008 + + + TcAddressType + Input + + + + + i_xDisc_Active + BOOL + Discharge Current Active // 'TcLinkTo' (EL1124) ^Input + 8 + 88016 + + + TcAddressType + Input + + + + + binit + BOOL + 8 + 88024 + + 1 + + + + pBase + REAL + default curve base pressure is 1E-10. Confusing since can't actually read that low using analog out. + 32 + 88032 + + 1E-10 + + + + vBase + REAL + 32 + 88064 + + 1 + + + + vDisconnected + REAL + 32 + 88096 + + 0.5 + + + + vSlope + REAL + 32 + 88128 + + 1 + + + + vGaugeOff + REAL + 32 + 88160 + + 9.8 + + + + vNoDischarge + REAL + 32 + 88192 + + 9.3 + + + + MinPressure + REAL + 32 + 88224 + + 1E-10 + + + + cDefaultPressure + REAL + 32 + 88256 + + 0 + + + + rDeadband + REAL + 32 + 88288 + + 0.3 + + + + bWasOn + BOOL + 8 + 88320 + + + TcPersistent + + + + + bAutoRecover + BOOL + 8 + 88328 + + + TcPersistent + + + + + bAutoRecoverWrite + BOOL + 8 + 88336 + + + TcPersistent + + + + + ACT_Logger + + + IO + + + ACT_Recover + + + ACT_Persistent + + + M_HVE + BOOL + 8 + + enable + set to true to enable, false to disable; + BOOL + 8 + + + + M_SetBits + BOOL + 8 + + TermBits + The terminal's maximum value in bits + UINT + 16 + + + + M_Recover + BOOL + 8 + + + + PouType + FunctionBlock + + + + + FB_972 + 86464 + FB_GaugeBase + + PG + ST_VG + 1056 + 85312 + + + ItemType + Output + + + pytmc + pv: - rVREAL3286368iTermBitsUINT168640032767i_iPRESS_RINT1686416TcAddressTypeInputACT_LoggerACT_IOM_SetBitsBOOL8TermBitsUINT16PouTypeFunctionBlockno_checkE_ValvePositionState16INTOPEN0CLOSED1MOVING2INVALID3OPEN_F4FB_Valve82304fbLoggerFB_LogMessage8198464.eSubsystem1.nMinTimeViolationAcceptable10ePrevStateE_ValvePositionState1682048tErrorPresentR_TRIG6482080tActionR_TRIG6482144tOverrideActivatedR_TRIG6482208bRestorePersistentDataBOOL8822721ACT_LoggerPouTypeFunctionBlockE_VGC16INTVented0AtVacuum1ERR_DiffPress2ERR_LostVac3ERR_ExtFault4At_Vac5Triggered6Vac_Fault7Cls_Timeout8Opn_Timeout9ST_ValveBase800pv_xOPN_SWBOOL80pytmc + + + + + + rV + REAL + 32 + 86368 + + + iTermBits + UINT + The terminal's maximum value in bits + 16 + 86400 + + 32767 + + + + i_iPRESS_R + INT + input Pressure // Link to analog Input + 16 + 86416 + + + TcAddressType + Input + + + + + ACT_Logger + + + ACT_IO + + + M_SetBits + BOOL + 8 + + TermBits + The terminal's maximum value in bits + UINT + 16 + + + + + PouType + FunctionBlock + + + no_check + + + + + E_ValvePositionState + 16 + INT + + OPEN + 0 + + + CLOSED + 1 + + + MOVING + 2 + + + INVALID + 3 + + + OPEN_F + 4 + + + + FB_Valve + 82304 + + fbLogger + FB_LogMessage + For logging + 81984 + 64 + + + .eSubsystem + 1 + + + .nMinTimeViolationAcceptable + 10 + + + + + ePrevState + E_ValvePositionState + 16 + 82048 + + + tErrorPresent + R_TRIG + 64 + 82080 + + + tAction + R_TRIG + Primary action of this device (OPN_DO, etc.) + 64 + 82144 + + + tOverrideActivated + R_TRIG + 64 + 82208 + + + bRestorePersistentData + BOOL + For Persistent Data + 8 + 82272 + + 1 + + + + ACT_Logger + + + + PouType + FunctionBlock + + + + + E_VGC + 16 + INT + + Vented + 0 + + + AtVacuum + 1 + + + ERR_DiffPress + 2 + + + ERR_LostVac + 3 + + + ERR_ExtFault + 4 + + + At_Vac + 5 + + + Triggered + 6 + + + Vac_Fault + 7 + + + Cls_Timeout + 8 + + + Opn_Timeout + 9 + + + + ST_ValveBase + 800 + + pv_xOPN_SW + BOOL + EPICS Controls + 8 + 0 + + + pytmc + pv: OPN_SW; field: ZNAM CLOSE; field: ONAM OPEN; io: io ; - pv_xAlmRstBOOL88pytmc + + + + + + pv_xAlmRst + BOOL + 8 + 8 + + + pytmc + pv: ALM_RST; io: io; - pv_xOvrdOpnBOOL816pytmc + + + + + + pv_xOvrdOpn + BOOL + 8 + 16 + + + pytmc + pv: FORCE_OPN; io: io; field: ZNAM FALSE; field: ONAM FORCE OPEN; - xOverrideModeBOOL824pytmc + + + + + + xOverrideMode + BOOL + Shows the override status of this valve + 8 + 24 + + + pytmc + pv: OVRD_ON ; field: ZNAM Override OFF ; field: ONAM Override ON; io: io; - i_xOpnLSBOOL832pytmc + + + + + + i_xOpnLS + BOOL + I/Os + Readbacks + 8 + 32 + + + pytmc + pv: OPN_DI; io: i; field: ZNAM FALSE; field: ONAM OPEN; - i_xClsLSBOOL840pytmc + + + + + + i_xClsLS + BOOL + 8 + 40 + + + pytmc + pv: CLS_DI; io: i; field: ZNAM FALSE; field: ONAM CLOSE; - q_xOPN_DOBOOL848pytmc + + + + + + q_xOPN_DO + BOOL + Controls + 8 + 48 + + + pytmc + pv: OPN_DO; io: i; field: ZNAM FALSE; field: ONAM TRUE; - xEXT_OKBOOL8560pytmc + + + + + + xEXT_OK + BOOL + External interlock for custom interlocking in addition to regular DP ilk, this must be set true, or the interlock condition before calling the FB_VGC + 8 + 56 + + 0 + + + + pytmc + pv: EXT_ILK_OK ; field: ZNAM NOT OK ; field: ONAM OK ; io: i ; - xOPN_OKBOOL864pytmc + + + + + + xOPN_OK + BOOL + Final SUM of DP_OK and EXT_OK, needed because it allows the DP ilk to be switched off, see FB_VGC.Dis_DPIlk + 8 + 64 + + + pytmc + pv: OPN_OK; field: ZNAM OPN ILK NOT OK ; field: ONAM OPN ILK OK ; io: i; - eStateE_ValvePositionState16803pytmc + + + + + + eState + E_ValvePositionState + States + 16 + 80 + + 3 + + + + pytmc + pv: POS_STATE; type: mbbi ; field: ZRST OPEN ; @@ -552,7 +19827,19 @@ This function provides ILK and Set Point Protection for the Cold Cathode. field: THST INVALID ; field: FRST OPEN_F ; io: i; - eVGC_StateE_VGC1696pytmc + + + + + + eVGC_State + E_VGC + 16 + 96 + + + pytmc + pv: STATE; field: ZRST Vented; field: ONST At Vacuum; @@ -565,61 +19852,585 @@ This function provides ILK and Set Point Protection for the Cold Cathode. field: EIST Close Timeout; field: NIST Open Timeout; io: i; - bErrorPresentBOOL8112pytmc + + + + + + bErrorPresent + BOOL + Error + 8 + 112 + + + pytmc + pv: ERROR; field: ZNAM NO ERROR ; field: ONAM ERROR PRESENT ; io: o; - iErrorCodeINT16128sErrorMessageSTRING(80)648144pytmc + + + + + + iErrorCode + INT + 16 + 128 + + + sErrorMessage + STRING(80) + 648 + 144 + + + pytmc + pv: ErrMsg; io: o; - xLogBOOL87921pytmc + + + + + + xLog + BOOL + 8 + 792 + + 1 + + + + pytmc + pv: LOGGER; io: io; field: ZNAM OFF ; field: ONAM ON ; - ST_VRC816ST_ValveBasexCLS_OKBOOL88001pytmc + + + + + + + ST_VRC + 816 + ST_ValveBase + + xCLS_OK + BOOL + Readbacks +In case VRC is normally open + 8 + 800 + + 1 + + + + pytmc + pv: CLS_OK; io: i; - FB_VRC + + + + + + FB_VRC + This Function Block Implements Basic Functionality for certain types of valves e.g Turbo Isolation valves, Apperture Valve. This function block is interloked by an input (i_xExtILK_OK). This is so developers can interface with custom interlocking logic outside this function block. - Note Interlock Logic is External ]]>84928FB_Valvei_xExtILK_OKBOOL882304ItemTypeInputi_xOverrideModeBOOL882312ItemTypeInputiq_stValveST_VRC81682320ItemTypeOutputpytmc + Note Interlock Logic is External + 84928 + FB_Valve + + i_xExtILK_OK + BOOL + Connect to Interlock logic condition(e.g F_TURBO_VRC_ILK Function), otherwise, Set to True if the valve is not interlocked + 8 + 82304 + + + ItemType + Input + + + + + i_xOverrideMode + BOOL + To be linked to global override bit. This Overrides Vacuum logic only, EPS, MPS and PMPS are still enforces + 8 + 82312 + + + ItemType + Input + + + + + iq_stValve + ST_VRC + 816 + 82320 + + + ItemType + Output + + + pytmc + pv: - sPathSTRING(80)64883136instance-pathnoinitxFirstPassBOOL883784fbFSInitR_TRIG6483808tonOvrdTON22483872tonDelOKTON22484096rtOKR_TRIG6484320tOvrdTIME328438410000tTimeOutDurationTIME328441630000tOPNtimeoutTON22484448tCLStimeoutTON22484672i_xOpnLSBOOL884896TcAddressTypeInputi_xClsLSBOOL884904TcAddressTypeInputq_xOPN_DOBOOL884912TcAddressTypeOutputACT_LoggerACT_IOM_IsOpenBOOL8M_IsClosedBOOL8M_Set_OPN_SWBOOL8valueBOOL8PouTypeFunctionBlockno_checkFB_TGPI_ADS + + + + + sPath + STRING(80) + 648 + 83136 + + + instance-path + + + noinit + + + + + xFirstPass + BOOL + 8 + 83784 + + + fbFSInit + R_TRIG + 64 + 83808 + + + tonOvrd + TON + 224 + 83872 + + + tonDelOK + TON + 224 + 84096 + + + rtOK + R_TRIG + 64 + 84320 + + + tOvrd + TIME + 32 + 84384 + + 10000 + + + + tTimeOutDuration + TIME + Timeouts + 32 + 84416 + + 30000 + + + + tOPNtimeout + TON + 224 + 84448 + + + tCLStimeout + TON + 224 + 84672 + + + i_xOpnLS + BOOL + IO + 8 + 84896 + + + TcAddressType + Input + + + + + i_xClsLS + BOOL + 8 + 84904 + + + TcAddressType + Input + + + + + q_xOPN_DO + BOOL + 8 + 84912 + + + TcAddressType + Output + + + + + ACT_Logger + + + ACT_IO + + + M_IsOpen + BOOL + 8 + + + M_IsClosed + BOOL + 8 + + + M_Set_OPN_SW + BOOL + 8 + + value + BOOL + 8 + + + + + PouType + FunctionBlock + + + no_check + + + + + FB_TGPI_ADS + This function block is created for interface devices between different PLC Not all the Variables in the original structure is required, just few signals - The variable values are read via ADS using the symbol name]]>93888FB_ADSsNetIdSTRING(80)64882112ItemTypeInputnPortUINT1682768ItemTypeInputsVarNameSTRING(80)64882784ItemTypeInputiWatchdogUDINT3283456ItemTypeInputIGST_VG105683488ItemTypeOutputpytmcpv:bErrorBOOL884544ItemTypeOutputfb_CheckWatchdogFB_CheckWatchdog44884576fb_Read_VGFB_ReadAdsSymByName876885024ftResetF_TRIG6493792xFirstPassBOOL8938561ACT_LoggerPouTypeFunctionBlockE_PumpState16INTpumpSTOPPED0pumpSTARTING1pumpRUNNING2pumpFAULT3pumpSTOPPING4ST_RoughPump96pv_xRunSWBOOL80pytmc + The variable values are read via ADS using the symbol name + 93888 + FB_ADS + + sNetId + STRING(80) + NetID of the Destination PLC controller + 648 + 82112 + + + ItemType + Input + + + + + nPort + UINT + port number + 16 + 82768 + + + ItemType + Input + + + + + sVarName + STRING(80) + the variable name of the declared gauge function block. + 648 + 82784 + + + ItemType + Input + + + + + iWatchdog + UDINT + The watchdog variable name written to by the remote plc + 32 + 83456 + + + ItemType + Input + + + + + IG + ST_VG + 1056 + 83488 + + + ItemType + Output + + + pytmc + pv: + + + + + bError + BOOL + 8 + 84544 + + + ItemType + Output + + + + + fb_CheckWatchdog + FB_CheckWatchdog + 448 + 84576 + + + fb_Read_VG + FB_ReadAdsSymByName + 8768 + 85024 + + + ftReset + F_TRIG + 64 + 93792 + + + xFirstPass + BOOL + 8 + 93856 + + 1 + + + + ACT_Logger + + + + PouType + FunctionBlock + + + + + E_PumpState + 16 + INT + + pumpSTOPPED + 0 + + + pumpSTARTING + 1 + + + pumpRUNNING + 2 + + + pumpFAULT + 3 + + + pumpSTOPPING + 4 + + + + ST_RoughPump + 96 + + pv_xRunSW + BOOL + epics/ software control switch + 8 + 0 + + + pytmc + pv: RUN_SW; field: ZNAM Stop; field: ONAM Start; io: io; - q_xRunDoBOOL88pytmc + + + + + + q_xRunDo + BOOL + 8 + 8 + + + pytmc + pv: RUN_DO; field: ZNAM FALSE; field: ONAM TRUE; io: i - xIlkOKBOOL816pytmc + + + + + + xIlkOK + BOOL + Interlock bit, true means OK to run + 8 + 16 + + + pytmc + pv: ILK_OK; field: ZNAM NOT OK ; field: ONAM OK ; io: i - xExtIlkBOOL824xAtSpdBOOL832pytmc + + + + + + xExtIlk + BOOL + External interlock, this is where the logic goes + 8 + 24 + + + xAtSpd + BOOL + Pump at speed setpoint + 8 + 32 + + + pytmc + pv: AT_SPD; field: ZNAM FALSE; field: ONAM TRUE; io: i - xWrnBOOL840pytmc + + + + + + xWrn + BOOL + Pump warning + 8 + 40 + + + pytmc + pv: WARN; field: ZNAM FALSE; field: ONAM TRUE; io: i - iWrnBOOL848xErrBOOL856pytmc + + + + + + iWrn + BOOL + Warning state/code + 8 + 48 + + + xErr + BOOL + Error summary + 8 + 56 + + + pytmc + pv: ERROR; field: ZNAM FALSE; field: ONAM TRUE; io: i - iErrBOOL864eStateE_PumpState1680pytmc + + + + + + iErr + BOOL + Error state/code + 8 + 64 + + + eState + E_PumpState + State + 16 + 80 + + + pytmc + pv: STATE; field: ZRST STOPPED; field: ONST STARTING; @@ -627,49 +20438,328 @@ interlocking logic outside this function block. field: THST FAULT; field: FRST STOPPING; io: i; - ST_EbaraDryPump448ST_RoughPumpq_xMPStartBOOL896pytmc + + + + + + + ST_EbaraDryPump + 448 + ST_RoughPump + + q_xMPStart + BOOL + Main Pump start + 8 + 96 + + + pytmc + pv: MPStart; field: ZNAM FALSE; field: ONAM TRUE; io: i; - q_xBPStartBOOL8104pytmc + + + + + + q_xBPStart + BOOL + Booster Pump start (this can be started by the pump automatically) + 8 + 104 + + + pytmc + pv: BPStart; field: ZNAM FALSE; field: ONAM TRUE; io: i; - xBPIlkBOOL8112rBPIlkSPREAL3212830tonBPTON224160.PT5000i_xMPStatusBOOL8384pytmc + + + + + + xBPIlk + BOOL + Booster pump interlock + 8 + 112 + + + rBPIlkSP + REAL + Booster pump pressure setpoint + 32 + 128 + + 30 + + + + tonBP + TON + Timer for pressure and valve stability + 224 + 160 + + + .PT + 5000 + + + + + i_xMPStatus + BOOL + MP status + 8 + 384 + + + pytmc + pv: MPStatus; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_xBPStatusBOOL8392pytmc + + + + + + i_xBPStatus + BOOL + BP status + 8 + 392 + + + pytmc + pv: BPStatus; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_xWarningBOOL8400pytmc + + + + + + i_xWarning + BOOL + Warning status + 8 + 400 + + + pytmc + pv: WARN_DI; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_xAlarmBOOL8408pytmc + + + + + + i_xAlarm + BOOL + Alarm, maps to error + 8 + 408 + + + pytmc + pv: ALARM; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_xRemoteBOOL8416pytmc + + + + + + i_xRemote + BOOL + Remote control status + 8 + 416 + + + pytmc + pv: REMOTE; field: ZNAM FALSE; field: ONAM TRUE; io: i; - FB_PRO_ADS + + + + + + FB_PRO_ADS + This function block is created for interface devices between different PLC Not all the Variables in the original structure is required, just few signals - The variable values are read via ADS using the symbol name]]>93312FB_ADSsNetIdSTRING(80)64882112ItemTypeInputnPortUINT1682768ItemTypeInputsVarNameSTRING(80)64882784ItemTypeInputiWatchdogUDINT3283456ItemTypeInputstPumpST_EbaraDryPump44883488ItemTypeOutputpytmcpv:bErrorBOOL883936ItemTypeOutputfb_CheckWatchdogFB_CheckWatchdog44883968fb_Read_PROFB_ReadAdsSymByName876884416ftResetF_TRIG6493184xFirstPassBOOL8932481PouTypeFunctionBlockST_VGC2944ST_ValveBasexDP_OKBOOL8800pytmc + The variable values are read via ADS using the symbol name + 93312 + FB_ADS + + sNetId + STRING(80) + NetID of the Destination PLC controller + 648 + 82112 + + + ItemType + Input + + + + + nPort + UINT + port number + 16 + 82768 + + + ItemType + Input + + + + + sVarName + STRING(80) + the variable name of the declared gauge function block. + 648 + 82784 + + + ItemType + Input + + + + + iWatchdog + UDINT + The watchdog variable name written to by the remote plc + 32 + 83456 + + + ItemType + Input + + + + + stPump + ST_EbaraDryPump + 448 + 83488 + + + ItemType + Output + + + pytmc + pv: + + + + + bError + BOOL + 8 + 83936 + + + ItemType + Output + + + + + fb_CheckWatchdog + FB_CheckWatchdog + 448 + 83968 + + + fb_Read_PRO + FB_ReadAdsSymByName + 8768 + 84416 + + + ftReset + F_TRIG + 64 + 93184 + + + xFirstPass + BOOL + 8 + 93248 + + 1 + + + + + PouType + FunctionBlock + + + + + ST_VGC + 2944 + ST_ValveBase + + xDP_OK + BOOL + Indicates the valve can be opened because the differential pressure is low enough + 8 + 800 + + + pytmc + pv: DP_OK; field: ZNAM DP NOT OK ; field: ONAM DP OK ; io: i; - rAT_VAC_SPREAL328321E-06pytmc + + + + + + rAT_VAC_SP + REAL + Interlock setpoint for gauges on both sides of valve + 32 + 832 + + 1E-06 + + + + pytmc + pv: AT_VAC_SP; io: o; field: HOPR 1000 @@ -677,7 +20767,33 @@ interlocking logic outside this function block. field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - rAT_VAC_SP_LASTREAL328641E-06rAT_VAC_HYSREAL328961E-06pytmc + + + + + + rAT_VAC_SP_LAST + REAL + Interlock setpoint for gauges on both sides of valve + 32 + 864 + + 1E-06 + + + + rAT_VAC_HYS + REAL + Hysteresis of the vacuum sp + 32 + 896 + + 1E-06 + + + + pytmc + pv: AT_VAC_HYS; io: o; field: HOPR 1000 @@ -685,152 +20801,2033 @@ interlocking logic outside this function block. field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - rHYST_PERCREAL329280.8pytmc + + + + + + rHYST_PERC + REAL + Hysteresis percentage + 32 + 928 + + 0.8 + + + + pytmc + pv: HYST_PERC ; io: o; autosave_pass1: VAL DESC - xAT_VACBOOL8960pytmc + + + + + + xAT_VAC + BOOL + At vacuum setpoint + 8 + 960 + + + pytmc + pv: AT_VAC ; field: ZNAM NOT AT VAC ; field: ONAM AT VAC ; io: i; - xERR_DifPresBOOL8968pytmc + + + + + + xERR_DifPres + BOOL + Alarm Outputs + 8 + 968 + + + pytmc + pv: ERR_DifPres; field: ZNAM NO ERROR ; field: ONAM Diffrential error present ; io: i; - xERR_SPBOOL8976pytmc + + + + + + xERR_SP + BOOL + 8 + 976 + + + pytmc + pv: ERR_SP; field: ZNAM NO ERROR ; field: ONAM Setpoint error present ; io: i; - xERR_ExtFaultBOOL8984pytmc + + + + + + xERR_ExtFault + BOOL + 8 + 984 + + + pytmc + pv: ERR_Ext; field: ZNAM NO ERROR ; field: ONAM External error present ; io: i; - xAlmSumBOOL8992sDevNameSTRING(80)6481000sIlkUSDeviceNameSTRING(80)6481648pytmc + + + + + + xAlmSum + BOOL + 8 + 992 + + + sDevName + STRING(80) + 648 + 1000 + + + sIlkUSDeviceName + STRING(80) + ILK Devices + 648 + 1648 + + + pytmc + pv: ILK_DEVICE_US; io: i; - sIlkDSDeviceNameSTRING(80)6482296pytmc + + + + + + sIlkDSDeviceName + STRING(80) + 648 + 2296 + + + pytmc + pv: ILK_DEVICE_DS; io: i; - E_BPTMState16INTInit0NewTarget1000RequestBP1500WaitForBP2500WaitingForTransitionAssertion2000WaitingForFinalAssertion3000Transitioning4000WaitForFinalBP5000CleaningUp6000Idle10000Done8000Error9000FB_Index + + + + + + E_BPTMState + 16 + INT + + Init + 0 + + + NewTarget + 1000 + + + RequestBP + 1500 + + + WaitForBP + 2500 + + + WaitingForTransitionAssertion + 2000 + + + WaitingForFinalAssertion + 3000 + + + Transitioning + 4000 + + + WaitForFinalBP + 5000 + + + CleaningUp + 6000 + + + Idle + 10000 + + + Done + 8000 + + + Error + 9000 + + + + FB_Index + Index FB A. Wallace 2016-9-3 Why doesn't beckhoff have this as a builtin type? Use this thing to have a simple indexer with rollover. -]]>96LowerLimitINT16321ItemTypeInputnamingoffValIncINT16481ItemTypeInputUpperLimitINT16641ItemTypeInputnValINT16801namingoffDecIncDecValINT16IncValINT16PouTypeFunctionBlockBeamParameterTransitionManager + 96 + + LowerLimit + INT + Incrementer will rollver over to this value (and initialize to this value) + 16 + 32 + + 1 + + + + ItemType + Input + + + naming + off + + + + + ValInc + INT + Incrementer increments by this value + 16 + 48 + + 1 + + + + ItemType + Input + + + + + UpperLimit + INT + Incrementer will rollover at this value to lower limit + 16 + 64 + + 1 + + + + ItemType + Input + + + + + nVal + INT + Internal incrementer value, initialized to LowerLimit + 16 + 80 + + 1 + + + + naming + off + + + + + Dec + + + Inc + + + DecVal + INT + 16 + + + IncVal + INT + 16 + + + + PouType + FunctionBlock + + + + + BeamParameterTransitionManager + Implements the procedure for safely transitioning between device states. NOTE: -The BPTM will throw an error if the arbiter does not have enough space for the transition and new final assertion. +The BPTM will throw an error if the arbiter does not have enough space for the transition and new final assertion. - ]]>60000fbArbiterFB_Arbiter3232ItemTypeInOuti_sDeviceNameSTRING(80)64864DeviceItemTypeInputi_TransitionAssertionIDUDINT327360ItemTypeInputi_stTransitionAssertionST_BeamParams1696768.nTran1.neVRange4294967295.nRate0.astApertures[1].Width1000.astApertures[1].Height1000.astApertures[2].Width1000.astApertures[2].Height1000.astApertures[3].Width1000.astApertures[3].Height1000.astApertures[4].Width1000.astApertures[4].Height1000ItemTypeInputi_nRequestedAssertionIDUDINT3224640ItemTypeInputi_stRequestedAssertionST_BeamParams16962496.nTran0.neVRange0.nRate0ItemTypeInputi_xMovingBOOL]]>841920ItemTypeInputi_xDoneMovingBOOL842000ItemTypeInputstCurrentBeamParametersST_BeamParams16964224.nTran1.neVRange4294967295.nRate1000000.astApertures[1].Width1000.astApertures[1].Height1000.astApertures[2].Width1000.astApertures[2].Height1000.astApertures[3].Width1000.astApertures[3].Height1000.astApertures[4].Width1000.astApertures[4].Height1000ItemTypeInputbRetryBOOL859200ItemTypeInputq_xTransitionAuthorizedBOOL859280ItemTypeOutputbErrorBOOL85936ItemTypeOutputnErrIdUINT165952ItemTypeOutputbDoneBOOL85968ItemTypeOutputbBusyBOOL85976ItemTypeOutputnTargetAssertionIDUDINT3259840stTargetAssertionST_BeamParams16966016nCurrentAssertionIDUDINT3277120xNewBPBOOL87744xTranBPBOOL87752xFinalBPInArbBOOL87760xFinalBPBOOL87768eBPTMStateE_BPTMState1677760ePrevStateE_BPTMState1677920xEntryBOOL87808rTransitionR_TRIG647840xNewTargetBOOL87904bTransAssertionFailedBOOL87912bFinalAssertionFailedBOOL87920LogStrBufferSTRING(80)041265687928LogBuffIdxFB_Index9634496.LowerLimit0.UpperLimit40nAssrtAttemptINT1634592rtRetryR_TRIG6434624rtErrorR_TRIG6434688ffTimeoutFB_FastFault2508834752.i_DescPreemptive requests timed out in BPTM.i_TypeCode10.i_xAutoReset0rtDoneMovingR_TRIG6459840bLatchDoneMovingBOOL859904bFirstMoveBOOL8599121LogBuffSizeINT165992040cMaxAttemptsINT16599363cReqArbCapacityUDINT + 60256 + + fbArbiter + FB_Arbiter + Connect to local arbiter + 32 + 32 + + + ItemType + InOut + + + + + i_sDeviceName + STRING(80) + Name of the device requesting the transition + 648 + 64 + + Device + + + + ItemType + Input + + + + + i_TransitionAssertionID + UDINT + Must not be 0 or EXCLUDED_ID + 32 + 736 + + 0 + + + + ItemType + Input + + + + + i_stTransitionAssertion + ST_BeamParams + Assertion required during transition (always safer than anything inbetween) + 1760 + 768 + + + ItemType + Input + + + + + i_nRequestedAssertionID + UDINT + Must not be 0 or EXCLUDED_ID + 32 + 2528 + + 0 + + + + ItemType + Input + + + + + i_stRequestedAssertion + ST_BeamParams + PMPS_GVL.cstSafeBeam; //Requested assertion, change whenever + 1760 + 2560 + + + .nTran + 0 + + + .neVRange + 0 + + + .nRate + 0 + + + .nBCRange + 0 + + + + + ItemType + Input + + + + + i_xMoving + BOOL + Provide rising edge when device begins moving <remove> + 8 + 4320 + + 0 + + + + ItemType + Input + + + + + i_xDoneMoving + BOOL + Provide rising edge when device is done with a move + 8 + 4328 + + 0 + + + + ItemType + Input + + + + + stCurrentBeamParameters + ST_BeamParams + Connect to current beam parameters + 1760 + 4352 + + + ItemType + Input + + + + + bRetry + BOOL + Rising edge to cycle back through the BPTM process. Use if something in the process timed out or failed. This will interrupt a current process + 8 + 6112 + + 0 + + + + ItemType + Input + + + + + q_xTransitionAuthorized + BOOL + Rising edge indicating the device is safe to move, use as input to move execute (which requires a rising edge) + 8 + 6120 + + 0 + + + + ItemType + Output + + + + + bError + BOOL + Set if some issue occurs within the bptm + 8 + 6128 + + + ItemType + Output + + + + + nErrId + UINT + Set to non-zero to help understand the error. + 16 + 6144 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 6160 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 6168 + + + ItemType + Output + + + + + nTargetAssertionID + UDINT + 32 + 6176 + + 0 + + + + stTargetAssertion + ST_BeamParams + Target assertion + 1760 + 6208 + + + nCurrentAssertionID + UDINT + ID of last set state (zero until a state is reached) + 32 + 7968 + + 0 + + + + xNewBP + BOOL + 8 + 8000 + + + xTranBP + BOOL + 8 + 8008 + + + xFinalBPInArb + BOOL + 8 + 8016 + + + xFinalBP + BOOL + 8 + 8024 + + + eBPTMState + E_BPTMState + 16 + 8032 + + 0 + + + + ePrevState + E_BPTMState + 16 + 8048 + + 0 + + + + xEntry + BOOL + 8 + 8064 + + + rTransition + R_TRIG + 64 + 8096 + + + xNewTarget + BOOL + 8 + 8160 + + + bTransAssertionFailed + BOOL + 8 + 8168 + + + bFinalAssertionFailed + BOOL + 8 + 8176 + + + LogStrBuffer + STRING(80) + + 0 + 41 + + 26568 + 8184 + + + LogBuffIdx + FB_Index + 96 + 34752 + + + .LowerLimit + 0 + + + .UpperLimit + 40 + + + + + nAssrtAttempt + INT + Number of times we have tried asserting a BP set + 16 + 34848 + + + rtRetry + R_TRIG + 64 + 34880 + + + rtError + R_TRIG + 64 + 34944 + + + ffTimeout + FB_FastFault + 25088 + 35008 + + + .i_Desc + Preemptive requests timed out in BPTM + + + .i_TypeCode + 10 + + + .i_xAutoReset + 0 + + + + + rtDoneMoving + R_TRIG + 64 + 60096 + + + bLatchDoneMoving + BOOL + 8 + 60160 + + + bFirstMove + BOOL + 8 + 60168 + + 1 + + + + LogBuffSize + INT + 16 + 60176 + + 40 + + + + cMaxAttempts + INT + 16 + 60192 + + 3 + + + + cReqArbCapacity + UDINT + The thought here is, a BPTM needs at most 2 arbiter slots to complete a transition. If we're at capacity, it means some BPTM before this one has begun a transition, - and will require at least one more arbiter spot to complete. - ]]>32599682AuthorizeTransitionWaitingForFinalAssertion_DONewTarget_ENTRYAssertTransitionBPAssertFinalBPWaitingForTransitionAssertion_DORemoveTransitionAssertionSetNewTargetRequestBP_DOWaitingForTransitionAssertion_EXITWaitingForFinalAssertion_EXITDeauthorizeTransitionLogActionsBOOL8LogStrSTRING(80)648PouTypeFunctionBlockFB_VGC + 32 + 60224 + + 2 + + + + AuthorizeTransition + + + WaitingForFinalAssertion_DO + + + NewTarget_ENTRY + + + AssertTransitionBP + + + AssertFinalBP + + + WaitingForTransitionAssertion_DO + + + RemoveTransitionAssertion + + + SetNewTarget + + + RequestBP_DO + + + WaitingForTransitionAssertion_EXIT + + + WaitingForFinalAssertion_EXIT + + + DeauthorizeTransition + + + LogActions + BOOL + 8 + + LogStr + STRING(80) + 648 + + + + no_check + + + + + + PouType + FunctionBlock + + + no_check + + + + + FB_VGC + This function block implements basic functionality for Isolation Gate Valves This function block interlock is as follows: 1. The valve can be opened when the difference between the pressures on both sides is less than the maximum differential pressure. 2. This rule persists until the pressures on both sides are lower than the vacuum-setpoint. 3. Once at-vac, the valve will close if the pressure on either side rises above the setpoint. -This function block also implements PMPS and EPS interlocks, as well as Fast MPS trigger]]>177088FB_Valvei_stUSGST_VG105682304ItemTypeInputi_stDSGST_VG105683360ItemTypeInputi_xDis_DPIlkBOOL8844160ItemTypeInputpytmc +This function block also implements PMPS and EPS interlocks, as well as Fast MPS trigger + 177344 + FB_Valve + + i_stUSG + ST_VG + Upstream Gauge, usually ion gauge + 1056 + 82304 + + + ItemType + Input + + + + + i_stDSG + ST_VG + Downstream Gauge, usually ion gauge + 1056 + 83360 + + + ItemType + Input + + + + + i_xDis_DPIlk + BOOL + Set to true when calling the function to disable the differential pressure interlock + 8 + 84416 + + 0 + + + + ItemType + Input + + + pytmc + pv: Dis_DPIlk - i_xPMPS_OKBOOL884424ItemTypeInputi_xEPS_OKBOOL8844321ItemTypeInputpytmc + + + + + + i_xPMPS_OK + BOOL + Set to True To switch off the bptm and PMPS Arbiter + 8 + 84424 + + + ItemType + Input + + + + + i_xEPS_OK + BOOL + External EPS interlock, Set to TRUE when no EPS interlock is required, otherwise set to correct interlock signal + 8 + 84432 + + 1 + + + + ItemType + Input + + + pytmc + pv: EPS_OK - i_xExt_OKBOOL884440ItemTypeInputi_xOverrideModeBOOL884448ItemTypeInputi_xResetBOOL884456ItemTypeInputpytmc + + + + + + i_xExt_OK + BOOL + Other External Interlock, Set to True when no external interlock is required. If this Valve is neigboring a Fast Shutter this should be linked to the fast shutter xVAC_FAULT_OK + 8 + 84440 + + + ItemType + Input + + + + + i_xOverrideMode + BOOL + To be linked to global override bit. This Overrides Vacuum logic only, EPS, MPS and PMPS are still enforces + 8 + 84448 + + + ItemType + Input + + + + + i_xReset + BOOL + Reset fault + 8 + 84456 + + + ItemType + Input + + + pytmc + pv: FF_Reset - i_xIsApertureBOOL8844640ItemTypeInputi_sDevNameT_MaxString204884472VGCItemTypeInputi_nTransitionRootIDUDINT3286528ItemTypeInputiq_stValveST_VGC294486560ItemTypeOutputpytmc + + + + + + i_xIsAperture + BOOL + Set tp True if this is an Aperture Valve, the MPS Fault will trip only when moving. + 8 + 84464 + + 0 + + + + ItemType + Input + + + + + i_sDevName + T_MaxString + Device name for diagnostic + 2048 + 84472 + + VGC + + + + ItemType + Input + + + + + i_nTransitionRootID + UDINT + A unique transition Root ID that is equal to or greater than 1000 + 32 + 86528 + + + ItemType + Input + + + + + iq_stValve + ST_VGC + All valve data and states will be in this struct + 2944 + 86560 + + + ItemType + Output + + + pytmc + pv: - xMPS_OKBOOL889504ItemTypeOutputpytmc + + + + + + xMPS_OK + BOOL + MPS Fast OK, is set when the Valve is Open + 8 + 89504 + + + ItemType + Output + + + pytmc + pv: MPS_FAULT_OK field: ZNAM MPS FAULT ; field: ONAM MPS OK ; - io_fbFFHWOFB_HardwareFFOutput3289536ItemTypeInOutfbArbiterFB_Arbiter3289568ItemTypeInOutold_input_assignmentsxPMPS_OKBOOL889600pytmc + + + + + + io_fbFFHWO + FB_HardwareFFOutput + 32 + 89536 + + + ItemType + InOut + + + + + fbArbiter + FB_Arbiter + 32 + 89568 + + + ItemType + InOut + + + old_input_assignments + + + + + xPMPS_OK + BOOL + PMPS interlock + 8 + 89600 + + + pytmc + pv: MPS_OK - bMovingBOOL889608bDoneBOOL889616tBPTMtimeoutTON22489632bptmBeamParameterTransitionManager6000089856FFOFB_FastFault25088149856.i_DescFault occurs when the valve is not in open state.i_TypeCode4112sPathSTRING(80)648174944instance-pathnoinitrDiffPressAllowedREAL3217561622.5rDiffPressREAL32175648setBOOL8175680resetBOOL8175688xFirstPassBOOL8175696fbFSInitR_TRIG64175712tonDelOKTON224175776rtOKR_TRIG64176000tonOvrdTON224176064rtOpenR_TRIG64176288ftCloseF_TRIG64176352tDelOKTIME3217641660000tOvrdTIME3217644810000tTimeOutDurationTIME3217648030000tOPNtimeoutTON224176512tCLStimeoutTON224176736i_xOpnLSBOOL8176960TcAddressTypeInputi_xClsLSBOOL8176968TcAddressTypeInputq_xOPN_DOBOOL8176976TcAddressTypeOutputeVGCPrevStateE_VGC16176992rAT_VAC_SPREAL32177024TcPersistentrHYST_PERCREAL32177056TcPersistentACT_LoggerACT_IOACT_PersistentACT_ResetAlarmsACT_PMPSM_IsClosedBOOL8M_IsOpenBOOL8M_Set_OPN_SWBOOL8valueBOOL8PouTypeFunctionBlockno_checkreflectionST_VRC_NO832ST_ValveBasexCLS_OKBOOL88001pytmc + + + + + + bMoving + BOOL + 8 + 89608 + + + bDone + BOOL + 8 + 89616 + + + tBPTMtimeout + TON + 224 + 89632 + + + bptm + BeamParameterTransitionManager + 60256 + 89856 + + + FFO + FB_FastFault + 25088 + 150112 + + + .i_Desc + Fault occurs when the valve is not in open state + + + .i_TypeCode + 4112 + + + + + sPath + STRING(80) + g_FastFaultOutput1 : FB_HardwareFFOutput; + 648 + 175200 + + + instance-path + + + noinit + + + + + rDiffPressAllowed + REAL + Torr, Default value comes from Vat Valve Manual + 32 + 175872 + + 22.5 + + + + rDiffPress + REAL + 32 + 175904 + + + set + BOOL + 8 + 175936 + + + reset + BOOL + 8 + 175944 + + + xFirstPass + BOOL + 8 + 175952 + + + fbFSInit + R_TRIG + 64 + 175968 + + + tonDelOK + TON + 224 + 176032 + + + rtOK + R_TRIG + 64 + 176256 + + + tonOvrd + TON + 224 + 176320 + + + rtOpen + R_TRIG + 64 + 176544 + + + ftClose + F_TRIG + 64 + 176608 + + + tDelOK + TIME + 32 + 176672 + + 60000 + + + + tOvrd + TIME + 32 + 176704 + + 10000 + + + + tTimeOutDuration + TIME + Timeouts + 32 + 176736 + + 30000 + + + + tOPNtimeout + TON + 224 + 176768 + + + tCLStimeout + TON + 224 + 176992 + + + i_xOpnLS + BOOL + IO + 8 + 177216 + + + TcAddressType + Input + + + + + i_xClsLS + BOOL + 8 + 177224 + + + TcAddressType + Input + + + + + q_xOPN_DO + BOOL + 8 + 177232 + + + TcAddressType + Output + + + + + eVGCPrevState + E_VGC + For logging + 16 + 177248 + + + rAT_VAC_SP + REAL + 32 + 177280 + + + TcPersistent + + + + + rHYST_PERC + REAL + 32 + 177312 + + + TcPersistent + + + + + ACT_Logger + + + ACT_IO + + + ACT_Persistent + + + ACT_ResetAlarms + + + ACT_PMPS + + + M_IsClosed + BOOL + 8 + + + M_IsOpen + BOOL + 8 + + + M_Set_OPN_SW + BOOL + 8 + + value + BOOL + 8 + + + + + PouType + FunctionBlock + + + no_check + + + reflection + + + + + ST_VRC_NO + 832 + ST_ValveBase + + xCLS_OK + BOOL + Readbacks +In case VRC is normally open + 8 + 800 + + 1 + + + + pytmc + pv: CLS_OK; field: ONAM TRUE; field: ZNAM FALSE; io: i; - pv_xCLS_SWBOOL8808pytmc + + + + + + pv_xCLS_SW + BOOL + 8 + 808 + + + pytmc + pv: CLS_SW ; field: ONAM CLOSE; field: ZNAM OPEN; io: io ; - q_xCLS_DOBOOL8816pytmc + + + + + + q_xCLS_DO + BOOL + 8 + 816 + + + pytmc + pv: CLS_DO ; field: ONAM CLOSE; field: ZNAM OPEN; io: io ; - pv_xOvrdClsBOOL8824pytmc + + + + + + pv_xOvrdCls + BOOL + 8 + 824 + + + pytmc + pv: FORCE_CLS; field: ONAM FORCE CLOSE; field: ZNAM FALSE; io: io; - FB_VRC_DA + + + + + + FB_VRC_DA + This Function Block Implements Basic Functionality for dual acting valves. EPs is implemented so that there is interlock Open and Interlock close, This function block is interloked by an input . This is so developers can interface with custom interlocking logic outside this function block. - Note Interlock Logic is External ]]>85504FB_Valvei_OPN_OKBOOL882304ItemTypeInputi_CLS_OKBOOL882312ItemTypeInputibCntrlHoldBOOL882320ItemTypeInputi_xOverrideModeBOOL882328ItemTypeInputiq_stValveST_VRC_NO83282336ItemTypeOutputpytmc + Note Interlock Logic is External + 85504 + FB_Valve + + i_OPN_OK + BOOL + Connect to EPS Interlock logic condition, Set to True if the valve is not interlocked + 8 + 82304 + + + ItemType + Input + + + + + i_CLS_OK + BOOL + Connect to EPS Interlock logic condition, Set to True if the valve is not interlocked + 8 + 82312 + + + ItemType + Input + + + + + ibCntrlHold + BOOL + Control Signal must retain its value, False in case of pulse control + 8 + 82320 + + + ItemType + Input + + + + + i_xOverrideMode + BOOL + To be linked to global override bit. This Overrides Vacuum logic only, EPS, MPS and PMPS are still enforces + 8 + 82328 + + + ItemType + Input + + + + + iq_stValve + ST_VRC_NO + 832 + 82336 + + + ItemType + Output + + + pytmc + pv: - sPathSTRING(80)64883168instance-pathnoinitxFirstPassBOOL883816fbFSInitR_TRIG6483840tonOvrdTON22483904tonDelOKTON22484128rtOKR_TRIG6484352tOvrdTIME328441610000tTimeOutDurationTIME328444830000tOPNtimeoutTON22484480tCLStimeoutTON22484704tLimitSwitchLatchDurationTIME32849281000tOPNLimitSwitchTON22484960tCLSLimitSwitchTON22485184tAction2R_TRIG6485408i_xOpnLSBOOL885472TcAddressTypeInputi_xClsLSBOOL885480TcAddressTypeInputq_xOPN_DOBOOL885488TcAddressTypeOutputq_xCLS_DOBOOL885496TcAddressTypeOutputACT_LoggerACT_IOM_IsOpenBOOL8M_Set_OPN_SWBOOL8valueBOOL8M_IsClosedBOOL8M_Set_CLS_SWBOOL8valueBOOL8PouTypeFunctionBlockno_checkFB_Pump82624fbLoggerFB_LogMessage8198464.eSubsystem1ePrevStateE_PumpState1682048tErrorPresentR_TRIG6482080tActionR_TRIG6482144tFaultF_TRIG6482208tILKTON22482272bRestorePersistentDataBOOL8824961rBackingPressureSPREAL3282528TcPersistentrInletPressureSPREAL3282560TcPersistentACT_LoggerPouTypeFunctionBlockST_PTM384xRunSWBOOL + + + + + sPath + STRING(80) + 648 + 83168 + + + instance-path + + + noinit + + + + + xFirstPass + BOOL + 8 + 83816 + + + fbFSInit + R_TRIG + 64 + 83840 + + + tonOvrd + TON + 224 + 83904 + + + tonDelOK + TON + 224 + 84128 + + + rtOK + R_TRIG + 64 + 84352 + + + tOvrd + TIME + 32 + 84416 + + 10000 + + + + tTimeOutDuration + TIME + Timeouts + 32 + 84448 + + 30000 + + + + tOPNtimeout + TON + 224 + 84480 + + + tCLStimeout + TON + 224 + 84704 + + + tLimitSwitchLatchDuration + TIME + Limit switch latch timer + 32 + 84928 + + 1000 + + + + tOPNLimitSwitch + TON + 224 + 84960 + + + tCLSLimitSwitch + TON + 224 + 85184 + + + tAction2 + R_TRIG + 64 + 85408 + + + i_xOpnLS + BOOL + IO + 8 + 85472 + + + TcAddressType + Input + + + + + i_xClsLS + BOOL + 8 + 85480 + + + TcAddressType + Input + + + + + q_xOPN_DO + BOOL + 8 + 85488 + + + TcAddressType + Output + + + + + q_xCLS_DO + BOOL + 8 + 85496 + + + TcAddressType + Output + + + + + ACT_Logger + + + ACT_IO + + + M_IsOpen + BOOL + 8 + + + M_Set_OPN_SW + BOOL + 8 + + value + BOOL + 8 + + + + M_IsClosed + BOOL + 8 + + + M_Set_CLS_SW + BOOL + 8 + + value + BOOL + 8 + + + + + PouType + FunctionBlock + + + no_check + + + + + FB_Pump + 82624 + + fbLogger + FB_LogMessage + For logging + 81984 + 64 + + + .eSubsystem + 1 + + + + + ePrevState + E_PumpState + 16 + 82048 + + + tErrorPresent + R_TRIG + 64 + 82080 + + + tAction + R_TRIG + Primary action of this device (OPN_DO, PUMP_RUN, etc.) + 64 + 82144 + + + tFault + F_TRIG + 64 + 82208 + + + tILK + TON + 224 + 82272 + + + bRestorePersistentData + BOOL + For Persistent Data + 8 + 82496 + + 1 + + + + rBackingPressureSP + REAL + 32 + 82528 + + + TcPersistent + + + + + rInletPressureSP + REAL + 32 + 82560 + + + TcPersistent + + + + + ACT_Logger + + + + PouType + FunctionBlock + + + + + ST_PTM + 384 + + xRunSW + BOOL + General PTM Structure Each PTM might have a serial control structure, but all will have a general supervisory control structure NOTE: This is an archetype, use an extension of this structure for a specific pump (or make one). - Controls ]]>80pytmc + Controls + 8 + 0 + + + pytmc + pv: RUN_SW; field: ZNAM STOP; field: ONAM RUN; io: io; - xResetSWBOOL88pytmc + + + + + + xResetSW + BOOL + For resetting faults + 8 + 8 + + + pytmc + pv: RST_SW; field: ZNAM FALSE; field: ONAM TRUE; io: io; - q_RunDOBOOL816pytmc + + + + + + q_RunDO + BOOL + 8 + 16 + + + pytmc + pv: RUN_DO; io: i; - xExtRunOkBOOL824pytmc + + + + + + xExtRunOk + BOOL + also a control + 8 + 24 + + + pytmc + pv: ILK_OK; field: ZNAM ILK ACTIVE; field: ONAM ILK OK; io: i; - i_xAccelBOOL832pytmc + + + + + + i_xAccel + BOOL + 8 + 32 + + + pytmc + pv: ACCEL; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_xAtSpdBOOL840pytmc + + + + + + i_xAtSpd + BOOL + 8 + 40 + + + pytmc + pv: AT_SPD; field: ZNAM FALSE; field: ONAM AT SPEED; io: i; - i_diCurSpdDINT3264pytmc + + + + + + i_diCurSpd + DINT + 32 + 64 + + + pytmc + pv: SPEED; io: i; field: EGU "Hz" - xCommTimeoutBOOL8961i_xFaultBOOL8104pytmc + + + + + + xCommTimeout + BOOL + Initialized true since we haven't talked to pump yet + 8 + 96 + + 1 + + + + i_xFault + BOOL + FAULT + 8 + 104 + + + pytmc + pv: FAULT; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_xWarnBOOL8112pytmc + + + + + + i_xWarn + BOOL + warning + 8 + 112 + + + pytmc + pv: WARN; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_xALARMBOOL8120pytmc + + + + + + i_xALARM + BOOL + ALARM + 8 + 120 + + + pytmc + pv: ALARM; field: ZNAM FALSE; field: ONAM TRUE; io: i; - xActiveBOOL8128iPumpGrpINT16144rForelineSPREAL321600.5rBackingPressureSPREAL321920.01pytmc + + + + + + xActive + BOOL + this bit is set to add the pump to the system + 8 + 128 + + + iPumpGrp + INT + all members of a pump group start at the same time + 16 + 144 + + + rForelineSP + REAL + Operational Setpoints + 32 + 160 + + 0.5 + + + + rBackingPressureSP + REAL + 32 + 192 + + 0.01 + + + + pytmc + pv: BP_SP; io: io; field: HOPR 1000 @@ -838,7 +22835,23 @@ NOTE: This is an archetype, use an extension of this structure for a specific pu field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - rInletPressureSPREAL322240.02pytmc + + + + + + rInletPressureSP + REAL + 20mTorr + 32 + 224 + + 0.02 + + + + pytmc + pv: IP_SP; io: io; field: HOPR 1000 @@ -846,7 +22859,20 @@ NOTE: This is an archetype, use an extension of this structure for a specific pu field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - eStateE_PumpState16256pytmc + + + + + + eState + E_PumpState + State + 16 + 256 + + + pytmc + pv: STATE; field: ZRST STOPPED; field: ONST STARTING; @@ -854,84 +22880,523 @@ NOTE: This is an archetype, use an extension of this structure for a specific pu field: THST FAULT; field: FRST STOPPING; io: i; - i_rCurrentMonREAL32288pytmc + + + + + + i_rCurrentMon + REAL + 32 + 288 + + + pytmc + pv: CURR_MON; io: i; field: PREC 2 field: EGU "A"; - i_rTempMonREAL32320pytmc + + + + + + i_rTempMon + REAL + 32 + 320 + + + pytmc + pv: TEMP_MON; io: i; field: PREC 2; field: EGU "C"; - xLogBOOL83521pytmc + + + + + + xLog + BOOL + 8 + 352 + + 1 + + + + pytmc + pv: LOGGER; io: i; field: ZNAM OFF ; field: ONAM ON ; - ST_PfeifferPTM704ST_PTMq_xResetBOOL + + + + + + ST_PfeifferPTM + 704 + ST_PTM + + q_xReset + BOOL + Extension of the PTM archetype for Pfeiffer turbos Applicable to: HiPace series w/ onboard controllers More? -]]>8384pytmc + + 8 + 384 + + + pytmc + pv: RESET; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_diPwrDINT32416pytmc + + + + + + i_diPwr + DINT + Readbacks + 32 + 416 + + + pytmc + pv: PWR_RBV; io: i; - i_diElecTempDINT32448pytmc + + + + + + i_diElecTemp + DINT + 32 + 448 + + + pytmc + pv: TempElec_RBV; io: i; - i_diBtmTempDINT32480pytmc + + + + + + i_diBtmTemp + DINT + 32 + 480 + + + pytmc + pv: TempPump_RBV; io: i; - i_diBrngTempDINT32512pytmc + + + + + + i_diBrngTemp + DINT + 32 + 512 + + + pytmc + pv: TempBearing_RBV; io: i; - i_diMtrTempDINT32544pytmc + + + + + + i_diMtrTemp + DINT + 32 + 544 + + + pytmc + pv: TempMotor_RBV; io: i; - i_iErrorCodeINT16576pytmc + + + + + + i_iErrorCode + INT + might change these to enumeration someday + 16 + 576 + + + pytmc + pv: ErrorCode_RBV; io: i; - i_iWarningCodeINT16592pytmc + + + + + + i_iWarningCode + INT + 16 + 592 + + + pytmc + pv: WarningCode_RBV; io: i; - i_xTempFaultBOOL8608pytmc + + + + + + i_xTempFault + BOOL + 8 + 608 + + + pytmc + pv: TempFault_RBV; field: ZNAM FALSE; field: ONAM TRUE; io: i; - i_uiPowerPctRbkUINT16624pytmc + + + + + + i_uiPowerPctRbk + UINT + 16 + 624 + + + pytmc + pv: Power_RBV; io: i; - i_dSetSpdDINT32640pytmc + + + + + + i_dSetSpd + DINT + 32 + 640 + + + pytmc + pv: SET_SPEED; io: io; field: EGU "Hz" - q_bSetSpdBOOL8672pytmc + + + + + + q_bSetSpd + BOOL + 8 + 672 + + + pytmc + pv: SET_SPEED_MODE; io: io; field: ZNAM FALSE; field: ONAM TRUE; - q_uiPowerPctUINT16688100FB_PTM_Pfeiffer83648FB_Pumpi_xExtIlkOKBOOL882624ItemTypeInputiq_stPTMST_PfeifferPTM70482656ItemTypeOutputpytmc + + + + + + q_uiPowerPct + UINT + Should normally be 100 + 16 + 688 + + 100 + + + + + FB_PTM_Pfeiffer + This function block does basic controls FOR the Pfeiffer Turbo pump connected to the TM700 and TC400 Controllers. + Turns off pump in the event of errors/ warnings. Provides interlocking interface. + 83648 + FB_Pump + + i_xExtIlkOK + BOOL + Connect to external interlock logic, TRUE if not used. + 8 + 82624 + + + ItemType + Input + + + + + iq_stPTM + ST_PfeifferPTM + 704 + 82656 + + + ItemType + Output + + + pytmc + pv: - TOF_RESETTON22483360.PT1000i_xAtSpdBOOL883584TcAddressTypeInputi_xFaultNCBOOL883592TcAddressTypeInputi_xWarnBOOL883600TcAddressTypeInputi_xRemoteBOOL883608TcAddressTypeInputq_RunDOBOOL883616TcAddressTypeOutputq_PumpingStationBOOL883624TcAddressTypeOutputq_xRemoteBOOL883632TcAddressTypeOutputq_xResetBOOL883640TcAddressTypeOutputACT_PersistentACT_LoggerACT_IOM_RunBOOL8runBOOL8M_Serial_IOBOOL8st_Pfeiffer_RBKST_PfeifferStatus1152st_Pfeiffer_CTRLST_PfeifferControl32ItemTypeInOutPouTypeFunctionBlockST_PIP1600xILKOkBOOL + + + + + TOF_RESET + TON + 224 + 83360 + + + .PT + 1000 + + + + + i_xAtSpd + BOOL + Normaml operation when true + 8 + 83584 + + + TcAddressType + Input + + + + + i_xFaultNC + BOOL + Error + 8 + 83592 + + + TcAddressType + Input + + + + + i_xWarn + BOOL + 8 + 83600 + + + TcAddressType + Input + + + + + i_xRemote + BOOL + 8 + 83608 + + + TcAddressType + Input + + + + + q_RunDO + BOOL + Start/Stop for TC110 link this output to the Pumping station bit + 8 + 83616 + + + TcAddressType + Output + + + + + q_PumpingStation + BOOL + Start/Stop interlock + 8 + 83624 + + + TcAddressType + Output + + + + + q_xRemote + BOOL + 8 + 83632 + + + TcAddressType + Output + + + + + q_xReset + BOOL + 8 + 83640 + + + TcAddressType + Output + + + + + ACT_Persistent + + + ACT_Logger + + + ACT_IO + + + M_Run + BOOL + 8 + + run + set to true to run, false to stop; + BOOL + 8 + + + + M_Serial_IO + BOOL + 8 + + st_Pfeiffer_RBK + ST_PfeifferStatus + 1152 + + + st_Pfeiffer_CTRL + ST_PfeifferControl + 32 + + + ItemType + InOut + + + + + + + PouType + FunctionBlock + + + + + ST_PIP + 1600 + + xILKOk + BOOL + Read back i_xHVisON : BOOL; - Interlock ]]>80pytmc + Interlock + 8 + 0 + + + pytmc + pv: ILK_OK; field: ZNAM NOT OK ; field: ONAM OK ; io: i; - xErrorBOOL88pytmc + + + + + + xError + BOOL + 8 + 8 + + + pytmc + pv: ERROR; field: ZNAM FALSE ; field: ONAM TRUE ; io: i; - rHVEna_SPREAL32320.0001pytmc + + + + + + rHVEna_SP + REAL + 32 + 32 + + 0.0001 + + + + pytmc + pv: AT_VAC_SP; io: io; field: HOPR 1000 @@ -939,33 +23404,133 @@ More? field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - sIlkDeviceNameSTRING(80)64864pytmc + + + + + + sIlkDeviceName + STRING(80) + 648 + 64 + + + pytmc + pv: ILK_DEVICE; io: i; - sPathSTRING(80)648712xHVEna_SWBOOL81360pytmc + + + + + + sPath + STRING(80) + Required for other devices using this gauge as interlock + 648 + 712 + + + xHVEna_SW + BOOL + EPICS Controls + 8 + 1360 + + + pytmc + pv: HV_SW; io: io; field: ZNAM OFF; field: ONAM ON; - xAutoOnBOOL813681pytmc + + + + + + xAutoOn + BOOL + 8 + 1368 + + 1 + + + + pytmc + pv: Auto_On; field: ZNAM FALSE; field: ONAM TRUE; io:io; - iAutoOnTimerINT161376pytmc + + + + + + iAutoOnTimer + INT + 16 + 1376 + + + pytmc + pv: AutoOn_timer; io:i; - xOverrideModeBOOL81392pytmc + + + + + + xOverrideMode + BOOL + Shows the override status of this valve + 8 + 1392 + + + pytmc + pv: OVRD_ON ; field: ZNAM Override OFF ; field: ONAM Override ON; io: io; - pv_xOvrdStartBOOL81400pytmc + + + + + + pv_xOvrdStart + BOOL + 8 + 1400 + + + pytmc + pv: FORCE_START; io: io; field: ZNAM FALSE; field: ONAM FORCE START; - rHYS_PRREAL3214080.001pytmc + + + + + + rHYS_PR + REAL + Protection setpoint hysteresis + 32 + 1408 + + 0.001 + + + + pytmc + pv: SP_HYS; io: io; field: HOPR 1000 @@ -973,35 +23538,124 @@ More? field: PREC 2 field: EGU "TORR" autosave_pass1: VAL DESC - iOffsetINT16144013pytmc + + + + + + iOffset + INT + 16 + 1440 + + 13 + + + + pytmc + pv: AI_Offset; io: io; - bOutputInvertedBOOL81456pytmc + + + + + + bOutputInverted + BOOL + 8 + 1456 + + + pytmc + pv: Inverted; field: ZNAM NORMAL; field: ONAM INVERTED; io: io; - q_xHVEna_DOBOOL81464pytmc + + + + + + q_xHVEna_DO + BOOL + Enable High Voltage when True // 'TcLinkTo' (EL1124) ^Input + 8 + 1464 + + + pytmc + pv: HV_DO; field: ZNAM OFF; field: ONAM ON; io: i; - rPRESSREAL321472pytmc + + + + + + rPRESS + REAL + 32 + 1472 + + + pytmc + pv: PRESS; field: HOPR 1000 field: LOPR 0 field: PREC 2 field: EGU "TORR" io: i; - i_iPRESSREAL321504pytmc + + + + + + i_iPRESS + REAL + 32 + 1504 + + + pytmc + pv: PRESS_AI; io: i; - i_xHV_DIBOOL81536pytmc + + + + + + i_xHV_DI + BOOL + NO contact // 'TcLinkTo' (EL1004) ^Input + 8 + 1536 + + + pytmc + pv: HV_DI; field: ZNAM FALSE; field: ONAM TRUE; io:i; - eStateE_PumpState161552pytmc + + + + + + eState + E_PumpState + 16 + 1552 + + + pytmc + pv: STATE; field: ZRST STOPPED; field: ONST STARTING; @@ -1009,49 +23663,4158 @@ More? field: THST FAULT; field: FRST STOPPING; io: i; - xLogBOOL815681pytmc + + + + + + xLog + BOOL + 8 + 1568 + + 1 + + + + pytmc + pv: LOGGER; io: io; field: ZNAM OFF ; field: ONAM ON ; - FB_PIP_Gamma90624FB_Pumpi_stGaugeST_VG105682624ItemTypeInputi_xOverrideModeBOOL883680ItemTypeInputtRecoverDelayTIME3283712900000ItemTypeInputstPumpST_PIP160083744ItemTypeOutputpytmc + + + + + + + FB_PIP_Gamma + This function block does basic controls FOR the ION pump connected to a Gamma QPCe controller. + Provides interlocking interface. Enable HV only when interlock gauge press is less than 1.0E-4 Torr + 90624 + FB_Pump + + i_stGauge + ST_VG + Ion or Pirani gauge for pump interlock + 1056 + 82624 + + + ItemType + Input + + + + + i_xOverrideMode + BOOL + To be linked to global override bit. This Overrides Vacuum interlock logic + 8 + 83680 + + + ItemType + Input + + + + + tRecoverDelay + TIME + Delay Time after the first cycle to start the device. Default is 900S + 32 + 83712 + + 900000 + + + + ItemType + Input + + + + + stPump + ST_PIP + Gamma Ion pump structure + 1600 + 83744 + + + ItemType + Output + + + pytmc + pv: - q_IGST_VG105685344ItemTypeOutputrPRESSREAL3286400rVREAL3286432timerTON22486464q_xHVEna_DOBOOL886688TcAddressTypeOutputi_iPRESSINT1686704TcAddressTypeInputi_xSP_DIBOOL886720TcAddressTypeInputtTimeOutActionF_TRIG6486752tOverrideActivatedR_TRIG6486816tPumpStartTimeoutTON22486880.PT10000MinPressureREAL32871041E-11stateTimerTON22487136tonOvrdTON22487360tonDelOKTON22487584rtOKR_TRIG6487808tOvrdTIME328787210000sPathSTRING(80)64887904instance-pathnoinitfbGetCurTaskIdxGETCURTASKINDEX12888576fbWritePersistentDataWritePersistentData160088704tRecoverTON22490304rDefaultHVEna_SPREAL32905280.0001rHVEna_SPREAL3290560TcPersistentbWasOnBOOL890592TcPersistentbAutoRecoverBOOL890600TcPersistentbAutoRecoverWriteBOOL890608TcPersistentACT_LoggerACT_IlkOverrideACT_SetGaugeIOACT_RecoverACT_PersistentM_RunBOOL8runBOOL8M_RecoverBOOL8M_AutoOnBOOL8PouTypeFunctionBlockreflectionPlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512_Implicit_KindOfTask16INT_implicit_cyclic0_implicit_event1_implicit_external2_implicit_freewheeling3_Implicit_Jitter_Distribution48wRangeMaxWORD160wCountJitterNegWORD1616wCountJitterPosWORD1632hide_Implicit_Task_Info704dwVersionDWORD320pszNameSTRING(80)3232nPriorityINT1664KindOf_Implicit_KindOfTask1680bWatchdogBOOL896bProfilingTaskBOOL8104dwEventFunctionPointerBYTE32128pszExternalEventSTRING(80)32160dwTaskEntryFunctionPointerBYTE32192dwWatchdogSensitivityDWORD32224dwIntervalDWORD32256dwWatchdogTimeDWORD32288dwLastCycleTimeDWORD32320dwAverageCycleTimeDWORD32352dwMaxCycleTimeDWORD32384dwMinCycleTimeDWORD32416diJitterDINT32448diJitterMinDINT32480diJitterMaxDINT32512dwCycleCountDWORD32544wTaskStatusWORD16576wNumOfJitterDistributionsWORD16592pJitterDistribution_Implicit_Jitter_Distribution32608bWithinSPSTimeSlicingBOOL8640byDummyBYTE8648bShouldBlockBOOL8656bActiveBOOL8664dwIECCycleCountDWORD32672hideTcSystemEventClassInternalErrorErrorNoRTimeErrorAllocationLockedMemoryErrorErrorInsertMailboxErrorErrorWrongReceiveHMSGErrorTargetPortNotFoundErrorTargetMachineNotFoundErrorUnknownCommandIDErrorBadTaskIDErrorNoIOErrorUnknownAdsCommandErrorWin32ErrorErrorPortNotConnectedErrorInvalidAdsLengthErrorInvalidAdsNetIDErrorLowInstallationLevelErrorNoDebugAvailableErrorPortDisabledErrorPortAlreadyConnectedErrorAdsSyncWin32ErrorErrorAdsSyncTimeoutErrorAdsSyncAmsErrorErrorAdsSyncNoIndexMapErrorInvalidAdsPortErrorNoMemoryErrorTCPSendErrorErrorHostUnreachableErrorInvalidAMSFragmentErrorTcGeneralAdsEventClassGeneralDeviceErrorErrorServiceNotSupportedErrorInvalidIndexGroupErrorInvalidIndexOffsetErrorInvalidAccessErrorInvalidSizeErrorInvalidDataErrorNotReadyErrorBusyErrorInvalidContextErrorNoMemoryErrorInvalidParamErrorNotFoundErrorSyntaxErrorIncompatibleErrorAlreadyExistsErrorSymbolNotFoundErrorSymbolVersionInvalid 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_PENDINGErrorLCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseST_System40xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832analysis-33ST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2E_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_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152T_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_TRIG64621296160StoredTestSuiteResultsBOOL8621296224StoredGeneralTestResultsBOOL8621296232NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16621296240GetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32PouTypeFunctionBlockI_TestResultLogger32PVOIDLogTestSuiteResultsUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100FB_AdsTestResultLogger + + + + + q_IG + ST_VG + When ion pump is used as a measuring device for interlocking gate valves + 1056 + 85344 + + + ItemType + Output + + + + + rPRESS + REAL + 32 + 86400 + + + rV + REAL + 32 + 86432 + + + timer + TON + 224 + 86464 + + + q_xHVEna_DO + BOOL + Enable High Voltage when TRUE + 8 + 86688 + + + TcAddressType + Output + + + + + i_iPRESS + INT + 16 + 86704 + + + TcAddressType + Input + + + + + i_xSP_DI + BOOL + NO contact //function of relay set on the QPC to HV output state + 8 + 86720 + + + TcAddressType + Input + + + + + tTimeOutAction + F_TRIG + For logging + 64 + 86752 + + + tOverrideActivated + R_TRIG + 64 + 86816 + + + tPumpStartTimeout + TON + Timeout pump start if pressure < 1E-11 for more than 10s. + 224 + 86880 + + + .PT + 10000 + + + + + MinPressure + REAL + Minimum readback pressure, pump must register pressure above this to be considered running + 32 + 87104 + + 1E-11 + + + + stateTimer + TON + 224 + 87136 + + + tonOvrd + TON + Overrides + 224 + 87360 + + + tonDelOK + TON + 224 + 87584 + + + rtOK + R_TRIG + 64 + 87808 + + + tOvrd + TIME + 32 + 87872 + + 10000 + + + + sPath + STRING(80) + 648 + 87904 + + + instance-path + + + noinit + + + + + fbGetCurTaskIdx + GETCURTASKINDEX + 128 + 88576 + + + fbWritePersistentData + WritePersistentData + 1600 + 88704 + + + tRecover + TON + 224 + 90304 + + + rDefaultHVEna_SP + REAL + Default protection setpoint as per the gamma QPCe manual + 32 + 90528 + + 0.0001 + + + + rHVEna_SP + REAL + 32 + 90560 + + + TcPersistent + + + + + bWasOn + BOOL + 8 + 90592 + + + TcPersistent + + + + + bAutoRecover + BOOL + 8 + 90600 + + + TcPersistent + + + + + bAutoRecoverWrite + BOOL + 8 + 90608 + + + TcPersistent + + + + + ACT_Logger + + + ACT_IlkOverride + + + ACT_SetGauge + + + IO + + + ACT_Recover + + + ACT_Persistent + + + M_Run + BOOL + 8 + + run + set to true to run, false to stop; + BOOL + 8 + + + + M_Recover + BOOL + 8 + + + M_AutoOn + BOOL + 8 + + + + PouType + FunctionBlock + + + reflection + + + + + 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 + + + + + + + + + + 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 + + + + + + + + _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 + + + + + LCLSGeneralEventClass + Log event + + Critical + Critical + Critical + + + Error + Error + Error + + + Warning + Warning + Warning + + + Info + Info + Info + + + Verbose + Verbose + Verbose + + + + + + + + + + + + + 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 + + + + + + + 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 + + + + + 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 + + + + E_WATCHDOG_TIME_CONFIG + 16 + INT + + eWATCHDOG_TIME_DISABLED + 0 + + + eWATCHDOG_TIME_SECONDS + 1 + + + eWATCHDOG_TIME_MINUTES + 2 + + + + E_SBCSType + 16 + INT + + eSBCS_WesternEuropean + 1 + Windows 1252 (default) + + + eSBCS_CentralEuropean + 2 + Windows 1251 + + + + 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 + + + + 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 + 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 + + + + 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)16MaxNumberOfTestsToPrintUINT (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 + 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 + + + + + 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 + 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)16IsFailedBOOL8PouTypeFunctionBlockUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100TYPE_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_CLASS3264linkalwaysTypeClass16INTTYPE_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 + 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 + + + + + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 100 + + + + + 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 + + + + + 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). @@ -1060,7 +27823,457 @@ More? - 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 @@ -1071,40 +28284,6814 @@ More? - 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_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32FindTestSuiteInstancePathT_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_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertArrayEquals_BYTEExpectedsBYTE32variable_length_arrayDimensions1ActualsBYTE32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedByteStringSTRING(80)648ActualByteStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_DATEExpectedDATE32ActualDATE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_WORDExpectedWORD16ActualWORD16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LINTExpectedsLINT32variable_length_arrayDimensions1ActualsLINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_LTIMEExpectedLTIME64ActualLTIME64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_UINTExpectedsUINT32variable_length_arrayDimensions1ActualsUINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_LREALExpectedLREAL64ActualLREAL64DeltaLREAL64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LWORDExpectedsLWORD32variable_length_arrayDimensions1ActualsLWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedLWordStringSTRING(80)648ActualLWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32AssertEqualsExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_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_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32SetHasStartedRunningSetTestFailedAssertionTypeE_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)648ExpectedsIndexDINT32ActualsIndexDINT32GetHasStartedRunningBOOL8AssertArrayEquals_LREALExpectedsLREAL32variable_length_arrayDimensions1ActualsLREAL32variable_length_arrayDimensions1DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_WSTRINGExpectedWSTRING(255)4096ActualWSTRING(255)4096MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8IsTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_REALExpectedsREAL32variable_length_arrayDimensions1ActualsREAL32variable_length_arrayDimensions1DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_DINTExpectedDINT32ActualDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_DINTExpectedsDINT32variable_length_arrayDimensions1ActualsDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_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)648ExpectedsIndexDINT32ActualsIndexDINT32AssertArray3dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions3ActualsLREAL32variable_length_arrayDimensions3DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertArrayEquals_INTExpectedsINT32variable_length_arrayDimensions1ActualsINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32CalculateAndSetNumberOfAssertsForTestTestNameT_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_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertArrayEquals_UDINTExpectedsUDINT32variable_length_arrayDimensions1ActualsUDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32PouTypeFunctionBlockcall_after_initreflectionST_AdsLogStringMessage4128MsgCtrlMaskDWORD320MsgFmtStrT_MaxString204832StrArgT_MaxString20482080pack_mode1FB_MemRingBuffer + 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_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_localsFB_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 + + + + + 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_AdsLogStringMessage4128ItemTypeOutputErrorBOOL8ItemTypeOutputPouTypeFunctionBlockPE_Ranges + 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 + + + + + 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.]]>32PouTypeFunctionBlock_ST_NCADS_IDXOFFS_AxisParameter1632PARAMSTRUCTUDINT3200IDUDINT32321NAMEUDINT32642AXISTYPEUDINT32963CYCLETIMEUDINT321284UNITNAMEUDINT321605VELOREFSEARCHUDINT321926VELOSYNCSEARCHUDINT322247VELOSLOWMANUALUDINT322568VELOFASTMANUALUDINT322889VELOFASTUDINT3232010POSAREAENABLEUDINT3235215POSAREARANGEUDINT3238416MOTCNTRLENABLEUDINT3241617MOTCNTRLTIMEUDINT3244818LOOPENABLEUDINT3248019LOOPDISTANCEUDINT3251220TARGETPOSENAUDINT3254421TARGETPOSRANGEUDINT3257622TARGETPOSTIMEUDINT3260823PULSDISTPOSUDINT3264024PULSDISTNEGUDINT3267225FADINGACCELERATIONUDINT3270429FASTAXISSTOPSIGNALTYPEUDINT3273630UNITFLAGSUDINT3276838VELOMAXIMUMUDINT3280039MOTCNTRLRANGEUDINT3283240PEHCONTROLENAUDINT3286441PEHCONTROLTIMEUDINT3289642BACKLASHCOMPENAUDINT3292843BACKLASHUDINT3296044DATAPERSISTENCEUDINT3299248HWAMSADDRUDINT32102449HWCHNNOUDINT32105650APPLICATIONREQUESTUDINT32108851ACCUDINT321120257DECUDINT321152258JERKUDINT321184259DELAYUDINT321216260OVERRIDETYPEUDINT321248261VELOJUMPFACTORUDINT321280262REDUCTIONFEEDBACKUDINT321312263TOLERANCEBALLAUXAXISUDINT321344264MAXPOSDEVIATIONAUXAXISUDINT321376265FASTACCUDINT321408266FASTDECUDINT321440267FASTJERKUDINT321472268REF_POSUDINT32150465795ENCSEARCHDIRUDINT32153665793ENCSYNCDIRUDINT32156865794ENCREFMODEUDINT32160065799conditionalshow_ST_NCADS_AxisParameter1664IDXGRPUDINT32016384IDXOFFS_ST_NCADS_IDXOFFS_AxisParameter163232conditionalshow_ST_NCADS_IDXOFFS_AxisState800ONLINESTRUCTUDINT3200ERRORUDINT32321SETTASKCYCLEUDINT + 32 + + + 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_TableFunctions128224conditionalshowADSRDDEVINFO1280NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputRDINFOBOOL8240ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputDEVNAMESTRING(19)160352ItemTypeOutputDEVVERUDINT32512ItemTypeOutputPouTypeFunctionBlockhide_all_locals_TCMCGLOBAL6976NCPORT_TCMCUINT1632500ItemTypeInputNCPORT_TCMC_COUPLINGUINT1648500ItemTypeInputNCNETID_TCMCT_AmsNetID19264ItemTypeInputNCPORT_TCMC_CAMUINT16256500ItemTypeInputNCPORT_TCMC_CAM_FASTUINT16272500ItemTypeInputNCNETID_TCMC_CAMT_AmsNetID192288ItemTypeInputNCPORT_TCMC_SUPERPOSITIONUINT16480501ItemTypeInputNCPORT_TCMC_RESETUINT16496500ItemTypeInputNcDeviceInfoTcMainVersionDWORD32512ItemTypeOutputNcDeviceInfoTcSubVersionDWORD32544ItemTypeOutputNcDeviceInfoNcDriverVersionDWORD32576ItemTypeOutputNcDeviceInfoNcVersionDWORD32608ItemTypeOutputNcDeviceInfoNcNameSTRING(19)160640ItemTypeOutputAxis_ST_NCADS_Axis4320800ItemTypeOutputsuppress_warning_0C0228Table_ST_NCADS_Table3525120ItemTypeOutputsuppress_warning_0C0228NCPORT_TCNCCAMMING_TABLEFUNCTIONUINT165472500tTargetPosTimeOutTIME3255046000tADSTimeOutTIME3255361000tStopMonitoringTimeOutTIME325568100NCTOPLC_FEEDBACK_MAXWAITCYCLESINT16560010fbADSRDDEVINFOADSRDDEVINFO12805632DeviceVersionDWORD326912InitBOOL86944ReadDeviceInfoPouTypeFunctionBlockconditionalshowFB_ChemRIXS_Turbo_ILK1504i_stValveST_ValveBase80032ItemTypeInputi_stPumpST_PTM384832ItemTypeInputtDelayTIME321216ItemTypeInputbILKBOOL81248ItemTypeOutputtofDelayTOF2241280PouTypeFunctionBlockComSerialLineMode_t16INTSERIALLINEMODE_DEFAULT0SERIALLINEMODE_KL6_3B_ALTERNATIVE1SERIALLINEMODE_KL6_5B_STANDARD2SERIALLINEMODE_KL6_22B_STANDARD3SERIALLINEMODE_PC_COM_PORT4SERIALLINEMODE_EL6_22B5SERIALLINEMODE_IE6_11B6ComDebugBuffer9648BufferINT030148160StatusINT030148164816IdxUINT169632hideSerialLineControl + 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 + + + + + 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 + + + + + NCPORT_TCMC_RESET + UINT + 20211019 KSt added + 16 + 496 + + 500 + + + + 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 + + + + + FB_ChemRIXS_Turbo_ILK + 1504 + + i_stValve + ST_ValveBase + 800 + 32 + + + ItemType + Input + + + + + i_stPump + ST_PTM + 384 + 832 + + + ItemType + Input + + + + + tDelay + TIME + 32 + 1216 + + + ItemType + Input + + + + + bILK + BOOL + 8 + 1248 + + + ItemType + Output + + + + + tofDelay + TOF + 224 + 1280 + + + + PouType + FunctionBlock + + + + + ComSerialLineMode_t + 16 + INT + + SERIALLINEMODE_DEFAULT + 0 + + + SERIALLINEMODE_KL6_3B_ALTERNATIVE + 1 + + + SERIALLINEMODE_KL6_5B_STANDARD + 2 + + + SERIALLINEMODE_KL6_22B_STANDARD + 3 + + + SERIALLINEMODE_PC_COM_PORT + 4 + + + SERIALLINEMODE_EL6_22B + 5 + + + SERIALLINEMODE_IE6_11B + 6 + + + + ComDebugBuffer + 9648 + + Buffer + INT + + 0 + 301 + + 4816 + 0 + + + Status + INT + + 0 + 301 + + 4816 + 4816 + + + Idx + UINT + 16 + 9632 + + + + hide + + + + + SerialLineControl + ============================================================= * Modul: Serial line interface controller for background communication * supports multiple interface types like * KL6xxx 3 byte alternative mode @@ -1117,64 +35104,2916 @@ More? * PLC communication buffers (RxBuffer, TxBuffer) * * Date: 21.12.2004 - * ============================================================= ]]>10432ModeComSerialLineMode_t1632ItemTypeInputpComInBYTE0663264ItemTypeInputpComOutBYTE0663296ItemTypeInputSizeComInINT16128ItemTypeInputErrorBOOL8144ItemTypeOutputErrorIDComError_t16160ItemTypeOutputTxBufferComBuffer32192ItemTypeInOutRxBufferComBuffer32224ItemTypeInOutnBlockedCounter_TxBufferUDINT32256nBlockedCounter_RxBufferUDINT32288ComPortDebugBufferComDebugBuffer9648320InvalidDataExchangeModeUINT169968RegisterModeUINT169984pCTRLWORD3210016pSTATUSWORD3210048wCtrlWORD1610080wStatusWORD1610096RxCountWORD1610112TxCountWORD1610128DataIndexUINT1610144DataCountMaskWORD1610160DataCountShiftBYTE810176ReceiveHandshakeBitWORD1610192TransmitHandshakeBitWORD1610208TransmitBufferSentBitWORD1610224ContinousModeStartBitWORD1610240ReceiveBufferFullBitWORD1610256ResetBitWORD1610272RRWORD1610288RAWORD1610304TRWORD1610320TAWORD1610336IAWORD1610352BUF_FWORD1610368noTAcounterBYTE810384initializedBOOL810392TransmitDataSentBOOL810400iUINT1610416PouTypeFunctionBlockEL6inData22B + 10432 + + Mode + ComSerialLineMode_t + 16 + 32 + + + ItemType + Input + + + + + pComIn + BYTE + + 0 + 66 + + must meet the maximum size of a hardware related data structure + 32 + 64 + + + ItemType + Input + + + + + pComOut + BYTE + + 0 + 66 + + must meet the maximum size of a hardware related data structure + 32 + 96 + + + ItemType + Input + + + + + SizeComIn + INT + 16 + 128 + + + ItemType + Input + + + + + Error + BOOL + 8 + 144 + + + ItemType + Output + + + + + ErrorID + ComError_t + 16 + 160 + + + ItemType + Output + + + + + TxBuffer + ComBuffer + 32 + 192 + + + ItemType + InOut + + + + + RxBuffer + ComBuffer + 32 + 224 + + + ItemType + InOut + + + + + nBlockedCounter_TxBuffer + UDINT + 32 + 256 + + + nBlockedCounter_RxBuffer + UDINT + 32 + 288 + + + ComPortDebugBuffer + ComDebugBuffer + 9648 + 320 + + + InvalidDataExchangeMode + UINT + 16 + 9968 + + + RegisterMode + UINT + 16 + 9984 + + + pCTRL + WORD + 32 + 10016 + + + pSTATUS + WORD + 32 + 10048 + + + wCtrl + WORD + 16 + 10080 + + + wStatus + WORD + 16 + 10096 + + + RxCount + WORD + 16 + 10112 + + + TxCount + WORD + 16 + 10128 + + + DataIndex + UINT + 16 + 10144 + + + DataCountMask + WORD + 16 + 10160 + + + DataCountShift + BYTE + 8 + 10176 + + + ReceiveHandshakeBit + WORD + 16 + 10192 + + + TransmitHandshakeBit + WORD + 16 + 10208 + + + TransmitBufferSentBit + WORD + 16 + 10224 + + + ContinousModeStartBit + WORD + 16 + 10240 + + + ReceiveBufferFullBit + WORD + 16 + 10256 + + + ResetBit + WORD + 16 + 10272 + + + RR + WORD + 16 + 10288 + + + RA + WORD + 16 + 10304 + + + TR + WORD + 16 + 10320 + + + TA + WORD + 16 + 10336 + + + IA + WORD + 16 + 10352 + + + BUF_F + WORD + 16 + 10368 + + + noTAcounter + BYTE + 8 + 10384 + + + initialized + BOOL + 8 + 10392 + + + TransmitDataSent + BOOL + 8 + 10400 + + + i + UINT + 16 + 10416 + + + + PouType + FunctionBlock + + + + + EL6inData22B + This data type is corresponding to the EL-6xxx data structure used in the TwinCAT SystemManager (EL-6xxx version using 22 data bytes) -]]>192StatusWORD160DBYTE02217616EL6outData22B + 192 + + Status + WORD + 16 + 0 + + + D + BYTE + + 0 + 22 + + 176 + 16 + + + + EL6outData22B + This data type is corresponding to the EL-6xxx data structure used in the TwinCAT SystemManager (EL-6xxx version using 22 data bytes) -]]>192CtrlWORD160DBYTE02217616FB_VRC_NO84928FB_Valvei_xExtILK_OKBOOL882304ItemTypeInputi_xOverrideModeBOOL882312ItemTypeInputiq_stValveST_VRC_NO83282320ItemTypeOutputpytmc + + 192 + + Ctrl + WORD + 16 + 0 + + + D + BYTE + + 0 + 22 + + 176 + 16 + + + + FB_VRC_NO + This function block is different from the regular VRC in that CLOSING must be permitted. + 84928 + FB_Valve + + i_xExtILK_OK + BOOL + Connect to Interlock logic condition(e.g F_TURBO_VRC_ILK Function), otherwise, Set to True if the valve is not interlocked + 8 + 82304 + + + ItemType + Input + + + + + i_xOverrideMode + BOOL + To be linked to global override bit. This Overrides Vacuum logic only, EPS, MPS and PMPS are still enforces + 8 + 82312 + + + ItemType + Input + + + + + iq_stValve + ST_VRC_NO + 832 + 82320 + + + ItemType + Output + + + pytmc + pv: - sPathSTRING(80)64883152noinitxFirstPassBOOL883800fbFSInitR_TRIG6483808tonOvrdTON22483872tonDelOKTON22484096rtOKR_TRIG6484320tOvrdTIME328438410000tTimeOutDurationTIME328441630000tOPNtimeoutTON22484448tCLStimeoutTON22484672i_xOpnLSBOOL884896TcAddressTypeInputi_xClsLSBOOL884904TcAddressTypeInputq_xCLS_DOBOOL884912TcAddressTypeOutputACT_IOM_IsOpenBOOL8M_IsClosedBOOL8M_Set_CLS_SWBOOL8valueBOOL8PouTypeFunctionBlockFB_VRC_NO_FFO172480FB_VRC_NOio_fbFFHWOFB_HardwareFFOutput3284928ItemTypeInOutfbArbiterFB_Arbiter3284960ItemTypeInOutold_input_assignmentsi_xPMPS_OKBOOL884992ItemTypeInputi_xIsApertureBOOL8850000ItemTypeInputi_sDevNameT_MaxString204885008VGC_NOItemTypeInputi_nTransitionRootIDUDINT3287072ItemTypeInputxPMPS_OKBOOL887104bMovingBOOL887112bDoneBOOL887120tBPTMtimeoutTON22487136bptmBeamParameterTransitionManager6000087360FFOFB_FastFault25088147360.i_DevNameVGC.i_DescFault occurs when the valve is not in safe state.i_TypeCode4112xMPS_OKBOOL8172448ACT_PMPSACT_IOM_IsOpenBOOL8M_IsClosedBOOL8M_Set_CLS_SWBOOL8valueBOOL8PouTypeFunctionBlockST_VVC40pv_xOPN_SWBOOL80pytmc + + + + + + sPath + STRING(80) + 648 + 83152 + + + noinit + + + + + xFirstPass + BOOL + 8 + 83800 + + + fbFSInit + R_TRIG + 64 + 83808 + + + tonOvrd + TON + 224 + 83872 + + + tonDelOK + TON + 224 + 84096 + + + rtOK + R_TRIG + 64 + 84320 + + + tOvrd + TIME + 32 + 84384 + + 10000 + + + + tTimeOutDuration + TIME + Timeouts + 32 + 84416 + + 30000 + + + + tOPNtimeout + TON + 224 + 84448 + + + tCLStimeout + TON + 224 + 84672 + + + i_xOpnLS + BOOL + IO + 8 + 84896 + + + TcAddressType + Input + + + + + i_xClsLS + BOOL + 8 + 84904 + + + TcAddressType + Input + + + + + q_xCLS_DO + BOOL + 8 + 84912 + + + TcAddressType + Output + + + + + ACT_IO + + + M_IsOpen + BOOL + 8 + + + M_IsClosed + BOOL + 8 + + + M_Set_CLS_SW + BOOL + 8 + + value + BOOL + 8 + + + + + PouType + FunctionBlock + + + + + FB_VRC_NO_FFO + This function block is different from the regular VRC in that CLOSING must be permitted. + 172736 + FB_VRC_NO + + io_fbFFHWO + FB_HardwareFFOutput + 32 + 84928 + + + ItemType + InOut + + + + + fbArbiter + FB_Arbiter + 32 + 84960 + + + ItemType + InOut + + + old_input_assignments + + + + + i_xPMPS_OK + BOOL + Set to True To switch off the bptm and PMPS Arbiter + 8 + 84992 + + + ItemType + Input + + + + + i_xIsAperture + BOOL + Set tp True if this is an Aperture Valve, the MPS Fault will trip only when moving. + 8 + 85000 + + 0 + + + + ItemType + Input + + + + + i_sDevName + T_MaxString + Device name for diagnostic + 2048 + 85008 + + VGC_NO + + + + ItemType + Input + + + + + i_nTransitionRootID + UDINT + A unique transition Root ID that is equal to or greater than 1000i_xIsAperture:BOOL :=FALSE; // Set tp True if this is an Aperture Valve, the MPS Fault will trip only when moving. + 32 + 87072 + + + ItemType + Input + + + + + xPMPS_OK + BOOL + PMPS interlock + 8 + 87104 + + + bMoving + BOOL + 8 + 87112 + + + bDone + BOOL + 8 + 87120 + + + tBPTMtimeout + TON + 224 + 87136 + + + bptm + BeamParameterTransitionManager + 60256 + 87360 + + + FFO + FB_FastFault + 25088 + 147616 + + + .i_DevName + VGC + + + .i_Desc + Fault occurs when the valve is not in safe state + + + .i_TypeCode + 4112 + + + + + xMPS_OK + BOOL + MPS Fast OK, is set when the Valve is Open + 8 + 172704 + + + ACT_PMPS + + + ACT_IO + + + M_IsOpen + BOOL + 8 + + + M_IsClosed + BOOL + 8 + + + M_Set_CLS_SW + BOOL + 8 + + value + BOOL + 8 + + + + + PouType + FunctionBlock + + + + + ST_VVC + 40 + + pv_xOPN_SW + BOOL + Inputs + 8 + 0 + + + pytmc + pv: OPN_SW; field: ZNAM CLOSE; field: ONAM OPEN; io: io; - xOvrdOpnBOOL88pytmc + + + + + + xOvrdOpn + BOOL + 8 + 8 + + + pytmc + pv:FORCE_OPN; field: ZNAM FALSE; field: ONAM FORCE OPEN; io: io; - xOverrideModeBOOL816pytmc + + + + + + xOverrideMode + BOOL + Shows the override status of this valve + 8 + 16 + + + pytmc + pv: OVRD_ON; field: ZNAM Override OFF ; field: ONAM Override ON; io: io; - xOPN_OKBOOL824pytmc + + + + + + xOPN_OK + BOOL + 8 + 24 + + + pytmc + pv: OPN_OK; field: ZNAM OPN ILK NOT OK ; field: ONAM OPN ILK OK ; io: i; - q_xOPN_DOBOOL832pytmc + + + + + + q_xOPN_DO + BOOL + Outputs + 8 + 32 + + + pytmc + pv: OPN_DO; field: ZNAM CLOSE; field: ONAM OPEN; io: i; - FB_VVC + + + + + + FB_VVC + This Function Block Implements Basic Functionality for Vent Valves VVC. This function block is also intended for the general use case of solenoid driven (non-variable) valves that lack status readbacks or position indicators. - Note Interlock Logic is External ]]>640i_xExtILK_OKBOOL832ItemTypeInputi_xOverrideModeBOOL840ItemTypeInputiq_stValveST_VVC4048ItemTypeOutputpytmc + Note Interlock Logic is External + 640 + + i_xExtILK_OK + BOOL + Other External Interlock, Set to True when no external interlock is required + 8 + 32 + + + ItemType + Input + + + + + i_xOverrideMode + BOOL + To be linked to global override bit. This Overrides Vacuum logic only + 8 + 40 + + + ItemType + Input + + + + + iq_stValve + ST_VVC + 40 + 48 + + + ItemType + Output + + + pytmc + pv: - tonOvrdTON22496tonDelOKTON224320rtOKR_TRIG64544q_xOPN_DOBOOL8608TcAddressTypeOutputpv_xOvrdOpnINT16624ACT_IOM_IsOpenBOOL8M_Set_OPN_SWBOOL8valueBOOL8M_IsClosedBOOL8M_OpenBOOL8openBOOL8PouTypeFunctionBlockVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PLC_QRIX_VAC{08500001-0000-0000-F000-000000000064}{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication0PlcTask#x020100301CommTask#x020100400PlcTask Inputs081723392GVL_Interface.QRIX_MOT_SDS_MMS_H_FORWARD_EN8BOOLTcLinkToTIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Inputs^QRIX_MOT_SDS_MMS_H_FORWARD_EN - TcAddressTypeInputTcVarGlobal634862408PRG_2_PMPS.fbArbiterIO.i_stCurrentBP1696ST_BeamParams_IOTcLinkToTIIB[PMPS_PRE]^IO Inputs^CurrentBPTcAddressTypeInput634864928PRG_2_PMPS.fbArbiterIO.xTxPDO_toggle1BITpytmcpv: TxPDO_toggle - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggleTcAddressTypeInput634868320PRG_2_PMPS.fbArbiterIO.xTxPDO_state1BITpytmcpv: TxPDO_state - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO stateTcAddressTypeInput634868321GVL_Interface.QRIX_MOT_SDS_MMS_H_BACKWARD_EN8BOOLTcLinkToTIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Inputs^QRIX_MOT_SDS_MMS_H_BACKWARD_EN - TcAddressTypeInputTcVarGlobal635006304GVL_Devices.qRIXS_ROUGH_GPI_02.i_iPRESS_R16INTTcAddressTypeInput641736256GVL_Devices.qRIXS_ROUGH_GPI_11.i_iPRESS_R16INTTcAddressTypeInput641822976GVL_Devices.qRIXS_ROUGH_GPI_12.i_iPRESS_R16INTTcAddressTypeInput641909696GVL_Devices.qRIXS_ROUGH_GPI_21.i_iPRESS_R16INTTcAddressTypeInput641996416GVL_Devices.qRIXS_SC_GCC_01.i_iPRESS_R16INTTcAddressTypeInput642084656GVL_Devices.qRIXS_SC_GCC_01.i_xHV_ON8BOOLTcAddressTypeInput642084680GVL_Devices.qRIXS_SC_GCC_01.i_xDisc_Active8BOOLTcAddressTypeInput642084688GVL_Devices.qRIXS_SC_GPI_01.i_iPRESS_R16INTTcAddressTypeInput642171520GVL_Devices.qRIXS_ROUGH_GPI_31.i_iPRESS_R16INTTcAddressTypeInput642258240GVL_Devices.qRIXS_SA_GCP_02.i_iPRESS_R16INTTcAddressTypeInput642344912GVL_Devices.qRIXS_SSL_GCP_20.i_iPRESS_R16INTTcAddressTypeInput642431376GVL_Devices.qRIXS_SSL_GCP_30.i_iPRESS_R16INTTcAddressTypeInput642517840GVL_Devices.qRIXS_SDS_GCP_01.i_iPRESS_R16INTTcAddressTypeInput642604304GVL_Devices.qRIXS_ROUGH_VRC_01.i_xOpnLS8BOOLTcAddressTypeInput642775968GVL_Devices.qRIXS_ROUGH_VRC_01.i_xClsLS8BOOLTcAddressTypeInput642775976GVL_Devices.qRIXS_ROUGH_VRC_02.i_xOpnLS8BOOLTcAddressTypeInput642860896GVL_Devices.qRIXS_ROUGH_VRC_02.i_xClsLS8BOOLTcAddressTypeInput642860904GVL_Devices.qRIXS_SC_VRC_10.i_xOpnLS8BOOLTcAddressTypeInput643305504GVL_Devices.qRIXS_SC_VRC_10.i_xClsLS8BOOLTcAddressTypeInput643305512GVL_Devices.qRIXS_SC_VRC_20.i_xOpnLS8BOOLTcAddressTypeInput643390432GVL_Devices.qRIXS_SC_VRC_20.i_xClsLS8BOOLTcAddressTypeInput643390440GVL_Devices.qRIXS_SC_VRC_30.i_xOpnLS8BOOLTcAddressTypeInput643475360GVL_Devices.qRIXS_SC_VRC_30.i_xClsLS8BOOLTcAddressTypeInput643475368GVL_Devices.qRIXS_SC_VGC_01.i_xOpnLS8BOOLTcAddressTypeInput643652352GVL_Devices.qRIXS_SC_VGC_01.i_xClsLS8BOOLTcAddressTypeInput643652360GVL_Devices.qRIXS_SC_VGC_02.i_xOpnLS8BOOLTcAddressTypeInput643829440GVL_Devices.qRIXS_SC_VGC_02.i_xClsLS8BOOLTcAddressTypeInput643829448GVL_Devices.qRIXS_SC_VGC_03.i_xOpnLS8BOOLTcAddressTypeInput643915040GVL_Devices.qRIXS_SC_VGC_03.i_xClsLS8BOOLTcAddressTypeInput643915048GVL_Devices.qRIXS_SC_PTM_10.i_xAtSpd8BOOLTcAddressTypeInput644516736GVL_Devices.qRIXS_SC_PTM_10.i_xFaultNC8BOOLTcAddressTypeInput644516744GVL_Devices.qRIXS_SC_PTM_10.i_xWarn8BOOLTcAddressTypeInput644516752GVL_Devices.qRIXS_SC_PTM_10.i_xRemote8BOOLTcAddressTypeInput644516760GVL_Devices.qRIXS_SC_PTM_20.i_xAtSpd8BOOLTcAddressTypeInput644600384GVL_Devices.qRIXS_SC_PTM_20.i_xFaultNC8BOOLTcAddressTypeInput644600392GVL_Devices.qRIXS_SC_PTM_20.i_xWarn8BOOLTcAddressTypeInput644600400GVL_Devices.qRIXS_SC_PTM_20.i_xRemote8BOOLTcAddressTypeInput644600408GVL_Devices.qRIXS_SC_PTM_30.i_xAtSpd8BOOLTcAddressTypeInput644684032GVL_Devices.qRIXS_SC_PTM_30.i_xFaultNC8BOOLTcAddressTypeInput644684040GVL_Devices.qRIXS_SC_PTM_30.i_xWarn8BOOLTcAddressTypeInput644684048GVL_Devices.qRIXS_SC_PTM_30.i_xRemote8BOOLTcAddressTypeInput644684056GVL_Devices.qRIXS_SDS_PTM_10.i_xAtSpd8BOOLTcAddressTypeInput644767680GVL_Devices.qRIXS_SDS_PTM_10.i_xFaultNC8BOOLTcAddressTypeInput644767688GVL_Devices.qRIXS_SDS_PTM_10.i_xWarn8BOOLTcAddressTypeInput644767696GVL_Devices.qRIXS_SDS_PTM_10.i_xRemote8BOOLTcAddressTypeInput644767704GVL_Devices.qRIXS_SC_PIP_01.i_iPRESS16INTTcAddressTypeInput644854448GVL_Devices.qRIXS_SC_PIP_01.i_xSP_DI8BOOLTcAddressTypeInput644854464GVL_Devices.qRIXS_SC_PIP_02.i_iPRESS16INTTcAddressTypeInput644945072GVL_Devices.qRIXS_SC_PIP_02.i_xSP_DI8BOOLTcAddressTypeInput644945088GVL_Devices.qRIXS_OPT_PIP_01.i_iPRESS16INTTcAddressTypeInput645035696GVL_Devices.qRIXS_OPT_PIP_01.i_xSP_DI8BOOLTcAddressTypeInput645035712GVL_Devices.qRIXS_DET_PIP_01.i_iPRESS16INTTcAddressTypeInput645126320GVL_Devices.qRIXS_DET_PIP_01.i_xSP_DI8BOOLTcAddressTypeInput645126336GVL_SA.qRIXS_OPT_VGC_01.i_xOpnLS8BOOLTcAddressTypeInput646765248GVL_SA.qRIXS_OPT_VGC_01.i_xClsLS8BOOLTcAddressTypeInput646765256GVL_SA.qRIXS_SA_VWC_01.i_xOpnLS8BOOLTcAddressTypeInput646942336GVL_SA.qRIXS_SA_VWC_01.i_xClsLS8BOOLTcAddressTypeInput646942344GVL_SA.qRIXS_DET_VRC_01.i_xOpnLS8BOOLTcAddressTypeInput647027360GVL_SA.qRIXS_DET_VRC_01.i_xClsLS8BOOLTcAddressTypeInput647027368GVL_SA.qRIXS_OPT_GPI_01.i_iPRESS_R16INTTcAddressTypeInput647113856GVL_SA.qRIXS_DET_GPI_01.i_iPRESS_R16INTTcAddressTypeInput647200576GVL_SA.qRIXS_SA_GCP_01.i_iPRESS_R16INTTcAddressTypeInput647287248GVL_SA.qRIXS_OPT_GCC_01.i_iPRESS_R16INTTcAddressTypeInput647375280GVL_SA.qRIXS_OPT_GCC_01.i_xHV_ON8BOOLTcAddressTypeInput647375304GVL_SA.qRIXS_OPT_GCC_01.i_xDisc_Active8BOOLTcAddressTypeInput647375312GVL_SA.qRIXS_DET_GCC_01.i_iPRESS_R16INTTcAddressTypeInput647463664GVL_SA.qRIXS_DET_GCC_01.i_xHV_ON8BOOLTcAddressTypeInput647463688GVL_SA.qRIXS_DET_GCC_01.i_xDisc_Active8BOOLTcAddressTypeInput6474636961PlcTask Outputs081723392PRG_2_PMPS.fbArbiterIO.q_stRequestedBP1696ST_BeamParams_IOTcLinkToTIIB[PMPS_PRE]^IO Outputs^RequestedBPTcAddressTypeOutput634866624GVL_Devices.qRIXS_SC_GCC_01.q_xHV_DIS8BOOLTcAddressTypeOutput642084672GVL_Devices.qRIXS_ROUGH_VRC_01.q_xOPN_DO8BOOLTcAddressTypeOutput642775984GVL_Devices.qRIXS_ROUGH_VRC_02.q_xOPN_DO8BOOLTcAddressTypeOutput642860912GVL_Devices.qRIXS_SC_VRC_10.q_xOPN_DO8BOOLTcAddressTypeOutput643305520GVL_Devices.qRIXS_SC_VRC_20.q_xOPN_DO8BOOLTcAddressTypeOutput643390448GVL_Devices.qRIXS_SC_VRC_30.q_xOPN_DO8BOOLTcAddressTypeOutput643475376GVL_Devices.qRIXS_SC_VGC_01.q_xOPN_DO8BOOLTcAddressTypeOutput643652368GVL_Devices.qRIXS_SC_VGC_02.q_xOPN_DO8BOOLTcAddressTypeOutput643829456GVL_Devices.qRIXS_SC_VGC_03.q_xOPN_DO8BOOLTcAddressTypeOutput643915056GVL_Devices.qRIXS_SC_VGC_03.q_xCLS_DO8BOOLTcAddressTypeOutput643915064GVL_Devices.qRIXS_SC_PTM_10.q_RunDO8BOOLTcAddressTypeOutput644516768GVL_Devices.qRIXS_SC_PTM_10.q_PumpingStation8BOOLTcAddressTypeOutput644516776GVL_Devices.qRIXS_SC_PTM_10.q_xRemote8BOOLTcAddressTypeOutput644516784GVL_Devices.qRIXS_SC_PTM_10.q_xReset8BOOLTcAddressTypeOutput644516792GVL_Devices.qRIXS_SC_PTM_20.q_RunDO8BOOLTcAddressTypeOutput644600416GVL_Devices.qRIXS_SC_PTM_20.q_PumpingStation8BOOLTcAddressTypeOutput644600424GVL_Devices.qRIXS_SC_PTM_20.q_xRemote8BOOLTcAddressTypeOutput644600432GVL_Devices.qRIXS_SC_PTM_20.q_xReset8BOOLTcAddressTypeOutput644600440GVL_Devices.qRIXS_SC_PTM_30.q_RunDO8BOOLTcAddressTypeOutput644684064GVL_Devices.qRIXS_SC_PTM_30.q_PumpingStation8BOOLTcAddressTypeOutput644684072GVL_Devices.qRIXS_SC_PTM_30.q_xRemote8BOOLTcAddressTypeOutput644684080GVL_Devices.qRIXS_SC_PTM_30.q_xReset8BOOLTcAddressTypeOutput644684088GVL_Devices.qRIXS_SDS_PTM_10.q_RunDO8BOOLTcAddressTypeOutput644767712GVL_Devices.qRIXS_SDS_PTM_10.q_PumpingStation8BOOLTcAddressTypeOutput644767720GVL_Devices.qRIXS_SDS_PTM_10.q_xRemote8BOOLTcAddressTypeOutput644767728GVL_Devices.qRIXS_SDS_PTM_10.q_xReset8BOOLTcAddressTypeOutput644767736GVL_Devices.qRIXS_SC_PIP_01.q_xHVEna_DO8BOOLTcAddressTypeOutput644854432GVL_Devices.qRIXS_SC_PIP_02.q_xHVEna_DO8BOOLTcAddressTypeOutput644945056GVL_Devices.qRIXS_OPT_PIP_01.q_xHVEna_DO8BOOLTcAddressTypeOutput645035680GVL_Devices.qRIXS_DET_PIP_01.q_xHVEna_DO8BOOLTcAddressTypeOutput645126304GVL_PMPS.fbFastFaultOutput1.q_xFastFaultOut8BOOLpytmc + + + + + + tonOvrd + TON + 224 + 96 + + + tonDelOK + TON + 224 + 320 + + + rtOK + R_TRIG + 64 + 544 + + + q_xOPN_DO + BOOL + IO + 8 + 608 + + + TcAddressType + Output + + + + + pv_xOvrdOpn + INT + 16 + 624 + + + ACT_IO + + + M_IsOpen + BOOL + 8 + + + M_Set_OPN_SW + BOOL + 8 + + value + True to SET, False to RESET + BOOL + 8 + + + + M_IsClosed + BOOL + 8 + + + M_Open + BOOL + 8 + + open + Set to true to open the valvue, false to close + BOOL + 8 + + + + + PouType + FunctionBlock + + + + + VERSION + 64 + + uiMajor + UINT + 16 + 0 + + + uiMinor + UINT + 16 + 16 + + + uiServicePack + UINT + 16 + 32 + + + uiPatch + UINT + 16 + 48 + + + + PlcLicenseInfo + 1024 + + LicenseId + GUID + 128 + 0 + + + Instances + UDINT + 32 + 128 + + + LicenseName + STRING(95) + 768 + 256 + + + + + + PLC_QRIX_VAC + {08500001-0000-0000-F000-000000000064} + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + + + 0 + PlcTask + + #x02010030 + + + + 1 + CommTask + + #x02010040 + + + + + + + 0 + PlcTask Inputs + 0 + 81723392 + + GVL_Interface.QRIX_MOT_SDS_MMS_H_FORWARD_EN + 8 + BOOL + + + TcLinkTo + TIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Inputs^QRIX_MOT_SDS_MMS_H_FORWARD_EN + + + + TcAddressType + Input + + + TcVarGlobal + + + 634861384 + + + PRG_2_PMPS.fbArbiterIO.i_stCurrentBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + + + TcAddressType + Input + + + 634863904 + + + PRG_2_PMPS.fbArbiterIO.xTxPDO_toggle + 1 + BIT + + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + + + TcAddressType + Input + + + 634867424 + + + PRG_2_PMPS.fbArbiterIO.xTxPDO_state + 1 + BIT + + + pytmc + pv: TxPDO_state + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state + + + TcAddressType + Input + + + 634867425 + + + GVL_Interface.QRIX_MOT_SDS_MMS_H_BACKWARD_EN + 8 + BOOL + + + TcLinkTo + TIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Inputs^QRIX_MOT_SDS_MMS_H_BACKWARD_EN + + + + TcAddressType + Input + + + TcVarGlobal + + + 635005472 + + + GVL_Devices.qRIXS_ROUGH_GPI_02.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 641735424 + + + GVL_Devices.qRIXS_ROUGH_GPI_11.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 641822144 + + + GVL_Devices.qRIXS_ROUGH_GPI_12.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 641908864 + + + GVL_Devices.qRIXS_ROUGH_GPI_21.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 641995584 + + + GVL_Devices.qRIXS_SC_GCC_01.i_iPRESS_R + Controls and I/Os + 16 + INT + + + TcAddressType + Input + + + 642083824 + + + GVL_Devices.qRIXS_SC_GCC_01.i_xHV_ON + True when High Voltage is on // 'TcLinkTo' (EL1124) ^Input + 8 + BOOL + + + TcAddressType + Input + + + 642083848 + + + GVL_Devices.qRIXS_SC_GCC_01.i_xDisc_Active + Discharge Current Active // 'TcLinkTo' (EL1124) ^Input + 8 + BOOL + + + TcAddressType + Input + + + 642083856 + + + GVL_Devices.qRIXS_SC_GPI_01.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 642170688 + + + GVL_Devices.qRIXS_ROUGH_GPI_31.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 642257408 + + + GVL_Devices.qRIXS_SA_GCP_02.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 642344080 + + + GVL_Devices.qRIXS_SSL_GCP_20.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 642430544 + + + GVL_Devices.qRIXS_SSL_GCP_30.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 642517008 + + + GVL_Devices.qRIXS_SDS_GCP_01.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 642603472 + + + GVL_Devices.qRIXS_ROUGH_VRC_01.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 642775136 + + + GVL_Devices.qRIXS_ROUGH_VRC_01.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 642775144 + + + GVL_Devices.qRIXS_ROUGH_VRC_02.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 642860064 + + + GVL_Devices.qRIXS_ROUGH_VRC_02.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 642860072 + + + GVL_Devices.qRIXS_SC_VRC_10.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 643304928 + + + GVL_Devices.qRIXS_SC_VRC_10.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 643304936 + + + GVL_Devices.qRIXS_SC_VRC_20.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 643389856 + + + GVL_Devices.qRIXS_SC_VRC_20.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 643389864 + + + GVL_Devices.qRIXS_SC_VRC_30.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 643474784 + + + GVL_Devices.qRIXS_SC_VRC_30.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 643474792 + + + GVL_Devices.qRIXS_SC_VGC_01.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 643652032 + + + GVL_Devices.qRIXS_SC_VGC_01.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 643652040 + + + GVL_Devices.qRIXS_SC_VGC_02.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 643829376 + + + GVL_Devices.qRIXS_SC_VGC_02.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 643829384 + + + GVL_Devices.qRIXS_SC_VGC_03.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 643914976 + + + GVL_Devices.qRIXS_SC_VGC_03.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 643914984 + + + GVL_Devices.qRIXS_SC_PTM_10.i_xAtSpd + Normaml operation when true + 8 + BOOL + + + TcAddressType + Input + + + 644516928 + + + GVL_Devices.qRIXS_SC_PTM_10.i_xFaultNC + Error + 8 + BOOL + + + TcAddressType + Input + + + 644516936 + + + GVL_Devices.qRIXS_SC_PTM_10.i_xWarn + 8 + BOOL + + + TcAddressType + Input + + + 644516944 + + + GVL_Devices.qRIXS_SC_PTM_10.i_xRemote + 8 + BOOL + + + TcAddressType + Input + + + 644516952 + + + GVL_Devices.qRIXS_SC_PTM_20.i_xAtSpd + Normaml operation when true + 8 + BOOL + + + TcAddressType + Input + + + 644600576 + + + GVL_Devices.qRIXS_SC_PTM_20.i_xFaultNC + Error + 8 + BOOL + + + TcAddressType + Input + + + 644600584 + + + GVL_Devices.qRIXS_SC_PTM_20.i_xWarn + 8 + BOOL + + + TcAddressType + Input + + + 644600592 + + + GVL_Devices.qRIXS_SC_PTM_20.i_xRemote + 8 + BOOL + + + TcAddressType + Input + + + 644600600 + + + GVL_Devices.qRIXS_SC_PTM_30.i_xAtSpd + Normaml operation when true + 8 + BOOL + + + TcAddressType + Input + + + 644684224 + + + GVL_Devices.qRIXS_SC_PTM_30.i_xFaultNC + Error + 8 + BOOL + + + TcAddressType + Input + + + 644684232 + + + GVL_Devices.qRIXS_SC_PTM_30.i_xWarn + 8 + BOOL + + + TcAddressType + Input + + + 644684240 + + + GVL_Devices.qRIXS_SC_PTM_30.i_xRemote + 8 + BOOL + + + TcAddressType + Input + + + 644684248 + + + GVL_Devices.qRIXS_SDS_PTM_10.i_xAtSpd + Normaml operation when true + 8 + BOOL + + + TcAddressType + Input + + + 644767872 + + + GVL_Devices.qRIXS_SDS_PTM_10.i_xFaultNC + Error + 8 + BOOL + + + TcAddressType + Input + + + 644767880 + + + GVL_Devices.qRIXS_SDS_PTM_10.i_xWarn + 8 + BOOL + + + TcAddressType + Input + + + 644767888 + + + GVL_Devices.qRIXS_SDS_PTM_10.i_xRemote + 8 + BOOL + + + TcAddressType + Input + + + 644767896 + + + GVL_Devices.qRIXS_SC_PIP_01.i_iPRESS + 16 + INT + + + TcAddressType + Input + + + 644854640 + + + GVL_Devices.qRIXS_SC_PIP_01.i_xSP_DI + NO contact //function of relay set on the QPC to HV output state + 8 + BOOL + + + TcAddressType + Input + + + 644854656 + + + GVL_Devices.qRIXS_SC_PIP_02.i_iPRESS + 16 + INT + + + TcAddressType + Input + + + 644945264 + + + GVL_Devices.qRIXS_SC_PIP_02.i_xSP_DI + NO contact //function of relay set on the QPC to HV output state + 8 + BOOL + + + TcAddressType + Input + + + 644945280 + + + GVL_Devices.qRIXS_OPT_PIP_01.i_iPRESS + 16 + INT + + + TcAddressType + Input + + + 645035888 + + + GVL_Devices.qRIXS_OPT_PIP_01.i_xSP_DI + NO contact //function of relay set on the QPC to HV output state + 8 + BOOL + + + TcAddressType + Input + + + 645035904 + + + GVL_Devices.qRIXS_DET_PIP_01.i_iPRESS + 16 + INT + + + TcAddressType + Input + + + 645126512 + + + GVL_Devices.qRIXS_DET_PIP_01.i_xSP_DI + NO contact //function of relay set on the QPC to HV output state + 8 + BOOL + + + TcAddressType + Input + + + 645126528 + + + GVL_SA.qRIXS_OPT_VGC_01.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 645307648 + + + GVL_SA.qRIXS_OPT_VGC_01.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 645307656 + + + GVL_SA.qRIXS_SA_VWC_01.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 645484992 + + + GVL_SA.qRIXS_SA_VWC_01.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 645485000 + + + GVL_SA.qRIXS_DET_VGC_01.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 645662336 + + + GVL_SA.qRIXS_DET_VGC_01.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 645662344 + + + GVL_SA.qRIXS_OPT_GPI_01.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 645748928 + + + GVL_SA.qRIXS_DET_GPI_01.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 645835648 + + + GVL_SA.qRIXS_SA_GCP_01.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 645922320 + + + GVL_SA.qRIXS_OPT_GCC_01.i_iPRESS_R + Controls and I/Os + 16 + INT + + + TcAddressType + Input + + + 646010352 + + + GVL_SA.qRIXS_OPT_GCC_01.i_xHV_ON + True when High Voltage is on // 'TcLinkTo' (EL1124) ^Input + 8 + BOOL + + + TcAddressType + Input + + + 646010376 + + + GVL_SA.qRIXS_OPT_GCC_01.i_xDisc_Active + Discharge Current Active // 'TcLinkTo' (EL1124) ^Input + 8 + BOOL + + + TcAddressType + Input + + + 646010384 + + + GVL_SA.qRIXS_DET_GCC_01.i_iPRESS_R + Controls and I/Os + 16 + INT + + + TcAddressType + Input + + + 646098736 + + + GVL_SA.qRIXS_DET_GCC_01.i_xHV_ON + True when High Voltage is on // 'TcLinkTo' (EL1124) ^Input + 8 + BOOL + + + TcAddressType + Input + + + 646098760 + + + GVL_SA.qRIXS_DET_GCC_01.i_xDisc_Active + Discharge Current Active // 'TcLinkTo' (EL1124) ^Input + 8 + BOOL + + + TcAddressType + Input + + + 646098768 + + + + 1 + PlcTask Outputs + 0 + 81723392 + + PRG_2_PMPS.fbArbiterIO.q_stRequestedBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + 634865664 + + + GVL_Devices.qRIXS_SC_GCC_01.q_xHV_DIS + Enable High Voltage when True // 'TcLinkTo' (EP2624) ^Output + 8 + BOOL + + + TcAddressType + Output + + + 642083840 + + + GVL_Devices.qRIXS_ROUGH_VRC_01.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 642775152 + + + GVL_Devices.qRIXS_ROUGH_VRC_02.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 642860080 + + + GVL_Devices.qRIXS_SC_VRC_10.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 643304944 + + + GVL_Devices.qRIXS_SC_VRC_20.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 643389872 + + + GVL_Devices.qRIXS_SC_VRC_30.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 643474800 + + + GVL_Devices.qRIXS_SC_VGC_01.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 643652048 + + + GVL_Devices.qRIXS_SC_VGC_02.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 643829392 + + + GVL_Devices.qRIXS_SC_VGC_03.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 643914992 + + + GVL_Devices.qRIXS_SC_VGC_03.q_xCLS_DO + 8 + BOOL + + + TcAddressType + Output + + + 643915000 + + + GVL_Devices.qRIXS_SC_PTM_10.q_RunDO + Start/Stop for TC110 link this output to the Pumping station bit + 8 + BOOL + + + TcAddressType + Output + + + 644516960 + + + GVL_Devices.qRIXS_SC_PTM_10.q_PumpingStation + Start/Stop interlock + 8 + BOOL + + + TcAddressType + Output + + + 644516968 + + + GVL_Devices.qRIXS_SC_PTM_10.q_xRemote + 8 + BOOL + + + TcAddressType + Output + + + 644516976 + + + GVL_Devices.qRIXS_SC_PTM_10.q_xReset + 8 + BOOL + + + TcAddressType + Output + + + 644516984 + + + GVL_Devices.qRIXS_SC_PTM_20.q_RunDO + Start/Stop for TC110 link this output to the Pumping station bit + 8 + BOOL + + + TcAddressType + Output + + + 644600608 + + + GVL_Devices.qRIXS_SC_PTM_20.q_PumpingStation + Start/Stop interlock + 8 + BOOL + + + TcAddressType + Output + + + 644600616 + + + GVL_Devices.qRIXS_SC_PTM_20.q_xRemote + 8 + BOOL + + + TcAddressType + Output + + + 644600624 + + + GVL_Devices.qRIXS_SC_PTM_20.q_xReset + 8 + BOOL + + + TcAddressType + Output + + + 644600632 + + + GVL_Devices.qRIXS_SC_PTM_30.q_RunDO + Start/Stop for TC110 link this output to the Pumping station bit + 8 + BOOL + + + TcAddressType + Output + + + 644684256 + + + GVL_Devices.qRIXS_SC_PTM_30.q_PumpingStation + Start/Stop interlock + 8 + BOOL + + + TcAddressType + Output + + + 644684264 + + + GVL_Devices.qRIXS_SC_PTM_30.q_xRemote + 8 + BOOL + + + TcAddressType + Output + + + 644684272 + + + GVL_Devices.qRIXS_SC_PTM_30.q_xReset + 8 + BOOL + + + TcAddressType + Output + + + 644684280 + + + GVL_Devices.qRIXS_SDS_PTM_10.q_RunDO + Start/Stop for TC110 link this output to the Pumping station bit + 8 + BOOL + + + TcAddressType + Output + + + 644767904 + + + GVL_Devices.qRIXS_SDS_PTM_10.q_PumpingStation + Start/Stop interlock + 8 + BOOL + + + TcAddressType + Output + + + 644767912 + + + GVL_Devices.qRIXS_SDS_PTM_10.q_xRemote + 8 + BOOL + + + TcAddressType + Output + + + 644767920 + + + GVL_Devices.qRIXS_SDS_PTM_10.q_xReset + 8 + BOOL + + + TcAddressType + Output + + + 644767928 + + + GVL_Devices.qRIXS_SC_PIP_01.q_xHVEna_DO + Enable High Voltage when TRUE + 8 + BOOL + + + TcAddressType + Output + + + 644854624 + + + GVL_Devices.qRIXS_SC_PIP_02.q_xHVEna_DO + Enable High Voltage when TRUE + 8 + BOOL + + + TcAddressType + Output + + + 644945248 + + + GVL_Devices.qRIXS_OPT_PIP_01.q_xHVEna_DO + Enable High Voltage when TRUE + 8 + BOOL + + + TcAddressType + Output + + + 645035872 + + + GVL_Devices.qRIXS_DET_PIP_01.q_xHVEna_DO + Enable High Voltage when TRUE + 8 + BOOL + + + TcAddressType + Output + + + 645126496 + + + GVL_SA.qRIXS_OPT_VGC_01.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 645307664 + + + GVL_SA.qRIXS_SA_VWC_01.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 645485008 + + + GVL_SA.qRIXS_DET_VGC_01.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 645662352 + + + GVL_SA.qRIXS_OPT_GCC_01.q_xHV_DIS + Enable High Voltage when True // 'TcLinkTo' (EP2624) ^Output + 8 + BOOL + + + TcAddressType + Output + + + 646010368 + + + GVL_SA.qRIXS_DET_GCC_01.q_xHV_DIS + Enable High Voltage when True // 'TcLinkTo' (EP2624) ^Output + 8 + BOOL + + + TcAddressType + Output + + + 646098752 + + + GVL_PMPS.fbFastFaultOutput1.q_xFastFaultOut + 8 + BOOL + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutput645597960GVL_PMPS.fbFastFaultOutput2.q_xFastFaultOut8BOOLpytmc + + + + TcAddressType + Output + + + 647048648 + + + GVL_PMPS.fbFastFaultOutput2.q_xFastFaultOut + 8 + BOOL + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutput646093256GVL_SA.qRIXS_OPT_VGC_01.q_xOPN_DO8BOOLTcAddressTypeOutput646765264GVL_SA.qRIXS_SA_VWC_01.q_xOPN_DO8BOOLTcAddressTypeOutput646942352GVL_SA.qRIXS_DET_VRC_01.q_xOPN_DO8BOOLTcAddressTypeOutput647027376GVL_SA.qRIXS_OPT_GCC_01.q_xHV_DIS8BOOLTcAddressTypeOutput647375296GVL_SA.qRIXS_DET_GCC_01.q_xHV_DIS8BOOLTcAddressTypeOutput6474636803PlcTask Internal081723392GVL_Logger.bTrickleTripped8BOOLpytmc + + + + TcAddressType + Output + + + 647543944 + + + + 3 + PlcTask Internal + 0 + 81723392 + + GVL_Logger.bTrickleTripped + Global trickle trip flag + 8 + BOOL + + + pytmc + pv: @(PREFIX)LCLSGeneral:GlobalLogTrickleTrip io: i field: DESC Tripped by overall log count - TcVarGlobal4096040GVL_Logger.cLogHost + + + TcVarGlobal + + + 4096040 + + + 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: @@ -1182,72 +38021,1911 @@ More? $ 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.21TcVarGlobal4096272GVL_Logger.nMinTimeViolationAcceptable16INT5TcVarGlobal4096336GVL_Logger.nLocalTripThreshold32TIME1TcVarGlobal4096352GVL_Logger.nLocalTrickleTripThreshold32TIME100TcVarGlobal4096384GVL_Logger.nTrickleTripTime32TIME10000TcVarGlobal4096416GVL_Logger.nTripResetPeriod32TIME600000TcVarGlobal4096448GVL_Logger.sPlcHostname648STRING(80)unknownTcVarGlobal4096480GVL_Logger.nGlobAccEvents32UDINTpytmc + + + + TcVarGlobal + + + 4096256 + + + GVL_Logger.sIpTidbit + 56 + STRING(6) + + 172.21 + + + + TcVarGlobal + + + 4096272 + + + 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 + + + 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.fbRootLogger81984FB_LogMessageTcVarGlobal4097216Global_Variables.AMSPORT_R0_PLC_RTS116UINT801TcVarGlobal4180224Global_Variables.AMSPORT_R3_SYSSERV16UINT10000TcVarGlobal4180320Global_Variables.ADSIGRP_SYM_HNDBYNAME32UDINT61443TcVarGlobal4180800Global_Variables.ADSIGRP_SYM_VALBYHND32UDINT61445TcVarGlobal4180864Global_Variables.ADSIGRP_SYM_RELEASEHND32UDINT61446TcVarGlobal4180896Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE32UDINT200TcVarGlobal4182176Global_Variables.SYSTEMSERVICE_TIMESERVICES32UDINT400TcVarGlobal4182240Global_Variables.TIMESERVICE_DATEANDTIME32UDINT1TcVarGlobal4182336Global_Variables.TIMESERVICE_TIMEZONINFORMATION32UDINT6TcVarGlobal4182464Global_Variables.ADSLOG_MSGTYPE_HINT32DWORD1TcVarGlobal4182496Global_Variables.ADSLOG_MSGTYPE_ERROR32DWORD4TcVarGlobal4182560Global_Variables.ADSLOG_MSGTYPE_LOG32DWORD16TcVarGlobal4182592Global_Variables.DEFAULT_ADS_TIMEOUT32TIME5000TcVarGlobal4183392Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE16E_HashPrefixTypes0TcVarGlobal4184944Global_Variables.MAX_ADAPTER_NAME_LENGTH32UDINT259TcVarGlobal4246496Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH32UDINT131TcVarGlobal4246528Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH32UDINT7TcVarGlobal4246560Global_Variables.SYSTEMSERVICE_IPHELPERAPI32UDINT701TcVarGlobal4246592Global_Variables.SYSTEMSERVICE_IPHOSTNAME32UDINT702TcVarGlobal4246624Global_Variables.IPHELPERAPI_ADAPTERSINFO32UDINT1TcVarGlobal4246656Global_Variables.MAX_LOCAL_ADAPTERS32UDINT5TcVarGlobal4246720Global_Variables.FORMAT_MAX_ARGS16INT10TcVarGlobal4248320Global_Variables.FLOATREC_EXP_IS_NAN16INT-32768TcVarGlobal4248336Global_Variables.FLOATREC_EXP_IS_INF16INT32767TcVarGlobal4248352Global_Variables.FLOATREC_MAX_DIGITS16INT20TcVarGlobal4248368Global_Variables.FLOATREC_MAX_PRECISION16INT307TcVarGlobal4248384Global_Variables.FLOATREC_MIN_PRECISION16INT0TcVarGlobal4248400Global_Variables.FMTERR_NOERROR32DWORD0TcVarGlobal4248416Global_Variables.FMTERR_PERCENTSIGNPOSITION32DWORD16TcVarGlobal4248448Global_Variables.FMTERR_ASTERISKPOSITION32DWORD32TcVarGlobal4248480Global_Variables.FMTERR_WIDTHVALUE32DWORD64TcVarGlobal4248512Global_Variables.FMTERR_PRECISIONVALUE32DWORD128TcVarGlobal4248544Global_Variables.FMTERR_FLAGPOSITION32DWORD256TcVarGlobal4248576Global_Variables.FMTERR_WIDTHPRECISIONVALPOS32DWORD512TcVarGlobal4248608Global_Variables.FMTERR_PRECISIONDOTPOSITION32DWORD1024TcVarGlobal4248640Global_Variables.FMTERR_ARGTYPEINVALID32DWORD4096TcVarGlobal4248704Global_Variables.FMTERR_UNACCEPTEDPARAMETER32DWORD8192TcVarGlobal4248736Global_Variables.FMTERR_INSUFFICIENTARGS32DWORD16384TcVarGlobal4248768Global_Variables.FMTERR_DESTBUFFOVERFLOW32DWORD32768TcVarGlobal4248800Global_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]70TcVarGlobal4248960Global_Variables.FORMAT_DECASC_CODES80BYTE010[0]48[1]49[2]50[3]51[4]52[5]53[6]54[7]55[8]56[9]57TcVarGlobal4249216Global_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]31TcVarGlobal4254704Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET32DWORD584389TcVarGlobal4255552Global_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]0TcVarGlobal4386464Global_Variables.AMSPORT_TCPIPSRV16UINT10201TcVarGlobal4389776Global_Variables.TCPADS_IGR_CONLIST32UDINT2147483649TcVarGlobal4390496Global_Variables.TCPADS_IGR_CLOSEBYHDL32UDINT2147483650TcVarGlobal4390528Global_Variables.TCPADS_IGR_SENDTOBYHDL32UDINT2147483655TcVarGlobal4390688Global_Variables.TCPADSCONLST_IOF_UDPBIND32UDINT5TcVarGlobal4390944Global_Variables.TCPADS_NULL_HSOCKET352T_HSOCKET.handle0.remoteAddr.nPort0.remoteAddr.sAddr.localAddr.nPort0.localAddr.sAddrTcVarGlobal4391040Global_Variables.CONNECT_MODE_ENABLEDBG32DWORD2147483648TcVarGlobal4391456PRG_SPA.xExtILK_OK_OPT8BOOL1626224136PRG_SPA.xExtILK_OK_BLW8BOOL634593400GVL_PfeifferParameters.gcMaxPfeifferPumps16INT20TcVarGlobal634594592PMPS_GVL.MAX_VETO_DEVICES16UINT16TcVarGlobal634594608PMPS_GVL.stRequestedBeamParameters1696ST_BeamParamspytmc + + + + TcVarGlobal + + + 4097184 + + + GVL_Logger.fbRootLogger + Instantiated here to be used everywhere + 81984 + FB_LogMessage + + + TcVarGlobal + + + 4097216 + + + Global_Variables.AMSPORT_R0_PLC_RTS1 + TwinCAT v2.xx first PLC runtime system + 16 + UINT + + 801 + + + + TcVarGlobal + + + 4180224 + + + Global_Variables.AMSPORT_R3_SYSSERV + TwinCAT System Service + 16 + UINT + + 10000 + + + + TcVarGlobal + + + 4180320 + + + Global_Variables.ADSIGRP_SYM_HNDBYNAME + 32 + UDINT + + 61443 + + + + TcVarGlobal + + + 4180800 + + + Global_Variables.ADSIGRP_SYM_VALBYHND + 32 + UDINT + + 61445 + + + + TcVarGlobal + + + 4180864 + + + Global_Variables.ADSIGRP_SYM_RELEASEHND + 32 + UDINT + + 61446 + + + + TcVarGlobal + + + 4180896 + + + Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE + 32 + UDINT + + 200 + + + + TcVarGlobal + + + 4182176 + + + Global_Variables.SYSTEMSERVICE_TIMESERVICES + 32 + UDINT + + 400 + + + + TcVarGlobal + + + 4182240 + + + Global_Variables.TIMESERVICE_DATEANDTIME + Date/time + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4182336 + + + Global_Variables.TIMESERVICE_TIMEZONINFORMATION + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 4182464 + + + Global_Variables.ADSLOG_MSGTYPE_HINT + Hint icon + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4182496 + + + Global_Variables.ADSLOG_MSGTYPE_ERROR + Error icon + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4182560 + + + Global_Variables.ADSLOG_MSGTYPE_LOG + Write message to log file + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4182592 + + + Global_Variables.DEFAULT_ADS_TIMEOUT + Default ADS timeout value + 32 + TIME + + 5000 + + + + TcVarGlobal + + + 4183392 + + + 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 + + + 4184944 + + + Global_Variables.MAX_ADAPTER_NAME_LENGTH + Max. System Service local adapter name length (256 + 4 inkl. \0) + 32 + UDINT + + 259 + + + + TcVarGlobal + + + 4246496 + + + Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH + Max. System Service local adapter descirpion length (128 + 4 inkl. \0) + 32 + UDINT + + 131 + + + + TcVarGlobal + + + 4246528 + + + Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH + Max. System Service local adapter physical address length (bytes[0..7]) + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 4246560 + + + Global_Variables.SYSTEMSERVICE_IPHELPERAPI + IPHELPERAPI index group + 32 + UDINT + + 701 + + + + TcVarGlobal + + + 4246592 + + + Global_Variables.SYSTEMSERVICE_IPHOSTNAME + IPHOSTNAME index group + 32 + UDINT + + 702 + + + + TcVarGlobal + + + 4246624 + + + Global_Variables.IPHELPERAPI_ADAPTERSINFO + IPHELPERAPI index offset + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4246656 + + + Global_Variables.MAX_LOCAL_ADAPTERS + Max. number of local network adapters + 32 + UDINT + + 5 + + + + TcVarGlobal + + + 4246720 + + + Global_Variables.FORMAT_MAX_ARGS + Format string constant: Max. number of format arguments in FB_FormatString + 16 + INT + + 10 + + + + TcVarGlobal + + + 4248320 + + + Global_Variables.FLOATREC_EXP_IS_NAN + T_FloatRec type and F_GetFloatRec function constant: The value is #NAN or -#NAN + 16 + INT + + -32768 + + + + TcVarGlobal + + + 4248336 + + + Global_Variables.FLOATREC_EXP_IS_INF + T_FloatRec type and F_GetFloatRec function constant: The value is #INF or -#INF + 16 + INT + + 32767 + + + + TcVarGlobal + + + 4248352 + + + 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 + + + 4248368 + + + Global_Variables.FLOATREC_MAX_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Max. floating point precision (1e-307) + 16 + INT + + 307 + + + + TcVarGlobal + + + 4248384 + + + Global_Variables.FLOATREC_MIN_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Min. floating point precision + 16 + INT + + 0 + + + + TcVarGlobal + + + 4248400 + + + Global_Variables.FMTERR_NOERROR + FB_FormatString function block error code: No error + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 4248416 + + + Global_Variables.FMTERR_PERCENTSIGNPOSITION + FB_FormatString function block error code: Percent sign (%) at invalid position + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4248448 + + + Global_Variables.FMTERR_ASTERISKPOSITION + FB_FormatString function block error code: Asterisk parameter at invalid position + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4248480 + + + Global_Variables.FMTERR_WIDTHVALUE + FB_FormatString function block error code: Invalid width field value + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 4248512 + + + Global_Variables.FMTERR_PRECISIONVALUE + FB_FormatString function block error code: Invalid precision field value + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 4248544 + + + Global_Variables.FMTERR_FLAGPOSITION + FB_FormatString function block error code: One of the flags at invalid position + 32 + DWORD + + 256 + + + + TcVarGlobal + + + 4248576 + + + Global_Variables.FMTERR_WIDTHPRECISIONVALPOS + FB_FormatString function block error code: The width or precision field value at invalid position + 32 + DWORD + + 512 + + + + TcVarGlobal + + + 4248608 + + + Global_Variables.FMTERR_PRECISIONDOTPOSITION + FB_FormatString function block error code: Dot "." sign of precision field at invalid position + 32 + DWORD + + 1024 + + + + TcVarGlobal + + + 4248640 + + + Global_Variables.FMTERR_ARGTYPEINVALID + FB_FormatString function block error code: Different type field and argument parameter + 32 + DWORD + + 4096 + + + + TcVarGlobal + + + 4248704 + + + Global_Variables.FMTERR_UNACCEPTEDPARAMETER + FB_FormatString function block error code: Invalid format string parameters + 32 + DWORD + + 8192 + + + + TcVarGlobal + + + 4248736 + + + Global_Variables.FMTERR_INSUFFICIENTARGS + FB_FormatString function block error code: To much arguments in format string + 32 + DWORD + + 16384 + + + + TcVarGlobal + + + 4248768 + + + Global_Variables.FMTERR_DESTBUFFOVERFLOW + FB_FormatString function block error code: Destination string buffer overflow (formatted string is to long ) + 32 + DWORD + + 32768 + + + + TcVarGlobal + + + 4248800 + + + 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 + + + 4248960 + + + 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 + + + 4249216 + + + 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 + + + 4254704 + + + Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET + Number of past days since year zero until 1 January 1601 + 32 + DWORD + + 584389 + + + + TcVarGlobal + + + 4255552 + + + 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 + + + 4386464 + + + Global_Variables.AMSPORT_TCPIPSRV + 16 + UINT + + 10201 + + + + TcVarGlobal + + + 4389776 + + + Global_Variables.TCPADS_IGR_CONLIST + 32 + UDINT + + 2147483649 + + + + TcVarGlobal + + + 4390496 + + + Global_Variables.TCPADS_IGR_CLOSEBYHDL + 32 + UDINT + + 2147483650 + + + + TcVarGlobal + + + 4390528 + + + Global_Variables.TCPADS_IGR_SENDTOBYHDL + 32 + UDINT + + 2147483655 + + + + TcVarGlobal + + + 4390688 + + + Global_Variables.TCPADSCONLST_IOF_UDPBIND + 32 + UDINT + + 5 + + + + TcVarGlobal + + + 4390944 + + + 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 + + + 4391040 + + + Global_Variables.CONNECT_MODE_ENABLEDBG + Enables/Disables debugging messages + 32 + DWORD + + 2147483648 + + + + TcVarGlobal + + + 4391456 + + + PRG_SPA.xExtILK_OK_OPT + 8 + BOOL + + 1 + + 626224136 + + + GVL_PfeifferParameters.gcMaxPfeifferPumps + maximum size of the Pfeiffer turbo pump array for a single port + 16 + INT + + 20 + + + + TcVarGlobal + + + 634594592 + + + PMPS_GVL.AUX_ATTENUATORS + Maximum # of attenuators in the PMPS + 16 + UINT + + 16 + + + + TcVarGlobal + + + 634594608 + + + PMPS_GVL.stRequestedBeamParameters + Summarized request for the line, as recognized by the line arbiter PLC + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)RequestedBP - io: i + io: i archive: 1Hz monitor - TcVarGlobal634595648PMPS_GVL.stCurrentBeamParameters1696ST_BeamParamspytmc + + + + TcVarGlobal + + + 634595648 + + + PMPS_GVL.stCurrentBeamParameters + Currently active BP set, broadcast by the line arbiter PLC + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)CurrentBP - io: i + io: i archive: 1Hz monitor - TcVarGlobal634597344PMPS_GVL.EXCLUDED_ASSERTION_ID32UDINT4294967295TcVarGlobal634600096PMPS_GVL.TRANS_SCALING_FACTOR32REAL1TcVarGlobal634600288PMPS_GVL.cstFullBeam1696ST_BeamParams.nTran1.neVRange4294967295.nRate1000000.astApertures[1].Width1000.astApertures[1].Height1000.astApertures[2].Width1000.astApertures[2].Height1000.astApertures[3].Width1000.astApertures[3].Height1000.astApertures[4].Width1000.astApertures[4].Height1000pytmc + + + + TcVarGlobal + + + 634597408 + + + PMPS_GVL.EXCLUDED_ASSERTION_ID + An assertion ID that should always return "not found" in the assertion pool + 32 + UDINT + + 4294967295 + + + + TcVarGlobal + + + 634600224 + + + PMPS_GVL.TRANS_SCALING_FACTOR + Scaling factor for fixed-point transmission + 32 + REAL + + 1 + + + + TcVarGlobal + + + 634600416 + + + PMPS_GVL.MAX_VETO_DEVICES + 16 + UINT + + 16 + + + + TcVarGlobal + + + 634600448 + + + PMPS_GVL.cstFullBeam + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)FullBeamCnst - io: i + io: i archive: 1Hz monitor field: DESC Full beam constant - TcVarGlobal634600320PMPS_GVL.cst0RateBeam1696ST_BeamParams.nTran1.neVRange4294967295.nRate0.astApertures[1].Width1000.astApertures[1].Height1000.astApertures[2].Width1000.astApertures[2].Height1000.astApertures[3].Width1000.astApertures[3].Height1000.astApertures[4].Width1000.astApertures[4].Height1000pytmc + + + + TcVarGlobal + + + 634600544 + + + PMPS_GVL.cst0RateBeam + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)0RateBeamCnst - io: i + io: i archive: 1Hz monitor field: DESC 0-rate beam constant - TcVarGlobal634602016PMPS_GVL.cstSafeBeam1696ST_BeamParams.nTran0.neVRange0.nRate0pytmc - pv: @(PREFIX)SafeBeamCnst - io: i - archive: 1Hz monitor - field: DESC Safe beam constant - TcVarGlobal634603712PMPS_GVL.AUX_ATTENUATORS16UINT16TcVarGlobal634605424PMPS_GVL.MAX_APERTURES16UINT4TcVarGlobal634605440PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal634608608PMPS_PARAM.TRANS_MARGIN32REAL0.05TcVarGlobal634608640PMPS_TOOLS.fbJson256FB_JsonSaxWriterTcVarGlobal634608672PRG_SampleChamber.iWatchdog32UDINT634663040PRG_SDS.rPressSP32REAL0.0001634663072PRG_SampleChamber.RIX_TV4K2_GFS_193888FB_TGCC_ADS634663104PRG_SampleChamber.RIX_IM5K2_PPM_GCC_193888FB_TGCC_ADS634756992PRG_SampleChamber.RIX_VAC_WD7008FB_ADS_WATCHDOG634850880PRG_SPA.xExtILK_OK_DET8BOOL634862400PRG_SPA.iPressTorrerance32REAL1634862432PRG_SPA.stUSG_dummy1056ST_VG634862464PRG_2_PMPS.fbArbiterIO138560FB_SubSysToArbiter_IO634864128GVL_Variables.xSystemOverrideMode8BOOL0pytmc + + + + TcVarGlobal + + + 634602304 + + + PMPS_GVL.MAX_APERTURES + Maximum # of power slits in the PMPS + 16 + UINT + + 4 + + + + TcVarGlobal + + + 634604064 + + + PMPS_PARAM.MAX_ASSERTIONS + Maximum number of BP requests in the arbiter + 32 + UDINT + + 20 + + + + TcVarGlobal + + + 634607232 + + + 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 + + + 634607264 + + + PMPS_TOOLS.fbJson + 256 + FB_JsonSaxWriter + + + TcVarGlobal + + + 634607296 + + + PRG_SampleChamber.iWatchdog + 32 + UDINT + 634662016 + + + PRG_SDS.rPressSP + 32 + REAL + + 0.0001 + + 634662048 + + + PRG_SampleChamber.RIX_TV4K2_GFS_1 + 93888 + FB_TGCC_ADS + 634662080 + + + PRG_SampleChamber.RIX_IM5K2_PPM_GCC_1 + 93888 + FB_TGCC_ADS + 634755968 + + + PRG_SampleChamber.RIX_VAC_WD + 7008 + FB_ADS_WATCHDOG + 634849856 + + + PRG_2_PMPS.fbArbiterIO + 138752 + FB_SubSysToArbiter_IO + 634863104 + + + GVL_Variables.xSystemOverrideMode + Global system override for the qRIXS Vacuum System + 8 + BOOL + + 0 + + + + pytmc + pv: PLC:QRIXS:VAC:OVRDON io: io -TcVarGlobal635006328PRG_3_LOG.fbLogHandler5784896FB_LogHandler635006336GVL_COM.E2_SerialRXBuffer2512ComBufferTcVarGlobal640809984GVL_COM.E2_SerialTXBuffer2512ComBufferTcVarGlobal640812496GVL_COM.st_Pfeiffer_CTRL3200ST_PfeifferControl120TcVarGlobal640825824GVL_COM.st_Pfeiffer_RBK23040ST_PfeifferStatus120TcVarGlobal640829056GVL_COM.fb_PfeifferCom797696FB_PFEIFFER_COMTcVarGlobal640852096GVL_Devices.qRIXS_ROUGH_GPI_0286720FB_MKS275pytmc pv: QRIXS:ROUGH:GPI:02 TcLinkTo.i_iPRESS_R := TIIB[EL3174_00_09]^AI Standard Channel 1^ValueTcVarGlobal641649792GVL_Devices.qRIXS_ROUGH_GPI_1186720FB_MKS275pytmc pv: QRIXS:ROUGH:GPI:11 TcLinkTo.i_iPRESS_R := TIIB[qRIXS_PNL1_E9_EL3174-0002]^AI Standard Channel 1^ValueTcVarGlobal641736512GVL_Devices.qRIXS_ROUGH_GPI_1286720FB_MKS275pytmc pv: QRIXS:ROUGH:GPI:12 TcLinkTo.i_iPRESS_R := TIIB[qRIXS_PNL1_E7_EL3174-0002]^AI Standard Channel 2^ValueTcVarGlobal641823232GVL_Devices.qRIXS_ROUGH_GPI_2186720FB_MKS275pytmc pv: QRIXS:ROUGH:GPI:21 TcLinkTo.i_iPRESS_R := TIIB[qRIXS_PNL1_E7_EL3174-0002]^AI Standard Channel 3^ValueTcVarGlobal641909952GVL_Devices.qRIXS_SC_GCC_0188384FB_MKS500TcLinkTo .i_iPRESS_R := TIIB[EL3174-0002_01_23]^AI Standard Channel 1^Value; + + + + TcVarGlobal + + + 635005496 + + + PRG_3_LOG.fbLogHandler + 5784896 + FB_LogHandler + 635005504 + + + GVL_COM.E2_SerialRXBuffer + Define COM Ports/Buffers incl. library Tc2_SerialCom + 2512 + ComBuffer + + + TcVarGlobal + + + 640809152 + + + GVL_COM.E2_SerialTXBuffer + 2512 + ComBuffer + + + TcVarGlobal + + + 640811664 + + + GVL_COM.st_Pfeiffer_CTRL + They share the same serial port on the sample chamber + 3200 + ST_PfeifferControl + + 1 + 20 + + + + TcVarGlobal + + + 640824992 + + + GVL_COM.st_Pfeiffer_RBK + 23040 + ST_PfeifferStatus + + 1 + 20 + + + + TcVarGlobal + + + 640828224 + + + GVL_COM.fb_PfeifferCom + 797696 + FB_PFEIFFER_COM + + + TcVarGlobal + + + 640851264 + + + GVL_Devices.qRIXS_ROUGH_GPI_02 + Gauges + 86720 + FB_MKS275 + + + pytmc + pv: QRIXS:ROUGH:GPI:02 + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174_00_09]^AI Standard Channel 1^Value + + + TcVarGlobal + + + 641648960 + + + GVL_Devices.qRIXS_ROUGH_GPI_11 + 86720 + FB_MKS275 + + + pytmc + pv: QRIXS:ROUGH:GPI:11 + + + TcLinkTo + .i_iPRESS_R := TIIB[qRIXS_PNL1_E9_EL3174-0002]^AI Standard Channel 1^Value + + + TcVarGlobal + + + 641735680 + + + GVL_Devices.qRIXS_ROUGH_GPI_12 + 86720 + FB_MKS275 + + + pytmc + pv: QRIXS:ROUGH:GPI:12 + + + TcLinkTo + .i_iPRESS_R := TIIB[qRIXS_PNL1_E7_EL3174-0002]^AI Standard Channel 2^Value + + + TcVarGlobal + + + 641822400 + + + GVL_Devices.qRIXS_ROUGH_GPI_21 + 86720 + FB_MKS275 + + + pytmc + pv: QRIXS:ROUGH:GPI:21 + + + TcLinkTo + .i_iPRESS_R := TIIB[qRIXS_PNL1_E7_EL3174-0002]^AI Standard Channel 3^Value + + + TcVarGlobal + + + 641909120 + + + GVL_Devices.qRIXS_SC_GCC_01 + Gauges +GCC + 88384 + FB_MKS500 + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174-0002_01_23]^AI Standard Channel 1^Value; .i_xHV_ON := TIIB[EL1124_01_22]^Channel 1^Input; .i_xDisc_Active := TIIB[EL1124_01_22]^Channel 2^Input; .q_xHV_DIS := TIIB[EL2624_01_18]^Channel 1^Output - pytmc - pv: QRIXS:SC:GCC:01 TcVarGlobal641996672GVL_Devices.qRIXS_SC_GPI_0186720FB_MKS275pytmc pv: QRIXS:SC:GPI:01 TcLinkTo.i_iPRESS_R := TIIB[EL3174-0002_01_23]^AI Standard Channel 2^ValueTcVarGlobal642085056GVL_Devices.qRIXS_ROUGH_GPI_3186720FB_MKS275pytmc pv: QRIXS:ROUGH:GPI:31 TcLinkTo.i_iPRESS_R := TIIB[EL3174-0002_01_23]^AI Standard Channel 3^ValueTcVarGlobal642171776GVL_Devices.qRIXS_SA_GCP_0286464FB_972TcLinkTo.i_iPRESS_R := TIIB[EL3174-0002_02_13]^AI Standard Channel 2^Valuepytmc + + + + pytmc + + pv: QRIXS:SC:GCC:01 + + + TcVarGlobal + + + 641995840 + + + GVL_Devices.qRIXS_SC_GPI_01 + GPI + 86720 + FB_MKS275 + + + pytmc + pv: QRIXS:SC:GPI:01 + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174-0002_01_23]^AI Standard Channel 2^Value + + + TcVarGlobal + + + 642084224 + + + GVL_Devices.qRIXS_ROUGH_GPI_31 + 86720 + FB_MKS275 + + + pytmc + pv: QRIXS:ROUGH:GPI:31 + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174-0002_01_23]^AI Standard Channel 3^Value + + + TcVarGlobal + + + 642170944 + + + GVL_Devices.qRIXS_SA_GCP_02 + MKS972 - Full range guage + 86464 + FB_972 + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174-0002_02_13]^AI Standard Channel 2^Value + + + pytmc + pv: QRIXS:SA:GCP:02 io: io -TcVarGlobal642258496GVL_Devices.qRIXS_SSL_GCP_2086464FB_972pytmc + + + + TcVarGlobal + + + 642257664 + + + GVL_Devices.qRIXS_SSL_GCP_20 + 86464 + FB_972 + + + pytmc + pv: QRIXS:SSL:GCP:20 io: io -TcLinkTo.i_iPRESS_R := TIIB[EL3174-0002_01_24]^AI Standard Channel 1^ValueTcVarGlobal642344960GVL_Devices.qRIXS_SSL_GCP_3086464FB_972pytmc + + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174-0002_01_24]^AI Standard Channel 1^Value + + + TcVarGlobal + + + 642344128 + + + GVL_Devices.qRIXS_SSL_GCP_30 + 86464 + FB_972 + + + pytmc + pv: QRIXS:SSL:GCP:30 io: io -TcLinkTo.i_iPRESS_R := TIIB[EL3174-0002_01_24]^AI Standard Channel 2^ValueTcVarGlobal642431424GVL_Devices.qRIXS_SDS_GCP_0186464FB_972pytmc pv: QRIXS:SDS:GCP:01 TcLinkTo.i_iPRESS_R := TIIB[EL3174-0002_02_13]^AI Standard Channel 1^ValueTcVarGlobal642517888GVL_Devices.qRIXS_ROUGH_VRC_0184928FB_VRCTcLinkTo.i_xOpnLS := TIIB[EL1004_00_12]^Channel 1^Input; + + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174-0002_01_24]^AI Standard Channel 2^Value + + + TcVarGlobal + + + 642430592 + + + GVL_Devices.qRIXS_SDS_GCP_01 + 86464 + FB_972 + + + pytmc + pv: QRIXS:SDS:GCP:01 + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174-0002_02_13]^AI Standard Channel 1^Value + + + TcVarGlobal + + + 642517056 + + + GVL_Devices.qRIXS_ROUGH_VRC_01 + Valves + 84928 + FB_VRC + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_00_12]^Channel 1^Input; .i_xClsLS := TIIB[EL1004_00_12]^Channel 2^Input; .q_xOPN_DO := TIIB[EL2004_00_13]^Channel 1^Output - pytmc + + + + pytmc + pv: QRIXS:ROUGH:VRC:01 io: io - TcVarGlobal642691072GVL_Devices.qRIXS_ROUGH_VRC_0284928FB_VRCTcLinkTo.i_xOpnLS := TIIB[EL1004_00_12]^Channel 3^Input; + + + + TcVarGlobal + + + 642690240 + + + GVL_Devices.qRIXS_ROUGH_VRC_02 + 84928 + FB_VRC + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_00_12]^Channel 3^Input; .i_xClsLS := TIIB[EL1004_00_12]^Channel 4^Input; .q_xOPN_DO := TIIB[EL2004_00_13]^Channel 2^Output - pytmc + + + + pytmc + pv: QRIXS:ROUGH:VRC:02 io: io - TcVarGlobal642776000GVL_Devices.qRIXS_ROUGH_GPI_01 + + + TcVarGlobal + + + 642775168 + + + GVL_Devices.qRIXS_ROUGH_GPI_01 + MOved to PAX //// Connected to B950-310-WALL-W-DRL-02 (Mechanical Room ) {attribute 'pytmc' := ' pv: QRIXS:PRO:01 '} {attribute 'TcLinkTo' := '.q_xMPStart := TIIB[EL2794_03_03]^Channel 1^Output; @@ -1267,134 +39945,1244 @@ qRIXS_ROUGH_GPI_01 : FB_MKS275; {attribute 'pytmc' := ' pv: QRIXS:ROUGH:VRO:01 '} {attribute 'TcLinkTo' := '.q_xOPN_DO := TIIB[EL2212_03_04]^DOX Control Channel 1^Control^Output'} QRIX_ROUGH_VRO_01 : FB_VVC; -]]>93888FB_TGPI_ADSTcVarGlobal643033408GVL_Devices.qRIXS_PRO_0193312FB_PRO_ADSTcVarGlobal643127296GVL_Devices.qRIXS_SC_VRC_1084928FB_VRCTcLinkTo.i_xOpnLS := TIIB[EL1004_01_01]^Channel 1^Input; + + 93888 + FB_TGPI_ADS + + + TcVarGlobal + + + 643032832 + + + GVL_Devices.qRIXS_PRO_01 + 93312 + FB_PRO_ADS + + + TcVarGlobal + + + 643126720 + + + GVL_Devices.qRIXS_SC_VRC_10 + VRC + 84928 + FB_VRC + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_01_01]^Channel 1^Input; .i_xClsLS := TIIB[EL1004_01_01]^Channel 2^Input; .q_xOPN_DO := TIIB[EL2004_01_02]^Channel 1^Output -pytmc pv: QRIXS:SC:VRC:10 TcVarGlobal643220608GVL_Devices.qRIXS_SC_VRC_2084928FB_VRCTcLinkTo.i_xOpnLS := TIIB[EL1004_01_01]^Channel 3^Input; + + + + pytmc + pv: QRIXS:SC:VRC:10 + + + TcVarGlobal + + + 643220032 + + + GVL_Devices.qRIXS_SC_VRC_20 + 84928 + FB_VRC + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_01_01]^Channel 3^Input; .i_xClsLS := TIIB[EL1004_01_01]^Channel 4^Input; .q_xOPN_DO := TIIB[EL2004_01_02]^Channel 2^Output -pytmc pv: QRIXS:SC:VRC:20 TcVarGlobal643305536GVL_Devices.qRIXS_SC_VRC_3084928FB_VRCTcLinkTo.i_xOpnLS := TIIB[EL1004_01_03]^Channel 1^Input; + + + + pytmc + pv: QRIXS:SC:VRC:20 + + + TcVarGlobal + + + 643304960 + + + GVL_Devices.qRIXS_SC_VRC_30 + 84928 + FB_VRC + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_01_03]^Channel 1^Input; .i_xClsLS := TIIB[EL1004_01_03]^Channel 2^Input; .q_xOPN_DO := TIIB[EL2004_01_04]^Channel 4^Output -pytmc pv: QRIX:SC:VRC:30 TcVarGlobal643390464GVL_Devices.qRIXS_SC_VGC_01177088FB_VGCTcLinkTo.i_xOpnLS := TIIB[EL1004_01_07]^Channel 3^Input; + + + + pytmc + pv: QRIX:SC:VRC:30 + + + TcVarGlobal + + + 643389888 + + + GVL_Devices.qRIXS_SC_VGC_01 + VGC + 177344 + FB_VGC + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_01_07]^Channel 3^Input; .i_xClsLS := TIIB[EL1004_01_07]^Channel 4^Input; .q_xOPN_DO := TIIB[EL2004_01_08]^Channel 1^Output - pytmc + + + + pytmc + pv: QRIX:SC:VGC:01 io: io - TcVarGlobal643475392GVL_Devices.qRIXS_SC_VGC_02177088FB_VGCTcLinkTo.i_xOpnLS := TIIB[EL1004_01_09]^Channel 3^Input; + + + + TcVarGlobal + + + 643474816 + + + GVL_Devices.qRIXS_SC_VGC_02 + 177344 + FB_VGC + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_01_09]^Channel 3^Input; .i_xClsLS := TIIB[EL1004_01_09]^Channel 4^Input; .q_xOPN_DO := TIIB[EL2004_01_08]^Channel 2^Output - pytmc + + + + pytmc + pv: QRIX:SC:VGC:02 io: io - TcVarGlobal643652480GVL_Devices.qRIXS_SC_VGC_0385504FB_VRC_DATcLinkTo.i_xOpnLS := TIIB[EL1004_01_03]^Channel 3^Input; + + + + TcVarGlobal + + + 643652160 + + + GVL_Devices.qRIXS_SC_VGC_03 + 85504 + FB_VRC_DA + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_01_03]^Channel 3^Input; .i_xClsLS := TIIB[EL1004_01_03]^Channel 4^Input; .q_xOPN_DO := TIIB[EL2004_01_02]^Channel 4^Output; .q_xCls_DO := TIIB[EL2004_01_10]^Channel 1^Output - pytmc + + + + pytmc + pv: QRIX:SC:VGC:03 io: io - TcVarGlobal643829568GVL_Devices.qRIXS_SC_PTM_1083648FB_PTM_Pfeifferpytmc + + + + TcVarGlobal + + + 643829504 + + + GVL_Devices.qRIXS_SC_PTM_10 + Turbo Pumps + 83648 + FB_PTM_Pfeiffer + + + pytmc + pv: QRIXS:SC:PTM:10 io: io -TcLinkTo.i_xAtSpd := TIIB[EL1004_01_13]^Channel 1^Input; + + + + TcLinkTo + .i_xAtSpd := TIIB[EL1004_01_13]^Channel 1^Input; .i_xRemote := TIIB[EL1004_01_13]^Channel 2^Input; .i_xFaultNC := TIIB[EL1004_01_13]^Channel 3^Input; .q_RunDO := TIIB[EL2004_01_12]^Channel 1^Output; .q_xRemote := TIIB[EL2004_01_12]^Channel 2^Output; .q_PumpingStation := TIIB[EL2004_01_12]^Channel 3^Output -TcVarGlobal644433152GVL_Devices.qRIXS_SC_PTM_2083648FB_PTM_PfeifferTcLinkTo.i_xAtSpd := TIIB[EL1004_01_16]^Channel 2^Input; + + + + TcVarGlobal + + + 644433344 + + + GVL_Devices.qRIXS_SC_PTM_20 + 83648 + FB_PTM_Pfeiffer + + + TcLinkTo + .i_xAtSpd := TIIB[EL1004_01_16]^Channel 2^Input; .i_xFaultNC := TIIB[EL1004_01_16]^Channel 1^Input; .q_RunDO := TIIB[EL2794_01_15]^Channel 1^Output; .q_xReset := TIIB[EL2794_01_15]^Channel 2^Output -pytmc + + + + pytmc + pv: QRIXS:SC:PTM:20 io: io -TcVarGlobal644516800GVL_Devices.qRIXS_SC_PTM_3083648FB_PTM_Pfeifferpytmc + + + + TcVarGlobal + + + 644516992 + + + GVL_Devices.qRIXS_SC_PTM_30 + 83648 + FB_PTM_Pfeiffer + + + pytmc + pv: QRIXS:SC:PTM:30 io: io -TcLinkTo.i_xAtSpd := TIIB[EL1004_01_16]^Channel 4^Input; + + + + TcLinkTo + .i_xAtSpd := TIIB[EL1004_01_16]^Channel 4^Input; .i_xFaultNC := TIIB[EL1004_01_16]^Channel 3^Input; .q_RunDO := TIIB[EL2794_01_15]^Channel 3^Output; .q_xReset := TIIB[EL2794_01_15]^Channel 4^Output -TcVarGlobal644600448GVL_Devices.qRIXS_SDS_PTM_1083648FB_PTM_PfeifferTcLinkTo.i_xAtSpd := TIIB[EL1004_02_08]^Channel 2^Input; + + + + TcVarGlobal + + + 644600640 + + + GVL_Devices.qRIXS_SDS_PTM_10 + PTM- Turbo Pump + 83648 + FB_PTM_Pfeiffer + + + TcLinkTo + .i_xAtSpd := TIIB[EL1004_02_08]^Channel 2^Input; .i_xFaultNC := TIIB[EL1004_02_08]^Channel 1^Input; .q_RunDO := TIIB[EL2794_02_09]^Channel 1^Output; .q_xReset := TIIB[EL2794_02_09]^Channel 2^Output -pytmc + + + + pytmc + pv: QRIXS:SDS:PTM:10 io: io -TcVarGlobal644684096GVL_Devices.qRIXS_SC_PIP_0190624FB_PIP_Gammapytmc + + + + TcVarGlobal + + + 644684288 + + + GVL_Devices.qRIXS_SC_PIP_01 + Ion Pump Controller + 90624 + FB_PIP_Gamma + + + pytmc + pv: QRIXS:SC:PIP:01 io: io -TcLinkTo.q_xHVEna_DO := TIIB[EL2794_00_04]^Channel 1^Output; + + + + TcLinkTo + .q_xHVEna_DO := TIIB[EL2794_00_04]^Channel 1^Output; .i_iPRESS := TIIB[EL3064_00_03]^AI Standard Channel 1^Value; .i_xSP_DI := TIIB[EL1004_00_05]^Channel 1^Input -TcVarGlobal644767744GVL_Devices.qRIXS_SC_PIP_0290624FB_PIP_Gammapytmc + + + + TcVarGlobal + + + 644767936 + + + GVL_Devices.qRIXS_SC_PIP_02 + 90624 + FB_PIP_Gamma + + + pytmc + pv: QRIXS:SC:PIP:02 io: io -TcLinkTo.q_xHVEna_DO := TIIB[EL2794_00_04]^Channel 2^Output; + + + + TcLinkTo + .q_xHVEna_DO := TIIB[EL2794_00_04]^Channel 2^Output; .i_iPRESS := TIIB[EL3064_00_03]^AI Standard Channel 2^Value; .i_xSP_DI := TIIB[EL1004_00_05]^Channel 2^Input -TcVarGlobal644858368GVL_Devices.qRIXS_OPT_PIP_0190624FB_PIP_Gammapytmc + + + + TcVarGlobal + + + 644858560 + + + GVL_Devices.qRIXS_OPT_PIP_01 + 90624 + FB_PIP_Gamma + + + pytmc + pv: QRIXS:OPT:PIP:01 io: io -TcLinkTo.q_xHVEna_DO := TIIB[EL2794_00_04]^Channel 3^Output; + + + + TcLinkTo + .q_xHVEna_DO := TIIB[EL2794_00_04]^Channel 3^Output; .i_iPRESS := TIIB[EL3064_00_03]^AI Standard Channel 3^Value; .i_xSP_DI := TIIB[EL1004_00_05]^Channel 3^Input -TcVarGlobal644948992GVL_Devices.qRIXS_DET_PIP_0190624FB_PIP_Gammapytmc + + + + TcVarGlobal + + + 644949184 + + + GVL_Devices.qRIXS_DET_PIP_01 + 90624 + FB_PIP_Gamma + + + pytmc + pv: QRIXS:DET:PIP:01 io: io -TcLinkTo.q_xHVEna_DO := TIIB[EL2794_00_04]^Channel 4^Output; + + + + TcLinkTo + .q_xHVEna_DO := TIIB[EL2794_00_04]^Channel 4^Output; .i_iPRESS := TIIB[EL3064_00_03]^AI Standard Channel 4^Value; .i_xSP_DI := TIIB[EL1004_00_05]^Channel 4^Input -TcVarGlobal645039616GVL_PMPS.fbArbiter467456FB_Arbiterpytmcpv: PLC:QRIX:VAC:ARBold_input_assignmentsTcVarGlobal645130240GVL_PMPS.fbFastFaultOutput1495296FB_HardwareFFOutput.bAutoReset1.i_sNetID172.21.92.73.1.1pytmcpv: PLC:QRIX:VAC:FFO:01TcLinkTo.q_xFastFaultOut:=TIIB[PMPS_FFO]^Channel 1^OutputTcVarGlobal645597696GVL_PMPS.fbFastFaultOutput2495296FB_HardwareFFOutput.bAutoReset1.i_sNetID172.21.92.73.1.1pytmcpv: PLC:QRIX:VAC:FFO:02TcLinkTo.q_xFastFaultOut:=TIIB[PMPS_FFO]^Channel 2^OutputTcVarGlobal646092992GVL_SA.qRIXS_OPT_VGC_01177088FB_VGCTcLinkTo.i_xOpnLS := TIIB[qRIXS_PNL1_E1_EL1004]^Channel 1^Input; + + + + TcVarGlobal + + + 645039808 + + + GVL_SA.qRIXS_OPT_VGC_01 + -- Normally Closed Valve with Readback -- + 177344 + FB_VGC + + + TcLinkTo + .i_xOpnLS := TIIB[qRIXS_PNL1_E1_EL1004]^Channel 1^Input; .i_xClsLS := TIIB[qRIXS_PNL1_E1_EL1004]^Channel 2^Input; .q_xOPN_DO := TIIB[qRIXS_PNL1_E3_EL2004]^Channel 1^Output - pytmc + + + + pytmc + pv: QRIXS:OPT:VGC:01 io: io - TcVarGlobal646588288GVL_SA.qRIXS_SA_VWC_01177088FB_VGCTcLinkTo.i_xOpnLS := TIIB[qRIXS_PNL1_E1_EL1004]^Channel 3^Input; + + + + TcVarGlobal + + + 645130432 + + + GVL_SA.qRIXS_SA_VWC_01 + 177344 + FB_VGC + + + TcLinkTo + .i_xOpnLS := TIIB[qRIXS_PNL1_E1_EL1004]^Channel 3^Input; .i_xClsLS := TIIB[qRIXS_PNL1_E1_EL1004]^Channel 4^Input; .q_xOPN_DO := TIIB[qRIXS_PNL1_E3_EL2004]^Channel 2^Output - pytmc + + + + pytmc + pv: QRIXS:BLW:VRC:01 io: io - TcVarGlobal646765376GVL_SA.qRIXS_DET_VRC_0184928FB_VRCTcLinkTo.i_xOpnLS := TIIB[qRIXS_PNL1_E2_EL1004]^Channel 1^Input; + + + + TcVarGlobal + + + 645307776 + + + GVL_SA.qRIXS_DET_VGC_01 + 177344 + FB_VGC + + + TcLinkTo + .i_xOpnLS := TIIB[qRIXS_PNL1_E2_EL1004]^Channel 1^Input; .i_xClsLS := TIIB[qRIXS_PNL1_E2_EL1004]^Channel 2^Input; .q_xOPN_DO := TIIB[qRIXS_PNL1_E3_EL2004]^Channel 3^Output - pytmc - pv: QRIXS:DET:VRC:01 + + + + pytmc + + pv: QRIXS:DET:VGC:01 io: io - TcVarGlobal646942464GVL_SA.qRIXS_OPT_GPI_0186720FB_MKS275TcLinkTo.i_iPRESS_R := TIIB[qRIXS_PNL1_E5_EL3174-0002]^AI Standard Channel 1^Valuepytmc + + + + TcVarGlobal + + + 645485120 + + + GVL_SA.qRIXS_OPT_GPI_01 + MKS275 - Pirani + 86720 + FB_MKS275 + + + TcLinkTo + .i_iPRESS_R := TIIB[qRIXS_PNL1_E5_EL3174-0002]^AI Standard Channel 1^Value + + + pytmc + pv: QRIXS:OPT:GPI:01 io: io - TcVarGlobal647027392GVL_SA.qRIXS_DET_GPI_0186720FB_MKS275TcLinkTo.i_iPRESS_R := TIIB[qRIXS_PNL1_E5_EL3174-0002]^AI Standard Channel 2^Valuepytmc + + + + TcVarGlobal + + + 645662464 + + + GVL_SA.qRIXS_DET_GPI_01 + 86720 + FB_MKS275 + + + TcLinkTo + .i_iPRESS_R := TIIB[qRIXS_PNL1_E5_EL3174-0002]^AI Standard Channel 2^Value + + + pytmc + pv: QRIXS:DET:GPI:01 io: io - TcVarGlobal647114112GVL_SA.qRIXS_SA_GCP_0186464FB_972TcLinkTo.i_iPRESS_R := TIIB[qRIXS_PNL1_E5_EL3174-0002]^AI Standard Channel 3^Valuepytmc + + + + TcVarGlobal + + + 645749184 + + + GVL_SA.qRIXS_SA_GCP_01 + MKS972 - Full range guage + 86464 + FB_972 + + + TcLinkTo + .i_iPRESS_R := TIIB[qRIXS_PNL1_E5_EL3174-0002]^AI Standard Channel 3^Value + + + pytmc + pv: QRIXS:SA:GCP:01 io: io - TcVarGlobal647200832GVL_SA.qRIXS_OPT_GCC_0188384FB_MKS500TcLinkTo.i_iPRESS_R := TIIB[qRIXS_PNL1_E6_EL3174-0002]^AI Standard Channel 1^Value; + + + + TcVarGlobal + + + 645835904 + + + GVL_SA.qRIXS_OPT_GCC_01 + MKS500 - Cold cathode gauge + 88384 + FB_MKS500 + + + TcLinkTo + .i_iPRESS_R := TIIB[qRIXS_PNL1_E6_EL3174-0002]^AI Standard Channel 1^Value; .i_xHV_ON := TIIB[qRIXS_PNL1_E8_EL1124]^Channel 1^Input; .i_xDisc_Active := TIIB[qRIXS_PNL1_E8_EL1124]^Channel 2^Input; .q_xHV_DIS := TIIB[qRIXS_PNL1_E4_EL2624]^Channel 1^Output - pytmc + + + + pytmc + pv: QRIXS:OPT:GCC:01 io: io - TcVarGlobal647287296GVL_SA.qRIXS_DET_GCC_0188384FB_MKS500TcLinkTo.i_iPRESS_R := TIIB[qRIXS_PNL1_E6_EL3174-0002]^AI Standard Channel 2^Value; + + + + TcVarGlobal + + + 645922368 + + + GVL_SA.qRIXS_DET_GCC_01 + 88384 + FB_MKS500 + + + TcLinkTo + .i_iPRESS_R := TIIB[qRIXS_PNL1_E6_EL3174-0002]^AI Standard Channel 2^Value; .i_xHV_ON := TIIB[qRIXS_PNL1_E8_EL1124]^Channel 3^Input; .i_xDisc_Active := TIIB[qRIXS_PNL1_E8_EL1124]^Channel 4^Input; .q_xHV_DIS := TIIB[qRIXS_PNL1_E4_EL2624]^Channel 2^Output - pytmc + + + + pytmc + pv: QRIXS:DET:GCC:01 io: io - TcVarGlobal647375680TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal647465344TwinCAT_SystemInfoVarList._TaskInfo2048PlcTaskSystemInfo12no_initTcVarGlobal647467392TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal647469440TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal647469472TwinCAT_SystemInfoVarList.__PlcTask704_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal647469568TC_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_0C0228TcVarGlobal647486464TC_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_0C0228TcVarGlobal647486592TC_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_0C0228TcVarGlobal647486720TC_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_0C0228TcVarGlobal647486848TC_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_0C0228TcVarGlobal647486976TC_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_0C0228TcVarGlobal647487104TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal6475175684PlcTask Retains081723392PMPS_GVL.AccumulatedFF32UDINTpytmc + + + + TcVarGlobal + + + 646010752 + + + GVL_PMPS.fbArbiter + 474624 + FB_Arbiter + + + pytmc + pv: PLC:QRIX:VAC:ARB:01 + + + old_input_assignments + + + TcVarGlobal + + + 646099136 + + + GVL_PMPS.fbArbiter2 + no pytmc pv because it is not used + 474624 + FB_Arbiter + + + old_input_assignments + + + TcVarGlobal + + + 646573760 + + + GVL_PMPS.fbFastFaultOutput1 + 495296 + FB_HardwareFFOutput + + + .bAutoReset + 1 + + + .i_sNetID + 172.21.92.73.1.1 + + + + + pytmc + pv: PLC:QRIX:VAC:FFO:01 + + + TcLinkTo + .q_xFastFaultOut:=TIIB[PMPS_FFO]^Channel 1^Output + + + TcVarGlobal + + + 647048384 + + + GVL_PMPS.fbFastFaultOutput2 + no pytmc pv because it is not needed for P/MPS + 495296 + FB_HardwareFFOutput + + + .bAutoReset + 1 + + + .i_sNetID + 172.21.92.73.1.1 + + + + + TcLinkTo + .q_xFastFaultOut:=TIIB[PMPS_FFO]^Channel 2^Output + + + TcVarGlobal + + + 647543680 + + + TwinCAT_SystemInfoVarList._AppInfo + 2048 + PlcAppSystemInfo + + + no_init + + + TcVarGlobal + + + 648040256 + + + TwinCAT_SystemInfoVarList._TaskInfo + 2048 + PlcTaskSystemInfo + + 1 + 2 + + + + no_init + + + TcVarGlobal + + + 648042304 + + + TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 648044352 + + + TwinCAT_SystemInfoVarList._TaskOid_PlcTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 648044384 + + + TwinCAT_SystemInfoVarList.__PlcTask + 704 + _Implicit_Task_Info + + + .dwVersion + 2 + + + + + TcContextName + PlcTask + + + TcVarGlobal + + + 648044480 + + + TC_EVENTS.LCLSGeneralEventClass + ST_LCLSGeneralEventClass + 960 + ST_LCLSGeneralEventClass + + + tc_no_symbol + unused + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 648076864 + + + 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 + + + 648090496 + + + 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 + + + 648090624 + + + 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 + + + 648090752 + + + 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 + + + 648090880 + + + 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 + + + 648091008 + + + 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 + + + 648091136 + + + + 4 + PlcTask Retains + 0 + 81723392 + + PMPS_GVL.AccumulatedFF + Any time a FF occurs + 32 + UDINT + + + pytmc + pv: @(PREFIX)AccumulatedFastFaults io: i - TcVarGlobal307203216CommTask Inputs181723392GVL_Interface.QRIX_MOT_SDS_MMS_H_RAW_ENC_CNTS16UINTTcLinkToTIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Inputs^QRIX_MOT_SDS_MMS_H_RAW_ENC_CNTS - TcAddressTypeInputTcVarGlobal634862416GVL_COM.stComIn192EL6inData22BTcLinkTo.Status:=TIIB[EL6021_01_14]^COM TxPDO-Map Inputs Channel 2^Status; + + + + TcVarGlobal + + + 3072032 + + + + 16 + CommTask Inputs + 1 + 81723392 + + GVL_Interface.QRIX_MOT_SDS_MMS_H_RAW_ENC_CNTS + I/O Inputs to QRIX Motion PLC + 16 + UINT + + + TcLinkTo + TIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Inputs^QRIX_MOT_SDS_MMS_H_RAW_ENC_CNTS + + + + TcAddressType + Input + + + TcVarGlobal + + + 634861392 + + + GVL_COM.stComIn + SERIAL IO + 192 + EL6inData22B + + + TcLinkTo + .Status:=TIIB[EL6021_01_14]^COM TxPDO-Map Inputs Channel 2^Status; .D[0]:=TIIB[EL6021_01_14]^COM TxPDO-Map Inputs Channel 2^Data In 0; .D[1]:=TIIB[EL6021_01_14]^COM TxPDO-Map Inputs Channel 2^Data In 1; .D[2]:=TIIB[EL6021_01_14]^COM TxPDO-Map Inputs Channel 2^Data In 2; @@ -1417,7 +41205,27 @@ QRIX_ROUGH_VRO_01 : FB_VVC; .D[19]:=TIIB[EL6021_01_14]^COM TxPDO-Map Inputs Channel 2^Data In 19; .D[20]:=TIIB[EL6021_01_14]^COM TxPDO-Map Inputs Channel 2^Data In 20; .D[21]:=TIIB[EL6021_01_14]^COM TxPDO-Map Inputs Channel 2^Data In 21; - TcAddressTypeInputTcVarGlobal640809600GVL_COM.E2_stComIn192EL6inData22BTcLinkTo.Status:=TIIB[EP6002-0002]^COM TxPDO-Map Inputs Channel 1^Status; + + + + TcAddressType + Input + + + TcVarGlobal + + + 640808768 + + + GVL_COM.E2_stComIn + SERIAL IO + 192 + EL6inData22B + + + TcLinkTo + .Status:=TIIB[EP6002-0002]^COM TxPDO-Map Inputs Channel 1^Status; .D[0]:=TIIB[EP6002-0002]^COM TxPDO-Map Inputs Channel 1^Data In 0; .D[1]:=TIIB[EP6002-0002]^COM TxPDO-Map Inputs Channel 1^Data In 1; .D[2]:=TIIB[EP6002-0002]^COM TxPDO-Map Inputs Channel 1^Data In 2; @@ -1440,9 +41248,236 @@ QRIX_ROUGH_VRO_01 : FB_VVC; .D[19]:=TIIB[EP6002-0002]^COM TxPDO-Map Inputs Channel 1^Data In 19; .D[20]:=TIIB[EP6002-0002]^COM TxPDO-Map Inputs Channel 1^Data In 20; .D[21]:=TIIB[EP6002-0002]^COM TxPDO-Map Inputs Channel 1^Data In 21; - TcAddressTypeInputTcVarGlobal640825440GVL_Devices.qRIXS_ROUGH_GPI_04.i_iPRESS_R16INTTcAddressTypeInput642690816GVL_Devices.qRIXS_SA_VRC_01.i_xOpnLS8BOOLTcAddressTypeInput642945824GVL_Devices.qRIXS_SA_VRC_01.i_xClsLS8BOOLTcAddressTypeInput642945832GVL_Devices.qRIXS_SC_VGC_04.i_xOpnLS8BOOLTcAddressTypeInput644092032GVL_Devices.qRIXS_SC_VGC_04.i_xClsLS8BOOLTcAddressTypeInput644092040GVL_Devices.qRIXS_SC_VGC_05.i_xOpnLS8BOOLTcAddressTypeInput644177056GVL_Devices.qRIXS_SC_VGC_05.i_xClsLS8BOOLTcAddressTypeInput644177064GVL_Devices.qRIXS_SDS_VRC_01.i_xOpnLS8BOOLTcAddressTypeInput644261984GVL_Devices.qRIXS_SDS_VRC_01.i_xClsLS8BOOLTcAddressTypeInput644261992GVL_Devices.qRIXS_SC_VRC_01.i_xOpnLS8BOOLTcAddressTypeInput644348192GVL_Devices.qRIXS_SC_VRC_01.i_xClsLS8BOOLTcAddressTypeInput644348200GVL_Devices.qRIXS_SDS_VRC_31.i_xOpnLS8BOOLTcAddressTypeInput644433120GVL_Devices.qRIXS_SDS_VRC_31.i_xClsLS8BOOLTcAddressTypeInput64443312817CommTask Outputs181723392GVL_Interface.QRIX_VAC_VGC_03_OP_CMD8BOOLTcLinkToTIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Outputs^QRIX_VAC_VGC_03_OP_CMD - TcAddressTypeOutputTcVarGlobal635006312GVL_Interface.QRIX_VAC_VGC_03_CL_CMD8BOOLTcLinkToTIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Outputs^QRIX_VAC_VGC_03_CL_CMD - TcAddressTypeOutputTcVarGlobal635006320GVL_COM.stComOut192EL6outData22BTcLinkTo.Ctrl:=TIIB[EL6021_01_14]^COM RxPDO-Map Outputs Channel 2^Ctrl; + + + + TcAddressType + Input + + + TcVarGlobal + + + 640824608 + + + GVL_Devices.qRIXS_ROUGH_GPI_04.i_iPRESS_R + input Pressure // Link to analog Input + 16 + INT + + + TcAddressType + Input + + + 642689984 + + + GVL_Devices.qRIXS_SA_VRC_01.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 642944992 + + + GVL_Devices.qRIXS_SA_VRC_01.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 642945000 + + + GVL_Devices.qRIXS_SC_VGC_04.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 644092224 + + + GVL_Devices.qRIXS_SC_VGC_04.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 644092232 + + + GVL_Devices.qRIXS_SC_VGC_05.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 644177248 + + + GVL_Devices.qRIXS_SC_VGC_05.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 644177256 + + + GVL_Devices.qRIXS_SDS_VRC_01.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 644262176 + + + GVL_Devices.qRIXS_SDS_VRC_01.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 644262184 + + + GVL_Devices.qRIXS_SC_VRC_01.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 644348384 + + + GVL_Devices.qRIXS_SC_VRC_01.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 644348392 + + + GVL_Devices.qRIXS_SDS_VRC_31.i_xOpnLS + IO + 8 + BOOL + + + TcAddressType + Input + + + 644433312 + + + GVL_Devices.qRIXS_SDS_VRC_31.i_xClsLS + 8 + BOOL + + + TcAddressType + Input + + + 644433320 + + + + 17 + CommTask Outputs + 1 + 81723392 + + GVL_Interface.QRIX_VAC_VGC_03_OP_CMD + I/O Outputs to QRIX Motion PLC + 8 + BOOL + + + TcLinkTo + TIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Outputs^QRIX_VAC_VGC_03_OP_CMD + + + + TcAddressType + Output + + + TcVarGlobal + + + 635005480 + + + GVL_Interface.QRIX_VAC_VGC_03_CL_CMD + 8 + BOOL + + + TcLinkTo + TIID^Device 1 (EtherCAT)^B950_233_R03_DRL_01^EK1122_00_16^QRIX_MOT_INT (EL6692)^IO Outputs^QRIX_VAC_VGC_03_CL_CMD + + + + TcAddressType + Output + + + TcVarGlobal + + + 635005488 + + + GVL_COM.stComOut + 192 + EL6outData22B + + + TcLinkTo + .Ctrl:=TIIB[EL6021_01_14]^COM RxPDO-Map Outputs Channel 2^Ctrl; .D[0]:=TIIB[EL6021_01_14]^COM RxPDO-Map Outputs Channel 2^Data Out 0; .D[1]:=TIIB[EL6021_01_14]^COM RxPDO-Map Outputs Channel 2^Data Out 1; .D[2]:=TIIB[EL6021_01_14]^COM RxPDO-Map Outputs Channel 2^Data Out 2; @@ -1465,7 +41500,26 @@ QRIX_ROUGH_VRO_01 : FB_VVC; .D[19]:=TIIB[EL6021_01_14]^COM RxPDO-Map Outputs Channel 2^Data Out 19; .D[20]:=TIIB[EL6021_01_14]^COM RxPDO-Map Outputs Channel 2^Data Out 20; .D[21]:=TIIB[EL6021_01_14]^COM RxPDO-Map Outputs Channel 2^Data Out 21; - TcAddressTypeOutputTcVarGlobal640809792GVL_COM.E2_stComOut192EL6outData22BTcLinkTo.Ctrl:=TIIB[EP6002-0002]^COM RxPDO-Map Outputs Channel 1^Ctrl; + + + + TcAddressType + Output + + + TcVarGlobal + + + 640808960 + + + GVL_COM.E2_stComOut + 192 + EL6outData22B + + + TcLinkTo + .Ctrl:=TIIB[EP6002-0002]^COM RxPDO-Map Outputs Channel 1^Ctrl; .D[0]:=TIIB[EP6002-0002]^COM RxPDO-Map Outputs Channel 1^Data Out 0; .D[1]:=TIIB[EP6002-0002]^COM RxPDO-Map Outputs Channel 1^Data Out 1; .D[2]:=TIIB[EP6002-0002]^COM RxPDO-Map Outputs Channel 1^Data Out 2; @@ -1488,86 +41542,6148 @@ QRIX_ROUGH_VRO_01 : FB_VVC; .D[19]:=TIIB[EP6002-0002]^COM RxPDO-Map Outputs Channel 1^Data Out 19; .D[20]:=TIIB[EP6002-0002]^COM RxPDO-Map Outputs Channel 1^Data Out 20; .D[21]:=TIIB[EP6002-0002]^COM RxPDO-Map Outputs Channel 1^Data Out 21; - TcAddressTypeOutputTcVarGlobal640825632GVL_Devices.qRIXS_SA_VRC_01.q_xCLS_DO8BOOLTcAddressTypeOutput642945840GVL_Devices.qRIXS_SC_VGC_04.q_xOPN_DO8BOOLTcAddressTypeOutput644092048GVL_Devices.qRIXS_SC_VGC_05.q_xCLS_DO8BOOLTcAddressTypeOutput644177072GVL_Devices.qRIXS_SDS_VRC_01.q_xOPN_DO8BOOLTcAddressTypeOutput644262000GVL_Devices.qRIXS_SDS_VVC_01.q_xOPN_DO8BOOLTcAddressTypeOutput644262624GVL_Devices.qRIXS_SDS_VVC_02.q_xOPN_DO8BOOLTcAddressTypeOutput644263264GVL_Devices.qRIXS_SC_VRC_01.q_xOPN_DO8BOOLTcAddressTypeOutput644348208GVL_Devices.qRIXS_SDS_VRC_31.q_xOPN_DO8BOOLTcAddressTypeOutput64443313619CommTask Internal181723392DefaultGlobals.stSys40ST_SystemTcVarGlobal4096000GeneralConstants.MAX_STATES + + + TcAddressType + Output + + + TcVarGlobal + + + 640824800 + + + GVL_Devices.qRIXS_SA_VRC_01.q_xCLS_DO + 8 + BOOL + + + TcAddressType + Output + + + 642945008 + + + GVL_Devices.qRIXS_SC_VGC_04.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 644092240 + + + GVL_Devices.qRIXS_SC_VGC_05.q_xCLS_DO + 8 + BOOL + + + TcAddressType + Output + + + 644177264 + + + GVL_Devices.qRIXS_SDS_VRC_01.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 644262192 + + + GVL_Devices.qRIXS_SDS_VVC_01.q_xOPN_DO + IO + 8 + BOOL + + + TcAddressType + Output + + + 644262816 + + + GVL_Devices.qRIXS_SDS_VVC_02.q_xOPN_DO + IO + 8 + BOOL + + + TcAddressType + Output + + + 644263456 + + + GVL_Devices.qRIXS_SC_VRC_01.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 644348400 + + + GVL_Devices.qRIXS_SDS_VRC_31.q_xOPN_DO + 8 + BOOL + + + TcAddressType + Output + + + 644433328 + + + + 19 + CommTask Internal + 1 + 81723392 + + DefaultGlobals.stSys + Included for you + 40 + ST_System + + + TcVarGlobal + + + 4096000 + + + 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.fTimeStamp64LREALTcVarGlobal4096064Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED8BYTE1TcVarGlobal4096328Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID8BYTE2TcVarGlobal4097128Global_Variables.AMSPORT_LOGGER16UINT100TcVarGlobal4097136GVL_Logger.TCPADS_MAXUDP_BUFFSIZE + 16 + UINT + + 15 + + + + TcVarGlobal + + + 4096048 + + + DefaultGlobals.fTimeStamp + 64 + LREAL + + + TcVarGlobal + + + 4096064 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED + Retain data loaded + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4096328 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID + Retain data is invalid + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4097128 + + + Global_Variables.AMSPORT_LOGGER + Logger + 16 + UINT + + 100 + + + + 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-33TcVarGlobal4097152Global_Version.stLibVersion_Tc2_EtherCAT288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.nFlags1.sVersion3.3.21.0const_non_replacedTcVarGlobal4179200Global_Version.stLibVersion_Tc2_Standard288ST_LibVersion.iMajor3.iMinor3.iBuild3.iRevision0.nFlags0.sVersion3.3.3.0const_non_replacedTcVarGlobal4179488Global_Version.stLibVersion_Tc2_System288ST_LibVersion.iMajor3.iMinor4.iBuild26.iRevision0.nFlags1.sVersion3.4.26.0const_non_replacedTcVarGlobal4179776Global_Variables.AMSPORT_EVENTLOG16UINT110TcVarGlobal4180064Global_Variables.AMSPORT_R0_RTIME16UINT200TcVarGlobal4180080Global_Variables.AMSPORT_R0_IO16UINT300TcVarGlobal4180096Global_Variables.AMSPORT_R0_NC16UINT500TcVarGlobal4180112Global_Variables.AMSPORT_R0_NCSAF16UINT501TcVarGlobal4180128Global_Variables.AMSPORT_R0_NCSVB16UINT511TcVarGlobal4180144Global_Variables.AMSPORT_R0_ISG16UINT550TcVarGlobal4180160Global_Variables.AMSPORT_R0_CNC16UINT600TcVarGlobal4180176Global_Variables.AMSPORT_R0_LINE16UINT700TcVarGlobal4180192Global_Variables.AMSPORT_R0_PLC16UINT800TcVarGlobal4180208Global_Variables.AMSPORT_R0_PLC_RTS216UINT811TcVarGlobal4180240Global_Variables.AMSPORT_R0_PLC_RTS316UINT821TcVarGlobal4180256Global_Variables.AMSPORT_R0_PLC_RTS416UINT831TcVarGlobal4180272Global_Variables.AMSPORT_R0_CAM16UINT900TcVarGlobal4180288Global_Variables.AMSPORT_R0_CAMTOOL16UINT950TcVarGlobal4180304Global_Variables.AMSPORT_R3_SCOPESERVER16UINT14001TcVarGlobal4180336Global_Variables.ADSSTATE_INVALID16UINT0TcVarGlobal4180352Global_Variables.ADSSTATE_IDLE16UINT1TcVarGlobal4180368Global_Variables.ADSSTATE_RESET16UINT2TcVarGlobal4180384Global_Variables.ADSSTATE_INIT16UINT3TcVarGlobal4180400Global_Variables.ADSSTATE_START16UINT4TcVarGlobal4180416Global_Variables.ADSSTATE_RUN16UINT5TcVarGlobal4180432Global_Variables.ADSSTATE_STOP16UINT6TcVarGlobal4180448Global_Variables.ADSSTATE_SAVECFG16UINT7TcVarGlobal4180464Global_Variables.ADSSTATE_LOADCFG16UINT8TcVarGlobal4180480Global_Variables.ADSSTATE_POWERFAILURE16UINT9TcVarGlobal4180496Global_Variables.ADSSTATE_POWERGOOD16UINT10TcVarGlobal4180512Global_Variables.ADSSTATE_ERROR16UINT11TcVarGlobal4180528Global_Variables.ADSSTATE_SHUTDOWN16UINT12TcVarGlobal4180544Global_Variables.ADSSTATE_SUSPEND16UINT13TcVarGlobal4180560Global_Variables.ADSSTATE_RESUME16UINT14TcVarGlobal4180576Global_Variables.ADSSTATE_CONFIG16UINT15TcVarGlobal4180592Global_Variables.ADSSTATE_RECONFIG16UINT16TcVarGlobal4180608Global_Variables.ADSSTATE_STOPPING16UINT17TcVarGlobal4180624Global_Variables.ADSSTATE_INCOMPATIBLE16UINT18TcVarGlobal4180640Global_Variables.ADSSTATE_EXCEPTION16UINT19TcVarGlobal4180656Global_Variables.ADSSTATE_MAXSTATES16UINT20TcVarGlobal4180672Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED8BYTE4TcVarGlobal4180688Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED8BYTE16TcVarGlobal4180696Global_Variables.ADSIGRP_SYMTAB32UDINT61440TcVarGlobal4180704Global_Variables.ADSIGRP_SYMNAME32UDINT61441TcVarGlobal4180736Global_Variables.ADSIGRP_SYMVAL32UDINT61442TcVarGlobal4180768Global_Variables.ADSIGRP_SYM_VALBYNAME32UDINT61444TcVarGlobal4180832Global_Variables.ADSIGRP_SYM_INFOBYNAME32UDINT61447TcVarGlobal4180928Global_Variables.ADSIGRP_SYM_VERSION32UDINT61448TcVarGlobal4180960Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX32UDINT61449TcVarGlobal4180992Global_Variables.ADSIGRP_SYM_DOWNLOAD32UDINT61450TcVarGlobal4181024Global_Variables.ADSIGRP_SYM_UPLOAD32UDINT61451TcVarGlobal4181056Global_Variables.ADSIGRP_SYM_UPLOADINFO32UDINT61452TcVarGlobal4181088Global_Variables.ADSIGRP_SYMNOTE32UDINT61456TcVarGlobal4181120Global_Variables.ADSIGRP_IOIMAGE_RWIB32UDINT61472TcVarGlobal4181152Global_Variables.ADSIGRP_IOIMAGE_RWIX32UDINT61473TcVarGlobal4181184Global_Variables.ADSIGRP_IOIMAGE_RISIZE32UDINT61477TcVarGlobal4181216Global_Variables.ADSIGRP_IOIMAGE_RWOB32UDINT61488TcVarGlobal4181248Global_Variables.ADSIGRP_IOIMAGE_RWOX32UDINT61489TcVarGlobal4181280Global_Variables.ADSIGRP_IOIMAGE_ROSIZE32UDINT61493TcVarGlobal4181312Global_Variables.ADSIGRP_IOIMAGE_CLEARI32UDINT61504TcVarGlobal4181344Global_Variables.ADSIGRP_IOIMAGE_CLEARO32UDINT61520TcVarGlobal4181376Global_Variables.ADSIGRP_IOIMAGE_RWIOB32UDINT61536TcVarGlobal4181408Global_Variables.ADSIGRP_DEVICE_DATA32UDINT61696TcVarGlobal4181440Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE32UDINT0TcVarGlobal4181472Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE32UDINT2TcVarGlobal4181504Global_Variables.SYSTEMSERVICE_OPENCREATE32UDINT100TcVarGlobal4181536Global_Variables.SYSTEMSERVICE_OPENREAD32UDINT101TcVarGlobal4181568Global_Variables.SYSTEMSERVICE_OPENWRITE32UDINT102TcVarGlobal4181600Global_Variables.SYSTEMSERVICE_CREATEFILE32UDINT110TcVarGlobal4181632Global_Variables.SYSTEMSERVICE_CLOSEHANDLE32UDINT111TcVarGlobal4181664Global_Variables.SYSTEMSERVICE_FOPEN32UDINT120TcVarGlobal4181696Global_Variables.SYSTEMSERVICE_FCLOSE32UDINT121TcVarGlobal4181728Global_Variables.SYSTEMSERVICE_FREAD32UDINT122TcVarGlobal4181760Global_Variables.SYSTEMSERVICE_FWRITE32UDINT123TcVarGlobal4181792Global_Variables.SYSTEMSERVICE_FSEEK32UDINT124TcVarGlobal4181824Global_Variables.SYSTEMSERVICE_FTELL32UDINT125TcVarGlobal4181856Global_Variables.SYSTEMSERVICE_FGETS32UDINT126TcVarGlobal4181888Global_Variables.SYSTEMSERVICE_FPUTS32UDINT127TcVarGlobal4181920Global_Variables.SYSTEMSERVICE_FSCANF32UDINT128TcVarGlobal4181952Global_Variables.SYSTEMSERVICE_FPRINTF32UDINT129TcVarGlobal4181984Global_Variables.SYSTEMSERVICE_FEOF32UDINT130TcVarGlobal4182016Global_Variables.SYSTEMSERVICE_FDELETE32UDINT131TcVarGlobal4182048Global_Variables.SYSTEMSERVICE_FRENAME32UDINT132TcVarGlobal4182080Global_Variables.SYSTEMSERVICE_MKDIR32UDINT138TcVarGlobal4182112Global_Variables.SYSTEMSERVICE_RMDIR32UDINT139TcVarGlobal4182144Global_Variables.SYSTEMSERVICE_SENDEMAIL32UDINT300TcVarGlobal4182208Global_Variables.SYSTEMSERVICE_STARTPROCESS32UDINT500TcVarGlobal4182272Global_Variables.SYSTEMSERVICE_CHANGENETID32UDINT600TcVarGlobal4182304Global_Variables.TIMESERVICE_SYSTEMTIMES32UDINT2TcVarGlobal4182368Global_Variables.TIMESERVICE_RTCTIMEDIFF32UDINT3TcVarGlobal4182400Global_Variables.TIMESERVICE_ADJUSTTIMETORTC32UDINT4TcVarGlobal4182432Global_Variables.ADSLOG_MSGTYPE_WARN32DWORD2TcVarGlobal4182528Global_Variables.ADSLOG_MSGTYPE_MSGBOX32DWORD32TcVarGlobal4182624Global_Variables.ADSLOG_MSGTYPE_RESOURCE32DWORD64TcVarGlobal4182656Global_Variables.ADSLOG_MSGTYPE_STRING32DWORD128TcVarGlobal4182688Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID8BYTE32TcVarGlobal4182720Global_Variables.SYSTEMSTATEFLAGS_BSOD8BYTE1TcVarGlobal4182728Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION8BYTE2TcVarGlobal4182736Global_Variables.nWatchdogTime8BYTETcVarGlobal4182744Global_Variables.FOPEN_MODEREAD32DWORD1TcVarGlobal4182752Global_Variables.FOPEN_MODEWRITE32DWORD2TcVarGlobal4182784Global_Variables.FOPEN_MODEAPPEND32DWORD4TcVarGlobal4182816Global_Variables.FOPEN_MODEPLUS32DWORD8TcVarGlobal4182848Global_Variables.FOPEN_MODEBINARY32DWORD16TcVarGlobal4182880Global_Variables.FOPEN_MODETEXT32DWORD32TcVarGlobal4182912Global_Variables.TCEVENTFLAG_PRIOCLASS16WORD16TcVarGlobal4183168Global_Variables.TCEVENTFLAG_FMTSELF16WORD32TcVarGlobal4183184Global_Variables.TCEVENTFLAG_LOG16WORD64TcVarGlobal4183200Global_Variables.TCEVENTFLAG_MSGBOX16WORD128TcVarGlobal4183216Global_Variables.TCEVENTFLAG_SRCID16WORD256TcVarGlobal4183232Global_Variables.TCEVENTFLAG_AUTOFMTALL16WORD4096TcVarGlobal4183248Global_Variables.TCEVENTSTATE_INVALID16WORD0TcVarGlobal4183264Global_Variables.TCEVENTSTATE_SIGNALED16WORD1TcVarGlobal4183280Global_Variables.TCEVENTSTATE_RESET16WORD2TcVarGlobal4183296Global_Variables.TCEVENTSTATE_CONFIRMED16WORD16TcVarGlobal4183312Global_Variables.TCEVENTSTATE_RESETCON16WORD18TcVarGlobal4183328Global_Variables.TCEVENT_SRCNAMESIZE16INT15TcVarGlobal4183344Global_Variables.TCEVENT_FMTPRGSIZE16INT31TcVarGlobal4183360Global_Variables.eWatchdogConfig16E_WATCHDOG_TIME_CONFIG0TcVarGlobal4183376Global_Variables.PI64LREAL3.14159265358979TcVarGlobal4183424Global_Variables.MAX_STRING_LENGTH32UDINT255TcVarGlobal4183488Global_Version.stLibVersion_Tc3_Module288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.sVersion3.3.21.0const_non_replacedTcVarGlobal4184032Global_Version.stLibVersion_Tc2_Utilities288ST_LibVersion.iMajor3.iMinor3.iBuild54.iRevision0.nFlags1.sVersion3.3.54.0const_non_replacedTcVarGlobal4184640Global_Variables.MAX_AVERAGE_MEASURES16INT10LowerBorder2UpperBorder100TcVarGlobal4184928Global_Variables.GLOBAL_SBCS_TABLE16E_SBCSType1TcVarGlobal4184960Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK8BOOL0TcVarGlobal4184976Global_Variables.DEFAULT_CSV_FIELD_SEP german field separator, comma (,) := 16#2C => US field separator ]]>8BYTE59TcVarGlobal4184984Global_Variables.GLOBAL_DCF77_PULSE_SPLIT pulse < 140ms, Bit == 1 => pulse >= 140ms ]]>32TIME140TcVarGlobal4184992Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME32UDINT4TcVarGlobal4246688Global_Variables.SYSTEMSERVICE_ADDREMOTE32UDINT801TcVarGlobal4246752Global_Variables.SYSTEMSERVICE_DELREMOTE32UDINT802TcVarGlobal4246784Global_Variables.SYSTEMSERVICE_ENUMREMOTE32UDINT803TcVarGlobal4246816Global_Variables.MAX_REMOTE_PCS16INT99TcVarGlobal4246848Global_Variables.MAX_ROUTE_NAME_LEN8BYTE31TcVarGlobal4246864Global_Variables.MAX_ROUTE_ADDR_LEN8BYTE79TcVarGlobal4246872Global_Variables.ROUTE_FLAG_TEMPORARY32DWORD1TcVarGlobal4246880Global_Variables.ROUTE_FLAG_DYNAMIC32DWORD2TcVarGlobal4246912Global_Variables.ROUTE_FLAG_NOOVERRIDE32DWORD4TcVarGlobal4246944Global_Variables.MIN_ROUTE_TRANSPORT8BYTE0TcVarGlobal4246976Global_Variables.MAX_ROUTE_TRANSPORT8BYTE12TcVarGlobal4246984Global_Variables.AMSPORT_AMSLOGGER16UINT10502TcVarGlobal4246992Global_Variables.EMPTY_ROUTE_ENTRY1184ST_AmsRouteEntry.sName.sNetID.sAddress.tTimeout0.dwFlags0TcVarGlobal4247008Global_Variables.SYSTEMSERVICE_FFILEFIND32UDINT133TcVarGlobal4248192Global_Variables.HKEY_MAX_BINARY_DATA_SIZE32UDINT500TcVarGlobal4248224Global_Variables.AMSLOGGER_IGR_GENERAL32UDINT4096TcVarGlobal4248256Global_Variables.AMSLOGGER_IOF_MODE32UDINT1TcVarGlobal4248288Global_Variables.FMTERR_TYPEFIELDVALUE32DWORD2048TcVarGlobal4248672Global_Variables.FMTERR_INVALIDPOINTERINPUT32DWORD65536TcVarGlobal4248832Global_Variables.EMPTY_ARG_VALUE96T_Arg.eType0.cbLen0.pData0TcVarGlobal4248864Global_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]397TcVarGlobal4255088Global_Variables.SYSTEMTIME_TICKSPERMSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000TcVarGlobal4255584Global_Variables.SYSTEMTIME_TICKSPERSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000000TcVarGlobal4255648Global_Variables.SYSTEMTIME_TICKSPERDAY64T_ULARGE_INTEGER.dwHighPart201.dwLowPart711573504TcVarGlobal4255712Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64T_ULARGE_INTEGER.dwHighPart27111902.dwLowPart3577643008TcVarGlobal4255776Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64T_ULARGE_INTEGER.dwHighPart37111701.dwLowPart2856069504TcVarGlobal4255840Global_Variables.SYSTEMTIME_TICKSPERMSEC6464ULINT10000TcVarGlobal4255936Global_Variables.SYSTEMTIME_TICKSPERSEC6464ULINT10000000TcVarGlobal4256000Global_Variables.SYSTEMTIME_TICKSPERDAY6464ULINT864000000000TcVarGlobal4256064Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN6464ULINT116444736000000000TcVarGlobal4256128Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX6464ULINT159393544950000000TcVarGlobal4256192Global_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-60TcVarGlobal4256256Global_Variables.DATE_AND_TIME_SECPERDAY32DWORD86400TcVarGlobal4261216Global_Variables.DATE_AND_TIME_SECPERWEEK32DWORD604800TcVarGlobal4261248Global_Variables.DBG_OUTPUT_NONE32DWORD0TcVarGlobal4267456Global_Variables.DBG_OUTPUT_LOG32DWORD1TcVarGlobal4267488Global_Variables.DBG_OUTPUT_FILE32DWORD2TcVarGlobal4267520Global_Variables.DBG_OUTPUT_VISU32DWORD4TcVarGlobal4267552Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE used to enclose special characters like line breaks, double-quotes, commas... ]]>8BYTE34TcVarGlobal4384720Global_Variables.DEFAULT_CSV_RECORD_SEP_CR record separator (first character) ]]>8BYTE13TcVarGlobal4384728Global_Variables.DEFAULT_CSV_RECORD_SEP_LF record separator (second character) ]]>8BYTE10TcVarGlobal4384736Global_Variables.EMPTY_GUID_STRING296STRING(36)00000000-0000-0000-0000-000000000000TcVarGlobal4386592Global_Variables.EMPTY_GUID_REGSTRING312STRING(38){00000000-0000-0000-0000-000000000000}TcVarGlobal4386888Global_Variables.ASCII_STX8BYTE2TcVarGlobal4387224Global_Version.stLibVersion_Tc2_IoFunctions288ST_LibVersion.iMajor3.iMinor3.iBuild13.iRevision0.nFlags0.sVersion3.3.13.0const_non_replacedTcVarGlobal4387328Global_Version.stLibVersion_Tc2_ModbusSrv288ST_LibVersion.iMajor3.iMinor3.iBuild2.iRevision0.sVersion3.3.2.0const_non_replacedTcVarGlobal4387616Global_Version.stLibVersion_Tc2_SerialCom288ST_LibVersion.iMajor3.iMinor3.iBuild10.iRevision0.nFlags0.sVersion3.3.10.0const_non_replacedTcVarGlobal4387904Global_Variables.COMERRORADS_INVALID_COMPORT32UDINT36865TcVarGlobal4388192Global_Variables.COMERRORADS_INVALID_CMD32UDINT36866TcVarGlobal4388224Global_Variables.COMERRORADS_INVALID_DATAPOINTER32UDINT36867TcVarGlobal4388256Global_Variables.COMERRORADS_INVALID_CFGSTLEN32UDINT36881TcVarGlobal4388288Global_Variables.COMERRORADS_INVALID_CFGSTVER32UDINT36882TcVarGlobal4388320Global_Variables.COMERRORADS_INVALID_TL32UDINT36883TcVarGlobal4388352Global_Variables.COMERRORADS_INVALID_BAUDRATE32UDINT36897TcVarGlobal4388384Global_Variables.COMERRORADS_INVALID_PARITY32UDINT36898TcVarGlobal4388416Global_Variables.COMERRORADS_INVALID_DATABITS32UDINT36899TcVarGlobal4388448Global_Variables.COMERRORADS_INVALID_STOPBITS32UDINT36900TcVarGlobal4388480Global_Variables.COMERRORADS_INVALID_DTR_CTRL32UDINT36901TcVarGlobal4388512Global_Variables.COMERRORADS_INVALID_RTS_CTRL32UDINT36902TcVarGlobal4388544Global_Variables.COMERRORADS_INVALID_CTS_OUTCTRL32UDINT36903TcVarGlobal4388576Global_Variables.COMERRORADS_INVALID_DSR_OUTCTRL32UDINT36904TcVarGlobal4388608Global_Variables.COMERRORADS_INVALID_DSR_SENS32UDINT36905TcVarGlobal4388640Global_Variables.COMERRORADS_NOT_INIT32UDINT36913TcVarGlobal4388672Global_Variables.COMERRORADS_RD_BUFFER_OVERRUN32UDINT36914TcVarGlobal4388704Global_Variables.COMERRORADS_PORT_CONNECTED32UDINT36915TcVarGlobal4388736Global_Variables.COMERRORADS_PORT_NOT_CONNECTED32UDINT36916TcVarGlobal4388768Global_Variables.COMERRORADS_RD_THREAD_TIMEOUT32UDINT36917TcVarGlobal4388800Global_Variables.COMERRORADS_WR_THREAD_TIMEOUT32UDINT36918TcVarGlobal4388832Global_Variables.COMERRORADS_RD_FAILURE32UDINT36919TcVarGlobal4388864Global_Variables.COMERRORADS_WR_FAILURE32UDINT36920TcVarGlobal4388896Global_Variables.COMERRORADS_SERVER_INCOMPATIBLE32UDINT37121TcVarGlobal4388928Global_Variables.ASCII_ETX8BYTE3TcVarGlobal4389464Global_Variables.ASCII_DLE8BYTE16TcVarGlobal4389472Global_Variables.ASCII_NAK8BYTE21TcVarGlobal4389480Global_Variables.MAX_RETRIES16INT5TcVarGlobal4389488Global_Variables.TIMEOUT_ZVZ32TIME220TcVarGlobal4389504Global_Variables.TIMEOUT_QVZ32TIME2000TcVarGlobal4389536Global_Variables.TIMEOUT_WVZ32TIME4000TcVarGlobal4389568Global_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]0TcVarGlobal4389600Global_Constants.EMPTY_EVENT_ID32UDINT0TcVarGlobal4389728Global_Constants.EMPTY_SEVERITY16TcEventSeverity0TcVarGlobal4389760Global_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.eSeverity0TcVarGlobal4389792GVL.nLangId_OnlineMonitoring32DINT1033TcVarGlobal4389984ParameterList.cSourceNameSize32UDINT256LowerBorder81UpperBorder10000TcVarGlobal4390016Global_Version.stLibVersion_Tc3_EventLogger288ST_LibVersion.iMajor3.iMinor1.iBuild33.iRevision0.nFlags1.sVersion3.1.33.0const_non_replacedTcVarGlobal4390048GVL_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]248TcVarGlobal4390336.TCPADS_MAXUDP_BUFFSIZE32UDINT8192TcVarGlobal4390464Global_Variables.TCPADS_IGR_SENDBYHDL32UDINT2147483651TcVarGlobal4390560Global_Variables.TCPADS_IGR_PEERBYHDL32UDINT2147483652TcVarGlobal4390592Global_Variables.TCPADS_IGR_RECVBYHDL32UDINT2147483653TcVarGlobal4390624Global_Variables.TCPADS_IGR_RECVFROMBYHDL32UDINT2147483654TcVarGlobal4390656Global_Variables.TCPADS_IGR_MULTICAST_ADDBYHDL32UDINT2147483656TcVarGlobal4390720Global_Variables.TCPADS_IGR_MULTICAST_DROPBYHDL32UDINT2147483657TcVarGlobal4390752Global_Variables.TCPADS_IGR_ADAPTER_LINKSTATUS32UDINT2147483658TcVarGlobal4390784Global_Variables.TCPADSCONLST_IOF_CONNECT32UDINT1TcVarGlobal4390816Global_Variables.TCPADSCONLST_IOF_LISTEN32UDINT2TcVarGlobal4390848Global_Variables.TCPADSCONLST_IOF_CLOSEALL32UDINT3TcVarGlobal4390880Global_Variables.TCPADSCONLST_IOF_ACCEPT32UDINT4TcVarGlobal4390912Global_Variables.TCPADSCONLST_IOF_GETHNDLBYADDR32UDINT6TcVarGlobal4390976Global_Variables.TCPADSCONLST_IOF_GETLINKSTATUS32UDINT7TcVarGlobal4391008Global_Variables.LISTEN_MODE_CLOSEALL32DWORD1TcVarGlobal4391392Global_Variables.LISTEN_MODE_USEOPENED32DWORD2TcVarGlobal4391424Global_Variables.MAX_THROTTLE_MODE32DWORD12TcVarGlobal4391488Global_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]0TcVarGlobal4391520Global_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]2000TcVarGlobal4391936Global_Version.stLibVersion_Tc3_JsonXml288ST_LibVersion.iMajor3.iMinor3.iBuild18.iRevision0.nFlags1.sVersion3.3.18.0const_non_replacedTcVarGlobal4392352GVL_Param_TcUnit.MaxNumberOfTestSuites16UINT1000TcVarGlobal4392640GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite16UINT100TcVarGlobal4392656GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite16UINT1000TcVarGlobal4392672GVL_Param_TcUnit.LogExtendedResults + 32 + UDINT + + 10000 + + + + analysis + -33 + + + TcVarGlobal + + + 4097152 + + + Global_Version.stLibVersion_Tc2_EtherCAT + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 21 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.21.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4179200 + + + 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 + + + 4179488 + + + Global_Version.stLibVersion_Tc2_System + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 4 + + + .iBuild + 26 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.4.26.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4179776 + + + Global_Variables.AMSPORT_EVENTLOG + Event logger + 16 + UINT + + 110 + + + + TcVarGlobal + + + 4180064 + + + Global_Variables.AMSPORT_R0_RTIME + R0 Real time + 16 + UINT + + 200 + + + + TcVarGlobal + + + 4180080 + + + Global_Variables.AMSPORT_R0_IO + I/O Driver + 16 + UINT + + 300 + + + + TcVarGlobal + + + 4180096 + + + Global_Variables.AMSPORT_R0_NC + 16 + UINT + + 500 + + + + TcVarGlobal + + + 4180112 + + + Global_Variables.AMSPORT_R0_NCSAF + 16 + UINT + + 501 + + + + TcVarGlobal + + + 4180128 + + + Global_Variables.AMSPORT_R0_NCSVB + 16 + UINT + + 511 + + + + TcVarGlobal + + + 4180144 + + + Global_Variables.AMSPORT_R0_ISG + 16 + UINT + + 550 + + + + TcVarGlobal + + + 4180160 + + + Global_Variables.AMSPORT_R0_CNC + 16 + UINT + + 600 + + + + TcVarGlobal + + + 4180176 + + + Global_Variables.AMSPORT_R0_LINE + 16 + UINT + + 700 + + + + TcVarGlobal + + + 4180192 + + + Global_Variables.AMSPORT_R0_PLC + 16 + UINT + + 800 + + + + TcVarGlobal + + + 4180208 + + + Global_Variables.AMSPORT_R0_PLC_RTS2 + TwinCAT v2.xx second PLC runtime system + 16 + UINT + + 811 + + + + TcVarGlobal + + + 4180240 + + + Global_Variables.AMSPORT_R0_PLC_RTS3 + TwinCAT v2.xx third PLC runtime system + 16 + UINT + + 821 + + + + TcVarGlobal + + + 4180256 + + + Global_Variables.AMSPORT_R0_PLC_RTS4 + TwinCAT v2.xx fourth PLC runtime system + 16 + UINT + + 831 + + + + TcVarGlobal + + + 4180272 + + + Global_Variables.AMSPORT_R0_CAM + 16 + UINT + + 900 + + + + TcVarGlobal + + + 4180288 + + + Global_Variables.AMSPORT_R0_CAMTOOL + Camming tool + 16 + UINT + + 950 + + + + TcVarGlobal + + + 4180304 + + + Global_Variables.AMSPORT_R3_SCOPESERVER + TwinCAT Scope Server + 16 + UINT + + 14001 + + + + TcVarGlobal + + + 4180336 + + + Global_Variables.ADSSTATE_INVALID + Invalid ADS state + 16 + UINT + + 0 + + + + TcVarGlobal + + + 4180352 + + + Global_Variables.ADSSTATE_IDLE + 16 + UINT + + 1 + + + + TcVarGlobal + + + 4180368 + + + Global_Variables.ADSSTATE_RESET + 16 + UINT + + 2 + + + + TcVarGlobal + + + 4180384 + + + Global_Variables.ADSSTATE_INIT + 16 + UINT + + 3 + + + + TcVarGlobal + + + 4180400 + + + Global_Variables.ADSSTATE_START + 16 + UINT + + 4 + + + + TcVarGlobal + + + 4180416 + + + Global_Variables.ADSSTATE_RUN + 16 + UINT + + 5 + + + + TcVarGlobal + + + 4180432 + + + Global_Variables.ADSSTATE_STOP + 16 + UINT + + 6 + + + + TcVarGlobal + + + 4180448 + + + Global_Variables.ADSSTATE_SAVECFG + 16 + UINT + + 7 + + + + TcVarGlobal + + + 4180464 + + + Global_Variables.ADSSTATE_LOADCFG + 16 + UINT + + 8 + + + + TcVarGlobal + + + 4180480 + + + Global_Variables.ADSSTATE_POWERFAILURE + 16 + UINT + + 9 + + + + TcVarGlobal + + + 4180496 + + + Global_Variables.ADSSTATE_POWERGOOD + 16 + UINT + + 10 + + + + TcVarGlobal + + + 4180512 + + + Global_Variables.ADSSTATE_ERROR + 16 + UINT + + 11 + + + + TcVarGlobal + + + 4180528 + + + Global_Variables.ADSSTATE_SHUTDOWN + 16 + UINT + + 12 + + + + TcVarGlobal + + + 4180544 + + + Global_Variables.ADSSTATE_SUSPEND + 16 + UINT + + 13 + + + + TcVarGlobal + + + 4180560 + + + Global_Variables.ADSSTATE_RESUME + 16 + UINT + + 14 + + + + TcVarGlobal + + + 4180576 + + + Global_Variables.ADSSTATE_CONFIG + System is in config mode + 16 + UINT + + 15 + + + + TcVarGlobal + + + 4180592 + + + Global_Variables.ADSSTATE_RECONFIG + System should restart in config mode + 16 + UINT + + 16 + + + + TcVarGlobal + + + 4180608 + + + Global_Variables.ADSSTATE_STOPPING + 16 + UINT + + 17 + + + + TcVarGlobal + + + 4180624 + + + Global_Variables.ADSSTATE_INCOMPATIBLE + 16 + UINT + + 18 + + + + TcVarGlobal + + + 4180640 + + + Global_Variables.ADSSTATE_EXCEPTION + 16 + UINT + + 19 + + + + TcVarGlobal + + + 4180656 + + + Global_Variables.ADSSTATE_MAXSTATES + Max. number of available ads states + 16 + UINT + + 20 + + + + TcVarGlobal + + + 4180672 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED + 8 + BYTE + + 4 + + + + TcVarGlobal + + + 4180688 + + + Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED + Persistent data loaded + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 4180696 + + + Global_Variables.ADSIGRP_SYMTAB + Symbol table + 32 + UDINT + + 61440 + + + + TcVarGlobal + + + 4180704 + + + Global_Variables.ADSIGRP_SYMNAME + Symbol name + 32 + UDINT + + 61441 + + + + TcVarGlobal + + + 4180736 + + + Global_Variables.ADSIGRP_SYMVAL + Symbol value + 32 + UDINT + + 61442 + + + + TcVarGlobal + + + 4180768 + + + Global_Variables.ADSIGRP_SYM_VALBYNAME + 32 + UDINT + + 61444 + + + + TcVarGlobal + + + 4180832 + + + Global_Variables.ADSIGRP_SYM_INFOBYNAME + 32 + UDINT + + 61447 + + + + TcVarGlobal + + + 4180928 + + + Global_Variables.ADSIGRP_SYM_VERSION + 32 + UDINT + + 61448 + + + + TcVarGlobal + + + 4180960 + + + Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX + 32 + UDINT + + 61449 + + + + TcVarGlobal + + + 4180992 + + + Global_Variables.ADSIGRP_SYM_DOWNLOAD + 32 + UDINT + + 61450 + + + + TcVarGlobal + + + 4181024 + + + Global_Variables.ADSIGRP_SYM_UPLOAD + 32 + UDINT + + 61451 + + + + TcVarGlobal + + + 4181056 + + + Global_Variables.ADSIGRP_SYM_UPLOADINFO + 32 + UDINT + + 61452 + + + + TcVarGlobal + + + 4181088 + + + Global_Variables.ADSIGRP_SYMNOTE + Notification of named handle + 32 + UDINT + + 61456 + + + + TcVarGlobal + + + 4181120 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIB + Read/write input BYTE(S) + 32 + UDINT + + 61472 + + + + TcVarGlobal + + + 4181152 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIX + Read/write input bit + 32 + UDINT + + 61473 + + + + TcVarGlobal + + + 4181184 + + + Global_Variables.ADSIGRP_IOIMAGE_RISIZE + Read input size (in BYTE) + 32 + UDINT + + 61477 + + + + TcVarGlobal + + + 4181216 + + + Global_Variables.ADSIGRP_IOIMAGE_RWOB + Read/write output BYTE(S) + 32 + UDINT + + 61488 + + + + TcVarGlobal + + + 4181248 + + + Global_Variables.ADSIGRP_IOIMAGE_RWOX + Read/write output bit + 32 + UDINT + + 61489 + + + + TcVarGlobal + + + 4181280 + + + Global_Variables.ADSIGRP_IOIMAGE_ROSIZE + Read/write output bit + 32 + UDINT + + 61493 + + + + TcVarGlobal + + + 4181312 + + + Global_Variables.ADSIGRP_IOIMAGE_CLEARI + Write inputs TO null + 32 + UDINT + + 61504 + + + + TcVarGlobal + + + 4181344 + + + Global_Variables.ADSIGRP_IOIMAGE_CLEARO + Write outputs TO null + 32 + UDINT + + 61520 + + + + TcVarGlobal + + + 4181376 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIOB + Read input AND write output BYTE(S) ADS-READWRITE + 32 + UDINT + + 61536 + + + + TcVarGlobal + + + 4181408 + + + Global_Variables.ADSIGRP_DEVICE_DATA + State, name, etc... + 32 + UDINT + + 61696 + + + + TcVarGlobal + + + 4181440 + + + Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE + Ads state OF device + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 4181472 + + + Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE + Device state + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4181504 + + + Global_Variables.SYSTEMSERVICE_OPENCREATE + Open and if not existing create + 32 + UDINT + + 100 + + + + TcVarGlobal + + + 4181536 + + + Global_Variables.SYSTEMSERVICE_OPENREAD + Open existing for read access + 32 + UDINT + + 101 + + + + TcVarGlobal + + + 4181568 + + + Global_Variables.SYSTEMSERVICE_OPENWRITE + Open existing for write access + 32 + UDINT + + 102 + + + + TcVarGlobal + + + 4181600 + + + Global_Variables.SYSTEMSERVICE_CREATEFILE + Create + 32 + UDINT + + 110 + + + + TcVarGlobal + + + 4181632 + + + Global_Variables.SYSTEMSERVICE_CLOSEHANDLE + Close + 32 + UDINT + + 111 + + + + TcVarGlobal + + + 4181664 + + + Global_Variables.SYSTEMSERVICE_FOPEN + 32 + UDINT + + 120 + + + + TcVarGlobal + + + 4181696 + + + Global_Variables.SYSTEMSERVICE_FCLOSE + 32 + UDINT + + 121 + + + + TcVarGlobal + + + 4181728 + + + Global_Variables.SYSTEMSERVICE_FREAD + 32 + UDINT + + 122 + + + + TcVarGlobal + + + 4181760 + + + Global_Variables.SYSTEMSERVICE_FWRITE + 32 + UDINT + + 123 + + + + TcVarGlobal + + + 4181792 + + + Global_Variables.SYSTEMSERVICE_FSEEK + 32 + UDINT + + 124 + + + + TcVarGlobal + + + 4181824 + + + Global_Variables.SYSTEMSERVICE_FTELL + 32 + UDINT + + 125 + + + + TcVarGlobal + + + 4181856 + + + Global_Variables.SYSTEMSERVICE_FGETS + 32 + UDINT + + 126 + + + + TcVarGlobal + + + 4181888 + + + Global_Variables.SYSTEMSERVICE_FPUTS + 32 + UDINT + + 127 + + + + TcVarGlobal + + + 4181920 + + + Global_Variables.SYSTEMSERVICE_FSCANF + 32 + UDINT + + 128 + + + + TcVarGlobal + + + 4181952 + + + Global_Variables.SYSTEMSERVICE_FPRINTF + 32 + UDINT + + 129 + + + + TcVarGlobal + + + 4181984 + + + Global_Variables.SYSTEMSERVICE_FEOF + 32 + UDINT + + 130 + + + + TcVarGlobal + + + 4182016 + + + Global_Variables.SYSTEMSERVICE_FDELETE + 32 + UDINT + + 131 + + + + TcVarGlobal + + + 4182048 + + + Global_Variables.SYSTEMSERVICE_FRENAME + 32 + UDINT + + 132 + + + + TcVarGlobal + + + 4182080 + + + Global_Variables.SYSTEMSERVICE_MKDIR + 32 + UDINT + + 138 + + + + TcVarGlobal + + + 4182112 + + + Global_Variables.SYSTEMSERVICE_RMDIR + 32 + UDINT + + 139 + + + + TcVarGlobal + + + 4182144 + + + Global_Variables.SYSTEMSERVICE_SENDEMAIL + 32 + UDINT + + 300 + + + + TcVarGlobal + + + 4182208 + + + Global_Variables.SYSTEMSERVICE_STARTPROCESS + 32 + UDINT + + 500 + + + + TcVarGlobal + + + 4182272 + + + Global_Variables.SYSTEMSERVICE_CHANGENETID + 32 + UDINT + + 600 + + + + TcVarGlobal + + + 4182304 + + + Global_Variables.TIMESERVICE_SYSTEMTIMES + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4182368 + + + Global_Variables.TIMESERVICE_RTCTIMEDIFF + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 4182400 + + + Global_Variables.TIMESERVICE_ADJUSTTIMETORTC + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4182432 + + + Global_Variables.ADSLOG_MSGTYPE_WARN + Warning icon + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4182528 + + + Global_Variables.ADSLOG_MSGTYPE_MSGBOX + View message in message box + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4182624 + + + Global_Variables.ADSLOG_MSGTYPE_RESOURCE + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 4182656 + + + Global_Variables.ADSLOG_MSGTYPE_STRING + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 4182688 + + + Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID + Persistent data is invalid + 8 + BYTE + + 32 + + + + TcVarGlobal + + + 4182720 + + + Global_Variables.SYSTEMSTATEFLAGS_BSOD + Blue screen of death + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4182728 + + + Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION + Realtime violation - latency time + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4182736 + + + Global_Variables.nWatchdogTime + Watchdog time. Depending of g_WatchdogConfig : seconds or minutes + 8 + BYTE + + + TcVarGlobal + + + 4182744 + + + 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 + + + 4182752 + + + Global_Variables.FOPEN_MODEWRITE + "w": Opens an empty file for writing. If the given file exists, its contents are destroyed. + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4182784 + + + 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 + + + 4182816 + + + Global_Variables.FOPEN_MODEPLUS + "+": Opens for reading and writing + 32 + DWORD + + 8 + + + + TcVarGlobal + + + 4182848 + + + Global_Variables.FOPEN_MODEBINARY + "b": Open in binary (untranslated) mode. + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4182880 + + + Global_Variables.FOPEN_MODETEXT + "t": Open in text (translated) mode. + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4182912 + + + Global_Variables.TCEVENTFLAG_PRIOCLASS + Event class/priority through textformatter + 16 + WORD + + 16 + + + + TcVarGlobal + + + 4183168 + + + Global_Variables.TCEVENTFLAG_FMTSELF + Format in message + 16 + WORD + + 32 + + + + TcVarGlobal + + + 4183184 + + + Global_Variables.TCEVENTFLAG_LOG + Write to log file + 16 + WORD + + 64 + + + + TcVarGlobal + + + 4183200 + + + Global_Variables.TCEVENTFLAG_MSGBOX + Display message box + 16 + WORD + + 128 + + + + TcVarGlobal + + + 4183216 + + + Global_Variables.TCEVENTFLAG_SRCID + Src id instead of source name + 16 + WORD + + 256 + + + + TcVarGlobal + + + 4183232 + + + Global_Variables.TCEVENTFLAG_AUTOFMTALL + 16 + WORD + + 4096 + + + + TcVarGlobal + + + 4183248 + + + Global_Variables.TCEVENTSTATE_INVALID + Event object is not initialized + 16 + WORD + + 0 + + + + TcVarGlobal + + + 4183264 + + + Global_Variables.TCEVENTSTATE_SIGNALED + Event object is in a signaled state + 16 + WORD + + 1 + + + + TcVarGlobal + + + 4183280 + + + Global_Variables.TCEVENTSTATE_RESET + Event object is in a reset state + 16 + WORD + + 2 + + + + TcVarGlobal + + + 4183296 + + + Global_Variables.TCEVENTSTATE_CONFIRMED + Event object is confirmed but not reset + 16 + WORD + + 16 + + + + TcVarGlobal + + + 4183312 + + + Global_Variables.TCEVENTSTATE_RESETCON + Event object is confirmed and reset + 16 + WORD + + 18 + + + + TcVarGlobal + + + 4183328 + + + Global_Variables.TCEVENT_SRCNAMESIZE + 16 + INT + + 15 + + + + TcVarGlobal + + + 4183344 + + + Global_Variables.TCEVENT_FMTPRGSIZE + 16 + INT + + 31 + + + + TcVarGlobal + + + 4183360 + + + Global_Variables.eWatchdogConfig + 16 + E_WATCHDOG_TIME_CONFIG + + 0 + + + + TcVarGlobal + + + 4183376 + + + Global_Variables.PI + 64 + LREAL + + 3.14159265358979 + + + + TcVarGlobal + + + 4183424 + + + Global_Variables.MAX_STRING_LENGTH + Max. length of T_MaxString (inclusive null delimiter) + 32 + UDINT + + 255 + + + + TcVarGlobal + + + 4183488 + + + 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 + + + 4184032 + + + Global_Version.stLibVersion_Tc2_Utilities + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 54 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.54.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4184640 + + + 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 + + + 4184928 + + + Global_Variables.GLOBAL_SBCS_TABLE + Windows SBCS (Single Byte Character Set) Code Page Table + 16 + E_SBCSType + + 1 + + + + TcVarGlobal + + + 4184960 + + + Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK + TRUE = Enable DCF77 telegram plausibility check (two telegrams are checked), FALSE = Disable check + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 4184976 + + + 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 + + + 4184984 + + + 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 + + + 4184992 + + + Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME + IPHELPERAPI index offset + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4246688 + + + Global_Variables.SYSTEMSERVICE_ADDREMOTE + System Service route function: Add route + 32 + UDINT + + 801 + + + + TcVarGlobal + + + 4246752 + + + Global_Variables.SYSTEMSERVICE_DELREMOTE + System Service route function: Delete route + 32 + UDINT + + 802 + + + + TcVarGlobal + + + 4246784 + + + Global_Variables.SYSTEMSERVICE_ENUMREMOTE + System Service route function: Enumerater route + 32 + UDINT + + 803 + + + + TcVarGlobal + + + 4246816 + + + Global_Variables.MAX_REMOTE_PCS + Max. number of TwinCAT remote systems/PC's + 16 + INT + + 99 + + + + TcVarGlobal + + + 4246848 + + + Global_Variables.MAX_ROUTE_NAME_LEN + Max. TwinCAT router route name length + 8 + BYTE + + 31 + + + + TcVarGlobal + + + 4246864 + + + Global_Variables.MAX_ROUTE_ADDR_LEN + Max. TwinCAT router route address length + 8 + BYTE + + 79 + + + + TcVarGlobal + + + 4246872 + + + Global_Variables.ROUTE_FLAG_TEMPORARY + TwinCAT route flag: Temporary + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4246880 + + + Global_Variables.ROUTE_FLAG_DYNAMIC + TwinCAT route flag: Hostname instead OF IP address + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4246912 + + + Global_Variables.ROUTE_FLAG_NOOVERRIDE + TwinCAT route flag: No override + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4246944 + + + Global_Variables.MIN_ROUTE_TRANSPORT + Min. route type: eRouteTransport_None + 8 + BYTE + + 0 + + + + TcVarGlobal + + + 4246976 + + + Global_Variables.MAX_ROUTE_TRANSPORT + Max. route type: eRouteTransport_SOAP + 8 + BYTE + + 12 + + + + TcVarGlobal + + + 4246984 + + + Global_Variables.AMSPORT_AMSLOGGER + TwinCAT Ams Logger port number + 16 + UINT + + 10502 + + + + TcVarGlobal + + + 4246992 + + + Global_Variables.EMPTY_ROUTE_ENTRY + eTransport := eRouteTransport_None see Workitem 7547 + 1184 + ST_AmsRouteEntry + + + .sName + + + + .sNetID + + + + .sAddress + + + + .tTimeout + 0 + + + .dwFlags + 0 + + + + + TcVarGlobal + + + 4247008 + + + Global_Variables.SYSTEMSERVICE_FFILEFIND + System Service file find function number + 32 + UDINT + + 133 + + + + TcVarGlobal + + + 4248192 + + + Global_Variables.HKEY_MAX_BINARY_DATA_SIZE + Max. byte size of binary registry value data + 32 + UDINT + + 500 + + + + TcVarGlobal + + + 4248224 + + + Global_Variables.AMSLOGGER_IGR_GENERAL + TwinCAT Ams Logger general index group + 32 + UDINT + + 4096 + + + + TcVarGlobal + + + 4248256 + + + Global_Variables.AMSLOGGER_IOF_MODE + TwinCAT Ams Logger mode + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4248288 + + + Global_Variables.FMTERR_TYPEFIELDVALUE + FB_FormatString function block error code: Invalid (unsupported) type field value + 32 + DWORD + + 2048 + + + + TcVarGlobal + + + 4248672 + + + Global_Variables.FMTERR_INVALIDPOINTERINPUT + FB_FormatString function block error code: Invalid pointer input + 32 + DWORD + + 65536 + + + + TcVarGlobal + + + 4248832 + + + Global_Variables.EMPTY_ARG_VALUE + T_Arg empty value + 96 + T_Arg + + + .eType + 0 + + + .cbLen + 0 + + + .pData + 0 + + + + + TcVarGlobal + + + 4248864 + + + 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 + + + 4255088 + + + Global_Variables.SYSTEMTIME_TICKSPERMSEC + Number of 100ns ticks per millisecond + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 10000 + + + + + TcVarGlobal + + + 4255584 + + + Global_Variables.SYSTEMTIME_TICKSPERSEC + Number of 100ns ticks per second + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 10000000 + + + + + TcVarGlobal + + + 4255648 + + + Global_Variables.SYSTEMTIME_TICKSPERDAY + Number of 100ns ticks per day + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 201 + + + .dwLowPart + 711573504 + + + + + TcVarGlobal + + + 4255712 + + + 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 + + + 4255776 + + + 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 + + + 4255840 + + + Global_Variables.SYSTEMTIME_TICKSPERMSEC64 + Number of 100ns ticks per millisecond + 64 + ULINT + + 10000 + + + + TcVarGlobal + + + 4255936 + + + Global_Variables.SYSTEMTIME_TICKSPERSEC64 + Number of 100ns ticks per second + 64 + ULINT + + 10000000 + + + + TcVarGlobal + + + 4256000 + + + Global_Variables.SYSTEMTIME_TICKSPERDAY64 + Number of 100ns ticks per day + 64 + ULINT + + 864000000000 + + + + TcVarGlobal + + + 4256064 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64 + Min. DT value as file time DT#1970-01-01-00:00:00 + 64 + ULINT + + 116444736000000000 + + + + TcVarGlobal + + + 4256128 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64 + Max. DT value as file time DT#2106-02-06-06:28:15 + 64 + ULINT + + 159393544950000000 + + + + TcVarGlobal + + + 4256192 + + + 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 + + + 4256256 + + + Global_Variables.DATE_AND_TIME_SECPERDAY + Number of seconds per day + 32 + DWORD + + 86400 + + + + TcVarGlobal + + + 4261216 + + + Global_Variables.DATE_AND_TIME_SECPERWEEK + Number of seconds per week + 32 + DWORD + + 604800 + + + + TcVarGlobal + + + 4261248 + + + Global_Variables.DBG_OUTPUT_NONE + Disabled (no debug oputput) + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 4267456 + + + Global_Variables.DBG_OUTPUT_LOG + Enabled, TwinCAT System Manager Log + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4267488 + + + Global_Variables.DBG_OUTPUT_FILE + Enabled, text file + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4267520 + + + Global_Variables.DBG_OUTPUT_VISU + reserved + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4267552 + + + 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 + + + 4384720 + + + Global_Variables.DEFAULT_CSV_RECORD_SEP_CR + CSV separator constant: cariage return => record separator (first character) + 8 + BYTE + + 13 + + + + TcVarGlobal + + + 4384728 + + + Global_Variables.DEFAULT_CSV_RECORD_SEP_LF + CSV separator constant: line feed => record separator (second character) + 8 + BYTE + + 10 + + + + TcVarGlobal + + + 4384736 + + + Global_Variables.EMPTY_GUID_STRING + 296 + STRING(36) + + 00000000-0000-0000-0000-000000000000 + + + + TcVarGlobal + + + 4386592 + + + Global_Variables.EMPTY_GUID_REGSTRING + 312 + STRING(38) + + {00000000-0000-0000-0000-000000000000} + + + + TcVarGlobal + + + 4386888 + + + Global_Variables.ASCII_STX + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4387224 + + + 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 + + + 4387328 + + + 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 + + + 4387616 + + + Global_Version.stLibVersion_Tc2_SerialCom + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 10 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.10.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4387904 + + + Global_Variables.COMERRORADS_INVALID_COMPORT + constants for error codes returned as nErrorID output of SerialLineControlADS + invalid input parameters + 32 + UDINT + + 36865 + + + + TcVarGlobal + + + 4388192 + + + Global_Variables.COMERRORADS_INVALID_CMD + 32 + UDINT + + 36866 + + + + TcVarGlobal + + + 4388224 + + + Global_Variables.COMERRORADS_INVALID_DATAPOINTER + 32 + UDINT + + 36867 + + + + TcVarGlobal + + + 4388256 + + + Global_Variables.COMERRORADS_INVALID_CFGSTLEN + 32 + UDINT + + 36881 + + + + TcVarGlobal + + + 4388288 + + + Global_Variables.COMERRORADS_INVALID_CFGSTVER + unknown configuration structure version + 32 + UDINT + + 36882 + + + + TcVarGlobal + + + 4388320 + + + Global_Variables.COMERRORADS_INVALID_TL + invalid TraceLevel + 32 + UDINT + + 36883 + + + + TcVarGlobal + + + 4388352 + + + Global_Variables.COMERRORADS_INVALID_BAUDRATE + 32 + UDINT + + 36897 + + + + TcVarGlobal + + + 4388384 + + + Global_Variables.COMERRORADS_INVALID_PARITY + 32 + UDINT + + 36898 + + + + TcVarGlobal + + + 4388416 + + + Global_Variables.COMERRORADS_INVALID_DATABITS + 32 + UDINT + + 36899 + + + + TcVarGlobal + + + 4388448 + + + Global_Variables.COMERRORADS_INVALID_STOPBITS + 32 + UDINT + + 36900 + + + + TcVarGlobal + + + 4388480 + + + Global_Variables.COMERRORADS_INVALID_DTR_CTRL + 32 + UDINT + + 36901 + + + + TcVarGlobal + + + 4388512 + + + Global_Variables.COMERRORADS_INVALID_RTS_CTRL + 32 + UDINT + + 36902 + + + + TcVarGlobal + + + 4388544 + + + Global_Variables.COMERRORADS_INVALID_CTS_OUTCTRL + 32 + UDINT + + 36903 + + + + TcVarGlobal + + + 4388576 + + + Global_Variables.COMERRORADS_INVALID_DSR_OUTCTRL + 32 + UDINT + + 36904 + + + + TcVarGlobal + + + 4388608 + + + Global_Variables.COMERRORADS_INVALID_DSR_SENS + 32 + UDINT + + 36905 + + + + TcVarGlobal + + + 4388640 + + + Global_Variables.COMERRORADS_NOT_INIT + Specific Error Codes + 32 + UDINT + + 36913 + + + + TcVarGlobal + + + 4388672 + + + Global_Variables.COMERRORADS_RD_BUFFER_OVERRUN + 32 + UDINT + + 36914 + + + + TcVarGlobal + + + 4388704 + + + Global_Variables.COMERRORADS_PORT_CONNECTED + port already opened by the server + 32 + UDINT + + 36915 + + + + TcVarGlobal + + + 4388736 + + + Global_Variables.COMERRORADS_PORT_NOT_CONNECTED + port not yet opened by the server + 32 + UDINT + + 36916 + + + + TcVarGlobal + + + 4388768 + + + Global_Variables.COMERRORADS_RD_THREAD_TIMEOUT + 32 + UDINT + + 36917 + + + + TcVarGlobal + + + 4388800 + + + Global_Variables.COMERRORADS_WR_THREAD_TIMEOUT + 32 + UDINT + + 36918 + + + + TcVarGlobal + + + 4388832 + + + Global_Variables.COMERRORADS_RD_FAILURE + 32 + UDINT + + 36919 + + + + TcVarGlobal + + + 4388864 + + + Global_Variables.COMERRORADS_WR_FAILURE + 32 + UDINT + + 36920 + + + + TcVarGlobal + + + 4388896 + + + Global_Variables.COMERRORADS_SERVER_INCOMPATIBLE + server version incompatible + 32 + UDINT + + 37121 + + + + TcVarGlobal + + + 4388928 + + + Global_Variables.ASCII_ETX + 8 + BYTE + + 3 + + + + TcVarGlobal + + + 4389464 + + + Global_Variables.ASCII_DLE + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 4389472 + + + Global_Variables.ASCII_NAK + 8 + BYTE + + 21 + + + + TcVarGlobal + + + 4389480 + + + Global_Variables.MAX_RETRIES + 16 + INT + + 5 + + + + TcVarGlobal + + + 4389488 + + + Global_Variables.TIMEOUT_ZVZ + maximale Zeichenverzugszeit + 32 + TIME + + 220 + + + + TcVarGlobal + + + 4389504 + + + Global_Variables.TIMEOUT_QVZ + maximale Quittungsverzugszeit + 32 + TIME + + 2000 + + + + TcVarGlobal + + + 4389536 + + + Global_Variables.TIMEOUT_WVZ + maximale Wiederholungsverzugszeit + 32 + TIME + + 4000 + + + + TcVarGlobal + + + 4389568 + + + 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 + + + 4389600 + + + Global_Constants.EMPTY_EVENT_ID + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 4389728 + + + Global_Constants.EMPTY_SEVERITY + 16 + TcEventSeverity + + 0 + + + + TcVarGlobal + + + 4389760 + + + 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 + + + 4389792 + + + GVL.nLangId_OnlineMonitoring + language id for online monitoring; English(US)=1033 ; German(Germany)=1031 + 32 + DINT + + 1033 + + + + TcVarGlobal + + + 4389984 + + + ParameterList.cSourceNameSize + size [bytes] for source names (recommended is a size between 128 and 512) + 32 + UDINT + + 256 + + + + LowerBorder + 81 + + + UpperBorder + 10000 + + + TcVarGlobal + + + 4390016 + + + Global_Version.stLibVersion_Tc3_EventLogger + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 1 + + + .iBuild + 33 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.1.33.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4390048 + + + 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 + + + 4390336 + + + .TCPADS_MAXUDP_BUFFSIZE + 32 + UDINT + + 8192 + + + + TcVarGlobal + + + 4390464 + + + Global_Variables.TCPADS_IGR_SENDBYHDL + 32 + UDINT + + 2147483651 + + + + TcVarGlobal + + + 4390560 + + + Global_Variables.TCPADS_IGR_PEERBYHDL + 32 + UDINT + + 2147483652 + + + + TcVarGlobal + + + 4390592 + + + Global_Variables.TCPADS_IGR_RECVBYHDL + 32 + UDINT + + 2147483653 + + + + TcVarGlobal + + + 4390624 + + + Global_Variables.TCPADS_IGR_RECVFROMBYHDL + 32 + UDINT + + 2147483654 + + + + TcVarGlobal + + + 4390656 + + + Global_Variables.TCPADS_IGR_MULTICAST_ADDBYHDL + 32 + UDINT + + 2147483656 + + + + TcVarGlobal + + + 4390720 + + + Global_Variables.TCPADS_IGR_MULTICAST_DROPBYHDL + 32 + UDINT + + 2147483657 + + + + TcVarGlobal + + + 4390752 + + + Global_Variables.TCPADS_IGR_ADAPTER_LINKSTATUS + 32 + UDINT + + 2147483658 + + + + TcVarGlobal + + + 4390784 + + + Global_Variables.TCPADSCONLST_IOF_CONNECT + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4390816 + + + Global_Variables.TCPADSCONLST_IOF_LISTEN + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4390848 + + + Global_Variables.TCPADSCONLST_IOF_CLOSEALL + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 4390880 + + + Global_Variables.TCPADSCONLST_IOF_ACCEPT + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4390912 + + + Global_Variables.TCPADSCONLST_IOF_GETHNDLBYADDR + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 4390976 + + + Global_Variables.TCPADSCONLST_IOF_GETLINKSTATUS + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 4391008 + + + Global_Variables.LISTEN_MODE_CLOSEALL + FORCED close of all previous opened sockets + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4391392 + + + Global_Variables.LISTEN_MODE_USEOPENED + Try to use allready opened listener socket + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4391424 + + + Global_Variables.MAX_THROTTLE_MODE + 32 + DWORD + + 12 + + + + TcVarGlobal + + + 4391488 + + + 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 + + + 4391520 + + + 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 + + + 4391936 + + + Global_Version.stLibVersion_Tc3_JsonXml + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 18 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.18.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4392352 + + + GVL_Param_TcUnit.MaxNumberOfTestSuites + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 4392640 + + + GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite + 16 + UINT + + 100 + + + + TcVarGlobal + + + 4392656 + + + GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 4392672 + + + 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. ]]>8BOOL1TcVarGlobal4392688GVL_Param_TcUnit.xUnitEnablePublish8BOOL0TcVarGlobal4392696GVL_Param_TcUnit.xUnitBufferSize32UDINT65535TcVarGlobal4392704GVL_Param_TcUnit.xUnitFilePath2048T_MaxStringC:\tcunit_xunit_testresults.xmlTcVarGlobal4392736GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 4392688 + + + GVL_Param_TcUnit.xUnitEnablePublish + Enable (TRUE) or disable (FALSE) publishing of the xUnit Xml report + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 4392696 + + + GVL_Param_TcUnit.xUnitBufferSize + Default reserved PLC memory buffer used for composition of the xUnit xml file (64 kb default) + 32 + UDINT + + 65535 + + + + TcVarGlobal + + + 4392704 + + + 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 + + + 4392736 + + + 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. ]]>16UINT2000TcVarGlobal4394784GVL_TcUnit.TestSuiteIsRegistered8BOOLTcVarGlobal4394800GVL_TcUnit.CurrentTestIsFinished8BOOLTcVarGlobal4394808GVL_Param_TcUnit.TimeBetweenTestSuitesExecution32TIME0TcVarGlobal4394816GVL_TcUnit.TcUnitRunner621827200FB_TcUnitRunnerTcVarGlobal4394848GVL_TcUnit.CurrentTestSuiteBeingCalled32FB_TestSuiteTcVarGlobal626222048GVL_TcUnit.CurrentTestNameBeingCalled2048T_MaxStringTcVarGlobal626222080GVL_TcUnit.IgnoreCurrentTest + 16 + UINT + + 2000 + + + + TcVarGlobal + + + 4394784 + + + GVL_TcUnit.TestSuiteIsRegistered + Indication of whether the last instantiated test suite has an assert instance created + 8 + BOOL + + + TcVarGlobal + + + 4394800 + + + GVL_TcUnit.CurrentTestIsFinished + Whether or not the current test being called has finished running + 8 + BOOL + + + TcVarGlobal + + + 4394808 + + + 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 + + + 4394816 + + + GVL_TcUnit.TcUnitRunner + 621827200 + FB_TcUnitRunner + + + TcVarGlobal + + + 4394848 + + + GVL_TcUnit.CurrentTestSuiteBeingCalled + Pointer to current test suite being called + 32 + FB_TestSuite + + + TcVarGlobal + + + 626222048 + + + GVL_TcUnit.CurrentTestNameBeingCalled + Current name of test being called + 2048 + T_MaxString + + + TcVarGlobal + + + 626222080 + + + 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 ]]>8BOOLTcVarGlobal626224128GVL_TcUnit.NumberOfInitializedTestSuites16UINT0TcVarGlobal626224144GVL_TcUnit.TestSuiteAddresses32000FB_TestSuite11000TcVarGlobal626224160GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite + 8 + BOOL + + + TcVarGlobal + + + 626224128 + + + GVL_TcUnit.NumberOfInitializedTestSuites + The assert function block instance should be 1:1 mapped to + the test suite instance path. + 16 + UINT + + 0 + + + + TcVarGlobal + + + 626224144 + + + GVL_TcUnit.TestSuiteAddresses + 32000 + FB_TestSuite + + 1 + 1000 + + + + TcVarGlobal + + + 626224160 + + + 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. ]]>16000UINT11000LowerBorder1UpperBorder100TcVarGlobal626256160GVL_TcUnit.AdsMessageQueue8320864FB_AdsLogStringMessageFifoQueueTcVarGlobal626272160Global_Version.stLibVersion_TcUnit288ST_LibVersion.iMajor1.iMinor2.iBuild0.iRevision0.sVersion1.2.0.0const_non_replacedTcVarGlobal634593024Constants.gc_iSizeOfGGOArray16INT50TcVarGlobal634593312Constants.gc_GaugeValidState16INT4TcVarGlobal634593328Global_Variables.g_iSizeOfGGOArray16INT50TcVarGlobal634593344Global_Variables.g_stSystem40ST_System.xFirstScan1TcVarGlobal634593360Global_Variables.g_DummyVG1056ST_VGTcVarGlobal634593408Global_Variables.fbGetCurTaskIdx128GETCURTASKINDEXTcVarGlobal634594464Global_Variables.TaskInfo1024PlcTaskSystemInfoTcVarGlobal634594624PMPS_GVL.g_areVBoundaries1024REAL032pytmc + The below array is only used for TEST_ORDERED()-tests. + 16000 + UINT + + 1 + 1000 + + + + LowerBorder + 1 + + + UpperBorder + 100 + + + TcVarGlobal + + + 626256160 + + + GVL_TcUnit.AdsMessageQueue + Buffered ADS message queue for output to the error list + 8320864 + FB_AdsLogStringMessageFifoQueue + + + TcVarGlobal + + + 626272160 + + + Global_Version.stLibVersion_TcUnit + 288 + ST_LibVersion + + + .iMajor + 1 + + + .iMinor + 2 + + + .iBuild + 0 + + + .iRevision + 0 + + + .sVersion + 1.2.0.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 634593024 + + + Constants.gc_iSizeOfGGOArray + 16 + INT + + 50 + + + + TcVarGlobal + + + 634593312 + + + Constants.gc_GaugeValidState + 16 + INT + + 4 + + + + TcVarGlobal + + + 634593328 + + + Global_Variables.g_iSizeOfGGOArray + 16 + INT + + 50 + + + + TcVarGlobal + + + 634593344 + + + Global_Variables.g_stSystem + 40 + ST_System + + + .xFirstScan + 1 + + + + + TcVarGlobal + + + 634593360 + + + PRG_SPA.xExtILK_OK_BLW + 8 + BOOL + 634593400 + + + Global_Variables.g_DummyVG + 1056 + ST_VG + + + TcVarGlobal + + + 634593408 + + + Global_Variables.fbGetCurTaskIdx + 128 + GETCURTASKINDEX + + + TcVarGlobal + + + 634594464 + + + Global_Variables.TaskInfo + 1024 + PlcTaskSystemInfo + + + TcVarGlobal + + + 634594624 + + + PMPS_GVL.g_areVBoundaries + 1024 + REAL + + 0 + 32 + + + + pytmc + pv: @(PREFIX)eVRangeCnst - io: i + io: i archive: 1Hz monitor field: DESC Active eV Range constants field: EGU eV - TcVarGlobal634599040PMPS_GVL.PERange32PE_RangesTcVarGlobal634600064PMPS_GVL.VISIBLE_TEST_VELOCITY64LREAL10TcVarGlobal634600128PMPS_GVL.FAST_TEST_VELOCITY64LREAL100TcVarGlobal634600192PMPS_GVL.MAX_DEVICE_STATES32UDINT300TcVarGlobal634600256PMPS_GVL.cnMaxStateArrayLen16INT20TcVarGlobal634605408PMPS_GVL.g_cBoundaries16INT31TcVarGlobal634605456PMPS_GVL.DUMMY_AUX_ATT_ARRAY1024ST_PMPS_Attenuator116suppress_warning_0C0228TcVarGlobal634605472PMPS_GVL.reVHyst + + + TcVarGlobal + + + 634599168 + + + PMPS_GVL.PERange + Included to place the ev ranges properly + 32 + PE_Ranges + + + TcVarGlobal + + + 634600192 + + + PMPS_GVL.VISIBLE_TEST_VELOCITY + 64 + LREAL + + 10 + + + + TcVarGlobal + + + 634600256 + + + PMPS_GVL.FAST_TEST_VELOCITY + 64 + LREAL + + 100 + + + + TcVarGlobal + + + 634600320 + + + PMPS_GVL.MAX_DEVICE_STATES + 32 + UDINT + + 300 + + + + TcVarGlobal + + + 634600384 + + + PMPS_GVL.cnMaxStateArrayLen + {attribute 'pytmc' := ' + pv: @(PREFIX)SafeBeamCnst + io: i + archive: 1Hz monitor + field: DESC Safe beam constant + '} + cstSafeBeam : ST_BeamParams := ( + nTran := 0, + neVRange := 0, + nRate := 0 + ); + 16 + INT + + 20 + + + + TcVarGlobal + + + 634600464 + + + PMPS_GVL.stAttenuators + 64 + ST_PMPS_Attenuator + + + .nTran + 1 + + + .xAttOK + 1 + + + + + TcVarGlobal + + + 634600480 + + + PMPS_GVL.g_cBoundaries + 16 + INT + + 31 + + + + TcVarGlobal + + + 634604080 + + + PMPS_GVL.DUMMY_AUX_ATT_ARRAY + 1024 + ST_PMPS_Attenuator + + 1 + 16 + + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 634604096 + + + PMPS_GVL.reVHyst + /////////////////////// /////////////////////// -//////////////////////////////////// ]]>32REAL5pytmc +//////////////////////////////////// + 32 + REAL + + 5 + + + + pytmc + pv: @(PREFIX)eVRangeHyst - io: i + io: i archive: 1Hz monitor field: DESC eV Range hystersis field: EGU eV - TcVarGlobal634606496PMPS_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 + + + 634605120 + + + 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 + io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - TcVarGlobal634606528PMPS_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 + + + 634605152 + + + 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 + io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - TcVarGlobal634607552PMPS_PARAM.MAX_FAST_FAULTS16UINT50TcVarGlobal634608576PRG_SDS.QRIX_MOT_SDS_MMS_H_BACKWARD_EN16INT634608592Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild48.iRevision0.nFlags1.sVersion3.3.48.0const_non_replacedTcVarGlobal634608928Global_Variables.TcMcGlobal6976_TCMCGLOBALTcVarGlobal634609216Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal634616192Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal634616256Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal634616320Global_Version.stLibVersion_Tc2_DataExchange288ST_LibVersion.iMajor3.iMinor3.iBuild5.iRevision0.nFlags0.sVersion3.3.5.0const_non_replacedTcVarGlobal634616608PRG_SampleChamber.QRIX2048T_MaxString634660992PRG_SampleChamber.qRIXS_SC_PTM_10_ILK1504FB_ChemRIXS_Turbo_ILK634857888PRG_SampleChamber.qRIXS_SC_PTM_20_ILK1504FB_ChemRIXS_Turbo_ILK634859392PRG_SampleChamber.qRIXS_SC_PTM_30_ILK1504FB_ChemRIXS_Turbo_ILK634860896GVL_COM.SerialRXBuffer2512ComBufferTcVarGlobal640794144GVL_COM.SerialTXBuffer2512ComBufferTcVarGlobal640796656GVL_COM.E14_fbSerialLineControl10432SerialLineControlTcVarGlobal640799168GVL_COM.E2_fbSerialLineControl10432SerialLineControlTcVarGlobal640815008GVL_Variables.xSystemOverrideMode_Valve8BOOL0pytmc - pv: QRIXS:VAC:OVRDON + + + + TcVarGlobal + + + 634606176 + + + PMPS_PARAM.MAX_FAST_FAULTS + Max fast faults for an FFO + 16 + UINT + + 50 + + + + TcVarGlobal + + + 634607200 + + + PRG_SDS.QRIX_MOT_SDS_MMS_H_BACKWARD_EN + 16 + INT + 634607216 + + + Global_Version.stLibVersion_Tc2_MC2 + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 48 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.48.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 634607552 + + + Global_Variables.TcMcGlobal + 6976 + _TCMCGLOBAL + + + TcVarGlobal + + + 634607840 + + + Global_Variables.DEFAULT_HOME_POSITION + 64 + LREAL + + 1E+307 + + + + TcVarGlobal + + + 634614848 + + + Global_Variables.DEFAULT_BACKLASHVALUE + 64 + LREAL + + 1E+307 + + + + TcVarGlobal + + + 634614912 + + + 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 + + + 634614976 + + + Global_Version.stLibVersion_Tc2_DataExchange + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 5 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.5.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 634615264 + + + PRG_SampleChamber.QRIX + 2048 + T_MaxString + 634659968 + + + PRG_SampleChamber.qRIXS_SC_PTM_10_ILK + PTM interlocks + 1504 + FB_ChemRIXS_Turbo_ILK + 634856864 + + + PRG_SampleChamber.qRIXS_SC_PTM_20_ILK + 1504 + FB_ChemRIXS_Turbo_ILK + 634858368 + + + PRG_SampleChamber.qRIXS_SC_PTM_30_ILK + 1504 + FB_ChemRIXS_Turbo_ILK + 634859872 + + + PRG_SPA.xExtILK_OK_DET + 8 + BOOL + 634861376 + + + PRG_SPA.iPressTorrerance + Torr + 32 + REAL + + 1 + + 634861408 + + + PRG_SPA.stUSG_dummy + 1056 + ST_VG + 634861440 + + + GVL_COM.SerialRXBuffer + Define COM Ports/Buffers incl. library Tc2_SerialCom +Pfeiffers on the sample chamber + 2512 + ComBuffer + + + TcVarGlobal + + + 640793312 + + + GVL_COM.SerialTXBuffer + 2512 + ComBuffer + + + TcVarGlobal + + + 640795824 + + + GVL_COM.E14_fbSerialLineControl + Serial Terminal + 10432 + SerialLineControl + + + TcVarGlobal + + + 640798336 + + + GVL_COM.E2_fbSerialLineControl + Serial Terminal + 10432 + SerialLineControl + + + TcVarGlobal + + + 640814176 + + + GVL_Variables.xSAOverrideMode + 8 + BOOL + + 0 + + + + pytmc + + pv: QRIXS:SA:OVRDON io: io -TcVarGlobal640829024GVL_Variables.SetupMode_Valve8BOOL0pytmc pv: QRIXS:SA:VAC:SETUP_MODETcVarGlobal640829032Constants.bLittleEndian8BOOL1TcVarGlobal640829048GVL_Devices.qRIXS_ROUGH_GPI_0486720FB_MKS275pytmc pv: QRIXS:ROUGH:GPI:04 TcLinkTo.i_iPRESS_R := TIIB[EL3174-0002_02_13]^AI Standard Channel 3^ValueTcVarGlobal642604352GVL_Devices.qRIXS_SA_VRC_01172480FB_VRC_NO_FFOpytmc + + + + TcVarGlobal + + + 640828192 + + + GVL_Variables.SetupMode + 8 + BOOL + + 0 + + + + pytmc + pv: QRIXS:SA:SETUP_MODE + + + TcVarGlobal + + + 640828200 + + + Constants.bLittleEndian + Does the target support an FPU + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 640828216 + + + GVL_Devices.qRIXS_ROUGH_GPI_04 + MKS-275 + 86720 + FB_MKS275 + + + pytmc + pv: QRIXS:ROUGH:GPI:04 + + + TcLinkTo + .i_iPRESS_R := TIIB[EL3174-0002_02_13]^AI Standard Channel 3^Value + + + TcVarGlobal + + + 642603520 + + + GVL_Devices.qRIXS_SA_VRC_01 + Is the Window valve NO + 172736 + FB_VRC_NO_FFO + + + pytmc + pv: QRIXS:SA:VRC:01 -TcVarGlobal642860928GVL_Devices.qRIXS_SC_VGC_04177088FB_VGCTcLinkTo.i_xOpnLS := TIIB[EL1004_01_05]^Channel 1^Input; + + + + TcVarGlobal + + + 642860096 + + + GVL_Devices.qRIXS_SC_VGC_04 + 177344 + FB_VGC + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_01_05]^Channel 1^Input; .i_xClsLS := TIIB[EL1004_01_05]^Channel 2^Input; .q_xOPN_DO := TIIB[EL2004_01_04]^Channel 1^Output - pytmc pv: QRIXS:SC:VGC:04 TcVarGlobal643915072GVL_Devices.qRIXS_SC_VGC_0584928FB_VRC_NOpytmc pv: QRIXS:SC:VGC:05 TcLinkTo.i_xOpnLS := TIIB[EL1004_01_05]^Channel 3^Input; + + + + pytmc + pv: QRIXS:SC:VGC:04 + + + TcVarGlobal + + + 643915008 + + + GVL_Devices.qRIXS_SC_VGC_05 + 84928 + FB_VRC_NO + + + pytmc + pv: QRIXS:SC:VGC:05 + + + TcLinkTo + .i_xOpnLS := TIIB[EL1004_01_05]^Channel 3^Input; .i_xClsLS := TIIB[EL1004_01_05]^Channel 4^Input; .q_xCLS_DO := TIIB[EL2004_01_04]^Channel 2^Output - TcVarGlobal644092160GVL_Devices.qRIXS_SDS_VRC_0184928FB_VRCTcLinkTo.i_xAtSpd := TIIB[EL1004_01_13]^Channel 1^Input; + + + + TcVarGlobal + + + 644092352 + + + GVL_Devices.qRIXS_SDS_VRC_01 + PTM +VRC + 84928 + FB_VRC + + + TcLinkTo + .i_xAtSpd := TIIB[EL1004_01_13]^Channel 1^Input; .i_xFaultNC := TIIB[EL1004_01_13]^Channel 3^Input; .i_xRemote := TIIB[EL1004_01_13]^Channel 2^Input; .q_RunDO := TIIB[EL2004_01_12]^Channel 1^Output; .q_xRemote := TIIB[EL2004_01_12]^Channel 2^Output; .q_PumpingStation := TIIB[EL2004_01_12]^Channel 3^Output; -pytmc pv: QRIXS:SDS:VRC:01 TcVarGlobal644177088GVL_Devices.qRIXS_SDS_VVC_01640FB_VVCpytmc pv: QRIXS:SDS:VVC:01 TcVarGlobal644262016GVL_Devices.qRIXS_SDS_VVC_02640FB_VVCpytmc pv: QRIXS:SDS:VVC:02 TcVarGlobal644262656GVL_Devices.qRIXS_SC_VRC_0184928FB_VRCpytmc + + + + pytmc + pv: QRIXS:SDS:VRC:01 + + + TcVarGlobal + + + 644177280 + + + GVL_Devices.qRIXS_SDS_VVC_01 + VVC + 640 + FB_VVC + + + pytmc + pv: QRIXS:SDS:VVC:01 + + + TcVarGlobal + + + 644262208 + + + GVL_Devices.qRIXS_SDS_VVC_02 + 640 + FB_VVC + + + pytmc + pv: QRIXS:SDS:VVC:02 + + + TcVarGlobal + + + 644262848 + + + GVL_Devices.qRIXS_SC_VRC_01 + VRC + 84928 + FB_VRC + + + pytmc + pv: QRIXS:SC:VRC:01 io: io - TcVarGlobal644263296GVL_Devices.qRIXS_SDS_VRC_3184928FB_VRCpytmc + + + + TcVarGlobal + + + 644263488 + + + GVL_Devices.qRIXS_SDS_VRC_31 + 84928 + FB_VRC + + + pytmc + pv: QRIXS:SDS:VRC:31 io: io - TcVarGlobal644348224Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal647464064Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal647464128Constants.bSimulationMode8BOOL0TcVarGlobal647464192Constants.bFPUSupport8BOOL1TcVarGlobal647464200Constants.nRegisterSize16WORD32TcVarGlobal647464208Constants.nPackMode16UINT8TcVarGlobal647464224Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal647464256Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal647464288TwinCAT_LicenseInfoVarList._LicenseInfo1024PlcLicenseInfo11[1].LicenseId.Data13165056522[1].LicenseId.Data240161[1].LicenseId.Data319775[1].LicenseId.Data4[0]152[1].LicenseId.Data4[1]202[1].LicenseId.Data4[2]65[1].LicenseId.Data4[3]58[1].LicenseId.Data4[4]188[1].LicenseId.Data4[5]13[1].LicenseId.Data4[6]148[1].LicenseId.Data4[7]253[1].Instances0[1].LicenseNameTF6340 TC3 Serial-CommunicationTcVarGlobal647464320TwinCAT_SystemInfoVarList._TaskPouOid_CommTask32OTCIDno_initTcVarGlobal647469504TwinCAT_SystemInfoVarList._TaskOid_CommTask32OTCIDno_initTcVarGlobal647469536TwinCAT_SystemInfoVarList.__CommTask704_Implicit_Task_Info.dwVersion2TcContextNameCommTaskTcVarGlobal64747027220CommTask Retains181723392PMPS_GVL.SuccessfulPreemption32UDINTpytmc + + + + TcVarGlobal + + + 644348416 + + + Constants.RuntimeVersion + Does the target support an FPU + 64 + VERSION + + + .uiMajor + 3 + + + .uiMinor + 5 + + + .uiServicePack + 6 + + + .uiPatch + 0 + + + + + TcVarGlobal + + + 648038976 + + + Constants.CompilerVersion + Does the target support an FPU + 64 + VERSION + + + .uiMajor + 3 + + + .uiMinor + 5 + + + .uiServicePack + 10 + + + .uiPatch + 100 + + + + + TcVarGlobal + + + 648039040 + + + Constants.bSimulationMode + Does the target support an FPU + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 648039104 + + + Constants.bFPUSupport + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 648039112 + + + Constants.nRegisterSize + Does the target support an FPU + 16 + WORD + + 32 + + + + TcVarGlobal + + + 648039120 + + + Constants.nPackMode + Does the target support an FPU + 16 + UINT + + 8 + + + + TcVarGlobal + + + 648039136 + + + Constants.RuntimeVersionNumeric + 32 + DWORD + + 50660864 + + + + TcVarGlobal + + + 648039168 + + + Constants.CompilerVersionNumeric + 32 + DWORD + + 50661988 + + + + TcVarGlobal + + + 648039200 + + + TwinCAT_LicenseInfoVarList._LicenseInfo + 1024 + PlcLicenseInfo + + 1 + 1 + + + + [1].LicenseId.Data1 + 3165056522 + + + [1].LicenseId.Data2 + 40161 + + + [1].LicenseId.Data3 + 19775 + + + [1].LicenseId.Data4[0] + 152 + + + [1].LicenseId.Data4[1] + 202 + + + [1].LicenseId.Data4[2] + 65 + + + [1].LicenseId.Data4[3] + 58 + + + [1].LicenseId.Data4[4] + 188 + + + [1].LicenseId.Data4[5] + 13 + + + [1].LicenseId.Data4[6] + 148 + + + [1].LicenseId.Data4[7] + 253 + + + [1].Instances + 0 + + + [1].LicenseName + TF6340 TC3 Serial-Communication + + + + + TcVarGlobal + + + 648039232 + + + TwinCAT_SystemInfoVarList._TaskPouOid_CommTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 648044416 + + + TwinCAT_SystemInfoVarList._TaskOid_CommTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 648044448 + + + TwinCAT_SystemInfoVarList.__CommTask + 704 + _Implicit_Task_Info + + + .dwVersion + 2 + + + + + TcContextName + CommTask + + + TcVarGlobal + + + 648045184 + + + + 20 + CommTask Retains + 1 + 81723392 + + PMPS_GVL.SuccessfulPreemption + Any time BPTM applies a new BP request which is confirmed + 32 + UDINT + + + pytmc + pv: @(PREFIX)SuccessfulPreemptions io: i - TcVarGlobal3072000TcSystemEventClassTcGeneralAdsEventClassTcRouterEventClassTcRTimeEventClassWin32EventClassLCLSGeneralEventClassApplicationNamePort_851ChangeDate2024-05-02T15:37:22GeneratedCodeSize577536GlobalDataSize80457728 \ No newline at end of file + + + + TcVarGlobal + + + 3072000 + + + PMPS_GVL.BP_jsonDoc + 32 + SJsonValue + + + TcVarGlobal + + + 3072064 + + + + + + + LCLSGeneralEventClass + + + TcSystemEventClass + + + TcGeneralAdsEventClass + + + TcRouterEventClass + + + TcRTimeEventClass + + + Win32EventClass + + + + + ApplicationName + Port_851 + + + ChangeDate + 2024-05-21T13:21:47 + + + GeneratedCodeSize + 634880 + + + GlobalDataSize + 80576512 + + + + + diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_2_PMPS.TcPOU b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_2_PMPS.TcPOU index ee84491..25874b8 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_2_PMPS.TcPOU +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_2_PMPS.TcPOU @@ -7,9 +7,20 @@ VAR END_VAR ]]> - diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_SA_WINDOW.TcPOU b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_SA_WINDOW.TcPOU index a27ac4d..4277a48 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_SA_WINDOW.TcPOU +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_SA_WINDOW.TcPOU @@ -3,17 +3,17 @@ @@ -21,8 +21,8 @@ END_VAR (* On first PLC pass, put valve into init state*) IF xFirstPass THEN state:= E_STATES.INIT; - xSystemOverrideMode_Valve := FALSE; - SetupMode_Valve := FALSE; + xSAOverrideMode := FALSE; + SetupMode := FALSE; END_IF bExtPress:= qRIXS_SA_GCP_01.PG.xAT_VAC; @@ -66,7 +66,7 @@ E_STATES.NOT_SAFE: // System is not allowed to actuate, i.e all interlocks are i // Override Mode is enabled for all valves qRIXS_SC_VGC_04.i_xOverrideMode :=qRIXS_SA_VRC_01.i_xOverrideMode := TRUE; // Exit of Override mode always goes back to init - IF NOT(xSystemOverrideMode_Valve) THEN state:= E_STATES.INIT; END_IF + IF NOT(xSAOverrideMode) THEN state:= E_STATES.INIT; END_IF E_STATES.SETUP: @@ -75,15 +75,15 @@ E_STATES.NOT_SAFE: // System is not allowed to actuate, i.e all interlocks are i // Isolation valves operates like standard gate valves qRIXS_SC_VGC_04.i_xExt_OK := TRUE; // exit to init just to be safe? - IF NOT(SetupMode_Valve) THEN state:= E_STATES.INIT; END_IF + IF NOT(SetupMode) THEN state:= E_STATES.INIT; END_IF END_CASE // STATE TRANSITIONS // the system can go to setup state from any other state except override -IF (SetupMode_Valve) AND (state<>E_STATES.OVERRIDE) THEN state:= E_STATES.SETUP; +IF (SetupMode) AND (state<>E_STATES.OVERRIDE) THEN state:= E_STATES.SETUP; // the system can go to override state from any other state except setup -ELSIF (xSystemOverrideMode_Valve) AND (state<>E_STATES.SETUP) THEN state:= E_STATES.OVERRIDE; +ELSIF (xSAOverrideMode) AND (state<>E_STATES.SETUP) THEN state:= E_STATES.OVERRIDE; //Loss of at vac signal makes the system go to init/not safe to move state ELSIF (NOT bExtPress) OR (NOT qRIXS_SC_GCC_01.IG.xAT_VAC) THEN state:= E_STATES.INIT; //ELSIF (NOT US_GCC.IG.xAT_VAC) OR (NOT DS_GCC.IG.xAT_VAC) THEN state:= E_STATES.INIT; @@ -94,7 +94,7 @@ END_IF qRIXS_SC_VGC_04( i_stUSG:= qRIXS_SC_GCC_01.IG , - i_stDSG:= qRIXS_OPT_GCC_01.IG , + i_stDSG:= qRIXS_SA_GCP_02.PG , i_xDis_DPIlk:= FALSE , i_xPMPS_OK:= TRUE , i_xEPS_OK:= , @@ -106,27 +106,21 @@ qRIXS_SC_VGC_04( i_nTransitionRootID:= , iq_stValve=> , xMPS_OK=> , - io_fbFFHWO:=g_FastFaultOutputNA , + io_fbFFHWO:=g_FastFaultOutputNA, fbArbiter:= g_fbArbiterNA ); -qRIXS_SC_VGC_05( +qRIXS_SA_VRC_01( i_xExtILK_OK:= , i_xOverrideMode:= , iq_stValve=> , - io_fbFFHWO:= g_FastFaultOutputNA , - fbArbiter:= g_fbArbiterNA, + io_fbFFHWO:= g_FastFaultOutputNA, + fbArbiter:= g_fbArbiterNA , i_xPMPS_OK:= TRUE, i_xIsAperture:= TRUE , i_sDevName:= , - i_nTransitionRootID:=, - i_xPMPS_OK:= TRUE ); - - -//VGC_W(i_xExtILK_OK:= , -// i_xOverrideMode:= , - // iq_stValve=> ); + i_nTransitionRootID:= ); ]]> diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_SPA.TcPOU b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_SPA.TcPOU index cb65eb5..d13de3c 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_SPA.TcPOU +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/PLC_QRIX_VAC/POUs/PRG_SPA.TcPOU @@ -30,22 +30,19 @@ END_VAR qRIXS_DET_GCC_01(PG:=qRIXS_DET_GPI_01.PG, IG=>, bEP:=TRUE); (* Normally Closed Vate Valve *) -//(* - stUSG_dummy := qRIXS_OPT_GCC_01.IG; qRIXS_OPT_VGC_01( - i_stUSG := stUSG_dummy, + i_stUSG := qRIXS_SA_GCP_02.PG, i_stDSG := qRIXS_OPT_GCC_01.IG, i_xExt_OK := xExtILK_OK_OPT, + i_xPMPS_OK:= TRUE , i_xOverrideMode:=xSystemOverrideMode, - io_fbFFHWO := GVL_PMPS.fbFastFaultOutput1, - fbArbiter := GVL_PMPS.fbArbiter, + io_fbFFHWO := GVL_PMPS.fbFastFaultOutput2, + fbArbiter := GVL_PMPS.fbArbiter2, iq_stValve =>, ); -// *) -// (* + + // Calc pressure Difference -xExtILK_OK_BLW := ( qRIXS_OPT_VGC_01.iq_stValve.i_xClsLS AND qRIXS_OPT_GPI_01.PG.xPRESS_OK AND qRIXS_SA_GCP_01.PG.xPRESS_OK AND (qRIXS_OPT_GPI_01.PG.rPRESS - qRIXS_SA_GCP_01.PG.rPRESS) < iPressTorrerance) - OR (qRIXS_OPT_GCC_01.IG.xPRESS_OK AND qRIXS_SA_GCP_01.PG.xPRESS_OK AND (qRIXS_OPT_GCC_01.IG.rPRESS - qRIXS_SA_GCP_01.PG.rPRESS) < iPressTorrerance); qRIXS_SA_VWC_01( i_stUSG:= qRIXS_SA_GCP_01.PG , @@ -53,7 +50,7 @@ qRIXS_SA_VWC_01( i_xDis_DPIlk:= FALSE , i_xPMPS_OK:= TRUE , i_xEPS_OK:= , - i_xExt_OK:= xExtILK_OK_BLW , + i_xExt_OK:= TRUE , i_xOverrideMode:= , i_xReset:= , i_xIsAperture:= TRUE, @@ -61,21 +58,22 @@ qRIXS_SA_VWC_01( i_nTransitionRootID:= , iq_stValve=> , xMPS_OK=> , - io_fbFFHWO:=GVL_PMPS.fbFastFaultOutput1 , - fbArbiter:= GVL_PMPS.fbArbiter + io_fbFFHWO:=GVL_PMPS.fbFastFaultOutput2 , + fbArbiter:= GVL_PMPS.fbArbiter2 ); -// *) -// (* - qRIXS_DET_VRC_01( - i_xExtILK_OK := xExtILK_OK_DET, + + +qRIXS_DET_VGC_01( + i_stUSG := qRIXS_SA_GCP_01.PG, + i_stDSG := qRIXS_DET_PIP_01.q_IG, + i_xExt_OK := xExtILK_OK_OPT, + i_xPMPS_OK:= TRUE , i_xOverrideMode:=xSystemOverrideMode, + io_fbFFHWO := GVL_PMPS.fbFastFaultOutput2, + fbArbiter := GVL_PMPS.fbArbiter2, iq_stValve =>, - ); -// *) - + ); -xExtILK_OK_DET := (qRIXS_DET_GPI_01.PG.xPRESS_OK AND qRIXS_SA_GCP_01.PG.xPRESS_OK AND (qRIXS_DET_GPI_01.PG.rPRESS - qRIXS_SA_GCP_01.PG.rPRESS) < iPressTorrerance) - OR (qRIXS_DET_GCC_01.IG.xPRESS_OK AND qRIXS_SA_GCP_01.PG.xPRESS_OK AND (qRIXS_DET_GCC_01.IG.rPRESS - qRIXS_SA_GCP_01.PG.rPRESS) < iPressTorrerance); ]]> diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT).xti b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT).xti index 4ed645c..144a1d8 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT).xti +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT).xti @@ -53,9 +53,11 @@ - + + + diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01.xti b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01.xti index 123d415..f234797 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01.xti +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01.xti @@ -61,7 +61,7 @@ 1000 - PMPS_FFO + EL2202_00_01 1001 000f01004400010003000000000000000000000f44090000 @@ -1182,6 +1182,9 @@ Bit1: Value smaller than Limit2]]> EK1521-0010_00_15 1005 + + + diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010).xti b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010).xti new file mode 100644 index 0000000..5e3f20f --- /dev/null +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010).xti @@ -0,0 +1,28 @@ + + + + 424dd6020000000000003600000028000000100000000e0000000100180000000000a0020000c40e0000c40e00000000000000000000ff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080808080808080808080808080808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080c0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000bfff00bfffc0c0c0808080c0c0c000ffffc0c0c000ffff808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000bfff00bfffc0c0c0808080c0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000bfff00bfffc0c0c0808080c0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080c0c0c0ff0000c0c0c0ff0000808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080c0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000bfff00bfffc0c0c0808080c0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000bfff00bfffc0c0c0808080c0c0c00000ffc0c0c00000ff808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000bfff00bfffc0c0c0808080c0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000000000c0c0c0808080c0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ff000000c0c0c0c0c0c0000000808080c0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000000000c0c0c0808080c0c0c0008000c0c0c0008000808080ff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080c0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff + + + __FILENAME__ + 1000 + + 001002000000010004000000000000000000001000000000 + 0000000000000000001000010100000002000000000000000000000000000000 + + + UINT + + + + + + + + + + + + + + diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/PMPS_FFO.xti b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/PMPS_FFO.xti new file mode 100644 index 0000000..a8001a2 --- /dev/null +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/PMPS_FFO.xti @@ -0,0 +1,30 @@ + + + + 424dd6020000000000003600000028000000100000000e0000000100180000000000a0020000120b0000120b00000000000000000000ff00ffff00ffff00ffff00ffff00ffff00ff808080808080808080808080808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000ffffc0c0c000ffff808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0ff0000c0c0c0ff0000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c00000ffc0c0c00000ff808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0008000c0c0c0008000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff + + + __FILENAME__ + 1000 + + 000f01004400010003000000000000000000000f44090000 + 0000000000000000000f00020100000001000000060000000000000000000000 + + + BIT + + + BIT + + + + + BIT + + + BIT + + + + + diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/PMPS_PRE.xti b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/PMPS_PRE.xti new file mode 100644 index 0000000..286f7ad --- /dev/null +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/PMPS_PRE.xti @@ -0,0 +1,1156 @@ + + + + + ARRAY [0..11] OF BIT + 12 + BIT + + 0 + 12 + + + + ARRAY [0..0] OF BIT + 1 + BIT + + 0 + 1 + + + + ARRAY [0..9] OF BIT + 10 + BIT + + 0 + 10 + + + + ARRAY [0..3] OF BYTE + 32 + BYTE + + 0 + 4 + + + + ST_PMPS_Attenuator_IO + 64 + + nTran + REAL + 32 + 0 + + + xAttOK + UINT + 16 + 32 + + + + + + + + + + + + + + + ST_PMPS_Aperture_IO + 96 + + Width + REAL + + + + 32 + 0 + + + plcAttribute_pytmc + pv: Width + io: i + field: EGU mm + + + + + Height + REAL + + + + 32 + 32 + + + plcAttribute_pytmc + pv: Height + io: i + field: EGU mm + + + + + xOK + BOOL + + + + 8 + 64 + + + plcAttribute_pytmc + pv: OK + io: i + + + + + + ST_BeamParams_IO + 1760 + + nTran + REAL + + + + 32 + 0 + + 0 + 1 + 1 + + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + nRate + UDINT + + + + 32 + 32 + + 120 + + + + plcAttribute_pytmc + pv: Rate + io: i + + + + + neVRange + DWORD + + + + 32 + 64 + + 4294967295 + + + + plcAttribute_pytmc + pv: PhotonEnergy + io: i + + + plcAttribute_displaymode + binary + + + + + neV + REAL + + + + 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 + + + + + 1024 + 160 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + astApertures + ST_PMPS_Aperture_IO + + 1 + 4 + + 384 + 1184 + + + aVetoDevices + BOOL + + 1 + 16 + + + + + 128 + 1568 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + xValidToggle + BOOL + + + + 8 + 1696 + + + xValid + BOOL + + + + 8 + 1704 + + + plcAttribute_pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + + + + 32 + 1728 + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 424de6000000000000007600000028000000100000000e000000010004000000000070000000120b0000120b0000100000001000000000000000000080000080000000808000800000008000800080800000c0c0c000808080000000ff0000ff000000ffff00ff000000ff00ff00ffff0000ffffff00dddddd88888888dddddddd77777778dddddddd77888778dddddddd77888778dddddddd77888778dddddddd77777778dddddddd77888778dd9b9b9b77888778ddb9b9b977888778dd9b9b9b77777778ddb9b9b9777a7778dd9b9b9b777a7778ddb9b9b9777a7778dd9b9b9b77777778dd + + + __FILENAME__ + 1000 + + + + + + + BOOL + 1 + + + BYTE + 8 + + + UDINT + 32 + + + UINT + 16 + + + USINT + 8 + + + ARRAY [0..219] OF BYTE + BYTE + 1760 + + 0 + 220 + + + + DT1A08 + 304 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + 1 + SubIndex 001 + UDINT + 32 + 16 + + rw + o + + + + 2 + SubIndex 002 + UDINT + 32 + 48 + + rw + o + + + + 3 + SubIndex 003 + UDINT + 32 + 80 + + rw + o + + + + 4 + SubIndex 004 + UDINT + 32 + 112 + + rw + o + + + + 5 + SubIndex 005 + UDINT + 32 + 144 + + rw + o + + + + 6 + SubIndex 006 + UDINT + 32 + 176 + + rw + o + + + + 7 + SubIndex 007 + UDINT + 32 + 208 + + rw + o + + + + 8 + SubIndex 008 + UDINT + 32 + 240 + + rw + o + + + + 9 + SubIndex 009 + UDINT + 32 + 272 + + rw + o + + + + + DT1608 + 272 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + 1 + SubIndex 001 + UDINT + 32 + 16 + + rw + o + + + + 2 + SubIndex 002 + UDINT + 32 + 48 + + rw + o + + + + 3 + SubIndex 003 + UDINT + 32 + 80 + + rw + o + + + + 4 + SubIndex 004 + UDINT + 32 + 112 + + rw + o + + + + 5 + SubIndex 005 + UDINT + 32 + 144 + + rw + o + + + + 6 + SubIndex 006 + UDINT + 32 + 176 + + rw + o + + + + 7 + SubIndex 007 + UDINT + 32 + 208 + + rw + o + + + + 8 + SubIndex 008 + UDINT + 32 + 240 + + rw + o + + + + + DT1C12ARR + UINT + 16 + + 1 + 1 + + + + DT1C12 + 32 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + Elements + DT1C12ARR + 16 + 16 + + rw + o + + + + + DT1C13ARR + UINT + 32 + + 1 + 2 + + + + DT1C13 + 48 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + Elements + DT1C13ARR + 32 + 16 + + rw + o + + + + + DT6000 + 1784 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + 1 + RequestedBP + ARRAY [0..219] OF BYTE + 1760 + 16 + + rw + o + R + + + + 2 + FFO + BOOL + 8 + 1776 + + rw + o + R + + + + + DT7000 + 1776 + + 0 + SubIndex 000 + USINT + 8 + 0 + + ro + o + + + + 1 + CurrentBP + ARRAY [0..219] OF BYTE + 1760 + 16 + + ro + o + T + + + + + + + #x1a08 + IO Outputs + DT1A08 + 304 + + + SubIndex 000 + + 09 + + + + SubIndex 001 + + f0010060 + + + + SubIndex 002 + + f0000000 + + + + SubIndex 003 + + f0000000 + + + + SubIndex 004 + + f0000000 + + + + SubIndex 005 + + f0000000 + + + + SubIndex 006 + + f0000000 + + + + SubIndex 007 + + f0000000 + + + + SubIndex 008 + + 50000000 + + + + SubIndex 009 + + 08020060 + + + + + ro + o + + + + #x1608 + IO Inputs + DT1608 + 272 + + + SubIndex 000 + + 08 + + + + SubIndex 001 + + f0010070 + + + + SubIndex 002 + + f0000000 + + + + SubIndex 003 + + f0000000 + + + + SubIndex 004 + + f0000000 + + + + SubIndex 005 + + f0000000 + + + + SubIndex 006 + + f0000000 + + + + SubIndex 007 + + f0000000 + + + + SubIndex 008 + + 50000000 + + + + + ro + o + + + + #x1c12 + RxPDO assign + DT1C12 + 32 + + + SubIndex 000 + + #x0 + #x1 + #x1 + + + + SubIndex 001 + + 0816 + + + + + ro + o + + + + #x1c13 + TxPDO assign + DT1C13 + 48 + + + SubIndex 000 + + #x0 + #x2 + #x2 + + + + SubIndex 001 + + 011a + + + + SubIndex 002 + + 081a + + + + + ro + o + + + + #x6000 + Outputs + DT6000 + 1784 + + + SubIndex 000 + + #x0 + #xff + #x2 + + + + RequestedBP + + 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + + + + FFO + + 00 + + + + + ro + o + + + + #x7000 + Inputs + DT7000 + 1776 + + + SubIndex 000 + + 01 + + + + CurrentBP + + 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + + + + + ro + o + + + + + + + + + 0010000426000100010000008000da050004001026010000 + 0016000422000100020000008000da050004001622010000 + 001cdd006400010003000000000000000000001c64010000 + 008ede002000010004000000000000000200008e20010000 + 0000000000000000001c00020100000001000000000000000000000000000000 + 0000000000000000008e00010100000002000000000000000000000000000000 + 00000000000000000d0800010100000003000000000000000000000000000000 + 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + 0010140200141402 + pmps + 4672656552756e0000000000000000004672656552756e00000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000 + 4443000000000000000000000000000044432d53796e6368726f6e000000000000000000000000000000000000000000000000000000000000000000000020030100000000000000000000000000000000000000000000000000000000000000 + + #x1a02 + #x1a03 + + ARRAY [0..11] OF BIT + + + BIT + + + + + + BIT + + 0: Error]]> + + + + ARRAY [0..0] OF BIT + + + BIT + + + + + + + #x1a01 + #x1a03 + + BIT2 + + + + + + ARRAY [0..9] OF BIT + + + BIT + + + + + + BIT + + 0: Error]]> + + + + BIT + + + + + + BIT + + + + + + ULINT + + + ULINT + + + ARRAY [0..3] OF BYTE + + + + #x1a01 + #x1a02 + + BIT2 + + + + + + ARRAY [0..9] OF BIT + + + BIT + + + + + + BIT + + 0: Error]]> + + + + BIT + + + + + + BIT + + + + + + UDINT + + + UDINT + + + ARRAY [0..3] OF BYTE + + + + + UINT + + + + + ST_BeamParams_IO + + + + + ST_BeamParams_IO + + + BOOL + + + + + + diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/Term 132 (EL9011).xti b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/Term 132 (EL9011).xti new file mode 100644 index 0000000..3b4c917 --- /dev/null +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/IO/Device 1 (EtherCAT)/B950_233_R03_DRL_01/EK1521-0010_00_15/Term 78 (EK1501-0010)/Term 132 (EL9011).xti @@ -0,0 +1,11 @@ + + + + 424dd6020000000000003600000028000000100000000e0000000100180000000000a0020000c40e0000c40e00000000000000000000ff00ffff00ffff00ffff00ffff00ffff00ff808080808080808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ff007fff007fff007fff007fff007fff007fffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ff007fff007fff007fff007fff007fff007fffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ff007fff007fff007fff007fff007fff007fffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ff007fff007fff007fff007fff007fff007fffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ff007fff007fff007fff007fff007fff007fffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ff007fff007fff007fff007fff007fff007fffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ff007fff007fff007fff007fff007fff007fffc0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ff + + + __FILENAME__ + 1000 + + + diff --git a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/PLC/PLC_QRIX_VAC.xti b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/PLC/PLC_QRIX_VAC.xti index 53d880a..513d99e 100644 --- a/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/PLC/PLC_QRIX_VAC.xti +++ b/lcls-plc-qrix-vac/lcls-plc-qrix-vac/_Config/PLC/PLC_QRIX_VAC.xti @@ -83,8 +83,8 @@ - ST_BeamParams_IO - 1696 + ST_BeamParams_IO + 1760 nTran REAL @@ -110,7 +110,7 @@ nRate UDINT - + 32 32 @@ -129,7 +129,7 @@ neVRange DWORD - + 32 64 @@ -148,6 +148,42 @@ + + neV + REAL + + + + 32 + 96 + + + nBCRange + WORD + 16 + 128 + + 0 + 65535 + 0 + + + + nBeamClass + USINT + 8 + 144 + + 0 + 0 + + + + nMachineMode + USINT + 8 + 152 + astAttenuators ST_PMPS_Attenuator_IO @@ -156,10 +192,10 @@ 16 - + 1024 - 96 + 160 plcAttribute_pytmc @@ -176,7 +212,7 @@ 4 384 - 1120 + 1184 aVetoDevices @@ -186,10 +222,10 @@ 16 - + 128 - 1504 + 1568 plcAttribute_pytmc @@ -202,19 +238,19 @@ xValidToggle BOOL - + 8 - 1632 + 1696 xValid BOOL - + 8 - 1640 + 1704 plcAttribute_pytmc @@ -227,10 +263,10 @@ nCohortInt UDINT - + 32 - 1664 + 1728 plcAttribute_pytmc @@ -256,6 +292,14 @@ + + + + + + + + @@ -325,7 +369,7 @@ PRG_2_PMPS.fbArbiterIO.i_stCurrentBP - ST_BeamParams_IO + ST_BeamParams_IO nTran @@ -335,19 +379,25 @@ nRate - + neVRange - + + + + + neV + + astAttenuators - + @@ -425,25 +475,25 @@ aVetoDevices - + xValidToggle - + xValid - + nCohortInt - + @@ -793,14 +843,14 @@ BOOL - GVL_SA.qRIXS_DET_VRC_01.i_xOpnLS + GVL_SA.qRIXS_DET_VGC_01.i_xOpnLS BOOL - GVL_SA.qRIXS_DET_VRC_01.i_xClsLS + GVL_SA.qRIXS_DET_VGC_01.i_xClsLS BOOL @@ -871,7 +921,7 @@ PlcTask Outputs PRG_2_PMPS.fbArbiterIO.q_stRequestedBP - ST_BeamParams_IO + ST_BeamParams_IO nTran @@ -881,19 +931,25 @@ nRate - + neVRange - + + + + + neV + + astAttenuators - + @@ -971,25 +1027,25 @@ aVetoDevices - + xValidToggle - + xValid - + nCohortInt - + @@ -1152,14 +1208,6 @@ BOOL - - GVL_PMPS.fbFastFaultOutput1.q_xFastFaultOut - BOOL - - - GVL_PMPS.fbFastFaultOutput2.q_xFastFaultOut - BOOL - GVL_SA.qRIXS_OPT_VGC_01.q_xOPN_DO BOOL @@ -1169,7 +1217,7 @@ BOOL - GVL_SA.qRIXS_DET_VRC_01.q_xOPN_DO + GVL_SA.qRIXS_DET_VGC_01.q_xOPN_DO BOOL @@ -1186,6 +1234,14 @@ BOOL + + GVL_PMPS.fbFastFaultOutput1.q_xFastFaultOut + BOOL + + + GVL_PMPS.fbFastFaultOutput2.q_xFastFaultOut + BOOL + PlcTask Retains @@ -1365,6 +1421,11 @@ UDINT 7 + + PMPS_GVL.BP_jsonDoc + SJsonValue + 7 + @@ -1556,6 +1617,19 @@ + + + + + + + + + + + + + @@ -1571,6 +1645,17 @@ + + + + + + + + + + + @@ -1602,10 +1687,6 @@ - - - - @@ -1707,11 +1788,11 @@ - - + + - +