From a56512a65f91ebddbe5774b579f4c40a9492cab4 Mon Sep 17 00:00:00 2001 From: ghalym Date: Wed, 7 Oct 2020 12:46:07 -0700 Subject: [PATCH 1/4] DEV: Added two ADS interface function blocks, TBOOL_ADS and TVGC_2S_ADS for interface between LAMP and TMO beamlin vacuum PLCs --- L2SIVacuum/L2SIVacuum.plcproj | 6 ++ L2SIVacuum/L2SIVacuum.tmc | 10 +-- L2SIVacuum/LineIDs.dbg | Bin 3816 -> 4080 bytes L2SIVacuum/POUs/ADS/FB_TBOOL_ADS.TcPOU | 76 ++++++++++++++++++ .../Valves/Interfaces/FB_TVGC_2S_ADS.TcPOU | 65 +++++++++++++++ 5 files changed, 152 insertions(+), 5 deletions(-) create mode 100644 L2SIVacuum/POUs/ADS/FB_TBOOL_ADS.TcPOU create mode 100644 L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_TVGC_2S_ADS.TcPOU diff --git a/L2SIVacuum/L2SIVacuum.plcproj b/L2SIVacuum/L2SIVacuum.plcproj index e9da21d..366778d 100644 --- a/L2SIVacuum/L2SIVacuum.plcproj +++ b/L2SIVacuum/L2SIVacuum.plcproj @@ -124,6 +124,9 @@ Code + + Code + Code true @@ -348,6 +351,9 @@ Code true + + Code + Code diff --git a/L2SIVacuum/L2SIVacuum.tmc b/L2SIVacuum/L2SIVacuum.tmc index 18a6616..9d436f2 100644 --- a/L2SIVacuum/L2SIVacuum.tmc +++ b/L2SIVacuum/L2SIVacuum.tmc @@ -1,4 +1,4 @@ -AMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]ST_System88xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832I_EcatMaster1AMSNETID4840namingomitTcAddressTypeInputT_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL810792848bErrorBOOL810792912hrErrorCodeHRESULT3210792928nStringSizeUDINT3210792896sResultSTRING(255)204810792920__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult64conditionalshowGetStringBOOL8sResultSTRING(80)64nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32propertymonitoringcall__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyno_assignTcSourceInfoType32UDINT0124plcAttribute_qualified_onlyplcAttribute_strictTcSerializedSourceInfoType96eTypeTcSourceInfoType320obDataUDINT3232cbDataUDINT3264ITcSourceInfo32ITcUnknownGetNumTypesHRESULT32nCountUDINT32GetTypesHRESULT32ppSourceInfoTypesTcSerializedSourceInfoType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32ppDataPVOID32ITcEvent32ITcUnknownGetEventClassHRESULT32eventClassGUID32GetEventIdHRESULT32eventIdUDINT32GetSeverityHRESULT32severityTcEventSeverity32GetSourceInfoHRESULT32pipSourceInfoITcSourceInfo32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32GetTextHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32I_TcSourceInfo64PVOID__getguidGUID128property__getipDataITcSourceInfo64propertyconditionalshow__getnIdUDINT32propertymonitoringcall__getsNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8EqualsToBOOL8ipOtherI_TcSourceInfo64TcEventEntry192uuidEventClassGUID1280nEventIdUDINT32128eSeverityTcEventSeverity16160I_TcEventBase64PVOID__geteSeverityTcEventSeverity16propertymonitoringcall__getEventClassGUID128property__getipSourceInfoI_TcSourceInfo64propertymonitoringcall__getnEventIdUDINT32propertymonitoringcall__getsEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getsEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getstEventEntryTcEventEntry192propertyEqualsToBOOL8ipOtherI_TcEventBase64EqualsToEventClassBOOL8OtherEventClassGUID128EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16EqualsToEventEntryExBOOL8stOtherTcEventEntry192GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64nJsonAttributeUDINT32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputRequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputIQueryInterface64PVOID__GetInterfacePointerBOOL8pRefDWORD64__GetInterfaceReferenceBOOL8nInterfaceIdDINT32pRefDWORD64TcEventArgumentType16INT012345678910111213141516171819plcAttribute_qualified_onlyplcAttribute_strictITcArguments32ITcUnknownCountHRESULT32nCountUDINT32AddArgumentHRESULT32eTypeTcEventArgumentType16pDataPVOID32cbDataUDINT32GetHRESULT32nIndexUDINT32eTypeTcEventArgumentType32ppDataPVOID32ClearHRESULT32GetArgumentTypesHRESULT32pArgumentTypesTcEventArgumentType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32pDataBYTE32I_TcArguments64IQueryInterface__getipDataITcArguments64propertyconditionalshowAddBlobI_TcArguments64pDataPVOID64cbDataUINT16AddBoolI_TcArguments64valueBOOL8AddByteI_TcArguments64valueBYTE8AddDIntI_TcArguments64valueDINT32AddDWordI_TcArguments64valueDWORD32AddEventReferenceExI_TcArguments64stEventEntryTcEventEntry192AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddStringByValueI_TcArguments64valueT_MaxString2048AddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutAddWStringByValueI_TcArguments64valueWSTRING(255)4096ClearI_TcArguments64FB_TcSourceInfo2944I_TcSourceInfonIdUDINT321079273610792784sNameSTRING(255)20481079280810792832__setbCutInstancePathByLastInstbCutInstancePathByLastInstBOOL8propertyClearExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo64ipDataITcSourceInfo64propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefault_sInstancePathSTRING(255)2048__getguidGUID128guidGUID128property__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo64__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase4032I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2944512.bCutInstancePathByLastInst1conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283648conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83776conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283840conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL83968conditionalshoweSeverityTcEventSeverity1610793024ipSourceInfoI_TcSourceInfo6410792984nEventIdUDINT3210793160sEventClassNameSTRING(255)204810793080sEventTextSTRING(255)204810793168EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32ReleaseHRESULT32UpdateLangId__getipSourceInfoI_TcSourceInfo64ipSourceInfoI_TcSourceInfo64propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase64__getipEventITcEvent64ipEventITcEvent64propertyconditionalshow__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent64property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent64propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSYOnArgumentsChanged__getsEventClassNameSTRING(255)2048sEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getipArgumentsI_TcArguments64ipArgumentsI_TcArguments64propertyGetEventTextHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64nJsonAttributeUDINT32ipTmpEventITcEvent64RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTCLASSNAME__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTCLASSNAME__BBUSYEqualsToEventEntryExBOOL8stOtherTcEventEntry192__getnEventIdUDINT32nEventIdUDINT32ipTmpEventITcEvent64propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyno_assignI_TcMessage64I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage4160FB_TcEventBaseI_TcMessagenTimeSentULINT6410793216SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertyconditionalshowSendHRESULT32nTimeStampULINT64TcEncodingFILETIMEReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIGAMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]ST_System88xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832I_EcatMaster1AMSNETID4840namingomitTcAddressTypeInputT_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL810793064bErrorBOOL810793128hrErrorCodeHRESULT3210793144nStringSizeUDINT3210793112sResultSTRING(255)204810793136__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult64conditionalshowGetStringBOOL8sResultSTRING(80)64nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32propertymonitoringcall__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyno_assignTcSourceInfoType32UDINT0124plcAttribute_qualified_onlyplcAttribute_strictTcSerializedSourceInfoType96eTypeTcSourceInfoType320obDataUDINT3232cbDataUDINT3264ITcSourceInfo32ITcUnknownGetNumTypesHRESULT32nCountUDINT32GetTypesHRESULT32ppSourceInfoTypesTcSerializedSourceInfoType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32ppDataPVOID32ITcEvent32ITcUnknownGetEventClassHRESULT32eventClassGUID32GetEventIdHRESULT32eventIdUDINT32GetSeverityHRESULT32severityTcEventSeverity32GetSourceInfoHRESULT32pipSourceInfoITcSourceInfo32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32GetTextHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32I_TcSourceInfo64PVOID__getguidGUID128property__getipDataITcSourceInfo64propertyconditionalshow__getnIdUDINT32propertymonitoringcall__getsNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8EqualsToBOOL8ipOtherI_TcSourceInfo64TcEventEntry192uuidEventClassGUID1280nEventIdUDINT32128eSeverityTcEventSeverity16160I_TcEventBase64PVOID__geteSeverityTcEventSeverity16propertymonitoringcall__getEventClassGUID128property__getipSourceInfoI_TcSourceInfo64propertymonitoringcall__getnEventIdUDINT32propertymonitoringcall__getsEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getsEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getstEventEntryTcEventEntry192propertyEqualsToBOOL8ipOtherI_TcEventBase64EqualsToEventClassBOOL8OtherEventClassGUID128EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16EqualsToEventEntryExBOOL8stOtherTcEventEntry192GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64nJsonAttributeUDINT32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputRequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputIQueryInterface64PVOID__GetInterfacePointerBOOL8pRefDWORD64__GetInterfaceReferenceBOOL8nInterfaceIdDINT32pRefDWORD64TcEventArgumentType16INT012345678910111213141516171819plcAttribute_qualified_onlyplcAttribute_strictITcArguments32ITcUnknownCountHRESULT32nCountUDINT32AddArgumentHRESULT32eTypeTcEventArgumentType16pDataPVOID32cbDataUDINT32GetHRESULT32nIndexUDINT32eTypeTcEventArgumentType32ppDataPVOID32ClearHRESULT32GetArgumentTypesHRESULT32pArgumentTypesTcEventArgumentType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32pDataBYTE32I_TcArguments64IQueryInterface__getipDataITcArguments64propertyconditionalshowAddBlobI_TcArguments64pDataPVOID64cbDataUINT16AddBoolI_TcArguments64valueBOOL8AddByteI_TcArguments64valueBYTE8AddDIntI_TcArguments64valueDINT32AddDWordI_TcArguments64valueDWORD32AddEventReferenceExI_TcArguments64stEventEntryTcEventEntry192AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddStringByValueI_TcArguments64valueT_MaxString2048AddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutAddWStringByValueI_TcArguments64valueWSTRING(255)4096ClearI_TcArguments64FB_TcSourceInfo2944I_TcSourceInfonIdUDINT321079295210793000sNameSTRING(255)20481079302410793048__setbCutInstancePathByLastInstbCutInstancePathByLastInstBOOL8propertyClearExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo64ipDataITcSourceInfo64propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefault_sInstancePathSTRING(255)2048__getguidGUID128guidGUID128property__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo64__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase4032I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2944512.bCutInstancePathByLastInst1conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283648conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83776conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283840conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL83968conditionalshoweSeverityTcEventSeverity1610793240ipSourceInfoI_TcSourceInfo6410793200nEventIdUDINT3210793376sEventClassNameSTRING(255)204810793296sEventTextSTRING(255)204810793384EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32ReleaseHRESULT32UpdateLangId__getipSourceInfoI_TcSourceInfo64ipSourceInfoI_TcSourceInfo64propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase64__getipEventITcEvent64ipEventITcEvent64propertyconditionalshow__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent64property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent64propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSYOnArgumentsChanged__getsEventClassNameSTRING(255)2048sEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getipArgumentsI_TcArguments64ipArgumentsI_TcArguments64propertyGetEventTextHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64nJsonAttributeUDINT32ipTmpEventITcEvent64RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTCLASSNAME__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTCLASSNAME__BBUSYEqualsToEventEntryExBOOL8stOtherTcEventEntry192__getnEventIdUDINT32nEventIdUDINT32ipTmpEventITcEvent64propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyno_assignI_TcMessage64I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage4160FB_TcEventBaseI_TcMessagenTimeSentULINT6410793432SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertyconditionalshowSendHRESULT32nTimeStampULINT64TcEncodingFILETIMEReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIG96CLKBOOL864ItemTypeInputQBOOL872ItemTypeOutputMBOOL8801conditionalshowPouTypeFunctionBlockconditionalshow_all_localsR_TRIGrVREAL3288000i_iPRESS_RINT1688032TcAddressTypeInputrMinPressureREAL32880640.0001rDefaultVAC_SPREAL32880960.05rDisconnectedBoundaryREAL32881280.1rValidLoBoundaryREAL32881600.22rValidBoundaryMinREAL32881920.6rValidHiBoundaryREAL32882249.7rValidHiBoundaryMaxREAL32882569.9rNoSensorBoundaryREAL328828810ACT_LoggerIOPouTypeFunctionBlockFB_GPI_Test12871360FB_TestSuitefb_MKS275FB_MKS2758825612694720fb_MKS317FB_MKS3178832012782976i_iPRESS_RINT1612871296TcAddressTypeOutputcycleINT16128713120M_INITExpectedREAL32ActualREAL32eStateExpectedE_PressureState16eStateActualE_PressureState16M_CheckRangeExpectedREAL32ActualREAL32eStateExpectedE_PressureState16eStateActualE_PressureState16PouTypeFunctionBlockFB_MKS42289472FB_GaugeBasePGST_VG105686912ItemTypeInputb937ABOOL8879680ItemTypeInputIGST_VG105688000ItemTypeOutputpytmc pv: - rVREAL3289056timerTON25689088i_iPRESS_RINT1689344TcAddressTypeInputq_xHV_DISBOOL8893601TcAddressTypeOutputMinPressureREAL32893761E-10cDefaultPressureREAL32894080ACT_LoggerIOM_AutoOnBOOL8M_HVEBOOL8enableBOOL8PouTypeFunctionBlockFB_GCC_Test12785344FB_TestSuitePGST_VG105612694720fb_MKS422FB_MKS4228947212695808i_iPRESS_RINT1612785280TcAddressTypeOutputcycleINT16127852960M_InterlockM_SelfProtectionM_INITM_CheckRangeExpectedREAL32ActualREAL32eStateExpectedE_PressureState16eStateActualE_PressureState16PouTypeFunctionBlockVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512_Implicit_KindOfTask16INT_implicit_cyclic0_implicit_event1_implicit_external2_implicit_freewheeling3_Implicit_Jitter_Distribution48wRangeMaxWORD160wCountJitterNegWORD1616wCountJitterPosWORD1632hide_Implicit_Task_Info896dwVersionDWORD320pszNameSTRING(80)6464nPriorityINT16128KindOf_Implicit_KindOfTask16144bWatchdogBOOL8160bProfilingTaskBOOL8168dwEventFunctionPointerBYTE64192pszExternalEventSTRING(80)64256dwTaskEntryFunctionPointerBYTE64320dwWatchdogSensitivityDWORD32384dwIntervalDWORD32416dwWatchdogTimeDWORD32448dwLastCycleTimeDWORD32480dwAverageCycleTimeDWORD32512dwMaxCycleTimeDWORD32544dwMinCycleTimeDWORD32576diJitterDINT32608diJitterMinDINT32640diJitterMaxDINT32672dwCycleCountDWORD32704wTaskStatusWORD16736wNumOfJitterDistributionsWORD16752pJitterDistribution_Implicit_Jitter_Distribution64768bWithinSPSTimeSlicingBOOL8832byDummyBYTE8840bShouldBlockBOOL8848bActiveBOOL8856dwIECCycleCountDWORD32864hideLCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseL2SIVacuum{08500001-0000-0000-F000-000000000064}{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication0PlcTask#x020100300PlcTask Inputs011403264LCLS_General.DefaultGlobals.stSys.I_EcatMaster148AMSNETIDnamingomitTcAddressTypeInput4096040LCLS_Vacuum_Serial.LCLS_Vacuum.Global_Variables.g_stSystem.I_EcatMaster148AMSNETIDnamingomitTcAddressTypeInput8559560PRG_Test.fb_VGC_Test.VGC.i_xOpnLS8BOOLTcAddressTypeInput21548736PRG_Test.fb_VGC_Test.VGC.i_xClsLS8BOOLTcAddressTypeInput21548744PRG_Test.fb_VRC_Test.VRC.i_xOpnLS8BOOLTcAddressTypeInput34823680PRG_Test.fb_VRC_Test.VRC.i_xClsLS8BOOLTcAddressTypeInput34823688PRG_Test.fb_PIP_Test.fb_PIP_GAMMA.i_iPRESS16INTTcAddressTypeInput47610160PRG_Test.fb_PIP_Test.fb_PIP_GAMMA.i_xSP_DI8BOOLTcAddressTypeInput47610176PRG_Test.fb_PTM_Test.fb_TwisTorr.i_xAtSpd8BOOLTcAddressTypeInput60393704PRG_Test.fb_PTM_Test.fb_TwisTorr.i_xFault8BOOLTcAddressTypeInput60393712PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xDecel8BOOLTcAddressTypeInput60481472PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xAccel8BOOLTcAddressTypeInput60481480PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xRotate8BOOLTcAddressTypeInput60481488PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xNCFault8BOOLTcAddressTypeInput60481496PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xAtSpd8BOOLTcAddressTypeInput60481504PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_iRawSpeed16INTTcAddressTypeInput60481520PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_iTempMon5V 0->100C]]>16INTTcAddressTypeInput60481536PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_iCurrentMon5V 0->10A]]>16INTTcAddressTypeInput60481552PRG_Test.fb_PTM_Test.q_iSpeedSet16INTTcAddressTypeInput60481680PRG_Test.fb_GPI_Test.fb_MKS275.i_iPRESS_R16INTTcAddressTypeInput73264576PRG_Test.fb_GPI_Test.fb_MKS317.i_iPRESS_R16INTTcAddressTypeInput73352800PRG_Test.fb_GCC_Test.fb_MKS422.i_iPRESS_R16INTTcAddressTypeInput86138304Global_Variables.g_stSystem.I_EcatMaster148AMSNETIDnamingomitTcAddressTypeInput861395601PlcTask Outputs011403264PRG_Test.fb_VGC_Test.VGC.q_xOPN_DO8BOOLTcAddressTypeOutput21548752PRG_Test.fb_VGC_Test.io_fbFFHWO.q_xFastFaultOut8BOOLpytmc + rVREAL3289056timerTON25689088i_iPRESS_RINT1689344TcAddressTypeInputq_xHV_DISBOOL8893601TcAddressTypeOutputMinPressureREAL32893761E-10cDefaultPressureREAL32894080ACT_LoggerIOM_AutoOnBOOL8M_HVEBOOL8enableBOOL8PouTypeFunctionBlockFB_GCC_Test12785344FB_TestSuitePGST_VG105612694720fb_MKS422FB_MKS4228947212695808i_iPRESS_RINT1612785280TcAddressTypeOutputcycleINT16127852960M_InterlockM_SelfProtectionM_INITM_CheckRangeExpectedREAL32ActualREAL32eStateExpectedE_PressureState16eStateActualE_PressureState16PouTypeFunctionBlockVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512_Implicit_KindOfTask16INT_implicit_cyclic0_implicit_event1_implicit_external2_implicit_freewheeling3_Implicit_Jitter_Distribution48wRangeMaxWORD160wCountJitterNegWORD1616wCountJitterPosWORD1632hide_Implicit_Task_Info896dwVersionDWORD320pszNameSTRING(80)6464nPriorityINT16128KindOf_Implicit_KindOfTask16144bWatchdogBOOL8160bProfilingTaskBOOL8168dwEventFunctionPointerBYTE64192pszExternalEventSTRING(80)64256dwTaskEntryFunctionPointerBYTE64320dwWatchdogSensitivityDWORD32384dwIntervalDWORD32416dwWatchdogTimeDWORD32448dwLastCycleTimeDWORD32480dwAverageCycleTimeDWORD32512dwMaxCycleTimeDWORD32544dwMinCycleTimeDWORD32576diJitterDINT32608diJitterMinDINT32640diJitterMaxDINT32672dwCycleCountDWORD32704wTaskStatusWORD16736wNumOfJitterDistributionsWORD16752pJitterDistribution_Implicit_Jitter_Distribution64768bWithinSPSTimeSlicingBOOL8832byDummyBYTE8840bShouldBlockBOOL8848bActiveBOOL8856dwIECCycleCountDWORD32864hideLCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseL2SIVacuum{08500001-0000-0000-F000-000000000064}{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication0PlcTask#x020100300PlcTask Inputs011403264LCLS_General.DefaultGlobals.stSys.I_EcatMaster148AMSNETIDnamingomitTcAddressTypeInput4096040LCLS_Vacuum_Serial.LCLS_Vacuum.Global_Variables.g_stSystem.I_EcatMaster148AMSNETIDnamingomitTcAddressTypeInput8559560PRG_Test.fb_VGC_Test.VGC.i_xOpnLS8BOOLTcAddressTypeInput21549568PRG_Test.fb_VGC_Test.VGC.i_xClsLS8BOOLTcAddressTypeInput21549576PRG_Test.fb_VRC_Test.VRC.i_xOpnLS8BOOLTcAddressTypeInput34824512PRG_Test.fb_VRC_Test.VRC.i_xClsLS8BOOLTcAddressTypeInput34824520PRG_Test.fb_PIP_Test.fb_PIP_GAMMA.i_iPRESS16INTTcAddressTypeInput47610992PRG_Test.fb_PIP_Test.fb_PIP_GAMMA.i_xSP_DI8BOOLTcAddressTypeInput47611008PRG_Test.fb_PTM_Test.fb_TwisTorr.i_xAtSpd8BOOLTcAddressTypeInput60394536PRG_Test.fb_PTM_Test.fb_TwisTorr.i_xFault8BOOLTcAddressTypeInput60394544PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xDecel8BOOLTcAddressTypeInput60482304PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xAccel8BOOLTcAddressTypeInput60482312PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xRotate8BOOLTcAddressTypeInput60482320PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xNCFault8BOOLTcAddressTypeInput60482328PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_xAtSpd8BOOLTcAddressTypeInput60482336PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_iRawSpeed16INTTcAddressTypeInput60482352PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_iTempMon5V 0->100C]]>16INTTcAddressTypeInput60482368PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.i_iCurrentMon5V 0->10A]]>16INTTcAddressTypeInput60482384PRG_Test.fb_PTM_Test.q_iSpeedSet16INTTcAddressTypeInput60482512PRG_Test.fb_GPI_Test.fb_MKS275.i_iPRESS_R16INTTcAddressTypeInput73265408PRG_Test.fb_GPI_Test.fb_MKS317.i_iPRESS_R16INTTcAddressTypeInput73353632PRG_Test.fb_GCC_Test.fb_MKS422.i_iPRESS_R16INTTcAddressTypeInput86139136Global_Variables.g_stSystem.I_EcatMaster148AMSNETIDnamingomitTcAddressTypeInput861403921PlcTask Outputs011403264PRG_Test.fb_VGC_Test.VGC.q_xOPN_DO8BOOLTcAddressTypeOutput21549584PRG_Test.fb_VGC_Test.io_fbFFHWO.q_xFastFaultOut8BOOLpytmc pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutput21551032PRG_Test.fb_VRC_Test.VRC.q_xOPN_DO8BOOLTcAddressTypeOutput34823696PRG_Test.fb_PIP_Test.fb_PIP_GAMMA.q_xHVEna_DO8BOOLTcAddressTypeOutput47610144PRG_Test.fb_PTM_Test.fb_TwisTorr.q_RunDO8BOOLTcAddressTypeOutput60393720PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xStart8BOOLTcAddressTypeOutput60481568PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xStop8BOOLTcAddressTypeOutput60481576PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xReset8BOOLTcAddressTypeOutput60481584PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xProtection8BOOLTcAddressTypeOutput60481592PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xSetSpeed8BOOLTcAddressTypeOutput60481600PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_iSpeedSet16INTTcAddressTypeOutput60481616PRG_Test.fb_PTM_Test.i_diCurSpd16INTTcAddressTypeOutput60481696PRG_Test.fb_PTM_Test.i_iRawSpeed16INTTcAddressTypeOutput60481712PRG_Test.fb_PTM_Test.i_iTempMon5V 0->100C]]>16INTTcAddressTypeOutput60481728PRG_Test.fb_PTM_Test.i_iCurrentMon5V 0->10A]]>16INTTcAddressTypeOutput60481744PRG_Test.fb_GPI_Test.i_iPRESS_R16INTTcAddressTypeOutput73353088PRG_Test.fb_GCC_Test.fb_MKS422.q_xHV_DIS8BOOL1TcAddressTypeOutput86138320PRG_Test.fb_GCC_Test.i_iPRESS_R16INTTcAddressTypeOutput861384323PlcTask Internal011403264DefaultGlobals.stSys88ST_SystemTcVarGlobal4096000GVL_Logger.bTrickleTripped8BOOLpytmc + TcAddressTypeOutput21551864PRG_Test.fb_VRC_Test.VRC.q_xOPN_DO8BOOLTcAddressTypeOutput34824528PRG_Test.fb_PIP_Test.fb_PIP_GAMMA.q_xHVEna_DO8BOOLTcAddressTypeOutput47610976PRG_Test.fb_PTM_Test.fb_TwisTorr.q_RunDO8BOOLTcAddressTypeOutput60394552PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xStart8BOOLTcAddressTypeOutput60482400PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xStop8BOOLTcAddressTypeOutput60482408PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xReset8BOOLTcAddressTypeOutput60482416PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xProtection8BOOLTcAddressTypeOutput60482424PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_xSetSpeed8BOOLTcAddressTypeOutput60482432PRG_Test.fb_PTM_Test.fb_PTM_Ebara_010M.q_iSpeedSet16INTTcAddressTypeOutput60482448PRG_Test.fb_PTM_Test.i_diCurSpd16INTTcAddressTypeOutput60482528PRG_Test.fb_PTM_Test.i_iRawSpeed16INTTcAddressTypeOutput60482544PRG_Test.fb_PTM_Test.i_iTempMon5V 0->100C]]>16INTTcAddressTypeOutput60482560PRG_Test.fb_PTM_Test.i_iCurrentMon5V 0->10A]]>16INTTcAddressTypeOutput60482576PRG_Test.fb_GPI_Test.i_iPRESS_R16INTTcAddressTypeOutput73353920PRG_Test.fb_GCC_Test.fb_MKS422.q_xHV_DIS8BOOL1TcAddressTypeOutput86139152PRG_Test.fb_GCC_Test.i_iPRESS_R16INTTcAddressTypeOutput861392643PlcTask Internal011403264DefaultGlobals.stSys88ST_SystemTcVarGlobal4096000GVL_Logger.bTrickleTripped8BOOLpytmc pv: @(PREFIX)LCLSGeneral:GlobalLogTrickleTrip io: i field: DESC Tripped by overall log count @@ -927,10 +927,10 @@ This function provides ILK and Set Point Protection for the Cold Cathode]]>TcVarGlobal8568928PMPS_PARAM.MAX_FAST_FAULTS32DINT50TcVarGlobal8569440PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal8569472PMPS_TOOLS.fbJson384FB_JsonSaxWriterTcVarGlobal8569536Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild37.iRevision0.sVersion3.3.37.0const_non_replacedTcVarGlobal8569920Constants.gc_iSizeOfGGOArray16INT50TcVarGlobal8570208Constants.gc_GaugeValidState16INT4TcVarGlobal8570224Global_Variables.TcMcGlobal7104_TCMCGLOBALTcVarGlobal8570240Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal8577344Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal8577408Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal8577472Global_Variables.g_iSizeOfGGOArray16INT50TcVarGlobal8577760Constants.bLittleEndian8BOOL1TcVarGlobal8577776Constants.bSimulationMode8BOOL0TcVarGlobal8577784PRG_Test.fb_VGC_Test13365952FB_VGC_Test8673984PRG_Test.fb_VRC_Test12783872FB_VRC_Test22039936PRG_Test.fb_PIP_Test12788352FB_PIP_Test34823808PRG_Test.fb_PTM_Test12869632FB_PTM_Test47612160PRG_Test.fb_GPI_Test12871360FB_GPI_Test60481792PRG_Test.fb_GCC_Test12785344FB_GCC_Test73353152Global_Variables.g_stSystem88ST_System.xFirstScan1TcVarGlobal86139520Constants.bFPUSupport8BOOL1TcVarGlobal86139608Global_Variables.g_DummyVG1056ST_VGTcVarGlobal86139616Global_Variables.fbGetCurTaskIdx256GETCURTASKINDEXTcVarGlobal86140672Global_Version.stLibVersion_LCLS_Vacuum288ST_LibVersion.iMajor0.iMinor0.iBuild0.iRevision0.nFlags0.sVersion0.0.0const_non_replacedTcVarGlobal86140928Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal86141216Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal86141280Constants.nRegisterSize16WORD64TcVarGlobal86141344Constants.nPackMode16UINT8TcVarGlobal86141360Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal86141376Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal86141408TwinCAT_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-CommunicationTcVarGlobal86141440TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal86142464TwinCAT_SystemInfoVarList._TaskInfo1024PlcTaskSystemInfo11no_initTcVarGlobal86144512TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal86145536TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal86145568TwinCAT_SystemInfoVarList.__PlcTask896_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal86145600TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal861900164PlcTask Retains011403264PMPS_GVL.SuccessfulPreemption32UDINTpytmc + TcVarGlobal8568928PMPS_PARAM.MAX_FAST_FAULTS32DINT50TcVarGlobal8569440PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal8569472PMPS_TOOLS.fbJson384FB_JsonSaxWriterTcVarGlobal8569536Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild37.iRevision0.sVersion3.3.37.0const_non_replacedTcVarGlobal8569920Constants.gc_iSizeOfGGOArray16INT50TcVarGlobal8570208Constants.gc_GaugeValidState16INT4TcVarGlobal8570224Global_Variables.TcMcGlobal7104_TCMCGLOBALTcVarGlobal8570240Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal8577344Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal8577408Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal8577472Global_Variables.g_iSizeOfGGOArray16INT50TcVarGlobal8577760Constants.bLittleEndian8BOOL1TcVarGlobal8577776Constants.bSimulationMode8BOOL0TcVarGlobal8577784PRG_Test.fb_VGC_Test13365952FB_VGC_Test8674816PRG_Test.fb_VRC_Test12783872FB_VRC_Test22040768PRG_Test.fb_PIP_Test12788352FB_PIP_Test34824640PRG_Test.fb_PTM_Test12869632FB_PTM_Test47612992PRG_Test.fb_GPI_Test12871360FB_GPI_Test60482624PRG_Test.fb_GCC_Test12785344FB_GCC_Test73353984Global_Variables.g_stSystem88ST_System.xFirstScan1TcVarGlobal86140352Constants.bFPUSupport8BOOL1TcVarGlobal86140440Global_Variables.g_DummyVG1056ST_VGTcVarGlobal86140448Global_Variables.fbGetCurTaskIdx256GETCURTASKINDEXTcVarGlobal86141504Global_Version.stLibVersion_LCLS_Vacuum288ST_LibVersion.iMajor0.iMinor0.iBuild0.iRevision0.nFlags0.sVersion0.0.0const_non_replacedTcVarGlobal86141760Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal86142048Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal86142112Constants.nRegisterSize16WORD64TcVarGlobal86142176Constants.nPackMode16UINT8TcVarGlobal86142192Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal86142208Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal86142240TwinCAT_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-CommunicationTcVarGlobal86142272TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal86143296TwinCAT_SystemInfoVarList._TaskInfo1024PlcTaskSystemInfo11no_initTcVarGlobal86145344TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal86146368TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal86146400TwinCAT_SystemInfoVarList.__PlcTask896_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal86146432TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal861908484PlcTask Retains011403264PMPS_GVL.SuccessfulPreemption32UDINTpytmc pv: @(PREFIX)SuccessfulPreemptions io: i TcVarGlobal3072000PMPS_GVL.AccumulatedFF32UDINTpytmc pv: @(PREFIX)AccumulatedFastFaults io: i - TcVarGlobal3072032LCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-10-03T20:59:01GeneratedCodeSize536576GlobalDataSize10285056 \ No newline at end of file + TcVarGlobal3072032LCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-10-07T12:44:24GeneratedCodeSize548864GlobalDataSize10285056 \ No newline at end of file diff --git a/L2SIVacuum/LineIDs.dbg b/L2SIVacuum/LineIDs.dbg index d80946da49755d418f8f48e98f75c89a6e872b9a..86f5f2285a0541f016414c2c0629e597420a0355 100644 GIT binary patch delta 274 zcmaDM`$2xg3%>fo-^RLrsxSPy4SyDfFn!NtXJB9u0%8ydf=~=fK$-`Lt)TpDAk6{9 zolw32l$Ks_#@Bn1w0B$FTHiU%u|`ZlaS&z(Vn(PMzPfv%S( + + + + + , + bError=> , + nErrorId=> ); + + +(*Error*) +fb_CheckWatchdog( + bEnable:= TRUE, + tWatchdogTime:= T#900ms, + nCnt:= iWatchdog , + bWatchdog=> , + nLastCnt=> ); + +bError:= fb_Read.bError OR fb_CheckWatchdog.bWatchdog; +tErrorPresent(CLK:=bError); + +IF (fb_Read.bError OR fb_CheckWatchdog.bWatchdog) THEN + bBool := FALSE; // If there is an error in connection the signal turns to FALSE +END_IF; + +(*Logger*) +ACT_Logger(); +]]> + + + + + + + + \ No newline at end of file diff --git a/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_TVGC_2S_ADS.TcPOU b/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_TVGC_2S_ADS.TcPOU new file mode 100644 index 0000000..72fe2de --- /dev/null +++ b/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_TVGC_2S_ADS.TcPOU @@ -0,0 +1,65 @@ + + + + + + , + bError=> , + nErrorId=> ); + + +(*Error*) +fb_CheckWatchdog( + bEnable:= TRUE, + tWatchdogTime:= T#900ms, + nCnt:= iWatchdog , + bWatchdog=> , + nLastCnt=> ); +bError:= fb_Read_VGC.bError OR fb_CheckWatchdog.bWatchdog; + +ACT_Logger();]]> + + + + + + + + \ No newline at end of file From 0ca9d5fe091c3e74acb10d93605b6cca212a0dcc Mon Sep 17 00:00:00 2001 From: ghalym Date: Wed, 7 Oct 2020 12:47:29 -0700 Subject: [PATCH 2/4] FIX: TBOOL_ADS --- L2SIVacuum/POUs/ADS/FB_TBOOL_ADS.TcPOU | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/L2SIVacuum/POUs/ADS/FB_TBOOL_ADS.TcPOU b/L2SIVacuum/POUs/ADS/FB_TBOOL_ADS.TcPOU index 3fa0fa9..460586b 100644 --- a/L2SIVacuum/POUs/ADS/FB_TBOOL_ADS.TcPOU +++ b/L2SIVacuum/POUs/ADS/FB_TBOOL_ADS.TcPOU @@ -26,7 +26,7 @@ END_VAR ]]> Date: Thu, 8 Oct 2020 12:32:21 -0700 Subject: [PATCH 3/4] DEV: ADS interface for a GPI --- L2SIVacuum/L2SIVacuum.plcproj | 3 + L2SIVacuum/L2SIVacuum.tmc | 2 +- L2SIVacuum/LineIDs.dbg | Bin 4080 -> 4232 bytes .../Gauges/Interfaces/FB_TGPI_ADS.TcPOU | 76 ++++++++++++++++++ 4 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 L2SIVacuum/POUs/Functions/Gauges/Interfaces/FB_TGPI_ADS.TcPOU diff --git a/L2SIVacuum/L2SIVacuum.plcproj b/L2SIVacuum/L2SIVacuum.plcproj index 366778d..f76ce42 100644 --- a/L2SIVacuum/L2SIVacuum.plcproj +++ b/L2SIVacuum/L2SIVacuum.plcproj @@ -213,6 +213,9 @@ Code + + Code + Code diff --git a/L2SIVacuum/L2SIVacuum.tmc b/L2SIVacuum/L2SIVacuum.tmc index 9d436f2..d12cb79 100644 --- a/L2SIVacuum/L2SIVacuum.tmc +++ b/L2SIVacuum/L2SIVacuum.tmc @@ -933,4 +933,4 @@ This function provides ILK and Set Point Protection for the Cold Cathode]]>TcVarGlobal3072000PMPS_GVL.AccumulatedFF32UDINTpytmc pv: @(PREFIX)AccumulatedFastFaults io: i - TcVarGlobal3072032LCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-10-07T12:44:24GeneratedCodeSize548864GlobalDataSize10285056 \ No newline at end of file + TcVarGlobal3072032LCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-10-07T17:43:15GeneratedCodeSize548864GlobalDataSize10285056 \ No newline at end of file diff --git a/L2SIVacuum/LineIDs.dbg b/L2SIVacuum/LineIDs.dbg index 86f5f2285a0541f016414c2c0629e597420a0355..7a78b1e77d1a4e7b7e37497d24cc73eab7bd3970 100644 GIT binary patch delta 161 zcmew$-=VnS1AqN3HP4DVnQ+HN;>vribYgXR7#J9sq1Y5ig8(~(VlaWy96(wGh^wG{ ySs={_#MMx~H + + + + + , + bError=> , + nErrorId=> ); + + +(*Error*) +fb_CheckWatchdog( + bEnable:= TRUE, + tWatchdogTime:= T#900ms, + nCnt:= iWatchdog , + bWatchdog=> , + nLastCnt=> ); + +bError:= fb_Read_VG.bError OR fb_CheckWatchdog.bWatchdog; +tErrorPresent(CLK:=bError); + +IF (fb_Read_VG.bError OR fb_CheckWatchdog.bWatchdog) THEN +IG.xPRESS_OK := FALSE; +END_IF; + +(*Logger*) +ACT_Logger();]]> + + + + + + + + \ No newline at end of file From ee678ac9bfc3e64908b8783d2f9bf9dbdf4e7100 Mon Sep 17 00:00:00 2001 From: ghalym Date: Sat, 10 Oct 2020 20:23:01 -0700 Subject: [PATCH 4/4] FIX: FB_9XX gauge analog input ranges --- L2SIVacuum/L2SIVacuum.tmc | 2 +- L2SIVacuum/LineIDs.dbg | Bin 4232 -> 4360 bytes L2SIVacuum/POUs/Functions/Gauges/FB_9XX.TcPOU | 19 +++--------------- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/L2SIVacuum/L2SIVacuum.tmc b/L2SIVacuum/L2SIVacuum.tmc index d12cb79..8e5627b 100644 --- a/L2SIVacuum/L2SIVacuum.tmc +++ b/L2SIVacuum/L2SIVacuum.tmc @@ -933,4 +933,4 @@ This function provides ILK and Set Point Protection for the Cold Cathode]]>TcVarGlobal3072000PMPS_GVL.AccumulatedFF32UDINTpytmc pv: @(PREFIX)AccumulatedFastFaults io: i - TcVarGlobal3072032LCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-10-07T17:43:15GeneratedCodeSize548864GlobalDataSize10285056 \ No newline at end of file + TcVarGlobal3072032LCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-10-09T08:36:01GeneratedCodeSize548864GlobalDataSize10285056 \ No newline at end of file diff --git a/L2SIVacuum/LineIDs.dbg b/L2SIVacuum/LineIDs.dbg index 7a78b1e77d1a4e7b7e37497d24cc73eab7bd3970..f7f5954c5cd4eb85d4a009100ebc7ac50e051264 100644 GIT binary patch delta 137 zcmeBB>`>a!AyA*WPgQ%ujm4hx-a0M}vg$2mVqjok24V#u2C+flaw_95Oa1-6+hvse zPEYFNW(10XFbL!cGBvrp)c2jn`CDYy$4FI>9(EuW17et(Ms~|%M*5H47FW-|EPJ6S L9wZJmn~?zkzsw)- delta 7 OcmeBB>QLO!Apigh=K`Dn diff --git a/L2SIVacuum/POUs/Functions/Gauges/FB_9XX.TcPOU b/L2SIVacuum/POUs/Functions/Gauges/FB_9XX.TcPOU index 11120f8..013b641 100644 --- a/L2SIVacuum/POUs/Functions/Gauges/FB_9XX.TcPOU +++ b/L2SIVacuum/POUs/Functions/Gauges/FB_9XX.TcPOU @@ -19,6 +19,7 @@ VAR fbGaugeState : FB_PressureState; rMaxPressure : REAL := 760; //Torr rMinPressure : REAL := 1E-5; //Torr + rVMin : REAL:= 0.9; (*Default set point 50 mT*) rVAC_SP: REAL := 5E-2; iTermBits: UINT := 30518 ; // The terminal's maximum value in bits default el3174 as per vacuum architecture @@ -38,8 +39,8 @@ END_IF If (iTermBits=0) THEN iTermBits := 30518;END_IF rV := 10*INT_TO_REAL(PG.i_iPRESS_R)/iTermBits; -IF rV >= 0.99 THEN - IF rV >= 0.99 AND rV <= 1 THEN +IF rV >=rVMin THEN + IF rV >= rVMin AND rV <= 1 THEN PG.rPRESS := 1E-5; ELSE PG.rPRESS := LREAL_TO_REAL(EXPT(10, rV-6)); @@ -105,19 +106,5 @@ END_VAR - - - - - - - - - - - - - - \ No newline at end of file