From bbdf94fa5f99d3a027c0a43afb2837b62f0c3524 Mon Sep 17 00:00:00 2001 From: ghalym Date: Fri, 14 Feb 2020 11:18:31 -0800 Subject: [PATCH 01/10] DEV: ST_PIP MBBI status --- L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT b/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT index c28cc17..baa26ec 100644 --- a/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT +++ b/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT @@ -24,14 +24,16 @@ STRUCT {attribute 'pytmc' := ' pv: HV_SW; io: io; - field: ZNAM Off; - field: ONAM On; + field: ZNAM OFF; + field: ONAM ON; '} xHVEna_SW : BOOL; (* IO Controls *) {attribute 'pytmc' := ' pv: HV_DO; + field: ZNAM OFF; + field: ONAM ON; io: i; '} q_xHVEna_DO : BOOL; // Enable High Voltage when True // 'TcLinkTo' (EL1124) ^Input @@ -51,6 +53,8 @@ STRUCT i_iPRESS: REAL; // {attribute 'pytmc' := ' pv: SP_DI; + field: ZNAM FALSE; + field: ONAM TRUE; io:i; '} i_xSP_DI : BOOL; // NO contact // 'TcLinkTo' (EL1004) ^Input From ab26dd2f9381208d2b6d736720decba0f27605d9 Mon Sep 17 00:00:00 2001 From: ghalym Date: Tue, 18 Feb 2020 10:58:54 -0800 Subject: [PATCH 02/10] FIX: Kashiyama pump status --- L2SIVacuum/DUTs/Pumps/ST_KashiyamaDryPump.TcDUT | 6 +++--- L2SIVacuum/L2SIVacuum.tmc | 2 +- .../POUs/Functions/Pumps/FB_KashiyamaPump.TcPOU | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/L2SIVacuum/DUTs/Pumps/ST_KashiyamaDryPump.TcDUT b/L2SIVacuum/DUTs/Pumps/ST_KashiyamaDryPump.TcDUT index d50db35..7d42d4f 100644 --- a/L2SIVacuum/DUTs/Pumps/ST_KashiyamaDryPump.TcDUT +++ b/L2SIVacuum/DUTs/Pumps/ST_KashiyamaDryPump.TcDUT @@ -1,5 +1,5 @@  - + xILKOkBOOL8352pytmc pv: ILK_OK; io: i; - rFULL_SCALEREAL323841000FW_GetCurTaskIndex96nIndexBYTE864ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX256indexBYTE864ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex96128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512L2SIVacuum{08500001-0000-0000-F000-000000000064}{b27b051a-ca6a-42ea-833e-82cc92903d83}TC3 UMLApplicationNamePort_851ChangeDate2020-02-14T09:32:10GeneratedCodeSize188416GlobalDataSize65536 \ No newline at end of file + rFULL_SCALEREAL323841000FW_GetCurTaskIndex96nIndexBYTE864ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX256indexBYTE864ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex96128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512L2SIVacuum{08500001-0000-0000-F000-000000000064}{b27b051a-ca6a-42ea-833e-82cc92903d83}TC3 UMLApplicationNamePort_851ChangeDate2020-02-18T10:56:41GeneratedCodeSize188416GlobalDataSize65536 \ No newline at end of file diff --git a/L2SIVacuum/POUs/Functions/Pumps/FB_KashiyamaPump.TcPOU b/L2SIVacuum/POUs/Functions/Pumps/FB_KashiyamaPump.TcPOU index 9a7b4da..d422807 100644 --- a/L2SIVacuum/POUs/Functions/Pumps/FB_KashiyamaPump.TcPOU +++ b/L2SIVacuum/POUs/Functions/Pumps/FB_KashiyamaPump.TcPOU @@ -1,5 +1,5 @@  - + (* Input *) q_stPump.i_xLocal := i_xLocal; - q_stPump.i_xAlarm := i_xAlarm; - q_stPump.i_xWarning := i_xWarning; + q_stPump.i_xAlarmOK := i_xAlarm; + q_stPump.i_xWarningOK := i_xWarning; q_stPump.i_xIsRun := i_xIsRun;]]> From ba251a5f2ab7f7f2fa1a54de0391d082bcd36f8f Mon Sep 17 00:00:00 2001 From: ghalym Date: Tue, 25 Feb 2020 10:22:16 -0800 Subject: [PATCH 03/10] Dev: FB_PIP, PRAGMAS --- L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT | 12 ++- L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT | 25 ++++- L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT | 4 +- L2SIVacuum/L2SIVacuum.plcproj | 41 +++++++- L2SIVacuum/L2SIVacuum.tmc | 15 +-- L2SIVacuum/LineIDs.dbg | Bin 2788 -> 0 bytes .../Gauges/Interfaces/FB_TGCC_ADS.TcPOU | 4 + .../POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU | 99 ++++++++++++++++-- .../POUs/Functions/Pumps/FB_PTM_Agilent.TcPOU | 22 ++++ L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU | 21 ++++ 10 files changed, 211 insertions(+), 32 deletions(-) delete mode 100644 L2SIVacuum/LineIDs.dbg diff --git a/L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT b/L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT index 8ebeed2..a7aaec2 100644 --- a/L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT +++ b/L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT @@ -1,5 +1,5 @@  - + diff --git a/L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT b/L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT index ab64b82..18f6a30 100644 --- a/L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT +++ b/L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT @@ -1,5 +1,5 @@  - + - LCLS General, 0.0.0 (SLAC) + LCLS General, * (SLAC) PMPS, * (SLAC - LCLS) + + Standard, * (System) + + + Tc2_DataExchange, * (Beckhoff Automation GmbH) + + + Tc2_EtherCAT, * (Beckhoff Automation GmbH) + + + Tc2_Math, * (Beckhoff Automation GmbH) + + + Tc2_MC2, * (Beckhoff Automation GmbH) + + + Tc2_ModbusSrv, * (Beckhoff Automation GmbH) + + + Tc2_Standard, * (Beckhoff Automation GmbH) + + + Tc2_System, * (Beckhoff Automation GmbH) + + + Tc2_TcpIp, * (Beckhoff Automation GmbH) + + + Tc2_Utilities, * (Beckhoff Automation GmbH) + Tc3_EventLogger, * (Beckhoff Automation GmbH) Tc3_JsonXml, * (Beckhoff Automation GmbH) + + Tc3_Module, * (Beckhoff Automation GmbH) + + + TcUnit, * (www.tcunit.org) + + + UML Statechart Types, * (3S - Smart Software Solutions GmbH) + diff --git a/L2SIVacuum/L2SIVacuum.tmc b/L2SIVacuum/L2SIVacuum.tmc index 5f3308b..02e1234 100644 --- a/L2SIVacuum/L2SIVacuum.tmc +++ b/L2SIVacuum/L2SIVacuum.tmc @@ -1,13 +1,4 @@ -AMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]ST_System88xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832I_EcatMaster1AMSNETID4840namingomitTcAddressTypeInputT_MaxString2048STRING(255)E_MesgSevr16WORDEmergency0Alert1Critical2Error3Warning4Notice5Info6Debug7E_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5E_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg128eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID64640E_TypeFieldParam16INTTYPEFIELD_UNKNOWN0TYPEFIELD_B1TYPEFIELD_O2TYPEFIELD_U3TYPEFIELD_C4TYPEFIELD_F5TYPEFIELD_D6TYPEFIELD_S7TYPEFIELD_XU8TYPEFIELD_XL9TYPEFIELD_EU10TYPEFIELD_EL11ST_FormatParameters160bPercentBOOL80bFlagsBOOL88bWidthBOOL816bDotBOOL824bPrecisionBOOL832bTypeBOOL840bAlignBOOL848bSignBOOL856bNullBOOL864bBlankBOOL872bHashBOOL880iWidthINT1696iPrecisionINT16112bWidthAsteriskBOOL8128bPrecisionAsteriskBOOL8136eTypeE_TypeFieldParam16144conditionalshowFB_FormatString8576sFormatT_MaxString204864ItemTypeInputarg1T_Arg1282112ItemTypeInputarg2T_Arg1282240ItemTypeInputarg3T_Arg1282368ItemTypeInputarg4T_Arg1282496ItemTypeInputarg5T_Arg1282624ItemTypeInputarg6T_Arg1282752ItemTypeInputarg7T_Arg1282880ItemTypeInputarg8T_Arg1283008ItemTypeInputarg9T_Arg1283136ItemTypeInputarg10T_Arg1283264ItemTypeInputbErrorBOOL error, FALSE => no error ]]>83392ItemTypeOutputnErrIdUDINT323424ItemTypeOutputsOutT_MaxString20483456ItemTypeOutputpFormatBYTE6455040conditionalshowpOutBYTE6455680conditionalshowiRemOutLenINT165632conditionalshowbValidBOOL85648conditionalshowstFmtST_FormatParameters1605664conditionalshownArrayElemINT165824conditionalshownArgumentUDINT325856conditionalshowparArgsT_Arg1106405888conditionalshowsArgStrT_MaxString20486528conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LogMessage25472i_sMsgSTRING(80)64864ItemTypeInputi_eSevrE_MesgSevr16720ItemTypeInputi_eSubsystemE_Subsystem16736ItemTypeInputfbFormatStringFB_FormatString8576768sPRIVALT_MaxString20489344-sPIDT_MaxString204811392-sSubsystemT_MaxString204813440-nSyslogVerWORD16154881sSDT_MaxString204815504-sMsgT_MaxString204817552-i_sPIDSTRING(80)64819600-namingoffi_sMSGIDSTRING(80)64820248-i_sSDSTRING(80)64820896-casSubsystemsSTRING(80)06388821544[0]-[1]VACUUM[2]MPS[3]MOTION[4]FIELDBUS[5]SDSnamingoncnFacilityWORD162544020PouTypeFunctionBlockFB_MemRingBuffer768pWriteBYTE6464ItemTypeInputcbWriteUDINT32128ItemTypeInputpReadBYTE64192ItemTypeInputcbReadUDINT32256ItemTypeInputpBufferBYTE64320ItemTypeInputcbBufferUDINT32384ItemTypeInputbOkBOOL8416ItemTypeOutputnCountUDINT324480ItemTypeOutputcbSizeUDINT324800ItemTypeOutputcbReturnUDINT 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) ]]>325120ItemTypeOutputidxLastDWORD325440conditionalshowidxFirstDWORD325760conditionalshowidxGetDWORD32608conditionalshowpTmpBYTE64640conditionalshowcbTmpDWORD32704conditionalshowcbCopiedDWORD32736conditionalshowA_ResetA_AddTailA_RemoveHeadA_GetHeadPouTypeFunctionBlockconditionalshow_all_localsFB_StringRingBuffer5184bOverwriteBOOL8640ItemTypeInputputValueT_MaxString204872ItemTypeInputpBufferBYTE6421760ItemTypeInputcbBufferUDINT3222400ItemTypeInputbOkBOOL82272ItemTypeOutputgetValueT_MaxString20482280ItemTypeOutputnCountUDINT3243520ItemTypeOutputcbSizeUDINT3243840ItemTypeOutputfbBufferFB_MemRingBuffer7684416conditionalshowA_ResetA_AddTailA_RemoveHeadA_GetHeadPouTypeFunctionBlockconditionalshow_all_localsST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2T_AmsNetID192STRING(23)E_RouteTransportType16UINTeRouteTransport_None0eRouteTransport_TCP_IP1eRouteTransport_IIO_LIGHTBUS2eRouteTransport_PROFIBUS_DP3eRouteTransport_PCI_ISA_BUS4eRouteTransport_ADS_UDP5eRouteTransport_FATP_UDP6eRouteTransport_COM_PORT7eRouteTransport_USB8eRouteTransport_CAN_OPEN9eRouteTransport_DEVICE_NET10eRouteTransport_SSB11eRouteTransport_SOAP12ST_AmsRouteEntry1184sNameSTRING(31)2560sNetIDT_AmsNetID192256sAddressSTRING(79)640448eTransportE_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112ST_TimeZoneInformation864biasDINTAMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]ST_System88xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832I_EcatMaster1AMSNETID4840namingomitTcAddressTypeInputT_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL8564352bErrorBOOL8564416hrErrorCodeHRESULT32564432nStringSizeUDINT32564400sResultSTRING(255)2048564424__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_TcArguments64valueDWORD32AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutClearI_TcArguments64FB_TcSourceInfo2944I_TcSourceInfonIdUDINT32564240564288sNameSTRING(255)2048564312564336__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_TcEventBase4096I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2944512.bCutInstancePathByLastInst1conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283712conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83840conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283904conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL84032conditionalshoweSeverityTcEventSeverity16564528ipSourceInfoI_TcSourceInfo64564488nEventIdUDINT32564656sEventClassNameSTRING(255)2048564576sEventTextSTRING(255)2048564664EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32ReleaseHRESULT32OnArgumentsChanged__getipSourceInfoI_TcSourceInfo64ipSourceInfoI_TcSourceInfo64propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase64__getipEventITcEvent64ipEventITcEvent64property__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent64property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent64propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSY__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_TcMessage4224FB_TcEventBaseI_TcMessagenTimeSentULINT64564712SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertySendHRESULT32nTimeStampULINT64TcEncodingFILETIMEReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyFB_LogMessage31232sMsgT_MaxString204864ItemTypeInputeSevrTcEventSeverity1621120ItemTypeInputeSubsystemE_Subsystem162128ItemTypeInputsJsonT_MaxString20482144{}ItemTypeInputbInitializedBOOL841920bInitFailedBOOL842000sSubsystemSourceSTRING(80)6484208fbMessageFB_TcMessage644864fbMessagesFB_TcMessage05211204928fbSourceFB_TcSourceInfo294426048ipResultMessageI_TcMessage6428992hrHRESULT3229056hrLastInternalErrorHRESULT3229088eTraceLevelTcEventSeverity16291200sPathT_MaxString204829136instance-pathnoinitPouTypeFunctionBlockreflectionST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2T_AmsNetID192STRING(23)E_RouteTransportType16UINTeRouteTransport_None0eRouteTransport_TCP_IP1eRouteTransport_IIO_LIGHTBUS2eRouteTransport_PROFIBUS_DP3eRouteTransport_PCI_ISA_BUS4eRouteTransport_ADS_UDP5eRouteTransport_FATP_UDP6eRouteTransport_COM_PORT7eRouteTransport_USB8eRouteTransport_CAN_OPEN9eRouteTransport_DEVICE_NET10eRouteTransport_SSB11eRouteTransport_SOAP12ST_AmsRouteEntry1184sNameSTRING(31)2560sNetIDT_AmsNetID192256sAddressSTRING(79)640448eTransportE_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152E_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg128eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID64640T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112ST_TimeZoneInformation864biasDINT320standardNameSTRING(31)25632standardDateTIMESTRUCT32649SETPOSUDINT329610SETVELOUDINT3212814SETACCUDINT3216015MODULOSETPOSUDINT3219211MODULOSETTURNSUDINT3222412SETDIRUDINT3225613TARGETPOSITIONUDINT3228819REMAININGTIMEANDPOSUDINT3232020STOPINFORMATIONUDINT3235224SETTASKCYCLE_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_TableFunctions96CREATETABUDINT32065536CREATEMOTIONTABUDINT323265552DELETETABUDINT3264131072hide_ST_NCADS_TableFunctions128IDXGRPUDINT32041472IDXOFFS_ST_NCADS_IDXOFFS_TableFunctions9632conditionalshow_ST_NCADS_Table352Parameter_ST_NCADS_TableParameter2240Functions_ST_NCADS_TableFunctions128224conditionalshowT_AmsPort16UINTADSRDDEVINFO1344NETIDT_AmsNetID19264ItemTypeInputPORTT_AmsPort16256ItemTypeInputRDINFOBOOL8272ItemTypeInputTMOUTTIME322885000ItemTypeInputBUSYBOOL8320ItemTypeOutputERRBOOL8328ItemTypeOutputERRIDUDINT32352ItemTypeOutputDEVNAMESTRING(19)160384ItemTypeOutputDEVVERUDINT32544ItemTypeOutputPouTypeFunctionBlockhide_all_locals_TCMCGLOBAL7104NCPORT_TCMCUINT1664500ItemTypeInputNCPORT_TCMC_COUPLINGUINT1680500ItemTypeInputNCNETID_TCMCT_AmsNetID19296ItemTypeInputNCPORT_TCMC_CAMUINT16288500ItemTypeInputNCPORT_TCMC_CAM_FASTUINT16304500ItemTypeInputNCNETID_TCMC_CAMT_AmsNetID192320ItemTypeInputNCPORT_TCMC_SUPERPOSITIONUINT16512501ItemTypeInputNcDeviceInfoTcMainVersionDWORD32544ItemTypeOutputNcDeviceInfoTcSubVersionDWORD32576ItemTypeOutputNcDeviceInfoNcDriverVersionDWORD32608ItemTypeOutputNcDeviceInfoNcVersionDWORD32640ItemTypeOutputNcDeviceInfoNcNameSTRING(19)160672ItemTypeOutputAxis_ST_NCADS_Axis4320832ItemTypeOutputsuppress_warning_0C0228Table_ST_NCADS_Table3525152ItemTypeOutputsuppress_warning_0C0228NCPORT_TCNCCAMMING_TABLEFUNCTIONUINT165504500tTargetPosTimeOutTIME3255366000tADSTimeOutTIME3255681000tStopMonitoringTimeOutTIME325600100NCTOPLC_FEEDBACK_MAXWAITCYCLESINT16563210fbADSRDDEVINFOADSRDDEVINFO13445696DeviceVersionDWORD327040InitBOOL87072ReadDeviceInfoPouTypeFunctionBlockhideTcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictTcEventEntry192uuidEventClassGUID1280nEventIdUDINT32128eSeverityTcEventSeverity16160E_PressureState16INTValid10ValidHi11ValidLo12PressInvalid1GaugeDisconnected2OoR6Off3Starting4Gauge_Type16INTPG722B0IG9031PG9072IG9093PG9254ST_VG416rPRESSREAL32649SETPOSUDINT329610SETVELOUDINT3212814SETACCUDINT3216015MODULOSETPOSUDINT3219211MODULOSETTURNSUDINT3222412SETDIRUDINT3225613TARGETPOSITIONUDINT3228819REMAININGTIMEANDPOSUDINT3232020STOPINFORMATIONUDINT3235224SETTASKCYCLE_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_TableFunctions96CREATETABUDINT32065536CREATEMOTIONTABUDINT323265552DELETETABUDINT3264131072hide_ST_NCADS_TableFunctions128IDXGRPUDINT32041472IDXOFFS_ST_NCADS_IDXOFFS_TableFunctions9632conditionalshow_ST_NCADS_Table352Parameter_ST_NCADS_TableParameter2240Functions_ST_NCADS_TableFunctions128224conditionalshowT_AmsPort16UINTADSRDDEVINFO1344NETIDT_AmsNetID19264ItemTypeInputPORTT_AmsPort16256ItemTypeInputRDINFOBOOL8272ItemTypeInputTMOUTTIME322885000ItemTypeInputBUSYBOOL8320ItemTypeOutputERRBOOL8328ItemTypeOutputERRIDUDINT32352ItemTypeOutputDEVNAMESTRING(19)160384ItemTypeOutputDEVVERUDINT32544ItemTypeOutputPouTypeFunctionBlockhide_all_locals_TCMCGLOBAL7104NCPORT_TCMCUINT1664500ItemTypeInputNCPORT_TCMC_COUPLINGUINT1680500ItemTypeInputNCNETID_TCMCT_AmsNetID19296ItemTypeInputNCPORT_TCMC_CAMUINT16288500ItemTypeInputNCPORT_TCMC_CAM_FASTUINT16304500ItemTypeInputNCNETID_TCMC_CAMT_AmsNetID192320ItemTypeInputNCPORT_TCMC_SUPERPOSITIONUINT16512501ItemTypeInputNcDeviceInfoTcMainVersionDWORD32544ItemTypeOutputNcDeviceInfoTcSubVersionDWORD32576ItemTypeOutputNcDeviceInfoNcDriverVersionDWORD32608ItemTypeOutputNcDeviceInfoNcVersionDWORD32640ItemTypeOutputNcDeviceInfoNcNameSTRING(19)160672ItemTypeOutputAxis_ST_NCADS_Axis4320832ItemTypeOutputsuppress_warning_0C0228Table_ST_NCADS_Table3525152ItemTypeOutputsuppress_warning_0C0228NCPORT_TCNCCAMMING_TABLEFUNCTIONUINT165504500tTargetPosTimeOutTIME3255366000tADSTimeOutTIME3255681000tStopMonitoringTimeOutTIME325600100NCTOPLC_FEEDBACK_MAXWAITCYCLESINT16563210fbADSRDDEVINFOADSRDDEVINFO13445696DeviceVersionDWORD327040InitBOOL87072ReadDeviceInfoPouTypeFunctionBlockhideE_PressureState16INTValid10ValidHi11ValidLo12PressInvalid1GaugeDisconnected2OoR6Off3Starting4Gauge_Type16INTPG722B0IG9031PG9072IG9093PG9254ST_VG416rPRESSREAL320pytmc pv: PRESS; @@ -72,4 +63,4 @@ These features aren't disabled, they just aren't used, think child/parent classe xILKOkBOOL8352pytmc pv: ILK_OK; io: i; - rFULL_SCALEREAL323841000FW_GetCurTaskIndex96nIndexBYTE864ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX256indexBYTE864ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex96128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512L2SIVacuum{08500001-0000-0000-F000-000000000064}{b27b051a-ca6a-42ea-833e-82cc92903d83}TC3 UMLApplicationNamePort_851ChangeDate2020-02-18T10:56:41GeneratedCodeSize188416GlobalDataSize65536 \ No newline at end of file + rFULL_SCALEREAL323841000FW_GetCurTaskIndex96nIndexBYTE864ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX256indexBYTE864ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex96128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512LCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseL2SIVacuum{08500001-0000-0000-F000-000000000064}{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{b27b051a-ca6a-42ea-833e-82cc92903d83}TC3 UMLLCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-02-24T10:14:30GeneratedCodeSize221184GlobalDataSize57344 \ No newline at end of file diff --git a/L2SIVacuum/LineIDs.dbg b/L2SIVacuum/LineIDs.dbg deleted file mode 100644 index 04a80697d9dc28d20a816d3b167e03218b73de30..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2788 zcmYk8dr(zX6vht3-T&VB%mn~o5D1DAh%E~P!k;< zHjp3!BG@R8P;>HyXgSkVW@7n=lVe2Iq*jK4)%S6~J;Rz==eNJL)?Ry`bMD>ucKldy zsmT8I{DYsmu1U-IDEBqXvPQ%2hA(r$1?CGM1)od-TR{QK6&I*3TFe2NiU1jU2u_}a z(|Vk+{Kft1^Ds2m9Z>v+cvB1!uZe$&Vc>Xph?_GI4{#VHJyVbu1ojB1h#)?&_ zVZSQPZxw4n4tGiK6Pp$PM0&5-A~uQDn9JcF>5nm{1?qEAp|~C7`U`PkC`s{n24Tt4 zF3Kk;o}&07-A96$ia3`@gl5TN)g>#R4l=()I#YZ>%oel6=hd%I+=02Yo!Upe$cN6Q z8l{s=9x=vs+t%spombuMhal?D3T zd#>V8_{f}hitmk_2-mpv8JGNRm4R&|b2lFeUjNp$zL?f~{>;BJtuBW5S__{D_kq)V z+H5B`4o-@$vHdiVQ9XFo8!>)9X$?+T_wY8e6_4R@tn9) zd=%uqOQmfhzwflCuICk|?e&e`H|13E(fcNJa6c1Eh(RIW#vB$E6(H%^?JP==Rgh5U0OURz!rh*pCBDM9JMUF=&4O7NiPvEi0L4w zx~MKw@l9fu_$q7Qo3+jckoQ+AZQf6g>Q;cXTqmq#(Y&`K(Cqg*oGsk6{#bFE$TOeT z<%Bg_@iMKuRr}Z?ov*qlRCi4JUD2G)?@1SksUpu}+IY-o3vbbj0@k8+9K*`8o)zaP z|Gu>OJO(TNo#H3N4PuX2slMAlKG!PgQ_2sCJcDU}J7JmMT=N@zSn(QhxBBdt-Y$M4 z{vduUZWRZ`G_hPP!2NK4vq9e4&ixod4{habV z^Z7lj0U1hDyjE;c{XvkSR_PA0U7U_2^D}Ybqe-NIec^-^E7l;%e7&AugSbm<5*x*4 zu~v-3T(&-|e&$>Y(t2Nt532q&G(!tiKcKuH@*JA8>9c?f5426}iE27y4-ZdTd!9LS zUVJ!eZdOZMV(hjZ8TrxK$A4wqoNfHy#s5y8a2m%W=LYP#ST + + + + \ No newline at end of file diff --git a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU index dde1809..dca08a7 100644 --- a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU +++ b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU @@ -24,11 +24,12 @@ VAR (* IO Controls *) q_xHVEna_DO AT %Q*: BOOL; // Enable High Voltage when TRUE i_iPRESS AT %I*: INT; // - i_xSP_DI AT %I* : BOOL; // NO contact // 'TcLinkTo' (EL1004) ^Input + i_xSP_DI AT %I* : BOOL; // NO contact //function of relay set on the QPC to HV output state // For logging fbLogger : FB_LogMessage := (eSubsystem:=E_SubSystem.VACUUM); tAction : F_TRIG; // Primary action of this device (OPN_DO, PUMP_RUN, etc.) +tTimeOutAction : F_TRIG; tOverrideActivated : R_TRIG; tPumpStartTimeout : TON := (PT:=T#10s); // Timeout pump start if pressure < 1E-11 for more than 10s. @@ -45,15 +46,54 @@ IF (stPump.rHVEna_SP > rHVEna_SP) THEN END_IF (* Interlock *) -stPump.xHV_ExtIlk := (i_stGauge.xPRESS_OK AND (i_stGauge.rPRESS <= stPump.rHVEna_SP) AND NOT tPumpStartTimeout.Q); +//stPump.xHV_ExtIlk := i_stGauge.xPRESS_OK AND (i_stGauge.rPRESS <= stPump.rHVEna_SP);//AND NOT tPumpStartTimeout.Q); //ADP + +(* Enable HV *) +IF i_stGauge.rPRESS <= stPump.rHVEna_SP AND i_stGauge.xPRESS_OK THEN + stPump.q_xHVEna_DO := stPump.xHVEna_SW; + stPump.xILKOk:= TRUE; +ELSIF stPump.q_xHVEna_DO THEN + IF i_stGauge.rPRESS > (stPump.rHVEna_SP + stPump.rHYS_PR) THEN + stPump.q_xHVEna_DO := FALSE; + stPump.xHVEna_SW := FALSE; + stPump.xILKOk := FALSE; + END_IF +ELSE + stPump.q_xHVEna_DO := FALSE; + stPump.xHVEna_SW := FALSE; + stPump.xILKOk := FALSE; +END_IF + + +//stPump.q_xHVEna_DO := stPump.xHVEna_SW AND stPump.xHV_ExtIlk; +//stPump.xHVEna_SW := stPump.q_xHVEna_DO; + + // Log pump turned off from loss of interlock -tAction(CLK:= stPump.xHV_ExtIlk); +tAction(CLK:= stPump.xILKOk); IF tAction.Q AND stPump.xHVEna_SW THEN fbLogger(sMsg:='Pump turned off due to loss of interlock.', eSevr:=TcEventSeverity.Critical); END_IF +// TAW Experimental ion pump timeout +tPumpStartTimeout(IN:=(NOT stPump.i_xHV_DI AND stPump.q_xHVEna_DO)); +tTimeOutAction(CLK:=tPumpStartTimeout.Q); +IF tTimeOutAction.Q THEN fbLogger(sMsg:='Pump time out.', eSevr:=TcEventSeverity.Critical); END_IF + + + +(*Pump STATE*) +IF tPumpStartTimeout.Q THEN //Pump timeout + stPump.eState := pumpFAULT; +ELSIF stPump.q_xHVEna_DO AND NOT stPump.i_xHV_DI THEN + stPump.eState := pumpSTARTING; +ELSIF NOT stPump.q_xHVEna_DO AND NOT stPump.i_xHV_DI THEN + stPump.eState := pumpSTOPPED; +ELSIF stPump.q_xHVEna_DO AND stPump.i_xHV_DI THEN + stPump.eState := pumpRUNNING; +ELSE + stPump.eState := pumpFAULT; +END_IF + -(* Enable HV *) -stPump.q_xHVEna_DO := stPump.xHVEna_SW AND stPump.xHV_ExtIlk; -stPump.xHVEna_SW := stPump.q_xHVEna_DO; (*Update output gauge values*) ACT_SetGauge(); @@ -70,14 +110,12 @@ rV := 10*INT_TO_REAL(i_iPress)/32767; rPRESS := LREAL_TO_REAL(EXPT(10,(rV-iOffset))); (*offset = 11*) q_IG.rPRESS := rPRESS; stPump.rPRESS := rPRESS; -IF (stPump.i_xSP_DI) OR ((q_IG.rPRESS < q_IG.rVAC_SP) AND (q_IG.rPRESS<>0) AND stPump.q_xHVEna_DO) THEN +IF (stPump.i_xHV_DI) AND (q_IG.rPRESS < q_IG.rVAC_SP) THEN //ADP// AND (q_IG.rPRESS<>0) AND stPump.q_xHVEna_DO) THEN q_IG.xPRESS_OK := TRUE; ELSE q_IG.xPRESS_OK := FALSE; END_IF - -// TAW Experimental ion pump timeout -tPumpStartTimeout(IN:=(q_IG.rPRESS<=MinPressure AND stPump.q_xHVEna_DO));]]> +]]> @@ -85,7 +123,7 @@ tPumpStartTimeout(IN:=(q_IG.rPRESS<=MinPressure AND stPump.q_xHVEna_DO));]]> @@ -102,5 +140,44 @@ END_VAR this^.stPump.xHVEna_SW := run;]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/L2SIVacuum/POUs/Functions/Pumps/FB_PTM_Agilent.TcPOU b/L2SIVacuum/POUs/Functions/Pumps/FB_PTM_Agilent.TcPOU index 3cbaa62..ef280b7 100644 --- a/L2SIVacuum/POUs/Functions/Pumps/FB_PTM_Agilent.TcPOU +++ b/L2SIVacuum/POUs/Functions/Pumps/FB_PTM_Agilent.TcPOU @@ -300,5 +300,27 @@ END_VAR + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU b/L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU index aeec15f..2f53115 100644 --- a/L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU +++ b/L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU @@ -419,5 +419,26 @@ END_VAR + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From b0db50b6a17551d5e9e4b25be53ae881550c9aec Mon Sep 17 00:00:00 2001 From: ghalym Date: Fri, 28 Feb 2020 11:54:12 -0800 Subject: [PATCH 04/10] FIX: FB_VFS OpenDO to reset after reaching the Open LS --- L2SIVacuum/L2SIVacuum.tmc | 14 ++- L2SIVacuum/POUs/Functions/Valves/FB_VFS.TcPOU | 99 +++++-------------- 2 files changed, 37 insertions(+), 76 deletions(-) diff --git a/L2SIVacuum/L2SIVacuum.tmc b/L2SIVacuum/L2SIVacuum.tmc index 02e1234..65648c4 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_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL8564352bErrorBOOL8564416hrErrorCodeHRESULT32564432nStringSizeUDINT32564400sResultSTRING(255)2048564424__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_TcArguments64valueDWORD32AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutClearI_TcArguments64FB_TcSourceInfo2944I_TcSourceInfonIdUDINT32564240564288sNameSTRING(255)2048564312564336__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_TcEventBase4096I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2944512.bCutInstancePathByLastInst1conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283712conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83840conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283904conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL84032conditionalshoweSeverityTcEventSeverity16564528ipSourceInfoI_TcSourceInfo64564488nEventIdUDINT32564656sEventClassNameSTRING(255)2048564576sEventTextSTRING(255)2048564664EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32ReleaseHRESULT32OnArgumentsChanged__getipSourceInfoI_TcSourceInfo64ipSourceInfoI_TcSourceInfo64propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase64__getipEventITcEvent64ipEventITcEvent64property__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent64property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent64propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSY__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_TcMessage4224FB_TcEventBaseI_TcMessagenTimeSentULINT64564712SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertySendHRESULT32nTimeStampULINT64TcEncodingFILETIMEReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyFB_LogMessage31232sMsgT_MaxString204864ItemTypeInputeSevrTcEventSeverity1621120ItemTypeInputeSubsystemE_Subsystem162128ItemTypeInputsJsonT_MaxString20482144{}ItemTypeInputbInitializedBOOL841920bInitFailedBOOL842000sSubsystemSourceSTRING(80)6484208fbMessageFB_TcMessage644864fbMessagesFB_TcMessage05211204928fbSourceFB_TcSourceInfo294426048ipResultMessageI_TcMessage6428992hrHRESULT3229056hrLastInternalErrorHRESULT3229088eTraceLevelTcEventSeverity16291200sPathT_MaxString204829136instance-pathnoinitPouTypeFunctionBlockreflectionST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2T_AmsNetID192STRING(23)E_RouteTransportType16UINTeRouteTransport_None0eRouteTransport_TCP_IP1eRouteTransport_IIO_LIGHTBUS2eRouteTransport_PROFIBUS_DP3eRouteTransport_PCI_ISA_BUS4eRouteTransport_ADS_UDP5eRouteTransport_FATP_UDP6eRouteTransport_COM_PORT7eRouteTransport_USB8eRouteTransport_CAN_OPEN9eRouteTransport_DEVICE_NET10eRouteTransport_SSB11eRouteTransport_SOAP12ST_AmsRouteEntry1184sNameSTRING(31)2560sNetIDT_AmsNetID192256sAddressSTRING(79)640448eTransportE_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152E_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg128eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID64640T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112ST_TimeZoneInformation864biasDINTAMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]ST_System88xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832I_EcatMaster1AMSNETID4840namingomitTcAddressTypeInputT_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL8564352bErrorBOOL8564416hrErrorCodeHRESULT32564432nStringSizeUDINT32564400sResultSTRING(255)2048564424__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_TcArguments64valueDWORD32AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutClearI_TcArguments64FB_TcSourceInfo2944I_TcSourceInfonIdUDINT32564240564288sNameSTRING(255)2048564312564336__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_TcEventBase4096I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2944512.bCutInstancePathByLastInst1conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283712conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83840conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283904conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL84032conditionalshoweSeverityTcEventSeverity16564528ipSourceInfoI_TcSourceInfo64564488nEventIdUDINT32564656sEventClassNameSTRING(255)2048564576sEventTextSTRING(255)2048564664EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32ReleaseHRESULT32OnArgumentsChanged__getipSourceInfoI_TcSourceInfo64ipSourceInfoI_TcSourceInfo64propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase64__getipEventITcEvent64ipEventITcEvent64property__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent64property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent64propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSY__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_TcMessage4224FB_TcEventBaseI_TcMessagenTimeSentULINT64564712SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertySendHRESULT32nTimeStampULINT64TcEncodingFILETIMEReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyFB_LogMessage31232sMsgT_MaxString204864ItemTypeInputeSevrTcEventSeverity1621120ItemTypeInputeSubsystemE_Subsystem162128ItemTypeInputsJsonT_MaxString20482144{}ItemTypeInputbInitializedBOOL841920bInitFailedBOOL842000sSubsystemSourceSTRING(80)6484208fbMessageFB_TcMessage644864fbMessagesFB_TcMessage05211204928fbSourceFB_TcSourceInfo294426048ipResultMessageI_TcMessage6428992hrHRESULT3229056hrLastInternalErrorHRESULT3229088eTraceLevelTcEventSeverity16291200sPathT_MaxString204829136instance-pathnoinitPouTypeFunctionBlockreflectionST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2T_AmsNetID192STRING(23)E_RouteTransportType16UINTeRouteTransport_None0eRouteTransport_TCP_IP1eRouteTransport_IIO_LIGHTBUS2eRouteTransport_PROFIBUS_DP3eRouteTransport_PCI_ISA_BUS4eRouteTransport_ADS_UDP5eRouteTransport_FATP_UDP6eRouteTransport_COM_PORT7eRouteTransport_USB8eRouteTransport_CAN_OPEN9eRouteTransport_DEVICE_NET10eRouteTransport_SSB11eRouteTransport_SOAP12ST_AmsRouteEntry1184sNameSTRING(31)2560sNetIDT_AmsNetID192256sAddressSTRING(79)640448eTransportE_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152E_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg128eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID64640T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112ST_TimeZoneInformation864biasDINT320standardNameSTRING(31)25632standardDateTIMESTRUCTxAT_VACBOOL832pytmc pv: AT_VAC; io: i; + field: ZNAM FALSE; + field: ONAM TRUE; xPRESS_OKBOOL840pytmc pv: PRESS_OK; field: ZNAM OFF; @@ -34,8 +36,8 @@ These features aren't disabled, they just aren't used, think child/parent classe xHV_SWBOOL864pytmc pv: HV_SW; io: io; - field: ZNAM Off; - field: ONAM On; + field: ZNAM OFF; + field: ONAM ON; i_iPRESS_RINT1680pytmc pv: PRESS_AI; io: i; @@ -50,6 +52,8 @@ These features aren't disabled, they just aren't used, think child/parent classe q_xHV_DISBOOL8112pytmc pv: HV_DIS_DO; io: i; + field: ZNAM FALSE ; + field: ONAM TRUE ; wHV_ROWORD16128xBAKEOUTBOOL8144eTYPEGauge_Type161602iTYPEINT161762wPGWORD16192xTurnOnTimeBOOL8208iVacSpINT16224rVAC_SPREAL322560.001pytmc pv: VAC_SP; io:io; @@ -62,5 +66,7 @@ These features aren't disabled, they just aren't used, think child/parent classe io: io; xILKOkBOOL8352pytmc pv: ILK_OK; + field: ZNAM NOT OK ; + field: ONAM OK ; io: i; - rFULL_SCALEREAL323841000FW_GetCurTaskIndex96nIndexBYTE864ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX256indexBYTE864ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex96128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512LCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseL2SIVacuum{08500001-0000-0000-F000-000000000064}{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{b27b051a-ca6a-42ea-833e-82cc92903d83}TC3 UMLLCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-02-24T10:14:30GeneratedCodeSize221184GlobalDataSize57344 \ No newline at end of file + rFULL_SCALEREAL323841000FW_GetCurTaskIndex96nIndexBYTE864ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX256indexBYTE864ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex96128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512LCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseL2SIVacuum{08500001-0000-0000-F000-000000000064}{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{b27b051a-ca6a-42ea-833e-82cc92903d83}TC3 UMLLCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-02-28T11:52:32GeneratedCodeSize221184GlobalDataSize57344 \ No newline at end of file diff --git a/L2SIVacuum/POUs/Functions/Valves/FB_VFS.TcPOU b/L2SIVacuum/POUs/Functions/Valves/FB_VFS.TcPOU index f2ccc5c..e079fb3 100644 --- a/L2SIVacuum/POUs/Functions/Valves/FB_VFS.TcPOU +++ b/L2SIVacuum/POUs/Functions/Valves/FB_VFS.TcPOU @@ -47,8 +47,11 @@ VAR tOvrd : TIME := T#10s; xClose: BOOL; + xOpen: BOOL; CloseTimer: TON; TimDur: TIME := T#20MS; + OpenTimer: TON; + OpenTimDur: TIME := T#10S; (* Timeouts*) tTimeOutDuration: TIME:= T#0.5S; @@ -78,12 +81,7 @@ VAR END_VAR]]> - ); +OpenTimer ( IN:=xOpen, PT:= OpenTimDur, Q=>); tOPNtimeout(IN:= iq_stValve.q_xOPN_DO, PT := tTimeOutDuration ); tCLStimeout(IN:= NOT iq_stValve.q_xOPN_DO, PT := tTimeOutDuration); @@ -223,67 +237,8 @@ q_xVFS_Open:= iq_stValve.i_xOpnLS;]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + From 31c74dfd0f9af7fa004caa66decb1f4b27fd26f9 Mon Sep 17 00:00:00 2001 From: ghalym Date: Mon, 2 Mar 2020 09:31:42 -0800 Subject: [PATCH 05/10] DEV: PIP GAMMA Extra state --- L2SIVacuum/DUTs/Pumps/E_PumpState.TcDUT | 6 +++--- L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT | 1 + L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU | 8 ++++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/L2SIVacuum/DUTs/Pumps/E_PumpState.TcDUT b/L2SIVacuum/DUTs/Pumps/E_PumpState.TcDUT index 2f30768..735425a 100644 --- a/L2SIVacuum/DUTs/Pumps/E_PumpState.TcDUT +++ b/L2SIVacuum/DUTs/Pumps/E_PumpState.TcDUT @@ -1,13 +1,13 @@  - + diff --git a/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT b/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT index ff55fc2..803a8ac 100644 --- a/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT +++ b/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT @@ -73,6 +73,7 @@ STRUCT field: ONST STARTING; field: TWST RUNNING; field: THST FAULT; + field: FRST STOPPING; io: i; '} diff --git a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU index dca08a7..6f7a0eb 100644 --- a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU +++ b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU @@ -72,7 +72,7 @@ END_IF // Log pump turned off from loss of interlock tAction(CLK:= stPump.xILKOk); -IF tAction.Q AND stPump.xHVEna_SW THEN fbLogger(sMsg:='Pump turned off due to loss of interlock.', eSevr:=TcEventSeverity.Critical); END_IF +IF tAction.Q AND ((stPump.eState = pumpRUNNING) OR (stPump.eState = pumpSTARTING)) THEN fbLogger(sMsg:='Pump turned off due to loss of interlock.', eSevr:=TcEventSeverity.Critical); END_IF // TAW Experimental ion pump timeout tPumpStartTimeout(IN:=(NOT stPump.i_xHV_DI AND stPump.q_xHVEna_DO)); tTimeOutAction(CLK:=tPumpStartTimeout.Q); @@ -89,6 +89,8 @@ ELSIF NOT stPump.q_xHVEna_DO AND NOT stPump.i_xHV_DI THEN stPump.eState := pumpSTOPPED; ELSIF stPump.q_xHVEna_DO AND stPump.i_xHV_DI THEN stPump.eState := pumpRUNNING; +ELSIF NOT stPump.q_xHVEna_DO AND stPump.i_xHV_DI THEN + stPump.eState := pumpSTARTING; // need to change to an additional state pumpSTOPPING ELSE stPump.eState := pumpFAULT; END_IF @@ -161,7 +163,9 @@ this^.stPump.xHVEna_SW := run;]]> - + + + From f0a65a035684138633e2ea8b78368973d2ce000b Mon Sep 17 00:00:00 2001 From: ghalym Date: Mon, 2 Mar 2020 11:37:16 -0800 Subject: [PATCH 06/10] Create .gitattributes --- .gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1c9abe0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +*.tsproj text eol=crlf +*.plcproj text eol=crlf +*.tmc text eol=crlf +*.xti text eol=crlf +*.TcTTO text eol=crlf +*.TcPOU text eol=crlf +*.TcDUT text eol=crlf +*.TcGVL text eol=crlf +*.TcVis text eol=crlf +*.TcVMO text eol=crlf +*.TcGTLO text eol=crlf From 0e5c25ce07223a92f1a725eb342556d88c3a81b6 Mon Sep 17 00:00:00 2001 From: ghalym Date: Mon, 2 Mar 2020 14:20:12 -0800 Subject: [PATCH 07/10] FIX: SP EGU. PIP SW OFF --- L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT | 12 ++++++++++++ L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT | 8 ++++++++ L2SIVacuum/DUTs/Pumps/ST_PTM.TcDUT | 8 ++++++++ L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT | 8 ++++++++ L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU | 5 ++++- 5 files changed, 40 insertions(+), 1 deletion(-) diff --git a/L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT b/L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT index a7aaec2..a4a8a9c 100644 --- a/L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT +++ b/L2SIVacuum/DUTs/Gauges/ST_VG.TcDUT @@ -88,17 +88,29 @@ STRUCT {attribute 'pytmc' := ' pv: VAC_SP; io:io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} rVAC_SP: REAL := 0.001; /// At vacuum setpoint for all gauges /// Protection setpoint for ion gauges at which the gauge turns off, not used for pirani {attribute 'pytmc' := ' pv: PRO_SP; io: io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} rPRO_SP: REAL := 0.001; {attribute 'pytmc' := ' pv: SP_HYS; io: io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} /// Protection setpoint hysteresis rHYS_PR: REAL := 0.001; diff --git a/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT b/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT index 803a8ac..e79de5c 100644 --- a/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT +++ b/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT @@ -20,6 +20,10 @@ STRUCT {attribute 'pytmc' := ' pv: AT_VAC_SP; io: io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} rHVEna_SP : REAL := 1.0E-4; @@ -34,6 +38,10 @@ STRUCT {attribute 'pytmc' := ' pv: SP_HYS; io: io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} /// Protection setpoint hysteresis rHYS_PR: REAL := 0.001; diff --git a/L2SIVacuum/DUTs/Pumps/ST_PTM.TcDUT b/L2SIVacuum/DUTs/Pumps/ST_PTM.TcDUT index 0ea7623..50d30f8 100644 --- a/L2SIVacuum/DUTs/Pumps/ST_PTM.TcDUT +++ b/L2SIVacuum/DUTs/Pumps/ST_PTM.TcDUT @@ -81,11 +81,19 @@ NOTE: This is an archetype, use an extension of this structure for a specific pu {attribute 'pytmc' := ' pv: BP_SP; io: io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} rBackingPressureSP : REAL := 0.01; {attribute 'pytmc' := ' pv: IP_SP; io: io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} rInletPressureSP : REAL := 0.02; //20mTorr (*State*) diff --git a/L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT b/L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT index 18f6a30..c5b158d 100644 --- a/L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT +++ b/L2SIVacuum/DUTs/Valves/ST_VGC.TcDUT @@ -90,12 +90,20 @@ STRUCT {attribute 'pytmc' := ' pv: AT_VAC_SP; io: o; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} rAT_VAC_SP : REAL := 0.01; // Interlock setpoint for gauges on both sides of valve rAT_VAC_SP_LAST : REAL :=0.01 ; // Interlock setpoint for gauges on both sides of valve {attribute 'pytmc' := ' pv: AT_VAC_HYS; io: o; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" '} rAT_VAC_HYS : REAL :=0.01; // Hysteresis of the vacuum sp {attribute 'pytmc' := ' diff --git a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU index 6f7a0eb..53fb5aa 100644 --- a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU +++ b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU @@ -57,6 +57,8 @@ ELSIF stPump.q_xHVEna_DO THEN stPump.q_xHVEna_DO := FALSE; stPump.xHVEna_SW := FALSE; stPump.xILKOk := FALSE; + ELSE + stPump.q_xHVEna_DO := stPump.xHVEna_SW; END_IF ELSE stPump.q_xHVEna_DO := FALSE; @@ -147,7 +149,8 @@ this^.stPump.xHVEna_SW := run;]]> - + + From a58e4ce0f4591d9bb4771ed7102b57fffba94065 Mon Sep 17 00:00:00 2001 From: ghalym Date: Mon, 2 Mar 2020 15:17:46 -0800 Subject: [PATCH 08/10] DEV: PIP new state --- L2SIVacuum/L2SIVacuum.tmc | 16 ++++++++++++++-- .../POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/L2SIVacuum/L2SIVacuum.tmc b/L2SIVacuum/L2SIVacuum.tmc index 65648c4..41228e0 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_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL8564352bErrorBOOL8564416hrErrorCodeHRESULT32564432nStringSizeUDINT32564400sResultSTRING(255)2048564424__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_TcArguments64valueDWORD32AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutClearI_TcArguments64FB_TcSourceInfo2944I_TcSourceInfonIdUDINT32564240564288sNameSTRING(255)2048564312564336__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_TcEventBase4096I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2944512.bCutInstancePathByLastInst1conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283712conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83840conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283904conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL84032conditionalshoweSeverityTcEventSeverity16564528ipSourceInfoI_TcSourceInfo64564488nEventIdUDINT32564656sEventClassNameSTRING(255)2048564576sEventTextSTRING(255)2048564664EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32ReleaseHRESULT32OnArgumentsChanged__getipSourceInfoI_TcSourceInfo64ipSourceInfoI_TcSourceInfo64propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase64__getipEventITcEvent64ipEventITcEvent64property__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent64property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent64propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSY__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_TcMessage4224FB_TcEventBaseI_TcMessagenTimeSentULINT64564712SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertySendHRESULT32nTimeStampULINT64TcEncodingFILETIMEReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyFB_LogMessage31232sMsgT_MaxString204864ItemTypeInputeSevrTcEventSeverity1621120ItemTypeInputeSubsystemE_Subsystem162128ItemTypeInputsJsonT_MaxString20482144{}ItemTypeInputbInitializedBOOL841920bInitFailedBOOL842000sSubsystemSourceSTRING(80)6484208fbMessageFB_TcMessage644864fbMessagesFB_TcMessage05211204928fbSourceFB_TcSourceInfo294426048ipResultMessageI_TcMessage6428992hrHRESULT3229056hrLastInternalErrorHRESULT3229088eTraceLevelTcEventSeverity16291200sPathT_MaxString204829136instance-pathnoinitPouTypeFunctionBlockreflectionST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2T_AmsNetID192STRING(23)E_RouteTransportType16UINTeRouteTransport_None0eRouteTransport_TCP_IP1eRouteTransport_IIO_LIGHTBUS2eRouteTransport_PROFIBUS_DP3eRouteTransport_PCI_ISA_BUS4eRouteTransport_ADS_UDP5eRouteTransport_FATP_UDP6eRouteTransport_COM_PORT7eRouteTransport_USB8eRouteTransport_CAN_OPEN9eRouteTransport_DEVICE_NET10eRouteTransport_SSB11eRouteTransport_SOAP12ST_AmsRouteEntry1184sNameSTRING(31)2560sNetIDT_AmsNetID192256sAddressSTRING(79)640448eTransportE_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152E_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg128eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID64640T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112ST_TimeZoneInformation864biasDINTAMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]ST_System88xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832I_EcatMaster1AMSNETID4840namingomitTcAddressTypeInputT_MaxString2048STRING(255)TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5I_ArgumentsChangeListener64PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult128bBusyBOOL8564352bErrorBOOL8564416hrErrorCodeHRESULT32564432nStringSizeUDINT32564400sResultSTRING(255)2048564424__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_TcArguments64valueDWORD32AddEventReferenceIdI_TcArguments64nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments64nEventIdUDINT32EventClassGUID128AddIntI_TcArguments64valueINT16AddLIntI_TcArguments64valueLINT64AddLRealI_TcArguments64valueLREAL64AddRealI_TcArguments64valueREAL32AddSIntI_TcArguments64valueSINT8AddStringI_TcArguments64valueSTRING(80)64ItemTypeInOutAddUDIntI_TcArguments64valueUDINT32AddUIntI_TcArguments64valueUINT16AddULIntI_TcArguments64valueULINT64AddUSIntI_TcArguments64valueUSINT8AddWordI_TcArguments64valueWORD16AddWStringI_TcArguments64valueWSTRING(80)64ItemTypeInOutClearI_TcArguments64FB_TcSourceInfo2944I_TcSourceInfonIdUDINT32564240564288sNameSTRING(255)2048564312564336__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_TcEventBase4096I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2944512.bCutInstancePathByLastInst1conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult1283712conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83840conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult1283904conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL84032conditionalshoweSeverityTcEventSeverity16564528ipSourceInfoI_TcSourceInfo64564488nEventIdUDINT32564656sEventClassNameSTRING(255)2048564576sEventTextSTRING(255)2048564664EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult64ItemTypeInOutipTmpEventITcEvent64ipResultITcAsyncStringResult64hrHRESULT32ReleaseHRESULT32OnArgumentsChanged__getipSourceInfoI_TcSourceInfo64ipSourceInfoI_TcSourceInfo64propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase64__getipEventITcEvent64ipEventITcEvent64property__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent64property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent64propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)64nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult128uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSY__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_TcMessage4224FB_TcEventBaseI_TcMessagenTimeSentULINT64564712SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)64ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo64InitipMessageITcMessage64ipArgumentsITcArguments64ipSourceInfoITcSourceInfo64conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage264nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo64hrHRESULT32ipArgumentsITcArguments64__getipEventITcEvent64ipEventITcEvent64propertySendHRESULT32nTimeStampULINT64TcEncodingFILETIMEReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyFB_LogMessage31232sMsgT_MaxString204864ItemTypeInputeSevrTcEventSeverity1621120ItemTypeInputeSubsystemE_Subsystem162128ItemTypeInputsJsonT_MaxString20482144{}ItemTypeInputbInitializedBOOL841920bInitFailedBOOL842000sSubsystemSourceSTRING(80)6484208fbMessageFB_TcMessage644864fbMessagesFB_TcMessage05211204928fbSourceFB_TcSourceInfo294426048ipResultMessageI_TcMessage6428992hrHRESULT3229056hrLastInternalErrorHRESULT3229088eTraceLevelTcEventSeverity16291200sPathT_MaxString204829136instance-pathnoinitPouTypeFunctionBlockreflectionST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2T_AmsNetID192STRING(23)E_RouteTransportType16UINTeRouteTransport_None0eRouteTransport_TCP_IP1eRouteTransport_IIO_LIGHTBUS2eRouteTransport_PROFIBUS_DP3eRouteTransport_PCI_ISA_BUS4eRouteTransport_ADS_UDP5eRouteTransport_FATP_UDP6eRouteTransport_COM_PORT7eRouteTransport_USB8eRouteTransport_CAN_OPEN9eRouteTransport_DEVICE_NET10eRouteTransport_SSB11eRouteTransport_SOAP12ST_AmsRouteEntry1184sNameSTRING(31)2560sNetIDT_AmsNetID192256sAddressSTRING(79)640448eTransportE_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152E_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg128eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID64640T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112ST_TimeZoneInformation864biasDINT320standardNameSTRING(31)25632standardDateTIMESTRUCTwHV_ROWORD16128xBAKEOUTBOOL8144eTYPEGauge_Type161602iTYPEINT161762wPGWORD16192xTurnOnTimeBOOL8208iVacSpINT16224rVAC_SPREAL322560.001pytmc pv: VAC_SP; io:io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" rPRO_SPREAL322880.001pytmc pv: PRO_SP; io: io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" rHYS_PRREAL323200.001pytmc pv: SP_HYS; io: io; + field: HOPR 1000 + field: LOPR 0 + field: PREC 2 + field: EGU "TORR" xILKOkBOOL8352pytmc pv: ILK_OK; field: ZNAM NOT OK ; field: ONAM OK ; io: i; - rFULL_SCALEREAL323841000FW_GetCurTaskIndex96nIndexBYTE864ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX256indexBYTE864ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex96128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512LCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseL2SIVacuum{08500001-0000-0000-F000-000000000064}{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{b27b051a-ca6a-42ea-833e-82cc92903d83}TC3 UMLLCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-02-28T11:52:32GeneratedCodeSize221184GlobalDataSize57344 \ No newline at end of file + rFULL_SCALEREAL323841000FW_GetCurTaskIndex96nIndexBYTE864ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX256indexBYTE864ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex96128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512LCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerboseL2SIVacuum{08500001-0000-0000-F000-000000000064}{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{b27b051a-ca6a-42ea-833e-82cc92903d83}TC3 UMLLCLSGeneralEventClassApplicationNamePort_851ChangeDate2020-03-02T14:22:04GeneratedCodeSize221184GlobalDataSize57344 \ No newline at end of file diff --git a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU index 53fb5aa..97eb0b5 100644 --- a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU +++ b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU @@ -92,7 +92,7 @@ ELSIF NOT stPump.q_xHVEna_DO AND NOT stPump.i_xHV_DI THEN ELSIF stPump.q_xHVEna_DO AND stPump.i_xHV_DI THEN stPump.eState := pumpRUNNING; ELSIF NOT stPump.q_xHVEna_DO AND stPump.i_xHV_DI THEN - stPump.eState := pumpSTARTING; // need to change to an additional state pumpSTOPPING + stPump.eState := pumpSTOPPING; ELSE stPump.eState := pumpFAULT; END_IF From 55dbee7ed9aa4b7a441fb9671c43fcab475ec2a3 Mon Sep 17 00:00:00 2001 From: ghalym Date: Mon, 2 Mar 2020 15:53:09 -0800 Subject: [PATCH 09/10] FIX: VCN IO instead of i --- L2SIVacuum/DUTs/Valves/ST_VCN.TcDUT | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/L2SIVacuum/DUTs/Valves/ST_VCN.TcDUT b/L2SIVacuum/DUTs/Valves/ST_VCN.TcDUT index 3cfbc51..2e8e8ae 100644 --- a/L2SIVacuum/DUTs/Valves/ST_VCN.TcDUT +++ b/L2SIVacuum/DUTs/Valves/ST_VCN.TcDUT @@ -44,12 +44,11 @@ STRUCT rReqPosition : REAL; //Requested position (0.0-100.0%) {attribute 'pytmc' := ' pv: STATE ; - type: mbbi ; field: ZRST Close ; field: ONST Open; field: TWST PressureControl ; field: THST ManualControl ; - io: i + io: io '} eValveControl : E_VCN := CloseValve; // Valve control state From 40b6986bc4ddee563ea1861505a5f0c35aa374f7 Mon Sep 17 00:00:00 2001 From: ghalym Date: Mon, 2 Mar 2020 20:11:39 -0800 Subject: [PATCH 10/10] DEV: ZNAM abd ONAM VGC MPS_FAULT_OK --- L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU | 2 ++ L2SIVacuum/POUs/Functions/Valves/FB_VGC_EBD.TcPOU | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU b/L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU index 2f53115..b554ee4 100644 --- a/L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU +++ b/L2SIVacuum/POUs/Functions/Valves/FB_VGC.TcPOU @@ -45,6 +45,8 @@ VAR_OUTPUT {attribute 'pytmc' := ' pv: MPS_FAULT_OK + field: ZNAM MPS FAULT ; + field: ONAM MPS OK ; '} xMPS_OK: BOOL; (*MPS Fast OK, is set when the Valve is Open*) END_VAR diff --git a/L2SIVacuum/POUs/Functions/Valves/FB_VGC_EBD.TcPOU b/L2SIVacuum/POUs/Functions/Valves/FB_VGC_EBD.TcPOU index ce69619..20f8396 100644 --- a/L2SIVacuum/POUs/Functions/Valves/FB_VGC_EBD.TcPOU +++ b/L2SIVacuum/POUs/Functions/Valves/FB_VGC_EBD.TcPOU @@ -1,5 +1,5 @@  - +