From 14cce310ee4284f7a891741c1360893c25ef9be8 Mon Sep 17 00:00:00 2001 From: Janez Govednik Date: Fri, 22 Mar 2024 14:05:45 -0700 Subject: [PATCH] FB_VCN_VAT590 cleanup after field test --- L2SIVacuum/L2SIVacuum.tmc | 6 ++-- L2SIVacuum/LineIDs.dbg | Bin 596 -> 604 bytes .../POUs/Functions/Valves/FB_VCN_VAT590.TcPOU | 26 ++++++++---------- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/L2SIVacuum/L2SIVacuum.tmc b/L2SIVacuum/L2SIVacuum.tmc index 56387db..9fb9037 100644 --- a/L2SIVacuum/L2SIVacuum.tmc +++ b/L2SIVacuum/L2SIVacuum.tmc @@ -1,4 +1,4 @@ -ST_System40xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832analysis-33T_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL865879240bErrorBOOL865879312hrErrorCodeHRESULT3265879328nStringSizeUDINT3265879288sResultSTRING(255)204865879320__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult64conditionalshowGetStringBOOL8sResultSTRING(80)64nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32pEmptySTRING(80)64propertymonitoringcallClear__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyTcSourceInfoType32UDINT0124plcAttribute_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__getipDataITcArguments64propertyconditionalshow__getnCountUDINT32propertyAddBlobI_TcArguments64pDataPVOID64cbDataUINT16AddBoolI_TcArguments64valueBOOL8AddByteI_TcArguments64valueBYTE8AddDIntI_TcArguments64valueDINT32AddDWordI_TcArguments64valueDWORD32AddEventReferenceExI_TcArguments64stEventEntryTcEventEntry192AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddStringByValueI_TcArguments64valueT_MaxString2048AddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddUtf8EncodedStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutAddWStringByValueI_TcArguments64valueWSTRING(255)4096ClearI_TcArguments64ITcEventUniqueIdProvider32ITcUnknownGetUniqueIdHRESULT32idUDINT32FB_TcSourceInfo3008I_TcSourceInfonIdUDINT326587912065879168sNameSTRING(255)20486587920065879224ExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo64ipDataITcSourceInfo64propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefaultHRESULT32Clear__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo64__getguidGUID128guidGUID128property__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase4096I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo3008512conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283712conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83840conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283904conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL84032conditionalshoweSeverityTcEventSeverity1665879424ipSourceInfoI_TcSourceInfo6465879384nEventIdUDINT3265879560nUniqueIdUDINT3265879568sEventClassNameSTRING(255)204865879480sEventTextSTRING(255)204865879576EqualsToEventClassBOOL8OtherEventClassGUID128_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__getnUniqueIdUDINT32nUniqueIdUDINT32ipTmpEventITcEvent64ipProviderITcEventUniqueIdProvider64propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyI_TcMessage64I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage4224FB_TcEventBaseI_TcMessagenTimeSentULINT6465879624SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertyconditionalshowSendHRESULT32nTimeStampULINT64ReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIGST_System40xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832analysis-33T_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL865879056bErrorBOOL865879128hrErrorCodeHRESULT3265879144nStringSizeUDINT3265879104sResultSTRING(255)204865879136__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult64conditionalshowGetStringBOOL8sResultSTRING(80)64nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32pEmptySTRING(80)64propertymonitoringcallClear__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyTcSourceInfoType32UDINT0124plcAttribute_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__getipDataITcArguments64propertyconditionalshow__getnCountUDINT32propertyAddBlobI_TcArguments64pDataPVOID64cbDataUINT16AddBoolI_TcArguments64valueBOOL8AddByteI_TcArguments64valueBYTE8AddDIntI_TcArguments64valueDINT32AddDWordI_TcArguments64valueDWORD32AddEventReferenceExI_TcArguments64stEventEntryTcEventEntry192AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddStringByValueI_TcArguments64valueT_MaxString2048AddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddUtf8EncodedStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutAddWStringByValueI_TcArguments64valueWSTRING(255)4096ClearI_TcArguments64ITcEventUniqueIdProvider32ITcUnknownGetUniqueIdHRESULT32idUDINT32FB_TcSourceInfo3008I_TcSourceInfonIdUDINT326587893665878984sNameSTRING(255)20486587901665879040ExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo64ipDataITcSourceInfo64propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefaultHRESULT32Clear__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo64__getguidGUID128guidGUID128property__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase4096I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo3008512conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283712conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83840conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283904conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL84032conditionalshoweSeverityTcEventSeverity1665879240ipSourceInfoI_TcSourceInfo6465879200nEventIdUDINT3265879376nUniqueIdUDINT3265879384sEventClassNameSTRING(255)204865879296sEventTextSTRING(255)204865879392EqualsToEventClassBOOL8OtherEventClassGUID128_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__getnUniqueIdUDINT32nUniqueIdUDINT32ipTmpEventITcEvent64ipProviderITcEventUniqueIdProvider64propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyI_TcMessage64I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage4224FB_TcEventBaseI_TcMessagenTimeSentULINT6465879440SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertyconditionalshowSendHRESULT32nTimeStampULINT64ReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIG96CLKBOOL864ItemTypeInputQBOOL872ItemTypeOutputMBOOL8801conditionalshowPouTypeFunctionBlockconditionalshow_all_localsR_TRIGTcVarGlobal323958208PMPS_PARAM.MAX_FAST_FAULTS16UINT50TcVarGlobal323959232PRG_Test.TotalTests16INT0323959248PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal323959264PMPS_PARAM.TRANS_MARGIN32REAL0.05TcVarGlobal323959296Constants.gc_iSizeOfGGOArray16INT50TcVarGlobal323959344PMPS_TOOLS.fbJson384FB_JsonSaxWriterTcVarGlobal323959360Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild48.iRevision0.nFlags1.sVersion3.3.48.0const_non_replacedTcVarGlobal323959744Constants.gc_GaugeValidState16INT4TcVarGlobal323960032Global_Variables.g_iSizeOfGGOArray16INT50TcVarGlobal323960048Global_Variables.TcMcGlobal7104_TCMCGLOBALTcVarGlobal323960064Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal323967168Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal323967232Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal323967296Global_Version.stLibVersion_Tc2_DataExchange288ST_LibVersion.iMajor3.iMinor3.iBuild5.iRevision0.nFlags0.sVersion3.3.5.0const_non_replacedTcVarGlobal323967584PRG_Test.fb_VGC_Test34265600FB_VGC_Test324087488PRG_Test.fb_VRC_Test33648320FB_VRC_Test358353088PRG_Test.fb_PIP_Test33655552FB_PIP_Test392001408PRG_Test.fb_PTM_Test33734720FB_PTM_Test425656960PRG_Test.fb_GPI_Test33741632FB_GPI_Test459391680PRG_Test.fb_GCC_Test33652736FB_GCC_Test493133312Global_Variables.g_stSystem40ST_System.xFirstScan1TcVarGlobal526787072Constants.bLittleEndian8BOOL1TcVarGlobal526787112Constants.bSimulationMode8BOOL0TcVarGlobal526787120Constants.bFPUSupport8BOOL1TcVarGlobal526787128Global_Variables.g_DummyVG1056ST_VGTcVarGlobal526787136Constants.nRegisterSize16WORD64TcVarGlobal526788192Constants.nPackMode16UINT8TcVarGlobal526788208Global_Variables.fbGetCurTaskIdx256GETCURTASKINDEXTcVarGlobal526788224Global_Variables.TaskInfo1024PlcTaskSystemInfoTcVarGlobal526788480Global_Version.stLibVersion_LCLS_Vacuum288ST_LibVersion.iMajor0.iMinor0.iBuild0.iRevision0.sVersion0.0.0const_non_replacedTcVarGlobal526789504Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal526789792Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal526789856Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal526789920Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal526789952TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal526789984TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal526790016TwinCAT_SystemInfoVarList._TaskInfo1024PlcTaskSystemInfo11no_initTcVarGlobal526792064TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal526793088TwinCAT_SystemInfoVarList.__PlcTask896_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal526793152TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal5268250244PlcTask Retains066650112PMPS_GVL.SuccessfulPreemption32UDINTpytmc + TcVarGlobal323958208PMPS_PARAM.MAX_FAST_FAULTS16UINT50TcVarGlobal323959232PRG_Test.TotalTests16INT0323959248PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal323959264PMPS_PARAM.TRANS_MARGIN32REAL0.05TcVarGlobal323959296Constants.gc_iSizeOfGGOArray16INT50TcVarGlobal323959344PMPS_TOOLS.fbJson384FB_JsonSaxWriterTcVarGlobal323959360Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild48.iRevision0.nFlags1.sVersion3.3.48.0const_non_replacedTcVarGlobal323959744Constants.gc_GaugeValidState16INT4TcVarGlobal323960032Global_Variables.g_iSizeOfGGOArray16INT50TcVarGlobal323960048Global_Variables.TcMcGlobal7104_TCMCGLOBALTcVarGlobal323960064Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal323967168Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal323967232Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal323967296Global_Version.stLibVersion_Tc2_DataExchange288ST_LibVersion.iMajor3.iMinor3.iBuild5.iRevision0.nFlags0.sVersion3.3.5.0const_non_replacedTcVarGlobal323967584PRG_Test.fb_VGC_Test34265600FB_VGC_Test324087488PRG_Test.fb_VRC_Test33648320FB_VRC_Test358353088PRG_Test.fb_PIP_Test33655552FB_PIP_Test392001408PRG_Test.fb_PTM_Test33734720FB_PTM_Test425656960PRG_Test.fb_GPI_Test33741632FB_GPI_Test459391680PRG_Test.fb_GCC_Test33652736FB_GCC_Test493133312Global_Variables.g_stSystem40ST_System.xFirstScan1TcVarGlobal526787072Constants.bLittleEndian8BOOL1TcVarGlobal526787112Constants.bSimulationMode8BOOL0TcVarGlobal526787120Constants.bFPUSupport8BOOL1TcVarGlobal526787128Global_Variables.g_DummyVG1056ST_VGTcVarGlobal526787136Constants.nRegisterSize16WORD64TcVarGlobal526788192Constants.nPackMode16UINT8TcVarGlobal526788208Global_Variables.fbGetCurTaskIdx256GETCURTASKINDEXTcVarGlobal526788224Global_Variables.TaskInfo1024PlcTaskSystemInfoTcVarGlobal526788480Global_Version.stLibVersion_LCLS_Vacuum288ST_LibVersion.iMajor0.iMinor0.iBuild0.iRevision0.sVersion0.0.0const_non_replacedTcVarGlobal526789504Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal526789792Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal526789856Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal526789920Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal526789952TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal526789984TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal526790016TwinCAT_SystemInfoVarList._TaskInfo1024PlcTaskSystemInfo11no_initTcVarGlobal526792064TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal526793088TwinCAT_SystemInfoVarList.__PlcTask896_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal526793152TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal5268407684PlcTask Retains066650112PMPS_GVL.SuccessfulPreemption32UDINTpytmc pv: @(PREFIX)SuccessfulPreemptions io: i TcVarGlobal3072000PMPS_GVL.AccumulatedFF32UDINTpytmc pv: @(PREFIX)AccumulatedFastFaults io: i - TcVarGlobal3072032PMPS_GVL.BP_jsonDoc64SJsonValueTcVarGlobal3072064LCLSGeneralEventClassApplicationNamePort_851ChangeDate2024-03-07T14:20:31GeneratedCodeSize700416GlobalDataSize65372160 \ No newline at end of file + TcVarGlobal3072032PMPS_GVL.BP_jsonDoc64SJsonValueTcVarGlobal3072064LCLSGeneralEventClassApplicationNamePort_851ChangeDate2024-03-22T14:00:03GeneratedCodeSize700416GlobalDataSize65372160 \ No newline at end of file diff --git a/L2SIVacuum/LineIDs.dbg b/L2SIVacuum/LineIDs.dbg index 6e0543051257e3a23e2efa054ce1a8a0d3f62f86..e80ce728bf8755f6c053a43641a0aa68275e6913 100644 GIT binary patch delta 46 ycmcb@a)(8A^_vKHo-^h?osDy?WOz8VSQr=>)-o|LxC7}QK$;au|KBKU&IABS+zY7y delta 38 scmcb^a)m{9^_vKHo-^h?osDy?WOz8Vm>C!t&M-1C1OREdjjHBM0Q5=;?*IS* diff --git a/L2SIVacuum/POUs/Functions/Valves/FB_VCN_VAT590.TcPOU b/L2SIVacuum/POUs/Functions/Valves/FB_VCN_VAT590.TcPOU index 85bed8f..e53ce38 100644 --- a/L2SIVacuum/POUs/Functions/Valves/FB_VCN_VAT590.TcPOU +++ b/L2SIVacuum/POUs/Functions/Valves/FB_VCN_VAT590.TcPOU @@ -20,8 +20,7 @@ VAR CONSTANT cPresSPLowLim : REAL := 0; // Default pressure setpoint lower scale value cMinPress : REAL := 1e-11; // Default Min. pressure in Torr that can be used and requested cMaxPress : REAL := 1e-2; // Default Max. pressure in Torr that can be used and requested - //Ranges 0 to 1000000 (or 0.0 to 10V) (1E-11 to 1E-2) - cBasePress : REAL := 1E-11; // Pressure sensor lower scale value + cBasePress : REAL := 1E-11; // Pressure sensor base value cPressRawSlope : REAL := 1E+5; // Slope (in Units per decade) used for conversion of pressure in Torr to valve External Digital pressure sensor 1 input raw value (0-1000000) cPressRawBase : REAL := 1E+5; // Valve analog output base(in Units per decade) defined for how much the curve is shifted @@ -49,8 +48,8 @@ END_VAR VAR fCalcPosSP : REAL := 0; fCalcPresSP : REAL := 0; - fPressRaw : REAL := 0; - eValveModeSP : E_ControlModeSP; + fPressRaw : REAL := 0; // Ranges 0 to 1000000 (or 0.0 to 10V) (1E-12 to 1E-2) + eValveModeSP : E_ControlModeSP; // Control Mode setpoint internal variable fReqPos : REAL; // Requested position internal variable fReqPres : REAL; // Requested pressure internal variable @@ -91,7 +90,7 @@ VAR // Ethercat Interface Outputs o_nRawPositionSP AT %Q* : DINT; // Position setpoint o_nRawPressureSP AT %Q* : DINT; // Pressure setpoint - o_nRawPressure AT %Q* : DINT; // Raw pressure output, eliminate need for external connection of the press. gauge, 0-100000 which coresponds to 0-10V + o_nRawPressure AT %Q* : DINT; // Raw pressure output, eliminate need for external connection of AI, ranges 0 to 1000000 (or 0.0 to 10V) (1E-12 Torr to 1E-2 Torr) o_eCtrlModeSP AT %Q* : E_ControlModeSP; // Valve control mode setpoint o_stGenCtrlSP AT %Q* : ST_GeneralControlSP;// General Control setpoint (*Ethercat Interface Status Check*) @@ -176,19 +175,16 @@ fReqPres := LIMIT(cMinPress, fReqPres, fPresMaxLim); fCalcPresSP := cPressRawSlope * LOG(fReqPres/cBasePress) + cPressRawBase; fCalcPresSP := LIMIT(cPresSPLowLim, fCalcPresSP, cPresSPUpLim); //The requested pressure SP should remain within this range -//Calculate pressure readback in Torr units -//stVcnVat590.fPressure := LREAL_TO_REAL(EXPT(10,((DINT_TO_REAL(stVcnVat590.nRawPressure)-cBasePress)/cPressRawSlope + LOG(cBasePress)))); - (*Calculated Pressure SP, Pressure readback and PressureRaw output value are 0 if Pressure sensor is not working*) -//Calculate PressureRaw value linked to the valve External Digital pressure sensor 1 input -//Pressure information from IG input is liked to stVcnVat590.fPressure +//Calculate PressureRaw value linked to the Valve's External Digital pressure sensor 1 input +//Pressure information from IG input is linked to stVcnVat590.fPressure IF IG.xPRESS_OK THEN - stVcnVat590.fPressure := IG.rPRESS; - fPressRaw := cPressRawSlope * LOG(IG.rPRESS/cBasePress) + cPressRawBase; + stVcnVat590.fPressure := IG.rPRESS; + fPressRaw := cPressRawSlope * LOG(IG.rPRESS/cBasePress) + cPressRawBase; ELSE - fCalcPresSP := 0; - stVcnVat590.fPressure := 0; - fPressRaw := 0; + fCalcPresSP := 0; + stVcnVat590.fPressure := 0; + fPressRaw := 0; END_IF (*Zero function*)