From db895351167ade835ca32c9cea95aac37d44a834 Mon Sep 17 00:00:00 2001 From: ghalym Date: Fri, 21 Feb 2025 11:10:14 -0800 Subject: [PATCH 1/3] DEV: Additional UND on SXU --- .../PhotonEnergyInterface/FB_SXU.TcPOU | 30 +- lcls-twincat-pmps/PMPS/PMPS.tmc | 31342 +--------------- 2 files changed, 174 insertions(+), 31198 deletions(-) diff --git a/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU b/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU index 95aa77c..afa9276 100644 --- a/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU +++ b/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU @@ -42,7 +42,15 @@ END_VAR VAR // From lcls-srv01: grep -e KDes /u1/lcls/epics/ioc/data/sioc-unds-uc*/iocInfo/IOC.pvlist |sort - + {attribute 'pytmc' := 'pv: 23; link: 2350:'} + fbSegment_23 : FB_UndulatorSegment; + + {attribute 'pytmc' := 'pv: 24; link: 2450:'} + fbSegment_24 : FB_UndulatorSegment; + + {attribute 'pytmc' := 'pv: 25; link: 2550:'} + fbSegment_25 : FB_UndulatorSegment; + {attribute 'pytmc' := 'pv: 26; link: 2650:'} fbSegment_26 : FB_UndulatorSegment; @@ -121,22 +129,30 @@ VAR CONSTANT {attribute 'pytmc' := ' pv: FirstSegment io: i'} - iLowBound : UDINT := 26; + iLowBound : UDINT := 23; {attribute 'pytmc' := ' pv: LastSegment io: i'} iHighBound : UDINT := 47; {attribute 'pytmc' := ' - pv: Period + pv: Period_Short + io: i + field: EGU mm + '} + fPeriod_39_mm : LREAL := 39.0; + + {attribute 'pytmc' := ' + pv: Period_Long io: i field: EGU mm '} - fPeriod_mm : LREAL := 39.0; + fPeriod_56_mm : LREAL := 56.0; + {attribute 'pytmc' := ' pv: LowK io: i '} - fLowK : LREAL := 1.5; + fLowK : LREAL := 0.8; {attribute 'pytmc' := ' pv: HiK @@ -191,9 +207,11 @@ UndAdrUpdate(); FOR iIndex := iLowBound TO iHighBound DO IF fbSegment[iIndex] <> 0 THEN fbCurrentSegment REF= fbSegment[iIndex]^; - fbCurrentSegment.fPeriod_mm := fPeriod_mm; fbCurrentSegment.fLowK := fLowK; fbCurrentSegment.fHiK := fHiK; + IF (iIndex >= 26) THEN fbCurrentSegment.fPeriod_mm := fPeriod_39_mm; + ELSE fbCurrentSegment.fPeriod_mm := fPeriod_56_mm; + END_IF END_IF END_FOR bInitialized := TRUE;]]> diff --git a/lcls-twincat-pmps/PMPS/PMPS.tmc b/lcls-twincat-pmps/PMPS/PMPS.tmc index 4b46b87..f893459 100644 --- a/lcls-twincat-pmps/PMPS/PMPS.tmc +++ b/lcls-twincat-pmps/PMPS/PMPS.tmc @@ -1,3100 +1,40 @@ - - - - - T_MaxString - TwinCAT PLC string of max. length of 255 bytes + 1 byte null delimiter. - 2048 - STRING(255) - - - TOF - 224 - - IN - BOOL - starts timer with falling edge, resets timer with rising edge - 8 - 32 - - - ItemType - Input - - - - - PT - TIME - time to pass, before Q is set - 32 - 64 - - - ItemType - Input - - - - - Q - BOOL - is FALSE, PT seconds after IN had a falling edge - 8 - 96 - - - ItemType - Output - - - - - ET - TIME - elapsed time - 32 - 128 - - - ItemType - Output - - - - - M - BOOL - 8 - 160 - - - StartTime - TIME - 32 - 192 - - - - PouType - FunctionBlock - - - - - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - UINT - - - LowerBorder - 0 - - - UpperBorder - 500 - - - - - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - UINT - - - LowerBorder - 0 - - - UpperBorder - 100 - - - - - E_AssertionType - 8 - BYTE - - Type_UNDEFINED - 0 - - - Type_ANY - 1 - - - Type_BOOL - 2 - Primitive types - - - Type_BYTE - 3 - - - Type_DATE - 4 - - - Type_DATE_AND_TIME - 5 - - - Type_DINT - 6 - - - Type_DWORD - 7 - - - Type_INT - 8 - - - Type_LINT - 9 - - - Type_LREAL - 10 - - - Type_LTIME - 11 - - - Type_LWORD - 12 - - - Type_REAL - 13 - - - Type_SINT - 14 - - - Type_STRING - 15 - - - Type_TIME - 16 - - - Type_TIME_OF_DAY - 17 - - - Type_UDINT - 18 - - - Type_UINT - 19 - - - Type_ULINT - 20 - - - Type_USINT - 21 - - - Type_WORD - 22 - - - Type_WSTRING - 23 - - - Type_Array2D_LREAL - 24 - Array types - - - Type_Array2D_REAL - 25 - - - Type_Array3D_LREAL - 26 - - - Type_Array3D_REAL - 27 - - - Type_Array_BOOL - 28 - - - Type_Array_BYTE - 29 - - - Type_Array_DINT - 30 - - - Type_Array_DWORD - 31 - - - Type_Array_INT - 32 - - - Type_Array_LINT - 33 - - - Type_Array_LREAL - 34 - - - Type_Array_LWORD - 35 - - - Type_Array_REAL - 36 - - - Type_Array_SINT - 37 - - - Type_Array_UDINT - 38 - - - Type_Array_UINT - 39 - - - Type_Array_ULINT - 40 - - - Type_Array_USINT - 41 - - - Type_Array_WORD - 42 - - - - ST_TestCaseResult - 6192 - - TestName - T_MaxString - 2048 - 0 - - - TestClassName - T_MaxString - 2048 - 2048 - - - TestIsFailed - BOOL - 8 - 4096 - - - TestIsSkipped - BOOL - 8 - 4104 - - - FailureMessage - T_MaxString - 2048 - 4112 - - - FailureType - E_AssertionType - 8 - 6160 - - - NumberOfAsserts - UINT - 16 - 6176 - - - - ST_TestSuiteResult - 621296 - - Name - T_MaxString - Full class name - 2048 - 0 - - - Identity - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) - Should be 0..GVL_Param_TcUnit.MaxNumberOfTestSuites-1 but gives unknown compiler error - 16 - 2048 - - - NumberOfTests - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - 2064 - - - NumberOfFailedTests - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - 2080 - - - TestCaseResults - ST_TestCaseResult - - 1 - 100 - - 619200 - 2096 - - - - ST_TestSuiteResults - 310648064 - - NumberOfTestSuites - UINT - The total number of test suites - 16 - 0 - - - NumberOfTestCases - UINT - The total number of test cases (for all test suites) - 16 - 16 - - - NumberOfSuccessfulTestCases - UINT - The total number of test cases that had all ASSERTS successful - 16 - 32 - - - NumberOfFailedTestCases - UINT - The total number of test cases that had at least one ASSERT failed - 16 - 48 - - - TestSuiteResults - ST_TestSuiteResult - - 1 - 500 - - Test results for each individiual test suite - 310648000 - 64 - - - - I_TestResults - 32 - PVOID - - GetAreTestResultsAvailable - BOOL - 8 - - - GetTestSuiteResults - ST_TestSuiteResults - 32 - - - - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - UINT - - - LowerBorder - 1 - - - UpperBorder - 500 - - - - - R_TRIG - +T_MaxString2048STRING(255)TOF224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)16UINTLowerBorder0UpperBorder500UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder0UpperBorder100E_AssertionType8BYTEType_UNDEFINED0Type_ANY1Type_BOOL2Type_BYTE3Type_DATE4Type_DATE_AND_TIME5Type_DINT6Type_DWORD7Type_INT8Type_LINT9Type_LREAL10Type_LTIME11Type_LWORD12Type_REAL13Type_SINT14Type_STRING15Type_TIME16Type_TIME_OF_DAY17Type_UDINT18Type_UINT19Type_ULINT20Type_USINT21Type_WORD22Type_WSTRING23Type_Array2D_LREAL24Type_Array2D_REAL25Type_Array3D_LREAL26Type_Array3D_REAL27Type_Array_BOOL28Type_Array_BYTE29Type_Array_DINT30Type_Array_DWORD31Type_Array_INT32Type_Array_LINT33Type_Array_LREAL34Type_Array_LWORD35Type_Array_REAL36Type_Array_SINT37Type_Array_UDINT38Type_Array_UINT39Type_Array_ULINT40Type_Array_USINT41Type_Array_WORD42ST_TestCaseResult6192TestNameT_MaxString20480TestClassNameT_MaxString20482048TestIsFailedBOOL84096TestIsSkippedBOOL84104FailureMessageT_MaxString20484112FailureTypeE_AssertionType86160NumberOfAssertsUINT166176ST_TestSuiteResult621296NameT_MaxString20480IdentityUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)162048NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162064NumberOfFailedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162080TestCaseResultsST_TestCaseResult11006192002096ST_TestSuiteResults310648064NumberOfTestSuitesUINT160NumberOfTestCasesUINT1616NumberOfSuccessfulTestCasesUINT1632NumberOfFailedTestCasesUINT1648TestSuiteResultsST_TestSuiteResult150031064800064I_TestResults32PVOIDGetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16UINTLowerBorder1UpperBorder500R_TRIG - 64 - - CLK - BOOL - Signal to detect - 8 - 32 - - - ItemType - Input - - - - - Q - BOOL - rising edge at signal detected - 8 - 40 - - - ItemType - Output - - - - - M - BOOL - 8 - 48 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_TestResults - This function block holds results of the complete test run, i.e. results for all test suites - 310648256 - I_TestResults - - TestSuiteResults - ST_TestSuiteResults - Test results - 310648064 - 64 - - - StoringTestSuiteResultNumber - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - Misc variables - 16 - 310648128 - - - StoringTestSuiteTrigger - R_TRIG - 64 - 310648160 - - - StoredTestSuiteResults - BOOL - 8 - 310648224 - - - StoredGeneralTestResults - BOOL - 8 - 310648232 - - - NumberOfTestsToAnalyse - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - 310648240 - - - GetAreTestResultsAvailable - BOOL - 8 - - - GetTestSuiteResults - ST_TestSuiteResults - 32 - - - - PouType - FunctionBlock - - - - - I_TestResultLogger - 32 - PVOID - - LogTestSuiteResults - - - - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - UINT - - - LowerBorder - 1 - - - UpperBorder - 100 - - - - - FB_AdsTestResultLogger - +]]>64CLKBOOL832ItemTypeInputQBOOL840ItemTypeOutputMBOOL848conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_TestResults310648256I_TestResultsTestSuiteResultsST_TestSuiteResults31064806464StoringTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16310648128StoringTestSuiteTriggerR_TRIG64310648160StoredTestSuiteResultsBOOL8310648224StoredGeneralTestResultsBOOL8310648232NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16310648240GetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32PouTypeFunctionBlockI_TestResultLogger32PVOIDLogTestSuiteResultsUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100FB_AdsTestResultLogger - 224 - I_TestResultLogger - - TestResults - I_TestResults - 32 - 64 - - - PrintingTestSuiteResultNumber - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - 96 - - - PrintingTestSuiteTrigger - R_TRIG - 64 - 128 - - - PrintedFinalTestResults - BOOL - This flag is set once the final end result has printed - 8 - 192 - - - PrintedTestSuitesResults - BOOL - This flag is set once the test suites result have been printed - 8 - 200 - - - LogTestSuiteResults - - TcUnitTestResults - ST_TestSuiteResults - 32 - - - StringToPrint - T_MaxString - 2048 - - - TestsInTestSuiteCounter - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - MaxNumberOfTestsToPrint - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - TEST_STATUS_SKIP - STRING(80) - 648 - - - TEST_STATUS_PASS - STRING(80) - 648 - - - TEST_STATUS_FAIL - STRING(80) - 648 - - - - - PouType - FunctionBlock - - - - - RTS_IEC_RESULT - 32 - UDINT - - - ACCESS_MODE - 32 - UDINT - - AM_READ - 0 - Open an existing file with Read access. If file does not exist, Open fails - - - AM_WRITE - 1 - Create new file with Write access. If file does exist, content is discarded - - - AM_APPEND - 2 - Open an existing file with Append (only write) access. If file does not exist, Open fails - - - AM_READ_PLUS - 3 - Open an existing file with Read/Write access. If file does not exist, Open fails - - - AM_WRITE_PLUS - 4 - Create new file with Read/Write access. If file does exist, content is discarded - - - AM_APPEND_PLUS - 5 - Open an existing file with Append (read/write) access. If file does not exist, Open creates a new file - - - - RTS_IEC_SIZE - 32 - BYTE - - - RTS_IEC_HANDLE - 32 - BYTE - - - FB_FileControl - +]]>224I_TestResultLoggerTestResultsI_TestResults3264PrintingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)1696PrintingTestSuiteTriggerR_TRIG64128PrintedFinalTestResultsBOOL8192PrintedTestSuitesResultsBOOL8200LogTestSuiteResultsTcUnitTestResultsST_TestSuiteResults32StringToPrintT_MaxString2048TestsInTestSuiteCounterUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16MaxNumberOfTestsToPrintUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648PouTypeFunctionBlockRTS_IEC_RESULT32UDINTACCESS_MODE32UDINTAM_READ0AM_WRITE1AM_APPEND2AM_READ_PLUS3AM_WRITE_PLUS4AM_APPEND_PLUS5RTS_IEC_SIZE32BYTERTS_IEC_HANDLE32BYTEFB_FileControl - 96 - - FileAccessMode - ACCESS_MODE - Append_Plus creates the file if it doesn't exist yet. - 32 - 32 - - 5 - - - - FileHandle - RTS_IEC_HANDLE - 32 - 64 - - - Read - RTS_IEC_RESULT - 32 - - BufferPointer - Call with ADR(); - BYTE - 32 - - - Size - Call with SIZEOF(); - UDINT - 32 - - - FileSize - RTS_IEC_SIZE - 32 - - - ItemType - Output - - - - - - Close - RTS_IEC_RESULT - 32 - - - Open - RTS_IEC_RESULT - 32 - - FileName - File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) - T_MaxString - 2048 - - - FileAccessMode - ACCESS_MODE - 32 - - - - Delete - RTS_IEC_RESULT - 32 - - FileName - File name can contain an absolute or relative path to the file. Path entries must be separated with a forward slash (/) - T_MaxString - 2048 - - - - Write - RTS_IEC_RESULT - 32 - - BufferPointer - Call with ADR(); - BYTE - 32 - - - Size - Call with SIZEOF(); - UDINT - 32 - - - - - PouType - FunctionBlock - - - - - E_XmlError - 8 - BYTE - - Ok - 0 - - - ErrorMaxBufferLen - 1 - - - ErrorStringLen - 2 - - - Error - 3 - - - - FB_StreamBuffer - +]]>96FileAccessModeACCESS_MODE32325FileHandleRTS_IEC_HANDLE3264ReadRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32FileSizeRTS_IEC_SIZE32ItemTypeOutputCloseRTS_IEC_RESULT32OpenRTS_IEC_RESULT32FileNameT_MaxString2048FileAccessModeACCESS_MODE32DeleteRTS_IEC_RESULT32FileNameT_MaxString2048WriteRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32PouTypeFunctionBlockE_XmlError8BYTEOk0ErrorMaxBufferLen1ErrorStringLen2Error3FB_StreamBuffer - 128 - - _PointerToStringBuffer - BYTE - 32 - 32 - - - _BufferSize - UDINT - 32 - 64 - - - _Length - UDINT - 32 - 96 - - - CutOff - T_MaxString - 2048 - - StartPos - UDINT - 32 - - - CutLen - UDINT - 32 - - - ItemType - Output - - - - - XmlError - E_XmlError - 8 - - - ItemType - Output - - - - - Loop - UDINT - 32 - - - PointerToByteToCut - BYTE - 32 - - - PointerToByteBuffer - BYTE - 32 - - - - Find - UDINT - 32 - - SearchString - STRING(80) - 648 - - - StartPos - UDINT - 32 - - - Loop - UDINT - 32 - - - Search - UDINT - 32 - - - PointerToBuffer - BYTE - 32 - - - PointerToSearch - BYTE - 32 - - - - FindBack - UDINT - 32 - - SearchString - T_MaxString - 2048 - - - Loop - UDINT - 32 - - - Search - UDINT - 32 - - - PointerToBuffer - BYTE - 32 - - - PointerToSearch - BYTE - 32 - - - - __getLength - UDINT - 32 - - Length - UDINT - 32 - - - - property - - - - - Clear - - Count - UDINT - 32 - - - - __setAppend - - Append - +]]>128_PointerToStringBufferBYTE3232_BufferSizeUDINT3264_LengthUDINT3296CutOffT_MaxString2048StartPosUDINT32CutLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCutBYTE32PointerToByteBufferBYTE32FindUDINT32SearchStringSTRING(80)648StartPosUDINT32LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32FindBackUDINT32SearchStringT_MaxString2048LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32__getLengthUDINT32LengthUDINT32propertyClearCountUDINT32__setAppendAppend - T_MaxString - 2048 - - - ByteIn - BYTE - 32 - - - ByteBuffer - BYTE - 32 - - - - property - - - - - __getBufferSize - UDINT - 32 - - BufferSize - UDINT - 32 - - - - property - - - - - __setLength - - Length - +]]>T_MaxString2048ByteInBYTE32ByteBufferBYTE32property__getBufferSizeUDINT32BufferSizeUDINT32property__setLengthLength - UDINT - 32 - - - - property - - - - - SetBuffer - BOOL - 8 - - PointerToBufferAddress - Set buffer address (ADR ...) - BYTE - 32 - - - SizeOfBuffer - Set buffer size (SIZEOF ...) - UDINT - 32 - - - - Copy - T_MaxString - 2048 - - StartPos - UDINT - 32 - - - EndPos - UDINT - 32 - - - CopyLen - UDINT - 32 - - - ItemType - Output - - - - - XmlError - E_XmlError - 8 - - - ItemType - Output - - - - - Loop - UDINT - 32 - - - PointerToByteToCopy - BYTE - 32 - - - PointerToBuffer - BYTE - 32 - - - CurPos - UDINT - 32 - - - - - PouType - FunctionBlock - - - - - FB_XmlControl - +]]>UDINT32propertySetBufferBOOL8PointerToBufferAddressBYTE32SizeOfBufferUDINT32CopyT_MaxString2048StartPosUDINT32EndPosUDINT32CopyLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCopyBYTE32PointerToBufferBYTE32CurPosUDINT32PouTypeFunctionBlockFB_XmlControl - 5696 - - XmlBuffer - FB_StreamBuffer - 128 - 32 - - - TagListBuffer - FB_StreamBuffer - 128 - 160 - - - Tags - T_MaxString - 2048 - 288 - - - TagListSeekBuffer - FB_StreamBuffer - 128 - 2336 - - - TagsSeek - STRING(80) - 648 - 2464 - - - TagBuffer - FB_StreamBuffer - 128 - 3136 - - - Tag - T_MaxString - 2048 - 3264 - - - TagOpen - BOOL - 8 - 5312 - - - Select - UDINT - 32 - 5344 - - - SearchPosition - UDINT - 32 - 5376 - - - TAG_OPEN - STRING(1) - 16 - 5408 - - < - - - - TAG_CLOSE - STRING(1) - 16 - 5424 - - > - - - - END_TAG_CLOSE - STRING(2) - 24 - 5440 - - /> - - - - SPACE - STRING(1) - 16 - 5464 - - - - - - EQUALS - STRING(1) - 16 - 5480 - - = - - - - QUOTE - STRING(1) - 16 - 5496 - - " - - - - BACK_SLASH - STRING(1) - 16 - 5512 - - \ - - - - FORWARD_SLASH - STRING(1) - 16 - 5528 - - / - - - - OPEN_COMMENT - STRING(5) - 48 - 5544 - - <!-- - - - - CLOSE_COMMENT - STRING(4) - 40 - 5592 - - --> - - - - TAB - STRING(2) - 24 - 5632 - - - - - - CR_LF - STRING(4) - 40 - 5656 - - - - - - - NewParameter - - Name - T_MaxString - 2048 - - - Value - T_MaxString - 2048 - - - - NewTag - - Name - T_MaxString - 2048 - - - - CloseTag - T_MaxString - 2048 - - ClosedTag - T_MaxString - 2048 - - - - WriteDocumentHeader - - Header - T_MaxString - 2048 - - - - NewComment - - Comment - T_MaxString - 2048 - - - - __getLength - UDINT - 32 - - Length - UDINT - 32 - - - - property - - - - - NewTagData - - Data - T_MaxString - 2048 - - - - SetBuffer - - PointerToBuffer - ADR(..) - BYTE - 32 - - - SizeOfBuffer - SIZEOF(..) - UDINT - 32 - - - - ClearBuffer - - - ToStartBuffer - - - - PouType - FunctionBlock - - - - - FB_xUnitXmlPublisher - +]]>5696XmlBufferFB_StreamBuffer12832TagListBufferFB_StreamBuffer128160TagsT_MaxString2048288TagListSeekBufferFB_StreamBuffer1282336TagsSeekSTRING(80)6482464TagBufferFB_StreamBuffer1283136TagT_MaxString20483264TagOpenBOOL85312SelectUDINT325344SearchPositionUDINT325376TAG_OPENSTRING(1)165408<TAG_CLOSESTRING(1)165424>END_TAG_CLOSESTRING(2)245440/>SPACESTRING(1)165464 EQUALSSTRING(1)165480=QUOTESTRING(1)165496"BACK_SLASHSTRING(1)165512\FORWARD_SLASHSTRING(1)165528/OPEN_COMMENTSTRING(5)485544<!-- CLOSE_COMMENTSTRING(4)405592 -->TABSTRING(2)245632 CR_LFSTRING(4)405656 +NewParameterNameT_MaxString2048ValueT_MaxString2048NewTagNameT_MaxString2048CloseTagT_MaxString2048ClosedTagT_MaxString2048WriteDocumentHeaderHeaderT_MaxString2048NewCommentCommentT_MaxString2048__getLengthUDINT32LengthUDINT32propertyNewTagDataDataT_MaxString2048SetBufferPointerToBufferBYTE32SizeOfBufferUDINT32ClearBufferToStartBufferPouTypeFunctionBlockFB_xUnitXmlPublisher - 530304 - I_TestResultLogger - - TestResults - I_TestResults - Dependancy Injection via FB_Init - 32 - 64 - - - AccessMode - ACCESS_MODE - File access mode - 32 - 96 - - 4 - - - - File - FB_FileControl - 96 - 128 - - - Xml - FB_XmlControl - 5696 - 224 - - - BufferInitialised - BOOL - 8 - 5920 - - 0 - - - - Buffer - BYTE - - 0 - 65535 - - 524280 - 5928 - - - WritingTestSuiteResultNumber - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - 530208 - - - PublishTrigger - R_TRIG - 64 - 530240 - - - DeleteOpenWriteClose - RTS_IEC_RESULT - 32 - - - LogTestSuiteResults - - UnitTestResults - ST_TestSuiteResults - 32 - - - CurrentSuiteNumber - UINT - 16 - - - CurrentTestCount - UINT - 16 - - - TEST_STATUS_SKIP - STRING(80) - 648 - - - TEST_STATUS_PASS - STRING(80) - 648 - - - TEST_STATUS_FAIL - STRING(80) - 648 - - - - Initialised - BOOL - 8 - - - - PouType - FunctionBlock - - - - - FB_TcUnitRunner - +]]>530304I_TestResultLoggerTestResultsI_TestResults3264AccessModeACCESS_MODE32964FileFB_FileControl96128XmlFB_XmlControl5696224BufferInitialisedBOOL859200BufferBYTE0655355242805928WritingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16530208PublishTriggerR_TRIG64530240DeleteOpenWriteCloseRTS_IEC_RESULT32LogTestSuiteResultsUnitTestResultsST_TestSuiteResults32CurrentSuiteNumberUINT16CurrentTestCountUINT16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648InitialisedBOOL8PouTypeFunctionBlockFB_TcUnitRunner - 311179200 - - AllTestSuitesFinished - BOOL - Indication of whether all test suites have reported that they are finished - 8 - 32 - - 0 - - - - TestResults - FB_TestResults - Test result information - 310648256 - 64 - - - AdsTestResultLogger - FB_AdsTestResultLogger - Prints the results to ADS so that Visual Studio can display the results. - This test result formatter can be replaced with something else than ADS - 224 - 310648320 - - - old_input_assignments - - - - - TestResultLogger - I_TestResultLogger - 32 - 310648544 - - - AbortRunningTestSuites - BOOL - If this flag is set, it means that some external event triggered the - request to abort running the test suites - 8 - 310648576 - - - xUnitXmlPublisher - FB_xUnitXmlPublisher - Publishes a xUnit compatible XML file - 530304 - 310648608 - - - old_input_assignments - - - - - XmlTestResultPublisher - I_TestResultLogger - 32 - 311178912 - - - __RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE - UINT - This variable holds which current test suite is being called, as we are running - each one in a sequence (one by one) - 16 - 311178944 - - 1 - - - - __RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES - TOF - 224 - 311178976 - - - AbortRunningTestSuiteTests - - - RunTestSuiteTestsInSequence - - TimeBetweenTestSuitesExecution - Time delay between a test suite is finished and the next test suite starts - TIME - 32 - - - BusyPrinting - BOOL - 8 - - - NumberOfTestSuitesFinished - We need to hold a temporary state of the statistics +]]>311179200AllTestSuitesFinishedBOOL8320TestResultsFB_TestResults31064825664AdsTestResultLoggerFB_AdsTestResultLogger224310648320old_input_assignmentsTestResultLoggerI_TestResultLogger32310648544AbortRunningTestSuitesBOOL8310648576xUnitXmlPublisherFB_xUnitXmlPublisher530304310648608old_input_assignmentsXmlTestResultPublisherI_TestResultLogger32311178912__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITEUINT163111789441__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITESTOF224311178976AbortRunningTestSuiteTestsRunTestSuiteTestsInSequenceTimeBetweenTestSuitesExecutionTIME32BusyPrintingBOOL8NumberOfTestSuitesFinished - UINT - 16 - - - CurrentlyRunningTestSuite - This variable holds which current test suite is being called, as we are running - each one in a sequence (one by one) - UINT - 16 - - - uselocation - __RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE - - - - - TimerBetweenExecutionOfTestSuites - TOF - 224 - - - uselocation - __RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES - - - - - - RunTestSuiteTests - - Counter - UINT - 16 - - - BusyPrinting - BOOL - 8 - - - NumberOfTestSuitesFinished - We need to hold a temporary state of the statistics + are finished (which might take many cycles), do we gather correct statistics ]]>UINT16CurrentlyRunningTestSuiteUINT16uselocation__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITETimerBetweenExecutionOfTestSuitesTOF224uselocation__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITESRunTestSuiteTestsCounterUINT16BusyPrintingBOOL8NumberOfTestSuitesFinished - UINT - 16 - - - - - PouType - FunctionBlock - - - - - FB_Test - + are finished (which might take many cycles), do we gather correct statistics ]]>UINT16PouTypeFunctionBlockFB_Test - 4192 - - TestName - T_MaxString - 2048 - 32 - - - TestIsFinished - BOOL - 8 - 2080 - - - TestIsSkipped - BOOL - This is set to true, if test is disabled (by putting the string "disabled_" in front of the test name - 8 - 2088 - - - NumberOfAssertions - UINT - 16 - 2096 - - - TestOrderNumber - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - In which order/sequence relative to the order tests should this test be executed/evaluated. +]]>4192TestNameT_MaxString204832TestIsFinishedBOOL82080TestIsSkippedBOOL82088NumberOfAssertionsUINT162096TestOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - 2112 - - - TestIsFailed - BOOL - Indication of whether this test has at least one failed assert - 8 - 2128 - - - AssertionMessage - T_MaxString - Assertion message for the first assertion in this test - 2048 - 2136 - - - AssertionType - E_AssertionType - Assertion type for the first assertion in this test - 8 - 4184 - - - GetAssertionType - E_AssertionType - 8 - - - SetFailed - - - SetName - - Name - T_MaxString - 2048 - - - - GetName - T_MaxString - 2048 - - - SetNumberOfAssertions - - NoOfAssertions - UINT - 16 - - - - SetTestOrder - - OrderNumber - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - - IsSkipped - BOOL - 8 - - - GetNumberOfAssertions - UINT - 16 - - - SetFinished - BOOL - 8 - - - GetAssertionMessage - T_MaxString - 2048 - - - SetSkipped - - - SetAssertionMessage - - AssertMessage - T_MaxString - 2048 - - - - SetAssertionType - - AssertType - E_AssertionType - 8 - - - - IsFinished - BOOL - 8 - - - GetTestOrder - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - IsFailed - BOOL - 8 - - - - PouType - FunctionBlock - - - - - UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - UINT - - - LowerBorder - 1 - - - UpperBorder - 100 - - - - - TYPE_CLASS - 32 - DWORD - - TYPE_BOOL - 0 - - - TYPE_BIT - 1 - - - TYPE_BYTE - 2 - - - TYPE_WORD - 3 - - - TYPE_DWORD - 4 - - - TYPE_LWORD - 5 - - - TYPE_SINT - 6 - - - TYPE_INT - 7 - - - TYPE_DINT - 8 - - - TYPE_LINT - 9 - - - TYPE_USINT - 10 - - - TYPE_UINT - 11 - - - TYPE_UDINT - 12 - - - TYPE_ULINT - 13 - - - TYPE_REAL - 14 - - - TYPE_LREAL - 15 - - - TYPE_STRING - 16 - - - TYPE_WSTRING - 17 - - - TYPE_TIME - 18 - - - TYPE_DATE - 19 - - - TYPE_DATEANDTIME - 20 - - - TYPE_TIMEOFDAY - 21 - - - TYPE_POINTER - 22 - - - TYPE_REFERENCE - 23 - - - TYPE_SUBRANGE - 24 - - - TYPE_ENUM - 25 - - - TYPE_ARRAY - 26 - - - TYPE_PARAMS - 27 - - - TYPE_USERDEF - 28 - - - TYPE_NONE - 29 - - - TYPE_ANY - 30 - - - TYPE_ANYBIT - 31 - - - TYPE_ANYDATE - 32 - - - TYPE_ANYINT - 33 - - - TYPE_ANYNUM - 34 - - - TYPE_ANYREAL - 35 - - - TYPE_LAZY - 36 - - - TYPE_LTIME - 37 - - - TYPE_BITCONST - 38 - - - - AnyType - 96 - - pValue - BYTE - 32 - 0 - - - diSize - DINT - 32 - 32 - - - TypeClass - TYPE_CLASS - 32 - 64 - - - - linkalways - - - - - FW_GetCurTaskIndex - 64 - - nIndex - BYTE - 8 - 32 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - conditionalshow - - - - - GETCURTASKINDEX - This function block GETCURTASKINDEX finds the task index of the task from which it is called. - 128 - - index - BYTE - Returns the current task index of the calling task. - 8 - 32 - - - ItemType - Output - - - - - fbGetCurTaskIndex - FW_GetCurTaskIndex - 64 - 64 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - E_ArgType - 16 - INT - - ARGTYPE_UNKNOWN - 0 - - - ARGTYPE_BYTE - 1 - - - ARGTYPE_WORD - 2 - - - ARGTYPE_DWORD - 3 - - - ARGTYPE_REAL - 4 - - - ARGTYPE_LREAL - 5 - - - ARGTYPE_SINT - 6 - - - ARGTYPE_INT - 7 - - - ARGTYPE_DINT - 8 - - - ARGTYPE_USINT - 9 - - - ARGTYPE_UINT - 10 - - - ARGTYPE_UDINT - 11 - - - ARGTYPE_STRING - 12 - string of type T_MaxString! - - - ARGTYPE_BOOL - 13 - - - ARGTYPE_BIGTYPE - 14 - byte buffer - - - ARGTYPE_ULARGE - 15 - unsigned 64 bit ingeger (T_ULARGE_INTEGER, ULINT) - - - ARGTYPE_UHUGE - 16 - unsigned 128 bit integer (T_UHUGE_INTEGER) - - - ARGTYPE_LARGE - 17 - signed 64 bit integer (T_LARGE_INTEGER, LINT) - - - ARGTYPE_HUGE - 18 - signed 128 bit integer (T_HUGE_INTEGER) - - - ARGTYPE_LWORD - 19 - LWORD value - - - - T_Arg - Argument type - 96 - - eType - E_ArgType - Argument data type - 16 - 0 - - 0 - - - - cbLen - UDINT - Argument data byte length (if eType = ARGTYPE_STRING => cbLen = length of string + 1 (null delimiter). - 32 - 32 - - 0 - - - - pData - PVOID - Pointer to first argument data byte - 32 - 64 - - 0 - - - - - E_TypeFieldParam - 16 - INT - - TYPEFIELD_UNKNOWN - 0 - Unknown/not set - - - TYPEFIELD_B - 1 - b or B: binary number - - - TYPEFIELD_O - 2 - o or O: octal number - - - TYPEFIELD_U - 3 - u or U: unsigned decimal number - - - TYPEFIELD_C - 4 - c or C: one ASCII character - - - TYPEFIELD_F - 5 - f or F: float number ( normalized format ) - - - TYPEFIELD_D - 6 - d or D: signed decimal number - - - TYPEFIELD_S - 7 - s or S: string - - - TYPEFIELD_XU - 8 - X: hecadecimal number (upper case characters ) - - - TYPEFIELD_XL - 9 - x: hecadecimal number (lower case characters ) - - - TYPEFIELD_EU - 10 - E: float number ( scientific format ) - - - TYPEFIELD_EL - 11 - e: float number ( scientific format ) - - - - ST_FormatParameters - 160 - - bPercent - BOOL - 8 - 0 - - - bFlags - BOOL - 8 - 8 - - - bWidth - BOOL - 8 - 16 - - - bDot - BOOL - 8 - 24 - - - bPrecision - BOOL - 8 - 32 - - - bType - BOOL - 8 - 40 - - - bAlign - BOOL - Default :Right align - 8 - 48 - - - bSign - BOOL - Default: Sign only for negative values - 8 - 56 - - - bNull - BOOL - Default: No padding - 8 - 64 - - - bBlank - BOOL - Default: No blanks - 8 - 72 - - - bHash - BOOL - Default: No blanks - 8 - 80 - - - iWidth - INT - 16 - 96 - - - iPrecision - INT - 16 - 112 - - - bWidthAsterisk - BOOL - 8 - 128 - - - bPrecisionAsterisk - BOOL - 8 - 136 - - - eType - E_TypeFieldParam - format type parameter - 16 - 144 - - - - conditionalshow - - - - - FB_FormatString - Converts and formats up to 10 T_Arg values to string - 7840 - - sFormat - T_MaxString - Format string - 2048 - 32 - - - ItemType - Input - - - - - arg1 - T_Arg - Format argument 1, use F_INT, F_UINT; F_WORD, F_DWORD, F_LREAL... functions to initialize the argument inputs - 96 - 2080 - - - ItemType - Input - - - - - arg2 - T_Arg - Format argument 2 - 96 - 2176 - - - ItemType - Input - - - - - arg3 - T_Arg - Format argument 3 - 96 - 2272 - - - ItemType - Input - - - - - arg4 - T_Arg - Format argument 4 - 96 - 2368 - - - ItemType - Input - - - - - arg5 - T_Arg - Format argument 5 - 96 - 2464 - - - ItemType - Input - - - - - arg6 - T_Arg - Format argument 6 - 96 - 2560 - - - ItemType - Input - - - - - arg7 - T_Arg - Format argument 7 - 96 - 2656 - - - ItemType - Input - - - - - arg8 - T_Arg - Format argument 8 - 96 - 2752 - - - ItemType - Input - - - - - arg9 - T_Arg - Format argument 9 - 96 - 2848 - - - ItemType - Input - - - - - arg10 - T_Arg - Format argument 10 - 96 - 2944 - - - ItemType - Input - - - - - bError - BOOL - TRUE => error, FALSE => no error - 8 - 3040 - - - ItemType - Output - - - - - nErrId - UDINT - Error code - 32 - 3072 - - - ItemType - Output - - - - - sOut - T_MaxString - Output stirng - 2048 - 3104 - - - ItemType - Output - - - - - pFormat - BYTE - 32 - 5152 - - 0 - - - - conditionalshow - - - - - pOut - BYTE - 32 - 5184 - - 0 - - - - conditionalshow - - - - - iRemOutLen - INT - 16 - 5216 - - - conditionalshow - - - - - bValid - BOOL - 8 - 5232 - - - conditionalshow - - - - - stFmt - ST_FormatParameters - 160 - 5248 - - - conditionalshow - - - - - nArrayElem - INT - 16 - 5408 - - - conditionalshow - - - - - nArgument - UDINT - 32 - 5440 - - - conditionalshow - - - - - parArgs - T_Arg - - 1 - 10 - - 320 - 5472 - - - conditionalshow - - - - - sArgStr - T_MaxString - 2048 - 5792 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - TypeClass - 16 - INT - - TYPE_BOOL - 0 - - - TYPE_BIT - 1 - - - TYPE_BYTE - 2 - - - TYPE_WORD - 3 - - - TYPE_DWORD - 4 - - - TYPE_LWORD - 5 - - - TYPE_SINT - 6 - - - TYPE_INT - 7 - - - TYPE_DINT - 8 - - - TYPE_LINT - 9 - - - TYPE_USINT - 10 - - - TYPE_UINT - 11 - - - TYPE_UDINT - 12 - - - TYPE_ULINT - 13 - - - TYPE_REAL - 14 - - - TYPE_LREAL - 15 - - - TYPE_STRING - 16 - - - TYPE_WSTRING - 17 - - - TYPE_TIME - 18 - - - TYPE_DATE - 19 - - - TYPE_DATEANDTIME - 20 - - - TYPE_TIMEOFDAY - 21 - - - TYPE_POINTER - 22 - - - TYPE_REFERENCE - 23 - - - TYPE_SUBRANGE - 24 - - - TYPE_ENUM - 25 - - - TYPE_ARRAY - 26 - - - TYPE_PARAMS - 27 - - - TYPE_USERDEF - 28 - - - TYPE_NONE - 29 - - - TYPE_ANY - 30 - - - TYPE_ANYBIT - 31 - - - TYPE_ANYDATE - 32 - - - TYPE_ANYINT - 33 - - - TYPE_ANYNUM - 34 - - - TYPE_ANYREAL - 35 - - - TYPE_LAZY - 36 - - - TYPE_LTIME - 37 - - - TYPE_BITCONST - 38 - - - TYPE_INTERFACE - -4096 - - - - U_ExpectedOrActual - 4096 - - boolExpectedOrActual - BOOL - 8 - 0 - - - bitExpectedOrActual - BIT - 8 - 0 - - - byteExpectedOrActual - BYTE - 8 - 0 - - - sintExpectedOrActual - SINT - 8 - 0 - - - usintExpectedOrActual - USINT - 8 - 0 - - - intExpectedOrActual - INT - 16 - 0 - - - uintExpectedOrActual - UINT - 16 - 0 - - - wordExpectedOrActual - WORD - 16 - 0 - - - dwordExpectedOrActual - DWORD - 32 - 0 - - - dateandtimeExpectedOrActual - DATE_AND_TIME - 32 - 0 - - - dintExpectedOrActual - DINT - 32 - 0 - - - realExpectedOrActual - REAL - 32 - 0 - - - timeExpectedOrActual - TIME - 32 - 0 - - - dateExpectedOrActual - DATE - 32 - 0 - - - udintExpectedOrActual - UDINT - 32 - 0 - - - timeofdayExpectedOrActual - TIME_OF_DAY - 32 - 0 - - - lwordExpectedOrActual - LWORD - 64 - 0 - - - lintExpectedOrActual - LINT - 64 - 0 - - - ulintExpectedOrActual - ULINT - 64 - 0 - - - lrealExpectedOrActual - LREAL - 64 - 0 - - - ltimeExpectedOrActual - LTIME - 64 - 0 - - - stringExpectedOrActual - T_MaxString - 2048 - 0 - - - wstringExpectedOrActual - WSTRING(255) - 4096 - 0 - - - - ST_AssertResult - 12288 - - Expected - U_ExpectedOrActual - 4096 - 0 - - - Actual - U_ExpectedOrActual - 4096 - 4096 - - - Message - T_MaxString - 2048 - 8192 - - - TestInstancePath - T_MaxString - 2048 - 10240 - - - - ST_AssertResultInstances - 12352 - - AssertResult - ST_AssertResult - 12288 - 0 - - - DetectionCount - UINT - Number of instances of the "AssertResult" - 16 - 12288 - - - DetectionCountThisCycle - UINT - Number of instance of the "AssertResult" in this specific PLC-cycle - 16 - 12304 - - - - FB_AssertResultStatic - + A value <> 0 tells in which order this test will be executed/evaluated. The lower the number, the earlier it will execute. ]]>162112TestIsFailedBOOL82128AssertionMessageT_MaxString20482136AssertionTypeE_AssertionType84184GetAssertionTypeE_AssertionType8SetFailedSetNameNameT_MaxString2048GetNameT_MaxString2048SetNumberOfAssertionsNoOfAssertionsUINT16SetTestOrderOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16IsSkippedBOOL8GetNumberOfAssertionsUINT16SetFinishedBOOL8GetAssertionMessageT_MaxString2048SetSkippedSetAssertionMessageAssertMessageT_MaxString2048SetAssertionTypeAssertTypeE_AssertionType8IsFinishedBOOL8GetTestOrderUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16IsFailedBOOL8PouTypeFunctionBlockUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100TYPE_CLASS32DWORDTYPE_BOOL0TYPE_BIT1TYPE_BYTE2TYPE_WORD3TYPE_DWORD4TYPE_LWORD5TYPE_SINT6TYPE_INT7TYPE_DINT8TYPE_LINT9TYPE_USINT10TYPE_UINT11TYPE_UDINT12TYPE_ULINT13TYPE_REAL14TYPE_LREAL15TYPE_STRING16TYPE_WSTRING17TYPE_TIME18TYPE_DATE19TYPE_DATEANDTIME20TYPE_TIMEOFDAY21TYPE_POINTER22TYPE_REFERENCE23TYPE_SUBRANGE24TYPE_ENUM25TYPE_ARRAY26TYPE_PARAMS27TYPE_USERDEF28TYPE_NONE29TYPE_ANY30TYPE_ANYBIT31TYPE_ANYDATE32TYPE_ANYINT33TYPE_ANYNUM34TYPE_ANYREAL35TYPE_LAZY36TYPE_LTIME37TYPE_BITCONST38AnyType96pValueBYTE320diSizeDINT3232TypeClassTYPE_CLASS3264linkalwaysFW_GetCurTaskIndex64nIndexBYTE832ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX128indexBYTE832ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex6464conditionalshowPouTypeFunctionBlockconditionalshow_all_localsE_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg96eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID32640E_TypeFieldParam16INTTYPEFIELD_UNKNOWN0TYPEFIELD_B1TYPEFIELD_O2TYPEFIELD_U3TYPEFIELD_C4TYPEFIELD_F5TYPEFIELD_D6TYPEFIELD_S7TYPEFIELD_XU8TYPEFIELD_XL9TYPEFIELD_EU10TYPEFIELD_EL11ST_FormatParameters160bPercentBOOL80bFlagsBOOL88bWidthBOOL816bDotBOOL824bPrecisionBOOL832bTypeBOOL840bAlignBOOL848bSignBOOL856bNullBOOL864bBlankBOOL872bHashBOOL880iWidthINT1696iPrecisionINT16112bWidthAsteriskBOOL8128bPrecisionAsteriskBOOL8136eTypeE_TypeFieldParam16144conditionalshowFB_FormatString7840sFormatT_MaxString204832ItemTypeInputarg1T_Arg962080ItemTypeInputarg2T_Arg962176ItemTypeInputarg3T_Arg962272ItemTypeInputarg4T_Arg962368ItemTypeInputarg5T_Arg962464ItemTypeInputarg6T_Arg962560ItemTypeInputarg7T_Arg962656ItemTypeInputarg8T_Arg962752ItemTypeInputarg9T_Arg962848ItemTypeInputarg10T_Arg962944ItemTypeInputbErrorBOOL error, FALSE => no error ]]>83040ItemTypeOutputnErrIdUDINT323072ItemTypeOutputsOutT_MaxString20483104ItemTypeOutputpFormatBYTE3251520conditionalshowpOutBYTE3251840conditionalshowiRemOutLenINT165216conditionalshowbValidBOOL85232conditionalshowstFmtST_FormatParameters1605248conditionalshownArrayElemINT165408conditionalshownArgumentUDINT325440conditionalshowparArgsT_Arg1103205472conditionalshowsArgStrT_MaxString20485792conditionalshowPouTypeFunctionBlockconditionalshow_all_localsTypeClass16INTTYPE_BOOL0TYPE_BIT1TYPE_BYTE2TYPE_WORD3TYPE_DWORD4TYPE_LWORD5TYPE_SINT6TYPE_INT7TYPE_DINT8TYPE_LINT9TYPE_USINT10TYPE_UINT11TYPE_UDINT12TYPE_ULINT13TYPE_REAL14TYPE_LREAL15TYPE_STRING16TYPE_WSTRING17TYPE_TIME18TYPE_DATE19TYPE_DATEANDTIME20TYPE_TIMEOFDAY21TYPE_POINTER22TYPE_REFERENCE23TYPE_SUBRANGE24TYPE_ENUM25TYPE_ARRAY26TYPE_PARAMS27TYPE_USERDEF28TYPE_NONE29TYPE_ANY30TYPE_ANYBIT31TYPE_ANYDATE32TYPE_ANYINT33TYPE_ANYNUM34TYPE_ANYREAL35TYPE_LAZY36TYPE_LTIME37TYPE_BITCONST38TYPE_INTERFACE-4096U_ExpectedOrActual4096boolExpectedOrActualBOOL80bitExpectedOrActualBIT80byteExpectedOrActualBYTE80sintExpectedOrActualSINT80usintExpectedOrActualUSINT80intExpectedOrActualINT160uintExpectedOrActualUINT160wordExpectedOrActualWORD160dwordExpectedOrActualDWORD320dateandtimeExpectedOrActualDATE_AND_TIME320dintExpectedOrActualDINT320realExpectedOrActualREAL320timeExpectedOrActualTIME320dateExpectedOrActualDATE320udintExpectedOrActualUDINT320timeofdayExpectedOrActualTIME_OF_DAY320lwordExpectedOrActualLWORD640lintExpectedOrActualLINT640ulintExpectedOrActualULINT640lrealExpectedOrActualLREAL640ltimeExpectedOrActualLTIME640stringExpectedOrActualT_MaxString20480wstringExpectedOrActualWSTRING(255)40960ST_AssertResult12288ExpectedU_ExpectedOrActual40960ActualU_ExpectedOrActual40964096MessageT_MaxString20488192TestInstancePathT_MaxString204810240ST_AssertResultInstances12352AssertResultST_AssertResult122880DetectionCountUINT1612288DetectionCountThisCycleUINT1612304FB_AssertResultStatic - 24640320 - - AssertResults - ST_AssertResult - - 1 - 1000 - - The total number of instances of each of the "AssertResults" - 12288000 - 64 - - - TotalAsserts - UINT - The total number of unique asserts - 16 - 12288064 - - 0 - - - - GetCurrentTaskIndex - GETCURTASKINDEX - Function block to get the current task cycle - 128 - 12288096 - - - AssertResultInstances - ST_AssertResultInstances - - 1 - 1000 - - The total number of instances of each of the "AssertResults" - 12352000 - 12288256 - - - CycleCount - UDINT - The last PLC cycle count - 32 - 24640256 - - - FirstCycleExecuted - BOOL - Only run first cycle - 8 - 24640288 - - - CopyDetectionCountAndResetDetectionCountInThisCycle - - IteratorCounter - UINT - 16 - - - - GetNumberOfAssertsForTest - UINT - 16 - - CompleteTestInstancePath - T_MaxString - 2048 - - - Counter - UINT - 16 - - - NumberOfAsserts - UINT - 16 - - - - CreateAssertResultInstance - - ExpectedSize - UDINT - 32 - - - ExpectedTypeClass - TypeClass - 16 - - - ExpectedValue - BYTE - 32 - - - ActualSize - UDINT - 32 - - - ActualTypeClass - TypeClass - 16 - - - ActualValue - BYTE - 32 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - - GetDetectionCountThisCycle - UINT - 16 - - ExpectedSize - UDINT - 32 - - - ExpectedTypeClass - TypeClass - 16 - - - ExpectedValue - BYTE - 32 - - - ActualSize - UDINT - 32 - - - ActualTypeClass - TypeClass - 16 - - - ActualValue - BYTE - 32 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - - GetDetectionCount - UINT - 16 - - ExpectedSize - UDINT - 32 - - - ExpectedTypeClass - TypeClass - 16 - - - ExpectedValue - BYTE - 32 - - - ActualSize - UDINT - 32 - - - ActualTypeClass - TypeClass - 16 - - - ActualValue - BYTE - 32 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - - ReportResult - - ExpectedSize - UDINT - 32 - - - ExpectedTypeClass - TypeClass - 16 - - - ExpectedValue - BYTE - 32 - - - ActualSize - UDINT - 32 - - - ActualTypeClass - TypeClass - 16 - - - ActualValue - BYTE - 32 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - ItemType - Output - - - - - LocationIndex - UINT - 16 - - - DataTypesNotEquals - BOOL - 8 - - - DataSizeNotEquals - BOOL - 8 - - - DataContentNotEquals - BOOL - 8 - - - CurrentCycleCount - UDINT - 32 - - - IteratorCounter - UINT - 16 - - - DetectionCountTemp - UINT - 16 - - - FoundOne - BOOL - 8 - - - AdditionalIdenticalAssert - BOOL - 8 - - - - AddAssertResult - - ExpectedSize - UDINT - 32 - - - ExpectedTypeClass - TypeClass - 16 - - - ExpectedValue - BYTE - 32 - - - ActualSize - UDINT - 32 - - - ActualTypeClass - TypeClass - 16 - - - ActualValue - BYTE - 32 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - - - PouType - FunctionBlock - - - - - ST_AssertArrayResult - 4224 - - ExpectedsSize - UDINT - Size in bytes of the expecteds-array - 32 - 0 - - - ExpectedsTypeClass - TypeClass - The data type of the expecteds-array - 16 - 32 - - - ActualsSize - UDINT - Size in bytes of the actuals-array - 32 - 64 - - - ActualsTypeClass - TypeClass - The data type of the actuals-array - 16 - 96 - - - Message - T_MaxString - 2048 - 112 - - - TestInstancePath - T_MaxString - 2048 - 2160 - - - - ST_AssertArrayResultInstances - 4256 - - AssertArrayResult - ST_AssertArrayResult - 4224 - 0 - - - DetectionCount - UINT - Number of instances of the "AssertArrayResult" - 16 - 4224 - - - DetectionCountThisCycle - UINT - Number of instance of the "AssertArrayResult" in this specific PLC-cycle - 16 - 4240 - - - - FB_AssertArrayResultStatic - +]]>24640320AssertResultsST_AssertResult110001228800064TotalAssertsUINT16122880640GetCurrentTaskIndexGETCURTASKINDEX12812288096AssertResultInstancesST_AssertResultInstances110001235200012288256CycleCountUDINT3224640256FirstCycleExecutedBOOL824640288CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16GetNumberOfAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfAssertsUINT16CreateAssertResultInstanceExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8AddAssertResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockST_AssertArrayResult4224ExpectedsSizeUDINT320ExpectedsTypeClassTypeClass1632ActualsSizeUDINT3264ActualsTypeClassTypeClass1696MessageT_MaxString2048112TestInstancePathT_MaxString20482160ST_AssertArrayResultInstances4256AssertArrayResultST_AssertArrayResult42240DetectionCountUINT164224DetectionCountThisCycleUINT164240FB_AssertArrayResultStatic - 8480256 - - AssertArrayResults - ST_AssertArrayResult - - 1 - 1000 - - The total number of instances of each of the "AssertArrayResults" - 4224000 - 32 - - - TotalArrayAsserts - UINT - The total number of unique asserts - 16 - 4224032 - - 0 - - - - GetCurrentTaskIndex - GETCURTASKINDEX - Function block to get the current task cycle - 128 - 4224064 - - - AssertArrayResultInstances - ST_AssertArrayResultInstances - - 1 - 1000 - - The total number of instances of each of the "AssertArrayResults" - 4256000 - 4224192 - - - CycleCount - UDINT - The last PLC cycle count - 32 - 8480192 - - - FirstCycleExecuted - BOOL - Only run first cycle - 8 - 8480224 - - - CreateAssertResultInstance - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - - GetDetectionCountThisCycle - UINT - 16 - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - - GetDetectionCount - UINT - 16 - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - - ReportResult - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - ItemType - Output - - - - - LocationIndex - UINT - 16 - - - DataTypesNotEquals - BOOL - 8 - - - DataSizeNotEquals - BOOL - 8 - - - DataContentNotEquals - BOOL - 8 - - - CurrentCycleCount - UDINT - 32 - - - IteratorCounter - UINT - 16 - - - DetectionCountTemp - UINT - 16 - - - FoundOne - BOOL - 8 - - - AdditionalIdenticalAssert - BOOL - 8 - - - - GetNumberOfArrayAssertsForTest - UINT - 16 - - CompleteTestInstancePath - T_MaxString - 2048 - - - Counter - UINT - 16 - - - NumberOfArrayAsserts - UINT - 16 - - - - CopyDetectionCountAndResetDetectionCountInThisCycle - - IteratorCounter - UINT - 16 - - - - AddAssertArrayResult - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - - - PouType - FunctionBlock - - - - - I_AssertMessageFormatter - 32 - PVOID - - LogAssertFailure - - Expected - T_MaxString - 2048 - - - Actual - T_MaxString - 2048 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - - - FB_AdjustAssertFailureMessageToMax253CharLength - +]]>8480256AssertArrayResultsST_AssertArrayResult11000422400032TotalArrayAssertsUINT1642240320GetCurrentTaskIndexGETCURTASKINDEX1284224064AssertArrayResultInstancesST_AssertArrayResultInstances1100042560004224192CycleCountUDINT328480192FirstCycleExecutedBOOL88480224CreateAssertResultInstanceExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8GetNumberOfArrayAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfArrayAssertsUINT16CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16AddAssertArrayResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockI_AssertMessageFormatter32PVOIDLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048FB_AdjustAssertFailureMessageToMax253CharLength - 11584 - - MsgFmtString - T_MaxString - Test instance path - 2048 - 32 - - - ItemType - Input - - - - - StringArg - T_MaxString - Test message - 2048 - 2080 - - - ItemType - Input - - - - - MsgFmtStringProcessed - T_MaxString - 2048 - 4128 - - - ItemType - Output - - - - - StringArgProcessed - T_MaxString - 2048 - 6176 - - - ItemType - Output - - - - - MsgFmtStringTemp - T_MaxString - 2048 - 8224 - - - TestNameTooLong - STRING(80) - 648 - 10272 - - ...TestName too long - - - - TestMsgTooLong - STRING(80) - 648 - 10920 - - ...TestMsg too long - - - - MSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERS - INT - This is actually 254, but if StrArg-argument is used (which it is in TcUnit) it is 253. - 16 - 11568 - - 253 - - - - - PouType - FunctionBlock - - - - - FB_AdsAssertMessageFormatter - +]]>11584MsgFmtStringT_MaxString204832ItemTypeInputStringArgT_MaxString20482080ItemTypeInputMsgFmtStringProcessedT_MaxString20484128ItemTypeOutputStringArgProcessedT_MaxString20486176ItemTypeOutputMsgFmtStringTempT_MaxString20488224TestNameTooLongSTRING(80)64810272...TestName too longTestMsgTooLongSTRING(80)64810920...TestMsg too longMSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERSINT1611568253PouTypeFunctionBlockFB_AdsAssertMessageFormatter - 64 - I_AssertMessageFormatter - - LogAssertFailure - - Expected - T_MaxString - 2048 - - - Actual - T_MaxString - 2048 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AdjustAssertFailureMessageToMax253CharLength - FB_AdjustAssertFailureMessageToMax253CharLength - 11584 - - - TestInstancePathCleaned - T_MaxString - 2048 - - - TestInstancePathFinal - T_MaxString - 2048 - - - ReturnValue - DINT - 32 - - - TestInstancePathProcessed - T_MaxString - 2048 - - - MessageProcessed - T_MaxString - 2048 - - - - - PouType - FunctionBlock - - - - - FB_TestSuite - This function block is responsible for holding the internal state of the test suite. +]]>64I_AssertMessageFormatterLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AdjustAssertFailureMessageToMax253CharLengthFB_AdjustAssertFailureMessageToMax253CharLength11584TestInstancePathCleanedT_MaxString2048TestInstancePathFinalT_MaxString2048ReturnValueDINT32TestInstancePathProcessedT_MaxString2048MessageProcessedT_MaxString2048PouTypeFunctionBlockFB_TestSuite - 33551744 - - InstancePath - T_MaxString - 2048 - 32 - - - instance-path - - - noinit - - - - - GetCurrentTaskIndex - GETCURTASKINDEX - We need to have access to specific information of the current task that this test suite +]]>33551744InstancePathT_MaxString204832instance-pathnoinitGetCurrentTaskIndexGETCURTASKINDEX - 128 - 2080 - - - NumberOfTests - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - 2208 - - 0 - - - - Tests - FB_Test - - 1 - 100 - - 419200 - 2240 - - - TestDuplicateNameTrigger - R_TRIG - - 1 - 100 - - Rising trigger of whether we have already notified the user of that the test name pointed to by the current - position is a duplicate - 6400 - 421440 - - - TestCycleCountIndex - UDINT - - 1 - 100 - - Last cycle count index for a specific test. Used to detect whether this test has already been defined in the - current test suite - 3200 - 427840 - - - AssertResults - FB_AssertResultStatic - 24640320 - 431040 - - - AssertArrayResults - FB_AssertArrayResultStatic - 8480256 - 25071360 - - - AdsAssertMessageFormatter - FB_AdsAssertMessageFormatter - Prints the failed asserts to ADS so that Visual Studio can display the assert message. - This assert formatter can be replaced with something else than ADS - 64 - 33551616 - - - AssertMessageFormatter - I_AssertMessageFormatter - 32 - 33551680 - - - HasStartedRunning - BOOL - Indication whether this test suite has started running its tests - 8 - 33551712 - - - NumberOfOrderedTests - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - Number of ordered tests (created by TEST_ORDERED()) that this test suite contains - 16 - 33551728 - - - AssertEquals_LINT - - Expected - LINT expected value - LINT - 64 - - - Actual - LINT actual value - LINT - 64 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - GetNumberOfSuccessfulTests - UINT - 16 - - - AssertArrayEquals_ULINT - - Expecteds - ULINT array with expected values - ULINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - ULINT array with actual values - ULINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - FindTestSuiteInstancePath - T_MaxString - 2048 - - - AssertEquals_TIME - - Expected - TIME expected value - TIME - 32 - - - Actual - TIME actual value - TIME - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertEquals_TIME_OF_DAY - - Expected - TIME_OF_DAY expected value - TIME_OF_DAY - 32 - - - Actual - TIME_OF_DAY actual value - TIME_OF_DAY - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertEquals_BYTE - - Expected - BYTE expected value - BYTE - 8 - - - Actual - BYTE actual value - BYTE - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - GetNumberOfFailedTests - UINT - 16 - - Counter - UINT - 16 - - - FailedTestsCount - UINT - 16 - - - NumberOfTestsToAnalyse - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - - - NumberOfTestOverArrayLimit - UINT - 16 - - - - AssertEquals_DATE_AND_TIME - - Expected - DATE_AND_TIME expected value - DATE_AND_TIME - 32 - - - Actual - DATE_AND_TIME actual value - DATE_AND_TIME - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - GetTestByPosition - FB_Test - 4192 - - Position - UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - - AssertArrayEquals_BOOL - - Expecteds - BOOL array with expected values - BOOL - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - BOOL array with actual values - BOOL - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertArrayEquals_BYTE - - Expecteds - BYTE array with expected values - BYTE - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - BYTE array with actual values - BYTE - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedByteString - STRING(80) - 648 - - - ActualByteString - STRING(80) - 648 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertEquals_DATE - - Expected - DATE expected value - DATE - 32 - - - Actual - DATE actual value - DATE - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertEquals_WORD - - Expected - WORD expected value - WORD - 16 - - - Actual - WORD actual value - WORD - 16 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertArrayEquals_LINT - - Expecteds - LINT array with expected values - LINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - LINT array with actual values - LINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertEquals_LTIME - - Expected - LTIME expected value - LTIME - 64 - - - Actual - LTIME actual value - LTIME - 64 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertArrayEquals_UINT - - Expecteds - UINT array with expected values - UINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - UINT array with actual values - UINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertEquals_LREAL - - Expected - LREAL expected value - LREAL - 64 - - - Actual - LREAL actual value - LREAL - 64 - - - Delta - The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal - LREAL - 64 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertArrayEquals_LWORD - - Expecteds - LWORD array with expected values - LWORD - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - LWORD array with actual values - LWORD - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedLWordString - STRING(80) - 648 - - - ActualLWordString - STRING(80) - 648 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertEquals - - Expected - Expected value - AnyType - 96 - - - anytypeclass - ANY - - - - - Actual - The value to check against expected - AnyType - 96 - - - anytypeclass - ANY - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Count - DINT - 32 - - - ExpectedDataString - T_MaxString - 2048 - - - ActualDataString - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - boolExpected - BOOL - 8 - - - boolActual - BOOL - 8 - - - byteExpected - BYTE - 8 - - - byteActual - BYTE - 8 - - - dateExpected - DATE - 32 - - - dateActual - DATE - 32 - - - dateAndTimeExpected - DATE_AND_TIME - 32 - - - dateAndTimeActual - DATE_AND_TIME - 32 - - - dintExpected - DINT - 32 - - - dintActual - DINT - 32 - - - dwordExpected - DWORD - 32 - - - dwordActual - DWORD - 32 - - - intExpected - INT - 16 - - - intActual - INT - 16 - - - lintExpected - LINT - 64 - - - lintActual - LINT - 64 - - - lrealExpected - LREAL - 64 - - - lrealActual - LREAL - 64 - - - ltimeExpected - LTIME - 64 - - - ltimeActual - LTIME - 64 - - - lwordExpected - LWORD - 64 - - - lwordActual - LWORD - 64 - - - realExpected - REAL - 32 - - - realActual - REAL - 32 - - - sintExpected - SINT - 8 - - - sintActual - SINT - 8 - - - stringExpected - T_MaxString - 2048 - - - stringActual - T_MaxString - 2048 - - - wstringExpected - WSTRING(255) - 4096 - - - wstringActual - WSTRING(255) - 4096 - - - timeExpected - TIME - 32 - - - timeActual - TIME - 32 - - - timeOfDayExpected - TIME_OF_DAY - 32 - - - timeOfDayActual - TIME_OF_DAY - 32 - - - udintExpected - UDINT - 32 - - - udintActual - UDINT - 32 - - - uintExpected - UINT - 16 - - - uintActual - UINT - 16 - - - ulintExpected - ULINT - 64 - - - ulintActual - ULINT - 64 - - - usintExpected - USINT - 8 - - - usintActual - USINT - 8 - - - wordExpected - WORD - 16 - - - wordActual - WORD - 16 - - - DataTypesNotEquals - The data type of the two ANY input parameters are not equal - BOOL - 8 - - - DataSizeNotEquals - The data size of the two ANY input parameters are not equal - BOOL - 8 - - - DataContentNotEquals - The data content of the two ANY input parameters are not equal - BOOL - 8 - - - IteratorCounter - DINT - 32 - - - - hasanytype - - - - - AssertFalse - - Condition - Condition to be checked - BOOL - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - - AssertEquals_SINT - - Expected - SINT expected value - SINT - 8 - - - Actual - SINT actual value - SINT - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertArray2dEquals_LREAL - - Expecteds - LREAL 2d array with expected values - LREAL - 32 - - - variable_length_array - - - Dimensions - 2 - - - - - Actuals - LREAL 2d array with actual values - LREAL - 32 - - - variable_length_array - - - Dimensions - 2 - - - - - Delta - The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell - LREAL - 64 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - DimensionIndex - Index when looping through Dimensions - USINT - 8 - - - LowerBoundExpecteds - Lower bounds of Expecteds array in each dimension - DINT - - 1 - 2 - - 64 - - - UpperBoundExpecteds - Upper bounds of Expecteds array in each dimension - DINT - - 1 - 2 - - 64 - - - LowerBoundActuals - Lower bounds of Actuals array in each dimension - DINT - - 1 - 2 - - 64 - - - UpperBoundActuals - Upper bounds of Actuals array in each dimension - DINT - - 1 - 2 - - 64 - - - SizeOfExpecteds - Size of Expecteds array in each dimension - DINT - - 1 - 2 - - 64 - - - SizeOfActuals - Size of Actuals array in each dimension - DINT - - 1 - 2 - - 64 - - - Offset - Current Array index offsets from Lower Bound in each dimension - DINT - - 1 - 2 - - 64 - - - ExpectedArrayIndex - Array of current Expected array indexes when looping through arrays - DINT - - 1 - 2 - - 64 - - - ActualArrayIndex - Array of current Actual array indexes when looping through arrays - DINT - - 1 - 2 - - 64 - - - Expected - Single expected value - LREAL - 64 - - - Actual - Single actual value - LREAL - 64 - - - __Index__0 - DINT - 32 - - - - AssertEquals_ULINT - - Expected - ULINT expected value - ULINT - 64 - - - Actual - ULINT actual value - ULINT - 64 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertEquals_BOOL - - Expected - BOOL expected value - BOOL - 8 - - - Actual - BOOL actual value - BOOL - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - - AssertEquals_USINT - - Expected - USINT expected value - USINT - 8 - - - Actual - USINT actual value - USINT - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - - AssertEquals_LWORD - - Expected - LWORD expected value - LWORD - 64 - - - Actual - LWORD actual value - LWORD - 64 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertArrayEquals_USINT - - Expecteds - USINT array with expected values - USINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - USINT array with actual values - USINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - SetHasStartedRunning - - - SetTestFailed - - AssertionType - E_AssertionType - 8 - - - AssertionMessage - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - NumberOfTestsToAnalyse - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - - GetInstancePath - T_MaxString - 2048 - - - GetTestOrderNumber - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - TestName - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - NumberOfTestsToAnalyse - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - - - - GetNumberOfTests - UINT - 16 - - - AssertArrayEquals_DWORD - - Expecteds - DWORD array with expected values - DWORD - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - DWORD array with actual values - DWORD - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedDWordString - STRING(80) - 648 - - - ActualDWordString - STRING(80) - 648 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - GetHasStartedRunning - BOOL - 8 - - - AssertArrayEquals_LREAL - - Expecteds - LREAL array with expected values - LREAL - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - LREAL array with actual values - LREAL - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Delta - The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell - LREAL - 64 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertEquals_WSTRING - - Expected - WSTRING expected value - WSTRING(255) - 4096 - - - Actual - WSTRING actual value - WSTRING(255) - 4096 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - IsTestFinished - BOOL - 8 - - TestName - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - NumberOfTestsToAnalyse - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - - AssertArrayEquals_REAL - - Expecteds - REAL array with expected values - REAL - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - REAL array with actual values - REAL - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Delta - The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell - REAL - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertEquals_DINT - - Expected - DINT expected value - DINT - 32 - - - Actual - DINT actual value - DINT - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertArrayEquals_DINT - - Expecteds - DINT array with expected values - DINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - DINT array with actual values - DINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertEquals_STRING - - Expected - STRING expected value - T_MaxString - 2048 - - - Actual - STRING actual value - T_MaxString - 2048 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - SetTestFinished - BOOL - 8 - - TestName - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - NumberOfTestsToAnalyse - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - - AreAllTestsFinished - BOOL - 8 - - Counter - UINT - 16 - - - GetCurTaskIndex - GETCURTASKINDEX - 128 - - - NumberOfTestsToAnalyse - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - - - - AssertArrayEquals_WORD - - Expecteds - WORD array with expected values - WORD - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - WORD array with actual values - WORD - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedDWordString - STRING(80) - 648 - - - ActualDWordString - STRING(80) - 648 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertArray3dEquals_LREAL - - Expecteds - LREAL 3d array with expected values - LREAL - 32 - - - variable_length_array - - - Dimensions - 3 - - - - - Actuals - LREAL 3d array with actual values - LREAL - 32 - - - variable_length_array - - - Dimensions - 3 - - - - - Delta - The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell - LREAL - 64 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - DimensionIndex - Index when looping through Dimensions - USINT - 8 - - - LowerBoundExpecteds - Lower bounds of Expecteds array in each dimension - DINT - - 1 - 3 - - 96 - - - UpperBoundExpecteds - Upper bounds of Expecteds array in each dimension - DINT - - 1 - 3 - - 96 - - - LowerBoundActuals - Lower bounds of Actuals array in each dimension - DINT - - 1 - 3 - - 96 - - - UpperBoundActuals - Upper bounds of Actuals array in each dimension - DINT - - 1 - 3 - - 96 - - - SizeOfExpecteds - Size of Expecteds array in each dimension - DINT - - 1 - 3 - - 96 - - - SizeOfActuals - Size of Actuals array in each dimension - DINT - - 1 - 3 - - 96 - - - Offset - Current Array index offsets from Lower Bound in each dimension - DINT - - 1 - 3 - - 96 - - - ExpectedArrayIndex - Array of current Expected array indexes when looping through arrays - DINT - - 1 - 3 - - 96 - - - ActualArrayIndex - Array of current Actual array indexes when looping through arrays - DINT - - 1 - 3 - - 96 - - - Expected - Single expected value - LREAL - 64 - - - Actual - Single actual value - LREAL - 64 - - - __Index__0 - DINT - 32 - - - - AssertArrayEquals_INT - - Expecteds - INT array with expected values - INT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - INT array with actual values - INT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - CalculateAndSetNumberOfAssertsForTest - - TestName - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - TotalNumberOfAsserts - UINT - 16 - - - NumberOfAsserts - UINT - 16 - - - NumberOfArrayAsserts - UINT - 16 - - - IteratorCounter - UINT - 16 - - - - GetNumberOfSkippedTests - UINT - 16 - - Counter - UINT - 16 - - - SkippedTestsCount - UINT - 16 - - - NumberOfTestsToAnalyse - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - - - - AssertEquals_DWORD - - Expected - DWORD expected value - DWORD - 32 - - - Actual - DWORD actual value - DWORD - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertTrue - - Condition - Condition to be checked - BOOL - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - - AssertEquals_INT - - Expected - INT expected value - INT - 16 - - - Actual - INT actual value - INT - 16 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertEquals_UINT - - Expected - UINT expected value - UINT - 16 - - - Actual - UINT actual value - UINT - 16 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertArray2dEquals_REAL - - Expecteds - REAL 2d array with expected values - REAL - 32 - - - variable_length_array - - - Dimensions - 2 - - - - - Actuals - REAL 2d array with actual values - REAL - 32 - - - variable_length_array - - - Dimensions - 2 - - - - - Delta - The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell - REAL - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - DimensionIndex - Index when looping through Dimensions - USINT - 8 - - - LowerBoundExpecteds - Lower bounds of Expecteds array in each dimension - DINT - - 1 - 2 - - 64 - - - UpperBoundExpecteds - Upper bounds of Expecteds array in each dimension - DINT - - 1 - 2 - - 64 - - - LowerBoundActuals - Lower bounds of Actuals array in each dimension - DINT - - 1 - 2 - - 64 - - - UpperBoundActuals - Upper bounds of Actuals array in each dimension - DINT - - 1 - 2 - - 64 - - - SizeOfExpecteds - Size of Expecteds array in each dimension - DINT - - 1 - 2 - - 64 - - - SizeOfActuals - Size of Actuals array in each dimension - DINT - - 1 - 2 - - 64 - - - Offset - Current Array index offsets from Lower Bound in each dimension - DINT - - 1 - 2 - - 64 - - - ExpectedArrayIndex - Array of current Expected array indexes when looping through arrays - DINT - - 1 - 2 - - 64 - - - ActualArrayIndex - Array of current Actual array indexes when looping through arrays - DINT - - 1 - 2 - - 64 - - - Expected - Single expected value - REAL - 32 - - - Actual - Single actual value - REAL - 32 - - - __Index__0 - DINT - 32 - - - - AddTest - - TestName - T_MaxString - 2048 - - - IsTestOrdered - BOOL - 8 - - - IteratorCounter - UINT - 16 - - - ErrorMessage - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - FunctionCallResult - DINT - 32 - - - CycleCount - UDINT - 32 - - - TestWithThisNameAlreadyExists - BOOL - 8 - - - LowerCasedTestName - T_MaxString - 2048 - - - TrimmedTestName - T_MaxString - 2048 - - - IgnoreCurrentTestCase - BOOL - 8 - - - NumberOfTestsToAnalyse - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - - - - AssertArray3dEquals_REAL - - Expecteds - REAL 3d array with expected values - REAL - 32 - - - variable_length_array - - - Dimensions - 3 - - - - - Actuals - REAL 3d array with actual values - REAL - 32 - - - variable_length_array - - - Dimensions - 3 - - - - - Delta - The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell - REAL - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - DimensionIndex - Index when looping through Dimensions - USINT - 8 - - - LowerBoundExpecteds - Lower bounds of Expecteds array in each dimension - DINT - - 1 - 3 - - 96 - - - UpperBoundExpecteds - Upper bounds of Expecteds array in each dimension - DINT - - 1 - 3 - - 96 - - - LowerBoundActuals - Lower bounds of Actuals array in each dimension - DINT - - 1 - 3 - - 96 - - - UpperBoundActuals - Upper bounds of Actuals array in each dimension - DINT - - 1 - 3 - - 96 - - - SizeOfExpecteds - Size of Expecteds array in each dimension - DINT - - 1 - 3 - - 96 - - - SizeOfActuals - Size of Actuals array in each dimension - DINT - - 1 - 3 - - 96 - - - Offset - Current Array index offsets from Lower Bound in each dimension - DINT - - 1 - 3 - - 96 - - - ExpectedArrayIndex - Array of current Expected array indexes when looping through arrays - DINT - - 1 - 3 - - 96 - - - ActualArrayIndex - Array of current Actual array indexes when looping through arrays - DINT - - 1 - 3 - - 96 - - - Expected - Single expected value - REAL - 32 - - - Actual - Single actual value - REAL - 32 - - - ExpectedValueString - T_MaxString - 2048 - - - ActualValueString - T_MaxString - 2048 - - - FormatString - String formatter for output messages - FB_FormatString - 7840 - - - __Index__0 - DINT - 32 - - - - AddTestNameToInstancePath - T_MaxString - 2048 - - TestInstancePath - T_MaxString - 2048 - - - CompleteTestInstancePath - T_MaxString - 2048 - - - - AssertEquals_UDINT - - Expected - UDINT expected value - UDINT - 32 - - - Actual - UDINT actual value - UDINT - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertEquals_REAL - - Expected - REAL expected value - REAL - 32 - - - Actual - REAL actual value - REAL - 32 - - - Delta - The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal - REAL - 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - - AssertArrayEquals_SINT - - Expecteds - SINT array with expected values - SINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - SINT array with actual values - SINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - AssertArrayEquals_UDINT - - Expecteds - UDINT array with expected values - UDINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Actuals - UDINT array with actual values - UDINT - 32 - - - variable_length_array - - - Dimensions - 1 - - - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - Index - DINT - 32 - - - ExpectedString - T_MaxString - 2048 - - - ActualString - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 - - - __Index__0 - DINT - 32 - - - - - PouType - FunctionBlock - - - call_after_init - - - reflection - - - - - ST_AdsLogStringMessage - 4128 - - MsgCtrlMask - DWORD - 32 - 0 - - - MsgFmtStr - T_MaxString - 2048 - 32 - - - StrArg - T_MaxString - 2048 - 2080 - - - - pack_mode - 1 - - - - - FB_MemRingBuffer - This function block implements ring buffer fifo functionality. + with the same name twice in the same cycle ]]>1282080NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1622080TestsFB_Test11004192002240TestDuplicateNameTriggerR_TRIG11006400421440TestCycleCountIndexUDINT11003200427840AssertResultsFB_AssertResultStatic24640320431040AssertArrayResultsFB_AssertArrayResultStatic848025625071360AdsAssertMessageFormatterFB_AdsAssertMessageFormatter6433551616AssertMessageFormatterI_AssertMessageFormatter3233551680HasStartedRunningBOOL833551712NumberOfOrderedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1633551728AssertEquals_LINTExpectedLINT64ActualLINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfSuccessfulTestsUINT16AssertArrayEquals_ULINTExpectedsULINT32variable_length_arrayDimensions1ActualsULINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32FindTestSuiteInstancePathT_MaxString2048AssertEquals_TIMEExpectedTIME32ActualTIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_TIME_OF_DAYExpectedTIME_OF_DAY32ActualTIME_OF_DAY32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_BYTEExpectedBYTE8ActualBYTE8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfFailedTestsUINT16CounterUINT16FailedTestsCountUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16NumberOfTestOverArrayLimitUINT16AssertEquals_DATE_AND_TIMEExpectedDATE_AND_TIME32ActualDATE_AND_TIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetTestByPositionFB_Test4192PositionUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_BOOLExpectedsBOOL32variable_length_arrayDimensions1ActualsBOOL32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_BYTEExpectedsBYTE32variable_length_arrayDimensions1ActualsBYTE32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedByteStringSTRING(80)648ActualByteStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_DATEExpectedDATE32ActualDATE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_WORDExpectedWORD16ActualWORD16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LINTExpectedsLINT32variable_length_arrayDimensions1ActualsLINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_LTIMEExpectedLTIME64ActualLTIME64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_UINTExpectedsUINT32variable_length_arrayDimensions1ActualsUINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_LREALExpectedLREAL64ActualLREAL64DeltaLREAL64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LWORDExpectedsLWORD32variable_length_arrayDimensions1ActualsLWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedLWordStringSTRING(80)648ActualLWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEqualsExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048CountDINT32ExpectedDataStringT_MaxString2048ActualDataStringT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8boolExpectedBOOL8boolActualBOOL8byteExpectedBYTE8byteActualBYTE8dateExpectedDATE32dateActualDATE32dateAndTimeExpectedDATE_AND_TIME32dateAndTimeActualDATE_AND_TIME32dintExpectedDINT32dintActualDINT32dwordExpectedDWORD32dwordActualDWORD32intExpectedINT16intActualINT16lintExpectedLINT64lintActualLINT64lrealExpectedLREAL64lrealActualLREAL64ltimeExpectedLTIME64ltimeActualLTIME64lwordExpectedLWORD64lwordActualLWORD64realExpectedREAL32realActualREAL32sintExpectedSINT8sintActualSINT8stringExpectedT_MaxString2048stringActualT_MaxString2048wstringExpectedWSTRING(255)4096wstringActualWSTRING(255)4096timeExpectedTIME32timeActualTIME32timeOfDayExpectedTIME_OF_DAY32timeOfDayActualTIME_OF_DAY32udintExpectedUDINT32udintActualUDINT32uintExpectedUINT16uintActualUINT16ulintExpectedULINT64ulintActualULINT64usintExpectedUSINT8usintActualUSINT8wordExpectedWORD16wordActualWORD16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8IteratorCounterDINT32hasanytypeAssertFalseConditionBOOL8MessageT_MaxString2048AssertEquals_SINTExpectedSINT8ActualSINT8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions2ActualsLREAL32variable_length_arrayDimensions2DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertEquals_ULINTExpectedULINT64ActualULINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_BOOLExpectedBOOL8ActualBOOL8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertEquals_USINTExpectedUSINT8ActualUSINT8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertEquals_LWORDExpectedLWORD64ActualLWORD64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_USINTExpectedsUSINT32variable_length_arrayDimensions1ActualsUSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32SetHasStartedRunningSetTestFailedAssertionTypeE_AssertionType8AssertionMessageT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16GetInstancePathT_MaxString2048GetTestOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16GetNumberOfTestsUINT16AssertArrayEquals_DWORDExpectedsDWORD32variable_length_arrayDimensions1ActualsDWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32GetHasStartedRunningBOOL8AssertArrayEquals_LREALExpectedsLREAL32variable_length_arrayDimensions1ActualsLREAL32variable_length_arrayDimensions1DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_WSTRINGExpectedWSTRING(255)4096ActualWSTRING(255)4096MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8IsTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_REALExpectedsREAL32variable_length_arrayDimensions1ActualsREAL32variable_length_arrayDimensions1DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_DINTExpectedDINT32ActualDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_DINTExpectedsDINT32variable_length_arrayDimensions1ActualsDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_STRINGExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8SetTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AreAllTestsFinishedBOOL8CounterUINT16GetCurTaskIndexGETCURTASKINDEX128NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertArrayEquals_WORDExpectedsWORD32variable_length_arrayDimensions1ActualsWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArray3dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions3ActualsLREAL32variable_length_arrayDimensions3DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertArrayEquals_INTExpectedsINT32variable_length_arrayDimensions1ActualsINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32CalculateAndSetNumberOfAssertsForTestTestNameT_MaxString2048TestInstancePathT_MaxString2048TotalNumberOfAssertsUINT16NumberOfAssertsUINT16NumberOfArrayAssertsUINT16IteratorCounterUINT16GetNumberOfSkippedTestsUINT16CounterUINT16SkippedTestsCountUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertEquals_DWORDExpectedDWORD32ActualDWORD32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertTrueConditionBOOL8MessageT_MaxString2048AssertEquals_INTExpectedINT16ActualINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_UINTExpectedUINT16ActualUINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_REALExpectedsREAL32variable_length_arrayDimensions2ActualsREAL32variable_length_arrayDimensions2DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedREAL32ActualREAL32__Index__0DINT32AddTestTestNameT_MaxString2048IsTestOrderedBOOL8IteratorCounterUINT16ErrorMessageT_MaxString2048TestInstancePathT_MaxString2048FunctionCallResultDINT32CycleCountUDINT32TestWithThisNameAlreadyExistsBOOL8LowerCasedTestNameT_MaxString2048TrimmedTestNameT_MaxString2048IgnoreCurrentTestCaseBOOL8NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertArray3dEquals_REALExpectedsREAL32variable_length_arrayDimensions3ActualsREAL32variable_length_arrayDimensions3DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedREAL32ActualREAL32ExpectedValueStringT_MaxString2048ActualValueStringT_MaxString2048FormatStringFB_FormatString7840__Index__0DINT32AddTestNameToInstancePathT_MaxString2048TestInstancePathT_MaxString2048CompleteTestInstancePathT_MaxString2048AssertEquals_UDINTExpectedUDINT32ActualUDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_REALExpectedREAL32ActualREAL32DeltaREAL32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_SINTExpectedsSINT32variable_length_arrayDimensions1ActualsSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_UDINTExpectedsUDINT32variable_length_arrayDimensions1ActualsUDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32PouTypeFunctionBlockcall_after_initreflectionST_AdsLogStringMessage4128MsgCtrlMaskDWORD320MsgFmtStrT_MaxString204832StrArgT_MaxString20482080pack_mode1FB_MemRingBuffer - 544 - - pWrite - BYTE - Pointer to write data - 32 - 32 - - - ItemType - Input - - - - - cbWrite - UDINT - Byte size of write data - 32 - 64 - - - ItemType - Input - - - - - pRead - BYTE - Pointer to read data buffer - 32 - 96 - - - ItemType - Input - - - - - cbRead - UDINT - Byte size of read data buffer - 32 - 128 - - - ItemType - Input - - - - - pBuffer - BYTE - Pointer to ring buffer data bytes - 32 - 160 - - - ItemType - Input - - - - - cbBuffer - UDINT - Max. ring buffer byte size - 32 - 192 - - - ItemType - Input - - - - - bOk - BOOL - TRUE = new entry added or removed succesfully, FALSE = fifo overflow or fifo empty - 8 - 224 - - - ItemType - Output - - - - - nCount - UDINT - Number of fifo entries - 32 - 256 - - 0 - - - - ItemType - Output - - - - - cbSize - UDINT - Current byte length of fifo data - 32 - 288 - - 0 - - - - ItemType - Output - - - - - cbReturn - UDINT - If bOk == TRUE => Number of recend realy returned (removed or get) data bytes - If bOk == FALSE and cbReturn <> 0 => Number of required read buffer data bytes (cbRead underflow) - 32 - 320 - - 0 - - - - ItemType - Output - - - - - idxLast - DWORD - 32 - 352 - - 0 - - - - conditionalshow - - - - - idxFirst - DWORD - 32 - 384 - - 0 - - - - conditionalshow - - - - - idxGet - DWORD - 32 - 416 - - - conditionalshow - - - - - pTmp - BYTE - 32 - 448 - - - conditionalshow - - - - - cbTmp - DWORD - 32 - 480 - - - conditionalshow - - - - - cbCopied - DWORD - 32 - 512 - - - conditionalshow - - - - - A_Reset - - - A_AddTail - - - A_RemoveHead - - - A_GetHead - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - TON - 224 - - IN - BOOL - starts timer with rising edge, resets timer with falling edge - 8 - 32 - - - ItemType - Input - - - - - PT - TIME - time to pass, before Q is set - 32 - 64 - - - ItemType - Input - - - - - Q - BOOL - gets TRUE, delay time (PT) after a rising edge at IN - 8 - 96 - - - ItemType - Output - - - - - ET - TIME - elapsed time - 32 - 128 - - - ItemType - Output - - - - - M - BOOL - 8 - 160 - - - StartTime - TIME - 32 - 192 - - - - PouType - FunctionBlock - - - - - FB_AdsLogStringMessageFifoQueue - This function block is responsible for making sure that the ADSLOGSTR-messages to the ADS-router are transmitted + A_RemoveHead gets and removes first (oldest) entry. Use A_Reset to clear all fifo data. ]]>544pWriteBYTE3232ItemTypeInputcbWriteUDINT3264ItemTypeInputpReadBYTE3296ItemTypeInputcbReadUDINT32128ItemTypeInputpBufferBYTE32160ItemTypeInputcbBufferUDINT32192ItemTypeInputbOkBOOL8224ItemTypeOutputnCountUDINT322560ItemTypeOutputcbSizeUDINT322880ItemTypeOutputcbReturnUDINT Number of recend realy returned (removed or get) data bytes + If bOk == FALSE and cbReturn <> 0 => Number of required read buffer data bytes (cbRead underflow) ]]>323200ItemTypeOutputidxLastDWORD323520conditionalshowidxFirstDWORD323840conditionalshowidxGetDWORD32416conditionalshowpTmpBYTE32448conditionalshowcbTmpDWORD32480conditionalshowcbCopiedDWORD32512conditionalshowA_ResetA_AddTailA_RemoveHeadA_GetHeadPouTypeFunctionBlockconditionalshow_all_localsTON224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockFB_AdsLogStringMessageFifoQueue - 8320864 - - ArrayBuffer - BYTE - - 0 - 1040000 - - 8320000 - 32 - - - MemRingBuffer - FB_MemRingBuffer - 544 - 8320032 - - - TimerBetweenMessages - TON - 224 - 8320576 - - - .IN - 1 - - - .PT - 10 - - - - - MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORD - USINT - 8 - 8320800 - - 4 - - - - TIME_BETWEEN_MESSAGES - TIME - 32 - 8320832 - - 10 - - - - GetLogCount - UDINT - 32 - - - WriteLog - - MsgCtrlMask - DWORD - 32 - - - MsgFmtStr - T_MaxString - 2048 - - - StrArg - T_MaxString - 2048 - - - Error - Buffer overflow - BOOL - 8 - - - ItemType - Output - - - - - AdsLogStringMessage - ST_AdsLogStringMessage - 4128 - - - - GetAndRemoveLogFromQueue - - AdsLogStringMessage - ST_AdsLogStringMessage - 4128 - - - ItemType - Output - - - - - Error - Buffer empty - BOOL - 8 - - - ItemType - Output - - - - - - - PouType - FunctionBlock - - - - - ST_LibVersion - 288 - - iMajor - UINT - 16 - 0 - - - iMinor - UINT - 16 - 16 - - - iBuild - UINT - 16 - 32 - - - iRevision - UINT - 16 - 48 - - - nFlags - DWORD - 32 - 64 - - - sVersion - STRING(23) - 192 - 96 - - - - E_WATCHDOG_TIME_CONFIG - 16 - INT - - eWATCHDOG_TIME_DISABLED - 0 - - - eWATCHDOG_TIME_SECONDS - 1 - - - eWATCHDOG_TIME_MINUTES - 2 - - - - E_HashPrefixTypes - 16 - INT - - HASHPREFIX_IEC - 0 - 2#, 8#, 16# - - - HASHPREFIX_STDC - 1 - 0 for octal type, 0x, 0X for hex else none - - - - E_SBCSType - 16 - INT - - eSBCS_WesternEuropean - 1 - Windows 1252 (default) - - - eSBCS_CentralEuropean - 2 - Windows 1251 - - - - T_AmsNetID - TwinCAT AMS netID address string. - 192 - STRING(23) - - - E_RouteTransportType - 16 - UINT - - eRouteTransport_None - 0 - - - eRouteTransport_TCP_IP - 1 - - - eRouteTransport_IIO_LIGHTBUS - 2 - - - eRouteTransport_PROFIBUS_DP - 3 - - - eRouteTransport_PCI_ISA_BUS - 4 - - - eRouteTransport_ADS_UDP - 5 - - - eRouteTransport_FATP_UDP - 6 - - - eRouteTransport_COM_PORT - 7 - - - eRouteTransport_USB - 8 - - - eRouteTransport_CAN_OPEN - 9 - - - eRouteTransport_DEVICE_NET - 10 - - - eRouteTransport_SSB - 11 - - - eRouteTransport_SOAP - 12 - - - - ST_AmsRouteEntry - TwinCAT AMS route entry struct - 1184 - - sName - STRING(31) - String containing route name - 256 - 0 - - - sNetID - T_AmsNetID - TwinCAT network address (ams net id) - 192 - 256 - - - sAddress - STRING(79) - String containing route network Ipv4 address or host name. - 640 - 448 - - - eTransport - E_RouteTransportType - Route transport type - 16 - 1088 - - - tTimeout - TIME - Route timeout - 32 - 1120 - - - dwFlags - DWORD - Additional flags - 32 - 1152 - - - - T_ULARGE_INTEGER - 64 bit unsigned integer - 64 - - dwLowPart - DWORD - Lower double word - 32 - 0 - - - dwHighPart - DWORD - Higher double word - 32 - 32 - - - - TIMESTRUCT - System Time Structure - 128 - - wYear - WORD - Year: 1970..2106 - 16 - 0 - - - wMonth - WORD - Month: 1..12 (January = 1, February = 2 and so on) - 16 - 16 - - - wDayOfWeek - WORD - Day of the week: 0..6 (Sunday = 0, Monday = 1, .. , Saturday = 6 and so on) - 16 - 32 - - - wDay - WORD - Day of the month: 1..31 - 16 - 48 - - - wHour - WORD - Hour: 0..23 - 16 - 64 - - - wMinute - WORD - Minute: 0..59 - 16 - 80 - - - wSecond - WORD - Second: 0..59 - 16 - 96 - - - wMilliseconds - WORD - Milliseconds: 0..999 - 16 - 112 - - - - ST_TimeZoneInformation - 864 - - bias - DINT - Specifies the current bias, in minutes, for local time translation on this computer. +]]>8320864ArrayBufferBYTE01040000832000032MemRingBufferFB_MemRingBuffer5448320032TimerBetweenMessagesTON2248320576.IN1.PT10MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORDUSINT883208004TIME_BETWEEN_MESSAGESTIME32832083210GetLogCountUDINT32WriteLogMsgCtrlMaskDWORD32MsgFmtStrT_MaxString2048StrArgT_MaxString2048ErrorBOOL8ItemTypeOutputAdsLogStringMessageST_AdsLogStringMessage4128GetAndRemoveLogFromQueueAdsLogStringMessageST_AdsLogStringMessage4128ItemTypeOutputErrorBOOL8ItemTypeOutputPouTypeFunctionBlockST_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_TimeZoneInformation864biasDINT - 32 - 0 - - - standardName - STRING(31) - Specifies a null-terminated string associated with standard time - on this operating system. - 256 - 32 - - - standardDate - TIMESTRUCT - Specifies a SYSTEMTIME structure that contains a date and local time when the - transition from daylight saving time to standard time occurs on this operating system. - 128 - 288 - - - standardBias - DINT - Specifies a bias value to be used during local time translations that occur during standard time. - 32 - 416 - - - daylightName - STRING(31) - Specifies a null-terminated string associated with daylight saving time on this operating system. - For example, this member could contain "PDT" to indicate Pacific Daylight Time. - 256 - 448 - - - daylightDate - TIMESTRUCT - Specifies a SYSTEMTIME structure that contains a date and local time when the transition - from standard time to daylight saving time occurs on this operating system. - 128 - 704 - - - daylightBias - DINT - Specifies a bias value to be used during local time translations that occur during daylight saving time. - 32 - 832 - - - - ST_System - Defacto system structure, must be included in all projects - 40 - - xSwAlmRst - BOOL - Global Alarm Reset - EPICS Command - 8 - 0 - - - xAtVacuum - BOOL - System At Vacuum - 8 - 8 - - - xFirstScan - BOOL - This boolean is true for the first scan, and is false thereafter, use for initialization of stuff - 8 - 16 - - - xOverrideMode - BOOL - This bit is set when using the override features of the system - 8 - 24 - - - xIOState - BOOL - ECat Bus Health - 8 - 32 - - - - analysis - -33 - - - - - TcEventSeverity - 16 - INT - - TCEVENTSEVERITY_Verbose - 0 - - - TCEVENTSEVERITY_Info - 1 - - - TCEVENTSEVERITY_Warning - 2 - - - TCEVENTSEVERITY_Error - 3 - - - TCEVENTSEVERITY_Critical - 4 - - - - plcAttribute_qualified_only - - - plcAttribute_strict - - - - - - - - - E_Subsystem - 16 - WORD - - NILVALUE - 0 - Undefined system - - - VACUUM - 1 - Vacuum control system - - - MPS - 2 - Machine protection system - - - MOTION - 3 - Motion control systems - - - FIELDBUS - 4 - EtherCAT networks - - - SDS - 5 - Sample delivery system - - - OPTICS - 6 - Optics control system - - - - I_ArgumentsChangeListener - 32 - PVOID - - OnArgumentsChanged - - - - ITcAsyncResult - 32 - ITcUnknown - - GetIsBusy - HRESULT - 32 - - bIsBusy - BOOL32 - 32 - - - - GetHasError - HRESULT - 32 - - bError - BOOL32 - 32 - - - - GetErrorCode - HRESULT - 32 - - hresult - HRESULT - 32 - - - - - FB_AsyncStrResult - 64 - - bBusy - BOOL - 8 - 80255500 - - - bError - BOOL - 8 - 80255536 - - - hrErrorCode - HRESULT - 32 - 80255544 - - - nStringSize - UDINT - 32 - 80255524 - - - sResult - STRING(255) - 2048 - 80255540 - - - __getbBusy - BOOL - 8 - - bBusy - BOOL - 8 - - - b32IsBusy - BOOL32 - 32 - - - - property - - - monitoring - call - - - - - Init - - ipResult - ITcAsyncStringResult - 32 - - - - conditionalshow - - - - - GetString - BOOL - 8 - - sResult - STRING(80) - 32 - - - nResult - buffer size in bytes - UDINT - 32 - - - - __getnStringSize - UDINT - 32 - - nStringSize - UDINT - 32 - - - pEmpty - STRING(80) - 32 - - - - property - - - monitoring - call - - - - - Clear - - - __getbError - BOOL - 8 - - bError - BOOL - 8 - - - b32HasError - BOOL32 - 32 - - - - property - - - monitoring - call - - - - - __getsResult - STRING(255) - 2048 - - sResult - STRING(255) - 2048 - - - - property - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - __gethrErrorCode - HRESULT - 32 - - hrErrorCode - HRESULT - 32 - - - hrError - HRESULT - 32 - - - - property - - - monitoring - call - - - - - - PouType - FunctionBlock - - - enable_dynamic_creation - - - conditionalshow_all_locals - - - no_explicit_call - do not call this POU directly - - - - - TcSourceInfoType - 32 - UDINT - - Undefined - 0 - - - Id - 1 - - - Guid - 2 - - - Name - 4 - - - - plcAttribute_qualified_only - - - plcAttribute_strict - - - - - - - - TcSerializedSourceInfoType - 96 - - eType - TcSourceInfoType - 32 - 0 - - - obData - UDINT - 32 - 32 - - - cbData - UDINT - 32 - 64 - - - - ITcSourceInfo - 32 - ITcUnknown - - GetNumTypes - HRESULT - 32 - - nCount - UDINT - 32 - - - - GetTypes - HRESULT - 32 - - ppSourceInfoTypes - TcSerializedSourceInfoType - 32 - - - - GetDataSize - HRESULT - 32 - - cbData - UDINT - 32 - - - - GetData - HRESULT - 32 - - ppData - PVOID - 32 - - - - - ITcEvent - 32 - ITcUnknown - - GetEventClass - HRESULT - 32 - - eventClass - GUID - 32 - - - - GetEventId - HRESULT - 32 - - eventId - UDINT - 32 - - - - GetSeverity - HRESULT - 32 - - severity - TcEventSeverity - 32 - - - - GetSourceInfo - HRESULT - 32 - - pipSourceInfo - ITcSourceInfo - 32 - - - - GetJsonAttribute - HRESULT - 32 - - sJsonAttribute - STRING(80) - 32 - - - nJsonAttribute - UDINT - 32 - - - - GetText - HRESULT - 32 - - nLangId - DINT - 32 - - - pipResult - ITcAsyncStringResult - 32 - - - - GetEventClassName - HRESULT - 32 - - nLangId - DINT - 32 - - - pipResult - ITcAsyncStringResult - 32 - - - - - I_TcSourceInfo - 32 - PVOID - - __getguid - GUID - 128 - - - property - - - - - __getipData - ITcSourceInfo - 32 - - - property - - - conditionalshow - - - - - __getnId - UDINT - 32 - - - property - - - monitoring - call - - - - - __getsName - STRING(255) - 2048 - - - property - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - EqualsTo - BOOL - 8 - - ipOther - I_TcSourceInfo - 32 - - - - - TcEventEntry - 192 - - uuidEventClass - GUID - 128 - 0 - - - nEventId - UDINT - 32 - 128 - - - eSeverity - TcEventSeverity - 16 - 160 - - - - I_TcEventBase - 32 - PVOID - - __geteSeverity - TcEventSeverity - 16 - - - property - - - monitoring - call - - - - - __getEventClass - GUID - 128 - - - property - - - - - __getipSourceInfo - I_TcSourceInfo - 32 - - - property - - - monitoring - call - - - - - __getnEventId - UDINT - 32 - - - property - - - monitoring - call - - - - - __getsEventClassName - STRING(255) - 2048 - - - property - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - __getsEventText - STRING(255) - 2048 - - - property - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - __getstEventEntry - TcEventEntry - 192 - - - property - - - - - EqualsTo - BOOL - 8 - - ipOther - I_TcEventBase - 32 - - - - EqualsToEventClass - BOOL - 8 - - OtherEventClass - GUID - 128 - - - - EqualsToEventEntry - BOOL - 8 - - OtherEventClass - GUID - 128 - - - nOtherEventID - UDINT - 32 - - - eOtherSeverity - TcEventSeverity - 16 - - - - EqualsToEventEntryEx - BOOL - 8 - - stOther - TcEventEntry - 192 - - - - GetJsonAttribute - HRESULT - 32 - - sJsonAttribute - STRING(80) - 32 - - - nJsonAttribute - UDINT - 32 - - - - RequestEventClassName - BOOL - 8 - - nLangId - English(US)=1033 ; German(Germay)=1031 - DINT - 32 - - - sResult - buffer for result text - STRING(80) - 32 - - - nResultSize - size of buffer in bytes - UDINT - 32 - - - bError - BOOL - 8 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - 32 - - - ItemType - Output - - - - - - RequestEventText - BOOL - 8 - - nLangId - English(US)=1033 ; German(Germay)=1031 - DINT - 32 - - - sResult - buffer for result text - STRING(80) - 32 - - - nResultSize - size of buffer in bytes - UDINT - 32 - - - bError - BOOL - 8 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - 32 - - - ItemType - Output - - - - - - - IQueryInterface - 32 - PVOID - - __GetInterfacePointer - BOOL - 8 - - pRef - DWORD - 32 - - - - __GetInterfaceReference - BOOL - 8 - - nInterfaceId - DINT - 32 - - - pRef - DWORD - 32 - - - - - TcEventArgumentType - 16 - INT - - Undefined - 0 - - - Boolean - 1 - - - Int8 - 2 - - - Int16 - 3 - - - Int32 - 4 - - - Int64 - 5 - - - UInt8 - 6 - - - UInt16 - 7 - - - UInt32 - 8 - - - UInt64 - 9 - - - Float - 10 - - - Double - 11 - - - Char - 12 - - - WChar - 13 - - - StringType - 14 - - - WStringType - 15 - - - EventReference - 16 - - - FormatString - 17 - - - ExternalTimestamp - 18 - - - Blob - 19 - - - - plcAttribute_qualified_only - - - plcAttribute_strict - - - - - - - - ITcArguments - 32 - ITcUnknown - - Count - HRESULT - 32 - - nCount - UDINT - 32 - - - - AddArgument - HRESULT - 32 - - eType - TcEventArgumentType - 16 - - - pData - PVOID - 32 - - - cbData - UDINT - 32 - - - - Get - HRESULT - 32 - - nIndex - UDINT - 32 - - - eType - TcEventArgumentType - 32 - - - ppData - PVOID - 32 - - - - Clear - HRESULT - 32 - - - GetArgumentTypes - HRESULT - 32 - - pArgumentTypes - TcEventArgumentType - 32 - - - - GetDataSize - HRESULT - 32 - - cbData - UDINT - 32 - - - - GetData - HRESULT - 32 - - pData - BYTE - 32 - - - - - I_TcArguments - 32 - IQueryInterface - - __getipData - ITcArguments - 32 - - - property - - - conditionalshow - - - - - __getnCount - UDINT - 32 - - - property - - - - - AddBlob - I_TcArguments - 32 - - pData - PVOID - 32 - - - cbData - UINT - 16 - - - - AddBool - I_TcArguments - 32 - - value - BOOL - 8 - - - - AddByte - I_TcArguments - 32 - - value - BYTE - 8 - - - - AddDInt - I_TcArguments - 32 - - value - DINT - 32 - - - - AddDWord - I_TcArguments - 32 - - value - DWORD - 32 - - - - AddEventReferenceEx - I_TcArguments - 32 - - stEventEntry - TcEventEntry - 192 - - - - AddEventReferenceId - I_TcArguments - 32 - - nEventId - UDINT - 32 - - - - AddEventReferenceIdGuid - I_TcArguments - 32 - - nEventId - UDINT - 32 - - - EventClass - GUID - 128 - - - - AddInt - I_TcArguments - 32 - - value - INT - 16 - - - - AddLInt - I_TcArguments - 32 - - value - LINT - 64 - - - - AddLReal - I_TcArguments - 32 - - value - LREAL - 64 - - - - AddReal - I_TcArguments - 32 - - value - REAL - 32 - - - - AddSInt - I_TcArguments - 32 - - value - SINT - 8 - - - - AddString - I_TcArguments - 32 - - value - STRING(80) - 32 - - - ItemType - InOut - - - - - - AddStringByValue - I_TcArguments - 32 - - value - T_MaxString - 2048 - - - - AddUDInt - I_TcArguments - 32 - - value - UDINT - 32 - - - - AddUInt - I_TcArguments - 32 - - value - UINT - 16 - - - - AddULInt - I_TcArguments - 32 - - value - ULINT - 64 - - - - AddUSInt - I_TcArguments - 32 - - value - USINT - 8 - - - - AddUtf8EncodedString - I_TcArguments - 32 - - value - STRING(80) - 32 - - - ItemType - InOut - - - - - - AddWord - I_TcArguments - 32 - - value - WORD - 16 - - - - AddWString - I_TcArguments - 32 - - value - WSTRING(80) - 32 - - - ItemType - InOut - - - - - - AddWStringByValue - I_TcArguments - 32 - - value - WSTRING(255) - 4096 - - - - Clear - I_TcArguments - 32 - - - - ITcEventUniqueIdProvider - 32 - ITcUnknown - - GetUniqueId - HRESULT - 32 - - id - UDINT - 32 - - - - - FB_TcSourceInfo - 2848 - I_TcSourceInfo - - nId - UDINT - 32 - 80255440 - 80255464 - - - sName - STRING(255) - 2048 - 80255480 - 80255492 - - - ExtendName - BOOL - 8 - - sExtension - STRING(255) - 2048 - - - - __getipData - ITcSourceInfo - 32 - - ipData - ITcSourceInfo - 32 - - - - property - - - conditionalshow - - - - - __getnId - UDINT - 32 - - nId - UDINT - 32 - - - - property - - - monitoring - call - - - - - ResetToDefault - HRESULT - 32 - - - Clear - - - __setnId - - nId - UDINT - 32 - - - monitoring - call - - - - - - property - - - monitoring - call - - - - - __setguid - - guid - GUID - 128 - - - - property - - - - - EqualsTo - BOOL - 8 - - ipOther - I_TcSourceInfo - 32 - - - - __getguid - GUID - 128 - - guid - GUID - 128 - - - - property - - - - - __getsName - STRING(255) - 2048 - - sName - STRING(255) - 2048 - - - - property - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - __setsName - - sName - STRING(255) - 2048 - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - - property - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - - PouType - FunctionBlock - - - no_explicit_call - do not call this POU directly - - - - - FB_TcEventBase - 3424 - I_ArgumentsChangeListener - - fbSourceInfo - FB_TcSourceInfo - 2848 - 256 - - - conditionalshow - - - - - __REQUESTEVENTCLASSNAME__FBRESULT - FB_AsyncStrResult - 64 - 3232 - - - conditionalshow - - - - - __REQUESTEVENTCLASSNAME__BBUSY - BOOL - 8 - 3296 - - - conditionalshow - - - - - __REQUESTEVENTTEXT__FBRESULT - FB_AsyncStrResult - 64 - 3328 - - - conditionalshow - - - - - __REQUESTEVENTTEXT__BBUSY - BOOL - 8 - 3392 - - - conditionalshow - - - - - eSeverity - TcEventSeverity - 16 - 80255592 - - - ipSourceInfo - I_TcSourceInfo - 32 - 80255572 - - - nEventId - UDINT - 32 - 80255660 - - - nUniqueId - UDINT - 32 - 80255664 - - - sEventClassName - STRING(255) - 2048 - 80255620 - - - sEventText - STRING(255) - 2048 - 80255668 - - - EqualsToEventClass - BOOL - 8 - - OtherEventClass - GUID - 128 - - - _EventClass - GUID - 128 - - - - GetEventClassName - HRESULT - 32 - - nLangId - English(US)=1033 ; German(Germay)=1031 - DINT - 32 - - - fbResult - FB_AsyncStrResult - 32 - - - ItemType - InOut - - - - - ipTmpEvent - ITcEvent - 32 - - - ipResult - ITcAsyncStringResult - 32 - - - hr - HRESULT - 32 - - - - Release - HRESULT - 32 - - - UpdateLangId - - - __getipSourceInfo - I_TcSourceInfo - 32 - - ipSourceInfo - I_TcSourceInfo - 32 - - - - property - - - monitoring - call - - - - - EqualsTo - BOOL - 8 - - ipOther - I_TcEventBase - 32 - - - - __getipEvent - ITcEvent - 32 - - ipEvent - ITcEvent - 32 - - - - property - - - conditionalshow - - - - - __getEventClass - GUID - 128 - - EventClass - GUID - 128 - - - ipTmpEvent - ITcEvent - 32 - - - - property - - - - - __geteSeverity - TcEventSeverity - 16 - - eSeverity - TcEventSeverity - 16 - - - ipTmpEvent - ITcEvent - 32 - - - - property - - - monitoring - call - - - - - __getstEventEntry - TcEventEntry - 192 - - stEventEntry - TcEventEntry - 192 - - - - property - - - - - OnCreate - HRESULT - 32 - - - EqualsToEventEntry - BOOL - 8 - - OtherEventClass - GUID - 128 - - - nOtherEventID - UDINT - 32 - - - eOtherSeverity - TcEventSeverity - 16 - - - - RequestEventText - BOOL - 8 - - nLangId - English(US)=1033 ; German(Germay)=1031 - DINT - 32 - - - sResult - buffer for result text - STRING(80) - 32 - - - nResultSize - size of buffer in bytes - UDINT - 32 - - - bError - BOOL - 8 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - 32 - - - ItemType - Output - - - - - fbResult - FB_AsyncStrResult - 64 - - - uselocation - __REQUESTEVENTTEXT__FBRESULT - - - - - bBusy - BOOL - 8 - - - uselocation - __REQUESTEVENTTEXT__BBUSY - - - - - - OnArgumentsChanged - - - __getsEventClassName - STRING(255) - 2048 - - sEventClassName - STRING(255) - 2048 - - - - property - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - __getipArguments - I_TcArguments - 32 - - ipArguments - I_TcArguments - 32 - - - - property - - - - - GetEventText - HRESULT - 32 - - nLangId - English(US)=1033 ; German(Germay)=1031 - DINT - 32 - - - fbResult - FB_AsyncStrResult - 32 - - - ItemType - InOut - - - - - ipTmpEvent - ITcEvent - 32 - - - ipResult - ITcAsyncStringResult - 32 - - - hr - HRESULT - 32 - - - - GetJsonAttribute - HRESULT - 32 - - sJsonAttribute - STRING(80) - 32 - - - nJsonAttribute - UDINT - 32 - - - ipTmpEvent - ITcEvent - 32 - - - - RequestEventClassName - BOOL - 8 - - nLangId - English(US)=1033 ; German(Germay)=1031 - DINT - 32 - - - sResult - buffer for result text - STRING(80) - 32 - - - nResultSize - size of buffer in bytes - UDINT - 32 - - - bError - BOOL - 8 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - 32 - - - ItemType - Output - - - - - fbResult - FB_AsyncStrResult - 64 - - - uselocation - __REQUESTEVENTCLASSNAME__FBRESULT - - - - - bBusy - BOOL - 8 - - - uselocation - __REQUESTEVENTCLASSNAME__BBUSY - - - - - - EqualsToEventEntryEx - BOOL - 8 - - stOther - TcEventEntry - 192 - - - - __getnEventId - UDINT - 32 - - nEventId - UDINT - 32 - - - ipTmpEvent - ITcEvent - 32 - - - - property - - - monitoring - call - - - - - __getnUniqueId - UDINT - 32 - - nUniqueId - UDINT - 32 - - - ipTmpEvent - ITcEvent - 32 - - - ipProvider - ITcEventUniqueIdProvider - 32 - - - - property - - - monitoring - call - - - - - __getsEventText - STRING(255) - 2048 - - sEventText - STRING(255) - 2048 - - - - property - - - monitoring - call - - - TcEncoding - UTF-8 - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - no_explicit_call - do not call this POU directly - - - - - I_TcMessage - 32 - I_TcEventBase - - Send - HRESULT - 32 - - nTimeStamp - ULINT - 64 - - - - - ITcMessage - 32 - ITcEvent - - SetJsonAttribute - HRESULT - 32 - - sJsonAttribute - PCCH - 32 - - - - GetArguments - HRESULT - 32 - - pipArguments - ITcArguments - 32 - - - - Send - HRESULT - 32 - - timeStamp - ULINT - 64 - - - - - ITcMessage2 - 32 - ITcMessage - - GetTimeSent - HRESULT - 32 - - timeStamp - ULINT - 32 - - - - - FB_TcMessage - 3488 - FB_TcEventBase - I_TcMessage - - nTimeSent - ULINT - 64 - 80255692 - - - SetJsonAttribute - HRESULT - 32 - - sJsonAttribute - STRING(80) - 32 - - - ItemType - InOut - - - - - - CreateEx - HRESULT - 32 - - stEventEntry - TcEventEntry - 192 - - - ipSourceInfo - optional (otherwise a default source info is taken) - I_TcSourceInfo - 32 - - - - Init - - ipMessage - ITcMessage - 32 - - - ipArguments - ITcArguments - 32 - - - ipSourceInfo - ITcSourceInfo - 32 - - - - conditionalshow - - - - - __getnTimeSent - ULINT - 64 - - nTimeSent - ULINT - 64 - - - ipMessage2 - ITcMessage2 - 32 - - - nTimeStamp - ULINT - 64 - - - - property - - - monitoring - call - - - TcDisplayTypeGUID - 18071995-0000-0000-0000-000000000046 - - - - - Create - HRESULT - 32 - - eventClass - GUID - 128 - - - nEventId - UDINT - 32 - - - eSeverity - TcEventSeverity - 16 - - - ipSourceInfo - optional (otherwise a default source info is taken) - I_TcSourceInfo - 32 - - - hr - HRESULT - 32 - - - ipArguments - ITcArguments - 32 - - - - __getipEvent - ITcEvent - 32 - - ipEvent - ITcEvent - 32 - - - - property - - - conditionalshow - - - - - Send - HRESULT - 32 - - nTimeStamp - set 0 to get the current time automatically - ULINT - 64 - - - - Release - HRESULT - 32 - - - - PouType - FunctionBlock - - - reflection - - - conditionalshow_all_locals - - - no_explicit_call - do not call this POU directly - - - - - F_TRIG - + UTC = local time + bias ]]>320standardNameSTRING(31)25632standardDateTIMESTRUCT128288standardBiasDINT32416daylightNameSTRING(31)256448daylightDateTIMESTRUCT128704daylightBiasDINT32832ST_System40xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832analysis-33TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener32PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult64bBusyBOOL880255500bErrorBOOL880255536hrErrorCodeHRESULT3280255544nStringSizeUDINT3280255524sResultSTRING(255)204880255540__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult32conditionalshowGetStringBOOL8sResultSTRING(80)32nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32pEmptySTRING(80)32propertymonitoringcallClear__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyTcSourceInfoType32UDINT0124plcAttribute_qualified_onlyplcAttribute_strictTcSerializedSourceInfoType96eTypeTcSourceInfoType320obDataUDINT3232cbDataUDINT3264ITcSourceInfo32ITcUnknownGetNumTypesHRESULT32nCountUDINT32GetTypesHRESULT32ppSourceInfoTypesTcSerializedSourceInfoType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32ppDataPVOID32ITcEvent32ITcUnknownGetEventClassHRESULT32eventClassGUID32GetEventIdHRESULT32eventIdUDINT32GetSeverityHRESULT32severityTcEventSeverity32GetSourceInfoHRESULT32pipSourceInfoITcSourceInfo32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32GetTextHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32I_TcSourceInfo32PVOID__getguidGUID128property__getipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32propertymonitoringcall__getsNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8EqualsToBOOL8ipOtherI_TcSourceInfo32TcEventEntry192uuidEventClassGUID1280nEventIdUDINT32128eSeverityTcEventSeverity16160I_TcEventBase32PVOID__geteSeverityTcEventSeverity16propertymonitoringcall__getEventClassGUID128property__getipSourceInfoI_TcSourceInfo32propertymonitoringcall__getnEventIdUDINT32propertymonitoringcall__getsEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getsEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getstEventEntryTcEventEntry192propertyEqualsToBOOL8ipOtherI_TcEventBase32EqualsToEventClassBOOL8OtherEventClassGUID128EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16EqualsToEventEntryExBOOL8stOtherTcEventEntry192GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputRequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputIQueryInterface32PVOID__GetInterfacePointerBOOL8pRefDWORD32__GetInterfaceReferenceBOOL8nInterfaceIdDINT32pRefDWORD32TcEventArgumentType16INT012345678910111213141516171819plcAttribute_qualified_onlyplcAttribute_strictITcArguments32ITcUnknownCountHRESULT32nCountUDINT32AddArgumentHRESULT32eTypeTcEventArgumentType16pDataPVOID32cbDataUDINT32GetHRESULT32nIndexUDINT32eTypeTcEventArgumentType32ppDataPVOID32ClearHRESULT32GetArgumentTypesHRESULT32pArgumentTypesTcEventArgumentType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32pDataBYTE32I_TcArguments32IQueryInterface__getipDataITcArguments32propertyconditionalshow__getnCountUDINT32propertyAddBlobI_TcArguments32pDataPVOID32cbDataUINT16AddBoolI_TcArguments32valueBOOL8AddByteI_TcArguments32valueBYTE8AddDIntI_TcArguments32valueDINT32AddDWordI_TcArguments32valueDWORD32AddEventReferenceExI_TcArguments32stEventEntryTcEventEntry192AddEventReferenceIdI_TcArguments32nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments32nEventIdUDINT32EventClassGUID128AddIntI_TcArguments32valueINT16AddLIntI_TcArguments32valueLINT64AddLRealI_TcArguments32valueLREAL64AddRealI_TcArguments32valueREAL32AddSIntI_TcArguments32valueSINT8AddStringI_TcArguments32valueSTRING(80)32ItemTypeInOutAddStringByValueI_TcArguments32valueT_MaxString2048AddUDIntI_TcArguments32valueUDINT32AddUIntI_TcArguments32valueUINT16AddULIntI_TcArguments32valueULINT64AddUSIntI_TcArguments32valueUSINT8AddUtf8EncodedStringI_TcArguments32valueSTRING(80)32ItemTypeInOutAddWordI_TcArguments32valueWORD16AddWStringI_TcArguments32valueWSTRING(80)32ItemTypeInOutAddWStringByValueI_TcArguments32valueWSTRING(255)4096ClearI_TcArguments32ITcEventUniqueIdProvider32ITcUnknownGetUniqueIdHRESULT32idUDINT32FB_TcSourceInfo2848I_TcSourceInfonIdUDINT328025544080255464sNameSTRING(255)20488025548080255492ExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo32ipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefaultHRESULT32Clear__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo32__getguidGUID128guidGUID128property__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase3424I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2848256conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult643232conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83296conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult643328conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL83392conditionalshoweSeverityTcEventSeverity1680255592ipSourceInfoI_TcSourceInfo3280255572nEventIdUDINT3280255660nUniqueIdUDINT3280255664sEventClassNameSTRING(255)204880255620sEventTextSTRING(255)204880255668EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult32ItemTypeInOutipTmpEventITcEvent32ipResultITcAsyncStringResult32hrHRESULT32ReleaseHRESULT32UpdateLangId__getipSourceInfoI_TcSourceInfo32ipSourceInfoI_TcSourceInfo32propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshow__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent32property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent32propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult64uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSYOnArgumentsChanged__getsEventClassNameSTRING(255)2048sEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getipArgumentsI_TcArguments32ipArgumentsI_TcArguments32propertyGetEventTextHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult32ItemTypeInOutipTmpEventITcEvent32ipResultITcAsyncStringResult32hrHRESULT32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32ipTmpEventITcEvent32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult64uselocation__REQUESTEVENTCLASSNAME__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTCLASSNAME__BBUSYEqualsToEventEntryExBOOL8stOtherTcEventEntry192__getnEventIdUDINT32nEventIdUDINT32ipTmpEventITcEvent32propertymonitoringcall__getnUniqueIdUDINT32nUniqueIdUDINT32ipTmpEventITcEvent32ipProviderITcEventUniqueIdProvider32propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyI_TcMessage32I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage3488FB_TcEventBaseI_TcMessagenTimeSentULINT6480255692SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo32InitipMessageITcMessage32ipArgumentsITcArguments32ipSourceInfoITcSourceInfo32conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage232nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo32hrHRESULT32ipArgumentsITcArguments32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshowSendHRESULT32nTimeStampULINT64ReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIG - 64 - - CLK - BOOL - signal to detect - 8 - 32 - - - ItemType - Input - - - - - Q - BOOL - falling edge at signal detected - 8 - 40 - - - ItemType - Output - - - - - M - BOOL - 8 - 48 - - 1 - - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_LogMessage - 81984 - - sMsg - T_MaxString - Message to send - 2048 - 32 - - - ItemType - Input - - - - - eSevr - TcEventSeverity - 16 - 2080 - - 0 - - - - ItemType - Input - - - - - eSubsystem - E_Subsystem - Subsystem - 16 - 2096 - - - ItemType - Input - - - - - sJson - STRING(7000) - JSON to add to the message - 56008 - 2112 - - {} - - - - ItemType - Input - - - - - nMinTimeViolationAcceptable - INT - How many times the min. time can be violated before the CB trips - 16 - 58128 - - 5 - - - - ItemType - Input - - - - - nLocalTripThreshold - TIME - Minimum time between calls allowed, pairs with nMinTimeViolationAcceptable - 32 - 58144 - - 1 - - - - ItemType - Input - - - - - nTrickleTripThreshold - TIME - Trickle trip, activated by global threshold, should be >> LocalTripThreshold - 32 - 58176 - - 100 - - - - ItemType - Input - - - - - nTripResetPeriod - TIME - Time for auto-reset - 32 - 58208 - - 600000 - - - - ItemType - Input - - - - - bEnableAutoReset - BOOL - Enable circuit breaker auto-reset (true by default) - 8 - 58240 - - 1 - - - - ItemType - Input - - - - - bInitialized - BOOL - 8 - 58248 - - 0 - - - - bInitFailed - BOOL - 8 - 58256 - - 0 - - - - sSubsystemSource - STRING(80) - 648 - 58264 - - - fbMessage - FB_TcMessage - 32 - 58912 - - - fbMessages - FB_TcMessage - - 0 - 5 - - 17440 - 58944 - - - fbSource - FB_TcSourceInfo - 2848 - 76384 - - - ipResultMessage - I_TcMessage - 32 - 79232 - - - hr - HRESULT - 32 - 79264 - - - hrLastInternalError - HRESULT - 32 - 79296 - - - eTraceLevel - TcEventSeverity - 16 - 79328 - - 0 - - - - bFirstCall - BOOL - 8 - 79344 - - 1 - - - - sPath - T_MaxString - 2048 - 79352 - - - instance-path - - - noinit - - - - - nTimesViolated - INT - //////////////////////////// - 16 - 81408 - - - LastCallTime - ULINT - 64 - 81472 - - - CurrentCallTime - ULINT - 64 - 81536 - - - DeltaSinceLastCall - ULINT - 64 - 81600 - - - WhenTripsCleared - ULINT - 64 - 81664 - - - ftTrippedReleased - F_TRIG - 64 - 81728 - - - bLocalTrickleTripped - BOOL - 8 - 81792 - - - bLocalTripped - BOOL - 8 - 81800 - - - bTripped - BOOL - Won't emit messages if true - 8 - 81808 - - - pytmc - +]]>64CLKBOOL832ItemTypeInputQBOOL840ItemTypeOutputMBOOL8481conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LogMessage81984sMsgT_MaxString204832ItemTypeInputeSevrTcEventSeverity1620800ItemTypeInputeSubsystemE_Subsystem162096ItemTypeInputsJsonSTRING(7000)560082112{}ItemTypeInputnMinTimeViolationAcceptableINT16581285ItemTypeInputnLocalTripThresholdTIME32581441ItemTypeInputnTrickleTripThresholdTIME> LocalTripThreshold]]>3258176100ItemTypeInputnTripResetPeriodTIME3258208600000ItemTypeInputbEnableAutoResetBOOL8582401ItemTypeInputbInitializedBOOL8582480bInitFailedBOOL8582560sSubsystemSourceSTRING(80)64858264fbMessageFB_TcMessage3258912fbMessagesFB_TcMessage051744058944fbSourceFB_TcSourceInfo284876384ipResultMessageI_TcMessage3279232hrHRESULT3279264hrLastInternalErrorHRESULT3279296eTraceLevelTcEventSeverity16793280bFirstCallBOOL8793441sPathT_MaxString204879352instance-pathnoinitnTimesViolatedINT1681408LastCallTimeULINT6481472CurrentCallTimeULINT6481536DeltaSinceLastCallULINT6481600WhenTripsClearedULINT6481664ftTrippedReleasedF_TRIG6481728bLocalTrickleTrippedBOOL881792bLocalTrippedBOOL881800bTrippedBOOL881808pytmc pv: Tripped io: i field: DESC Log message FB tripped - - - - - - bResetBreaker - BOOL - 8 - 81816 - - - pytmc - + bResetBreakerBOOL881816pytmc pv: Reset io: o field: DESC Rising-edge reset of trip - - - - - - rtResetBreaker - R_TRIG - 64 - 81824 - - - rtTripped - R_TRIG - 64 - 81888 - - - CircuitBreaker - - - - PouType - FunctionBlock - - - reflection - - - - - _ST_NCADS_IDXOFFS_AxisParameter - 1632 - - PARAMSTRUCT - UDINT - NC ADS Index Offsets for Axis Parameters - 32 - 0 - - 0 - - - - ID - UDINT - 32 - 32 - - 1 - - - - NAME - UDINT - 32 - 64 - - 2 - - - - AXISTYPE - UDINT - 32 - 96 - - 3 - - - - CYCLETIME - UDINT - 32 - 128 - - 4 - - - - UNITNAME - UDINT - 32 - 160 - - 5 - - - - VELOREFSEARCH - UDINT - 32 - 192 - - 6 - - - - VELOSYNCSEARCH - UDINT - 32 - 224 - - 7 - - - - VELOSLOWMANUAL - UDINT - 32 - 256 - - 8 - - - - VELOFASTMANUAL - UDINT - 32 - 288 - - 9 - - - - VELOFAST - UDINT - 32 - 320 - - 10 - - - - POSAREAENABLE - UDINT - 32 - 352 - - 15 - - - - POSAREARANGE - UDINT - 32 - 384 - - 16 - - - - MOTCNTRLENABLE - UDINT - 32 - 416 - - 17 - - - - MOTCNTRLTIME - UDINT - 32 - 448 - - 18 - - - - LOOPENABLE - UDINT - 32 - 480 - - 19 - - - - LOOPDISTANCE - UDINT - 32 - 512 - - 20 - - - - TARGETPOSENA - UDINT - 32 - 544 - - 21 - - - - TARGETPOSRANGE - UDINT - 32 - 576 - - 22 - - - - TARGETPOSTIME - UDINT - 32 - 608 - - 23 - - - - PULSDISTPOS - UDINT - 32 - 640 - - 24 - - - - PULSDISTNEG - UDINT - 32 - 672 - - 25 - - - - FADINGACCELERATION - UDINT - 32 - 704 - - 29 - - - - FASTAXISSTOPSIGNALTYPE - UDINT - 32 - 736 - - 30 - - - - UNITFLAGS - UDINT - 32 - 768 - - 38 - - - - VELOMAXIMUM - UDINT - 32 - 800 - - 39 - - - - MOTCNTRLRANGE - UDINT - 32 - 832 - - 40 - - - - PEHCONTROLENA - UDINT - 32 - 864 - - 41 - - - - PEHCONTROLTIME - UDINT - 32 - 896 - - 42 - - - - BACKLASHCOMPENA - UDINT - 32 - 928 - - 43 - - - - BACKLASH - UDINT - 32 - 960 - - 44 - - - - DATAPERSISTENCE - UDINT - 32 - 992 - - 48 - - - - HWAMSADDR - UDINT - 32 - 1024 - - 49 - - - - HWCHNNO - UDINT - 32 - 1056 - - 50 - - - - APPLICATIONREQUEST - UDINT - 32 - 1088 - - 51 - - - - ACC - UDINT - 32 - 1120 - - 257 - - - - DEC - UDINT - 32 - 1152 - - 258 - - - - JERK - UDINT - 32 - 1184 - - 259 - - - - DELAY - UDINT - 32 - 1216 - - 260 - - - - OVERRIDETYPE - UDINT - 32 - 1248 - - 261 - - - - VELOJUMPFACTOR - UDINT - 32 - 1280 - - 262 - - - - REDUCTIONFEEDBACK - UDINT - 32 - 1312 - - 263 - - - - TOLERANCEBALLAUXAXIS - UDINT - 32 - 1344 - - 264 - - - - MAXPOSDEVIATIONAUXAXIS - UDINT - 32 - 1376 - - 265 - - - - FASTACC - UDINT - 32 - 1408 - - 266 - - - - FASTDEC - UDINT - 32 - 1440 - - 267 - - - - FASTJERK - UDINT - 32 - 1472 - - 268 - - - - REF_POS - UDINT - 32 - 1504 - - 65795 - - - - ENCSEARCHDIR - UDINT - 32 - 1536 - - 65793 - - - - ENCSYNCDIR - UDINT - 32 - 1568 - - 65794 - - - - ENCREFMODE - UDINT - 32 - 1600 - - 65799 - - - - - conditionalshow - - - - - _ST_NCADS_AxisParameter - 1664 - - IDXGRP - UDINT - 32 - 0 - - 16384 - - - - IDXOFFS - _ST_NCADS_IDXOFFS_AxisParameter - 1632 - 32 - - - - conditionalshow - - - - - _ST_NCADS_IDXOFFS_AxisState - 800 - - ONLINESTRUCT - UDINT - 32 - 0 - - 0 - - - - ERROR - UDINT - 32 - 32 - - 1 - - - - SETTASKCYCLE - UDINT - + rtResetBreakerR_TRIG6481824rtTrippedR_TRIG6481888CircuitBreakerPouTypeFunctionBlockreflection_ST_NCADS_IDXOFFS_AxisParameter1632PARAMSTRUCTUDINT3200IDUDINT32321NAMEUDINT32642AXISTYPEUDINT32963CYCLETIMEUDINT321284UNITNAMEUDINT321605VELOREFSEARCHUDINT321926VELOSYNCSEARCHUDINT322247VELOSLOWMANUALUDINT322568VELOFASTMANUALUDINT322889VELOFASTUDINT3232010POSAREAENABLEUDINT3235215POSAREARANGEUDINT3238416MOTCNTRLENABLEUDINT3241617MOTCNTRLTIMEUDINT3244818LOOPENABLEUDINT3248019LOOPDISTANCEUDINT3251220TARGETPOSENAUDINT3254421TARGETPOSRANGEUDINT3257622TARGETPOSTIMEUDINT3260823PULSDISTPOSUDINT3264024PULSDISTNEGUDINT3267225FADINGACCELERATIONUDINT3270429FASTAXISSTOPSIGNALTYPEUDINT3273630UNITFLAGSUDINT3276838VELOMAXIMUMUDINT3280039MOTCNTRLRANGEUDINT3283240PEHCONTROLENAUDINT3286441PEHCONTROLTIMEUDINT3289642BACKLASHCOMPENAUDINT3292843BACKLASHUDINT3296044DATAPERSISTENCEUDINT3299248HWAMSADDRUDINT32102449HWCHNNOUDINT32105650APPLICATIONREQUESTUDINT32108851ACCUDINT321120257DECUDINT321152258JERKUDINT321184259DELAYUDINT321216260OVERRIDETYPEUDINT321248261VELOJUMPFACTORUDINT321280262REDUCTIONFEEDBACKUDINT321312263TOLERANCEBALLAUXAXISUDINT321344264MAXPOSDEVIATIONAUXAXISUDINT321376265FASTACCUDINT321408266FASTDECUDINT321440267FASTJERKUDINT321472268REF_POSUDINT32150465795ENCSEARCHDIRUDINT32153665793ENCSYNCDIRUDINT32156865794ENCREFMODEUDINT32160065799conditionalshow_ST_NCADS_AxisParameter1664IDXGRPUDINT32016384IDXOFFS_ST_NCADS_IDXOFFS_AxisParameter163232conditionalshow_ST_NCADS_IDXOFFS_AxisState800ONLINESTRUCTUDINT3200ERRORUDINT32321SETTASKCYCLEUDINT - 32 - 64 - - 9 - - - - SETPOS - UDINT - 32 - 96 - - 10 - - - - SETVELO - UDINT - 32 - 128 - - 14 - - - - SETACC - UDINT - 32 - 160 - - 15 - - - - MODULOSETPOS - UDINT - 32 - 192 - - 11 - - - - MODULOSETTURNS - UDINT - 32 - 224 - - 12 - - - - SETDIR - UDINT - 32 - 256 - - 13 - - - - TARGETPOSITION - UDINT - 32 - 288 - - 19 - - - - REMAININGTIMEANDPOS - UDINT - 32 - 320 - - 20 - - - - STOPINFORMATION - UDINT - 32 - 352 - - 24 - - - - SETTASKCYCLE_WITHOUTCORR - UDINT - 32 - 384 - - 25 - - - - SETPOS_WITHOUTCORR - UDINT - 32 - 416 - - 26 - - - - SETVELO_WITHOUTCORR - UDINT - 32 - 448 - - 30 - - - - SETACC_WITHOUTCORR - UDINT - 32 - 480 - - 31 - - - - SETDIR_WITHOUTCORR - UDINT - 32 - 512 - - 29 - - - - COUPLESTATE - UDINT - 32 - 544 - - 32 - - - - CPLPARAMS - UDINT - 32 - 576 - - 34 - - - - CPLFACTOR - UDINT - 32 - 608 - - 35 - - - - AXISCTRLLOOPIDX - UDINT - 32 - 640 - - 36 - - - - AXISSETPOINTGENIDX - UDINT - 32 - 672 - - 37 - - - - CPLCHARACVALUES - UDINT - 32 - 704 - - 38 - - - - CAMINFO - UDINT - 32 - 736 - - 39 - - - - CAMSTATUS - UDINT - activation status etc. - 32 - 768 - - 40 - - - - - conditionalshow - - - - - _ST_NCADS_AxisState - 832 - - IDXGRP - UDINT - 32 - 0 - - 16640 - - - - IDXOFFS - _ST_NCADS_IDXOFFS_AxisState - 800 - 32 - - - - conditionalshow - - - - - _ST_NCADS_IDXOFFS_AxisFunctions - 1792 - - RESET - UDINT - 32 - 0 - - 1 - - - - STOP - UDINT - 32 - 32 - - 2 - - - - CLEAR - UDINT - 32 - 64 - - 3 - - - - EMERGENCYSTOP - UDINT - 32 - 96 - - 4 - - - - PARAMETRIZEDSTOP - UDINT - 32 - 128 - - 5 - - - - INITIALIZE - UDINT - Initialize Axis - 32 - 160 - - 7 - - - - ORIENTEDSTOP - UDINT - 19.04.04 issue #2470 - 32 - 192 - - 9 - - - - CALIBR - UDINT - 32 - 224 - - 16 - - - - NEWTARGPOS - UDINT - 32 - 256 - - 17 - - - - NEWTARGPOSANDVELO - UDINT - 32 - 288 - - 18 - - - - CHANGEDYNAMICPARAM - UDINT - NEU: Neue Dynamikparameter (Acc;Dec) fuer Positionierung - 32 - 320 - - 21 - - - - UNIVERSALSTART - UDINT - 05.03.07: new 'axis start and restart' command with buffer mode (issue #2786+#3276) - 32 - 352 - - 22 - - - - SLAVEUNIVERSALSTART - UDINT - 24.02.09: decoupling command with succeding universal axis start commanded to a slave axis - 32 - 384 - - 23 - - - - RELEASEAXISLOCK - UDINT - 10.12.18 release axis lock for motion commands - 32 - 416 - - 24 - - - - SETEXTERNALERROR - UDINT - 06.10.04: Externen Achsfehler setzen (Laufzeitfehler) issue #2665 - 32 - 448 - - 25 - - - - SETPOS - UDINT - 32 - 480 - - 26 - - - - SETCALFLAG - UDINT - "ist referenziert"-Flag setzen - 32 - 512 - - 27 - - - - SETACTPOS - UDINT - nur Istwertsetzen ohne Sollwertaenderung !!! - 32 - 544 - - 28 - - - - SETDRIVEPOS - UDINT - antriebsseitiges Istwertsetzen - 32 - 576 - - 29 - - - - SETENCODERSCALING - UDINT - 17.07.08: "Fliegende Änderung des Skalierungsfaktors" - 32 - 608 - - 30 - - - - SETPOSONTHEFLY - UDINT - 29.11.05: "Fliegendes Istwert Setzen" (betrifft Ist - und Sollwert) (issue #3017) - 32 - 640 - - 31 - - - - START - UDINT - 32 - 672 - - 32 - - - - STARTEXT - UDINT - 32 - 704 - - 33 - - - - STARTVELOCHANGE - UDINT - special function for MMW - 32 - 736 - - 34 - - - - ENABLEEXTGEN - UDINT - enable/start external setpoint values - 32 - 768 - - 35 - - - - DISABLEEXTGEN - UDINT - disable/stop external setpoint values - 32 - 800 - - 36 - - - - REVERSINGSEQUENCE - UDINT - 32 - 832 - - 37 - - - - STARTDRVOUT - UDINT - 32 - 864 - - 38 - - - - STOPDRVOUT - UDINT - 32 - 896 - - 39 - - - - CHANGEDRVOUT - UDINT - 32 - 928 - - 40 - - - - JUMPTOOVERRIDE - UDINT - 04.11.04: jump to actual override value and froze them until change (issue #2697) - 32 - 960 - - 41 - - - - EXTSETGENUNIVERSALSTART - UDINT - 23.11.10: deactivation of external setpoint generator with succeding universal axis start command - 32 - 992 - - 43 - - - - UNIVERSALTORQUESTART - UDINT - 20181210 Fap - new 'axis torque control start and restart' command with buffer mode - 32 - 1024 - - 45 - - - - STARTSCOM - UDINT - start superposition (position compensation) - 21.12.04: nun auch als 'ReadWrite'-Kommando - 32 - 1056 - - 48 - - - - STOPSCOM - UDINT - stop superposition (position compensation) - 32 - 1088 - - 49 - - - - PHASINGREQEUST - UDINT - start/stop the additional phasing set point generator used for a master/slave phase shift - 32 - 1120 - - 52 - - - - CPL - UDINT - Achse koppeln - 32 - 1152 - - 64 - - - - DECPL - UDINT - Achse entkoppeln (und optional neue Endposition mit neuer Geschwindigkeit) - 32 - 1184 - - 65 - - - - CPLCHANGE - UDINT - Achse Koppelparams ändern - 32 - 1216 - - 66 - - - - TABCPLCHANGE - UDINT - 3x TabSlaveAxe Tabelle-Koppelparams ändern - 32 - 1248 - - 67 - - - - STOPSLAVE - UDINT - Slave-Stop (Diagonal-Slave / Flying Saw) - 32 - 1280 - - 68 - - - - CPLTAB - UDINT - TabSlaveAxe Koppelparams setzen - 32 - 1312 - - 69 - - - - TABSLVACTIVCOR - UDINT - 2x TabSlaveAxe Korrekturtabelle aktivieren (mit/ohne Aktivierungsposition) - 32 - 1344 - - 70 - - - - TABSLVLEAVECYC - UDINT - TabSlaveAxe Monozyklische Tabelle beenden - 32 - 1376 - - 71 - - - - TABSLVCOROFFSET - UDINT - TabSlaveAxe Letzter Korrektur Offset - 32 - 1408 - - 72 - - - - TABSLVSCALING - UDINT - NEU: Slave-Skalierung der Solo-Tabellenkopplung setzen - 32 - 1440 - - 73 - - - - CPLSOLOTAB - UDINT - Solo Tabellen Kopplung - 32 - 1472 - - 74 - - - - CPLSYNCHRONIZING - UDINT - Slave Synchronizing Generator ('GearInPos' and 'GearInVelo') - 32 - 1504 - - 75 - - - - CAMSCALING - UDINT - Slave Change CAM Scaling (Aenderung der Tabellenskalierung) (issue #2514) - 32 - 1536 - - 77 - - - - DISABLE - UDINT - Achse sperren - 32 - 1568 - - 80 - - - - ENABLE - UDINT - Achse reaktivieren - 32 - 1600 - - 81 - - - - CHANGEAXISCTRLLOOP - UDINT - NEU: Aenderung des aktiven Achsregelkreises - 32 - 1632 - - 82 - - - - DRIVEDISABLE - UDINT - Drive-Output der Achse sperren - 32 - 1664 - - 96 - - - - DRIVEENABLE - UDINT - Drive-Output der Achse reaktivieren - 32 - 1696 - - 97 - - - - RELEASEBRAKE - UDINT - Feststellbremse loesen (Eil/Schleich-Gruppe) - 32 - 1728 - - 98 - - - - RECONFIGURATE - UDINT - Achse zurueckfuehren in eigene PTP-Gruppe - 32 - 1760 - - 112 - - - - - conditionalshow - - - - - _ST_NCADS_AxisFunctions - 1824 - - IDXGRP - UDINT - 32 - 0 - - 16896 - - - - IDXOFFS - _ST_NCADS_IDXOFFS_AxisFunctions - 1792 - 32 - - - - conditionalshow - - - - - _ST_NCADS_Axis - 4320 - - Parameter - _ST_NCADS_AxisParameter - 1664 - 0 - - - State - _ST_NCADS_AxisState - 832 - 1664 - - - Functions - _ST_NCADS_AxisFunctions - 1824 - 2496 - - - - conditionalshow - - - - - _ST_NCADS_IDXOFFS_TableParameter - 192 - - MFREADCHARACVALUES - UDINT - read characteristic values of a motion function - 32 - 0 - - 80 - - - - WRITETABROWS - UDINT - write table - 32 - 32 - - 16777216 - - - - WRITEMFTABROWS - UDINT - write motion function table - 32 - 64 - - 83886080 - - - - MFREADTAB - UDINT - read motion function as data table - 32 - 96 - - 34 - - - - READSLAVEDYNAMICS - UDINT - read slave table position, velocity and acceleration related to a master position - 32 - 128 - - 35 - - - - READMASTERPOSITION - UDINT - read master table position related to slave position - 32 - 160 - - 36 - - - - - conditionalshow - - - - - _ST_NCADS_TableParameter - 224 - - IDXGRP - UDINT - 32 - 0 - - 40960 - - - - IDXOFFS - _ST_NCADS_IDXOFFS_TableParameter - 192 - 32 - - - - conditionalshow - - - - - _ST_NCADS_IDXOFFS_TableFunctions - 96 - - CREATETAB - UDINT - create table - 32 - 0 - - 65536 - - - - CREATEMOTIONTAB - UDINT - create motion function table - 32 - 32 - - 65552 - - - - DELETETAB - UDINT - delete tables - 32 - 64 - - 131072 - - - - - conditionalshow - - - - - _ST_NCADS_TableFunctions - 128 - - IDXGRP - UDINT - 32 - 0 - - 41472 - - - - IDXOFFS - _ST_NCADS_IDXOFFS_TableFunctions - 96 - 32 - - - - conditionalshow - - - - - _ST_NCADS_Table - 352 - - Parameter - _ST_NCADS_TableParameter - 224 - 0 - - - Functions - _ST_NCADS_TableFunctions - 128 - 224 - - - - conditionalshow - - - - - T_AmsPort - TwinCAT AMS port address. - 16 - UINT - - - ADSRDDEVINFO - ADS read device info command. - 1280 - - NETID - T_AmsNetID - Ams net id - 192 - 32 - - - ItemType - Input - - - - - PORT - T_AmsPort - Ads communication port - 16 - 224 - - - ItemType - Input - - - - - RDINFO - BOOL - Rising edge starts command execution - 8 - 240 - - - ItemType - Input - - - - - TMOUT - TIME - Maximum time allowed for the execution of this ADS command - 32 - 256 - - 5000 - - - - ItemType - Input - - - - - BUSY - BOOL - Busy flag - 8 - 288 - - - ItemType - Output - - - - - ERR - BOOL - Error flag - 8 - 296 - - - ItemType - Output - - - - - ERRID - UDINT - ADS error code - 32 - 320 - - - ItemType - Output - - - - - DEVNAME - STRING(19) - Device name - 160 - 352 - - - ItemType - Output - - - - - DEVVER - UDINT - Device version - 32 - 512 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - hide_all_locals - - - - - _TCMCGLOBAL - Global constants and parameters - 6976 - - NCPORT_TCMC - UINT - 20110511 type changed from INT to UINT - 16 - 32 - - 500 - - - - ItemType - Input - - - - - NCPORT_TCMC_COUPLING - UINT - 20110511 type changed from INT to UINT - 16 - 48 - - 500 - - - - ItemType - Input - - - - - NCNETID_TCMC - T_AmsNetID - 192 - 64 - - - - - - ItemType - Input - - - - - NCPORT_TCMC_CAM - UINT - 20110511 type changed from INT to UINT - 16 - 256 - - 500 - - - - ItemType - Input - - - - - NCPORT_TCMC_CAM_FAST - UINT - 20150728 KSt added - 16 - 272 - - 500 - - - - ItemType - Input - - - - - NCNETID_TCMC_CAM - T_AmsNetID - 192 - 288 - - - - - - ItemType - Input - - - - - NCPORT_TCMC_SUPERPOSITION - UINT - 20140930 KSt added - 16 - 480 - - 501 - - - - ItemType - Input - - - - - NCPORT_TCMC_RESET - UINT - 20211019 KSt added - 16 - 496 - - 500 - - - - ItemType - Input - - - - - NcDeviceInfoTcMainVersion - DWORD - 32 - 512 - - - ItemType - Output - - - - - NcDeviceInfoTcSubVersion - DWORD - 32 - 544 - - - ItemType - Output - - - - - NcDeviceInfoNcDriverVersion - DWORD - 32 - 576 - - - ItemType - Output - - - - - NcDeviceInfoNcVersion - DWORD - 32 - 608 - - - ItemType - Output - - - - - NcDeviceInfoNcName - STRING(19) - 160 - 640 - - - ItemType - Output - - - - - Axis - _ST_NCADS_Axis - IDXGRP and IDXOFFS constants of axis parameter/status/functions - 4320 - 800 - - - ItemType - Output - - - suppress_warning_0 - C0228 - - - - - Table - _ST_NCADS_Table - IDXGRP and IDXOFFS constants of table parameter/status/functions - 352 - 5120 - - - ItemType - Output - - - suppress_warning_0 - C0228 - - - - - NCPORT_TCNCCAMMING_TABLEFUNCTION - UINT - 16 - 5472 - - 500 - - - - tTargetPosTimeOut - TIME - 32 - 5504 - - 6000 - - - - tADSTimeOut - TIME - 32 - 5536 - - 1000 - - - - tStopMonitoringTimeOut - TIME - 32 - 5568 - - 100 - - - - NCTOPLC_FEEDBACK_MAXWAITCYCLES - INT - 16 - 5600 - - 10 - - - - fbADSRDDEVINFO - ADSRDDEVINFO - 1280 - 5632 - - - DeviceVersion - DWORD - 32 - 6912 - - - Init - BOOL - 8 - 6944 - - - ReadDeviceInfo - - - - PouType - FunctionBlock - - - conditionalshow - - - - - PE_Ranges - Does nothing other than set the gvl for photon energy bitmask to one of two constants, K or L. +]]>32649SETPOSUDINT329610SETVELOUDINT3212814SETACCUDINT3216015MODULOSETPOSUDINT3219211MODULOSETTURNSUDINT3222412SETDIRUDINT3225613TARGETPOSITIONUDINT3228819REMAININGTIMEANDPOSUDINT3232020STOPINFORMATIONUDINT3235224SETTASKCYCLE_WITHOUTCORRUDINT3238425SETPOS_WITHOUTCORRUDINT3241626SETVELO_WITHOUTCORRUDINT3244830SETACC_WITHOUTCORRUDINT3248031SETDIR_WITHOUTCORRUDINT3251229COUPLESTATEUDINT3254432CPLPARAMSUDINT3257634CPLFACTORUDINT3260835AXISCTRLLOOPIDXUDINT3264036AXISSETPOINTGENIDXUDINT3267237CPLCHARACVALUESUDINT3270438CAMINFOUDINT3273639CAMSTATUSUDINT3276840conditionalshow_ST_NCADS_AxisState832IDXGRPUDINT32016640IDXOFFS_ST_NCADS_IDXOFFS_AxisState80032conditionalshow_ST_NCADS_IDXOFFS_AxisFunctions1792RESETUDINT3201STOPUDINT32322CLEARUDINT32643EMERGENCYSTOPUDINT32964PARAMETRIZEDSTOPUDINT321285INITIALIZEUDINT321607ORIENTEDSTOPUDINT321929CALIBRUDINT3222416NEWTARGPOSUDINT3225617NEWTARGPOSANDVELOUDINT3228818CHANGEDYNAMICPARAMUDINT3232021UNIVERSALSTARTUDINT3235222SLAVEUNIVERSALSTARTUDINT3238423RELEASEAXISLOCKUDINT3241624SETEXTERNALERRORUDINT3244825SETPOSUDINT3248026SETCALFLAGUDINT3251227SETACTPOSUDINT3254428SETDRIVEPOSUDINT3257629SETENCODERSCALINGUDINT3260830SETPOSONTHEFLYUDINT3264031STARTUDINT3267232STARTEXTUDINT3270433STARTVELOCHANGEUDINT3273634ENABLEEXTGENUDINT3276835DISABLEEXTGENUDINT3280036REVERSINGSEQUENCEUDINT3283237STARTDRVOUTUDINT3286438STOPDRVOUTUDINT3289639CHANGEDRVOUTUDINT3292840JUMPTOOVERRIDEUDINT3296041EXTSETGENUNIVERSALSTARTUDINT3299243UNIVERSALTORQUESTARTUDINT32102445STARTSCOMUDINT32105648STOPSCOMUDINT32108849PHASINGREQEUSTUDINT32112052CPLUDINT32115264DECPLUDINT32118465CPLCHANGEUDINT32121666TABCPLCHANGEUDINT32124867STOPSLAVEUDINT32128068CPLTABUDINT32131269TABSLVACTIVCORUDINT32134470TABSLVLEAVECYCUDINT32137671TABSLVCOROFFSETUDINT32140872TABSLVSCALINGUDINT32144073CPLSOLOTABUDINT32147274CPLSYNCHRONIZINGUDINT32150475CAMSCALINGUDINT32153677DISABLEUDINT32156880ENABLEUDINT32160081CHANGEAXISCTRLLOOPUDINT32163282DRIVEDISABLEUDINT32166496DRIVEENABLEUDINT32169697RELEASEBRAKEUDINT32172898RECONFIGURATEUDINT321760112conditionalshow_ST_NCADS_AxisFunctions1824IDXGRPUDINT32016896IDXOFFS_ST_NCADS_IDXOFFS_AxisFunctions179232conditionalshow_ST_NCADS_Axis4320Parameter_ST_NCADS_AxisParameter16640State_ST_NCADS_AxisState8321664Functions_ST_NCADS_AxisFunctions18242496conditionalshow_ST_NCADS_IDXOFFS_TableParameter192MFREADCHARACVALUESUDINT32080WRITETABROWSUDINT323216777216WRITEMFTABROWSUDINT326483886080MFREADTABUDINT329634READSLAVEDYNAMICSUDINT3212835READMASTERPOSITIONUDINT3216036conditionalshow_ST_NCADS_TableParameter224IDXGRPUDINT32040960IDXOFFS_ST_NCADS_IDXOFFS_TableParameter19232conditionalshow_ST_NCADS_IDXOFFS_TableFunctions96CREATETABUDINT32065536CREATEMOTIONTABUDINT323265552DELETETABUDINT3264131072conditionalshow_ST_NCADS_TableFunctions128IDXGRPUDINT32041472IDXOFFS_ST_NCADS_IDXOFFS_TableFunctions9632conditionalshow_ST_NCADS_Table352Parameter_ST_NCADS_TableParameter2240Functions_ST_NCADS_TableFunctions128224conditionalshowT_AmsPort16UINTADSRDDEVINFO1280NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputRDINFOBOOL8240ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputDEVNAMESTRING(19)160352ItemTypeOutputDEVVERUDINT32512ItemTypeOutputPouTypeFunctionBlockhide_all_locals_TCMCGLOBAL6976NCPORT_TCMCUINT1632500ItemTypeInputNCPORT_TCMC_COUPLINGUINT1648500ItemTypeInputNCNETID_TCMCT_AmsNetID19264ItemTypeInputNCPORT_TCMC_CAMUINT16256500ItemTypeInputNCPORT_TCMC_CAM_FASTUINT16272500ItemTypeInputNCNETID_TCMC_CAMT_AmsNetID192288ItemTypeInputNCPORT_TCMC_SUPERPOSITIONUINT16480501ItemTypeInputNCPORT_TCMC_RESETUINT16496500ItemTypeInputNcDeviceInfoTcMainVersionDWORD32512ItemTypeOutputNcDeviceInfoTcSubVersionDWORD32544ItemTypeOutputNcDeviceInfoNcDriverVersionDWORD32576ItemTypeOutputNcDeviceInfoNcVersionDWORD32608ItemTypeOutputNcDeviceInfoNcNameSTRING(19)160640ItemTypeOutputAxis_ST_NCADS_Axis4320800ItemTypeOutputsuppress_warning_0C0228Table_ST_NCADS_Table3525120ItemTypeOutputsuppress_warning_0C0228NCPORT_TCNCCAMMING_TABLEFUNCTIONUINT165472500tTargetPosTimeOutTIME3255046000tADSTimeOutTIME3255361000tStopMonitoringTimeOutTIME325568100NCTOPLC_FEEDBACK_MAXWAITCYCLESINT16560010fbADSRDDEVINFOADSRDDEVINFO12805632DeviceVersionDWORD326912InitBOOL86944ReadDeviceInfoPouTypeFunctionBlockconditionalshowPE_Ranges - 32 - - - PouType - FunctionBlock - - - - - ST_PMPS_Attenuator_IO - 64 - - nTran - REAL - 32 - 0 - - - xAttOK - UINT - 16 - 32 - - - - - - - - - - - - - - - ST_PMPS_Attenuator - 64 - ST_PMPS_Attenuator_IO - - - ST_PMPS_Aperture_IO - 96 - - Width - REAL - distance between horizontal slits (x) - 32 - 0 - - - plcAttribute_pytmc - pv: Width + Otherwise I would have just used the compile define in the GVL declaration.]]>32PouTypeFunctionBlockST_PMPS_Attenuator_IO64nTranREAL320xAttOKUINT1632ST_PMPS_Attenuator64ST_PMPS_Attenuator_IOST_PMPS_Aperture_IO96WidthREAL320plcAttribute_pytmcpv: Width io: i - field: EGU mm - - - - - Height - REAL - distance between vertical slits (y) - 32 - 32 - - - plcAttribute_pytmc - pv: Height + field: EGU mmHeightREAL3232plcAttribute_pytmcpv: Height io: i - field: EGU mm - - - - - xOK - BOOL - status of aperture, false if error or in motion - 8 - 64 - - - plcAttribute_pytmc - pv: OK - io: i - - - - - - ST_PMPS_Aperture - 96 - ST_PMPS_Aperture_IO - - - ST_BeamParams - 1760 - - nTran - REAL - Requested pre-optic attenuation % - 32 - 0 - - 0 - - - - pytmc - pv: Transmission + field: EGU mmxOKBOOL864plcAttribute_pytmcpv: OK + io: iST_PMPS_Aperture96ST_PMPS_Aperture_IOST_BeamParams1760nTranREAL3200pytmcpv: Transmission io: i field: HOPR 1; field: LOPR 0; field: PREC 2; - - - - - - nRate - UDINT - Pulse-rate - 32 - 32 - - 0 - - - - pytmc - pv: Rate + nRateUDINT32320pytmcpv: Rate io: i field: EGU Hz - - - - - - neVRange - DWORD - Photon energy ranges - 32 - 64 - - 0 - - - - pytmc - pv: eVRanges + neVRangeDWORD32640pytmcpv: eVRanges io: i - field: EGU eV - - - displaymode - binary - - - - - neV - REAL - Photon energy - 32 - 96 - - 0 - - - - pytmc - pv: PhotonEnergy + field: EGU eVdisplaymodebinaryneVREAL32960pytmcpv: PhotonEnergy io: i - field: EGU eV - - - - - nBCRange - WORD - Beamclass ranges - 16 - 128 - - 0 - - - - pytmc - pv: BeamClassRanges - io: i - - - displaymode - binary - - - - - nBeamClass - USINT - Beamclass - 8 - 144 - - 0 - - - - pytmc - pv: BeamClass - io: i - - - - - nMachineMode - USINT - Machine Mode - 8 - 152 - - 3 - - - - pytmc - pv: MachineMode - io: i - - - - - astAttenuators - ST_PMPS_Attenuator - - 1 - 16 - - Beamline attenuators - 1024 - 160 - - - pytmc - pv: AuxAtt - io: i - - - - - aVetoDevices - BOOL - - 1 - 16 - - Stoppers - 128 - 1184 - - - pytmc - pv: Veto - io: i - - - - - astApertures - ST_PMPS_Aperture - - 1 - 4 - - Apertures - 384 - 1312 - - - [1].Width - 1000 - - - [1].Height - 1000 - - - [2].Width - 1000 - - - [2].Height - 1000 - - - [3].Width - 1000 - - - [3].Height - 1000 - - - [4].Width - 1000 - - - [4].Height - 1000 - - - - - pytmc - pv: Apt - io: i - - - - - xValidToggle - BOOL - Toggle for watchdog - 8 - 1696 - - - xValid - BOOL - Beam parameter set is valid (if readback), or acknowledged (if request) - 8 - 1704 - - - pytmc - pv: Valid - io: i - - - - - nCohortInt - UDINT - Cohort index. Identifies which cohort this BP set was included in arbitration - 32 - 1728 - - - pytmc - pv: Cohort + field: EGU eVnBCRangeWORD161280pytmcpv: BeamClassRanges + io: idisplaymodebinarynBeamClassUSINT81440pytmcpv: BeamClass + io: inMachineModeUSINT81523pytmcpv: MachineMode + io: iastAttenuatorsST_PMPS_Attenuator1161024160pytmcpv: AuxAtt + io: iaVetoDevicesBOOL1161281184pytmcpv: Veto + io: iastAperturesST_PMPS_Aperture143841312[1].Width1000[1].Height1000[2].Width1000[2].Height1000[3].Width1000[3].Height1000[4].Width1000[4].Height1000pytmcpv: Apt + io: ixValidToggleBOOL81696xValidBOOL81704pytmcpv: Valid + io: inCohortIntUDINT321728pytmcpv: Cohort io: i field: DESC Cohort inc on each arb cycle - - - - - - - FB_DiffBP_Test - 33551744 - FB_TestSuite - - BPDiff - - BP1 - ST_BeamParams - 1760 - - - BP2 - ST_BeamParams - 1760 - - - - - PouType - FunctionBlock - - - call_after_init - - - - - I_HigherAuthority - 32 - PVOID - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - - RemoveRequest - BOOL - 8 - - nReqID - StateID to remove - DWORD - 32 - - - - RequestBP - BOOL - 8 - - nReqID - StateID of state requesting beam parameter set - DWORD - 32 - - - stReqBP - Requested beam params - ST_BeamParams - 1760 - - - - - I_LowerAuthority - 32 - PVOID - - __getnLowerAuthorityID - DWORD - 32 - - - property - - - - - ElevateRequest - BOOL - 8 - - HigherAuthority - I_HigherAuthority - 32 - - - - - T_HashTableEntry - 64 - - key - DWORD - 32 - 0 - - 0 - - - - pytmc - + FB_DiffBP_Test33551744FB_TestSuiteBPDiffBP1ST_BeamParams1760BP2ST_BeamParams1760PouTypeFunctionBlockcall_after_initI_HigherAuthority32PVOIDCheckRequestBOOL8nReqIDDWORD32RemoveRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760I_LowerAuthority32PVOID__getnLowerAuthorityIDDWORD32propertyElevateRequestBOOL8HigherAuthorityI_HigherAuthority32T_HashTableEntry64keyDWORD3200pytmc pv: Key io: i - - - - - - value - PVOID - 32 - 32 - - 0 - - - - - ST_BP_ArbInternal - 2464 - ST_BeamParams - - nId - DWORD - 32 - 1760 - - - pytmc - pv: ID + valuePVOID32320ST_BP_ArbInternal2464ST_BeamParamsnIdDWORD321760pytmcpv: ID io: i - - - - - - LiveInTable - BOOL - 8 - 1792 - - - pytmc - pv: Live + LiveInTableBOOL81792pytmcpv: Live io: i - - - - - - sDevName - STRING(80) - 648 - 1800 - - - pytmc - pv: Device + sDevNameSTRING(80)6481800pytmcpv: Device io: i - - - - - - - T_HashTableEntry - Hash table entry - 192 - - key - DWORD - Entry key: 32 bit unsigned integer or pointer - 32 - 0 - - 0 - - - - value - PVOID - Entry value: 32/64 bit unsigned integer or pointer - 32 - 32 - - 0 - - - - lock - DWORD - Node state flags: Bit 0 <0..1>: 0 = node free, 1 = node in use, other bits reserved - 32 - 64 - - 0 - - - - conditionalshow - - - - - pNext - PVOID - Pointer to next hash table element - 32 - 96 - - 0 - - - - conditionalshow - - - - - pNextFree - PVOID - Pointer to next free element - 32 - 128 - - 0 - - - - conditionalshow - - - - - pNextGlob - PVOID - Pointer to next global element - 32 - 160 - - 0 - - - - conditionalshow - - - - - - T_HHASHTABLE - Hash table object handle - 3488 - - nCount - UDINT - Number of used hash table entries - 32 - 0 - - 0 - - - - nFree - UDINT - Number of free hash table entries - 32 - 32 - - 0 - - - - pEntries - T_HashTableEntry - Pointer to table array - 32 - 64 - - 0 - - - - conditionalshow - - - - - cbEntries - UDINT - Byte size of table array - 32 - 96 - - 0 - - - - conditionalshow - - - - - nElements - UDINT - Number of table/array elements - 32 - 128 - - 0 - - - - conditionalshow - - - - - cbElement - UDINT - Byte size of one array element - 32 - 160 - - 0 - - - - conditionalshow - - - - - pEntrys - T_HashTableEntry - - 0 - 101 - - 3232 - 192 - - - conditionalshow - - - - - pFreeEntrys - T_HashTableEntry - 32 - 3424 - - 0 - - - - conditionalshow - - - - - pFirstEntry - T_HashTableEntry - 32 - 3456 - - 0 - - - - conditionalshow - - - - - - FB_HashTableCtrl - Hash table control function block - 352 - - hTable - T_HHASHTABLE - Hash table handle variable - 32 - 32 - - - ItemType - InOut - - - - - key - DWORD - Entry key: 32 bit unsigned integer or pointer, used by A_Lookup, A_Remove method, the key.lookup variable is also used by A_Add method - 32 - 64 - - 0 - - - - ItemType - Input - - - - - putValue - PVOID - Entry value: 32/64 bit unsigned integer or pointer - 32 - 96 - - 0 - - - - ItemType - Input - - - - - putPosPtr - T_HashTableEntry - Hash table entry position pointer, used by A_GetNext - 32 - 128 - - 0 - - - - ItemType - Input - - - - - bOk - BOOL - TRUE = success, FALSE = error - 8 - 160 - - 0 - - - - ItemType - Output - - - - - getValue - PVOID - Entry value: 32/64 bit unsigned integer or pointer - 32 - 192 - - 0 - - - - ItemType - Output - - - - - getPosPtr - T_HashTableEntry - returned by A_GetFirstEntry, A_GetNextEntry, A_Add, A_Lookup and A_Remove method - 32 - 224 - - 0 - - - - ItemType - Output - - - - - p - T_HashTableEntry - 32 - 256 - - 0 - - - - conditionalshow - - - - - n - T_HashTableEntry - 32 - 288 - - 0 - - - - conditionalshow - - - - - nHash - DWORD - 32 - 320 - - 0 - - - - conditionalshow - - - - - A_Reset - - - A_RemoveAll - - - A_GetNext - - - A_GetIndexAtPosPtr - - - A_Add - - - A_Remove - - - A_GetFirst - - - A_RemoveFirst - - - A_Lookup - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_BeamParamAssertionPool - This function block implements simple database. Data element values are stored in the hash table. - 214336 - - key - DWORD - Entry key: used by A_Lookup, A_Remove method, the key variable is also used by A_Add method - 32 - 32 - - 0 - - - - ItemType - Input - - - - - putPosPtr - T_HashTableEntry - Hash table entry position pointer (used by A_Find, A_GetNext, A_GetPrev) - 32 - 64 - - 0 - - - - ItemType - Input - - - - - putValue - ST_BP_ArbInternal - Hash table entry value (used by A_AddHead, A_AddTail, A_Find ) - 2464 - 96 - - - ItemType - Input - - - - - bOk - BOOL - TRUE = Success, FALSE = Failed - 8 - 2560 - - 0 - - - - ItemType - Output - - - - - getPosPtr - T_HashTableEntry - Returned hash table entry position pointer - 32 - 2592 - - 0 - - - - ItemType - Output - - - - - getValue - ST_BP_ArbInternal - Returned hash table entry value - 2464 - 2624 - - - ItemType - Output - - - - - nCount - UDINT - Hash table size (number of used entries, used by A_Count) - 32 - 5088 - - 0 - - - - ItemType - Output - - - - - epicsDataPool - ST_BP_ArbInternal - - 1 - 20 - - Structured data element pool for display in EPICS - 49280 - 5120 - - - pytmc - + T_HashTableEntry192keyDWORD3200valuePVOID32320lockDWORD: 0 = node free, 1 = node in use, other bits reserved ]]>32640conditionalshowpNextPVOID32960conditionalshowpNextFreePVOID321280conditionalshowpNextGlobPVOID321600conditionalshowT_HHASHTABLE3488nCountUDINT3200nFreeUDINT32320pEntriesT_HashTableEntry32640conditionalshowcbEntriesUDINT32960conditionalshownElementsUDINT321280conditionalshowcbElementUDINT321600conditionalshowpEntrysT_HashTableEntry01013232192conditionalshowpFreeEntrysT_HashTableEntry3234240conditionalshowpFirstEntryT_HashTableEntry3234560conditionalshowFB_HashTableCtrl352hTableT_HHASHTABLE3232ItemTypeInOutkeyDWORD32640ItemTypeInputputValuePVOID32960ItemTypeInputputPosPtrT_HashTableEntry321280ItemTypeInputbOkBOOL81600ItemTypeOutputgetValuePVOID321920ItemTypeOutputgetPosPtrT_HashTableEntry322240ItemTypeOutputpT_HashTableEntry322560conditionalshownT_HashTableEntry322880conditionalshownHashDWORD323200conditionalshowA_ResetA_RemoveAllA_GetNextA_GetIndexAtPosPtrA_AddA_RemoveA_GetFirstA_RemoveFirstA_LookupPouTypeFunctionBlockconditionalshow_all_localsFB_BeamParamAssertionPool214336keyDWORD32320ItemTypeInputputPosPtrT_HashTableEntry32640ItemTypeInputputValueST_BP_ArbInternal246496ItemTypeInputbOkBOOL825600ItemTypeOutputgetPosPtrT_HashTableEntry3225920ItemTypeOutputgetValueST_BP_ArbInternal24642624ItemTypeOutputnCountUDINT3250880ItemTypeOutputepicsDataPoolST_BP_ArbInternal120492805120pytmc pv: Entry io: i - - - - - - dataPool - ST_BP_ArbInternal - - 0 - 61 - - Structured data element pool - 150304 - 54400 - - - entries - T_HashTableEntry - - 0 - 61 - - Max. number of hash table entries. The value of table entry = 32 bit integer (pointer to dataPool-array-entry) - 3904 - 204704 - - - fbTable - FB_HashTableCtrl - basic hash table control function block - 352 - 208608 - - - hTable - T_HHASHTABLE - hash table handle - 3488 - 208960 - - - pRefPtr - ST_BP_ArbInternal - 32 - 212448 - - 0 - - - - indexOfElem - ULINT - Integer value (max. size: x86=>32bit, x64=>64bit) - 64 - 212480 - - - cstSafeBeam - ST_BeamParams - MG - 1760 - 212544 - - - .nTran - 0 - - - .neVRange - 0 - - - .nRate - 0 - - - .nBCRange - 0 - - - - - A_Reset - - - A_Count - - - DataPoolToEpics - - - A_Add - - - A_Remove - - - A_GetFirst - - - A_GetNext - - - A_Lookup - - - - PouType - FunctionBlock - - - no_check - - - - - FB_Arbiter - FB Arbiter + dataPoolST_BP_ArbInternal06115030454400entriesT_HashTableEntry0613904204704fbTableFB_HashTableCtrl352208608hTableT_HHASHTABLE3488208960pRefPtrST_BP_ArbInternal322124480indexOfElemULINT32bit, x64=>64bit)]]>64212480cstSafeBeamST_BeamParams1760212544.nTran0.neVRange0.nRate0.nBCRange0A_ResetA_CountDataPoolToEpicsA_AddA_RemoveA_GetFirstA_GetNextA_LookupPouTypeFunctionBlockno_checkFB_Arbiter - 474624 - I_HigherAuthority - I_LowerAuthority - - nRequestsCount - UDINT - How many requests are currently in the arbiter - 32 - 96 - - - fbBPAssertionPool - FB_BeamParamAssertionPool - Table of active beam parameter assertions - 214336 - 128 - - - pytmc - +]]>474624I_HigherAuthorityI_LowerAuthoritynRequestsCountUDINT3296fbBPAssertionPoolFB_BeamParamAssertionPool214336128pytmc pv: AP io: i field: DESC Assertion Pool - - - - - - xRequestMade - BOOL - Arbiter has confirmed its request has made it into the beam parameter request - 8 - 214464 - - - nArbiterID - UDINT - Arbiter ID, used for making higher-level BP requests - 32 - 214496 - - - pytmc - + xRequestMadeBOOL8214464nArbiterIDUDINT32214496pytmc pv: ArbiterID io: i field: DESC Arbiter ID for elev. req. - - - - - - nNextCohort - UDINT - The cohort ID any new requests will adopt, will become ReqInProgCohort at the start of the next acknowledgement cycle - 32 - 214528 - - 1 - - - - nAckInProgCohort - UDINT - The cohort ID currently being acknowledged, will become nActiveCohort after acknowledgement from HA - 32 - 214560 - - 0 - - - - nActiveCohort - UDINT - Requests with cohorts <= to this value will be considered active in CheckRequest - 32 - 214592 - - 0 - - - - pytmc - + nNextCohortUDINT322145281nAckInProgCohortUDINT322145600nActiveCohortUDINT322145920pytmc pv: CohortCounter io: i field: DESC Intrnl cohort counter - - - - - - bStartNewAckRequest - BOOL - Set by an add or remove method call, triggers an ack cycle - 8 - 214624 - - - bAckInProgress - BOOL - Set by ElevateReq when there is a new ack request and reset when the ack cycle is complete - 8 - 214632 - - - idTransmission - DWORD - ID of BP limiting transmission - 32 - 214656 - - - idRate - DWORD - ID of BP limiting rate - 32 - 214688 - - - sPath - T_MaxString - 2048 - 214720 - - - instance-path - - - noinit - - - - - sArbName - T_MaxString - 2048 - 216768 - - - InfoStringFmtr - FB_FormatString - 7840 - 218816 - - - bVerbose - BOOL - 8 - 226656 - - 0 - - - - q_stBeamParams - ST_BeamParams - Updated on each cycle of the arbiter FB with the current arbitrated beam parameter set - 1760 - 226688 - - - ItemType - Output - - - pytmc - + bStartNewAckRequestBOOL8214624bAckInProgressBOOL8214632idTransmissionDWORD32214656idRateDWORD32214688sPathT_MaxString2048214720instance-pathnoinitsArbNameT_MaxString2048216768InfoStringFmtrFB_FormatString7840218816bVerboseBOOL82266560q_stBeamParamsST_BeamParams1760226688ItemTypeOutputpytmc pv: ArbitratedBP io: i field: DESC Arbitrated BP - - - - - - q_xStateIDFound - BOOL - Set true if a state-id is found in the assertion pool after calling A_VerifyAssertion - 8 - 228448 - - - ItemType - Output - - - - - __GETARBITRATEDBP__XFIRSTPASS - BOOL - 8 - 228456 - - 1 - - - - __GETARBITRATEDBP__FBGETCURTASKIDX - GETCURTASKINDEX - 128 - 228480 - - - __GETARBITRATEDBP__LASTCYCLECOUNT - UDINT - 32 - 228608 - - - __GETARBITRATEDBP__FBLOGMESSAGE - FB_LogMessage - 81984 - 228672 - - - __ADDREQUEST__FBLOG - FB_LogMessage - 81984 - 310656 - - - __REMOVEREQUEST__FBLOG - FB_LogMessage - 81984 - 392640 - - - __getnEntryCount - UDINT - 32 - - nEntryCount - UDINT - 32 - - - - property - - - - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - BP - ST_BeamParams - 1760 - - - - ElevateRequest - BOOL - 8 - - HigherAuthority - I_HigherAuthority - 32 - - - - GetArbitratedBP - ST_BeamParams - 1760 - - getPosPtr - T_HashTableEntry - 32 - - - getBPStructInt - ST_BP_ArbInternal - 2464 - - - stOutputBP - Holding struct for arbitration process - ST_BP_ArbInternal - 2464 - - - xFirstPass - BOOL - 8 - - - uselocation - __GETARBITRATEDBP__XFIRSTPASS - - - - - fbGetCurTaskIdx - GETCURTASKINDEX - 128 - - - uselocation - __GETARBITRATEDBP__FBGETCURTASKIDX - - - - - LastCycleCount - UDINT - 32 - - - uselocation - __GETARBITRATEDBP__LASTCYCLECOUNT - - - - - fbLogMessage - FB_LogMessage - 81984 - - - uselocation - __GETARBITRATEDBP__FBLOGMESSAGE - - - - - - ArbitrateBP - ST_BP_ArbInternal - 2464 - - stBP1 - ST_BP_ArbInternal - 2464 - - - stBP2 - ST_BP_ArbInternal - 2464 - - - idx - UINT - 16 - - - bcBitmask - WORD - 16 - - - - no_check - - - - - __getnLowerAuthorityID - DWORD - 32 - - nLowerAuthorityID - DWORD - 32 - - - - property - - - - - AddRequest - BOOL - 8 - - nReqID - Unique ID within aribter for the request. Make sure this is unique for every device + state combination - DWORD - 32 - - - stReqBP - Requested beam params - ST_BeamParams - 1760 - - - sDevName - Name of the device making the request - STRING(80) - 648 - - - BP_Int - ST_BP_ArbInternal - 2464 - - - fbLog - FB_LogMessage - 81984 - - - uselocation - __ADDREQUEST__FBLOG - - - - - - RemoveRequest - BOOL - 8 - - nReqId - DWORD - 32 - - - fbLog - FB_LogMessage - 81984 - - - uselocation - __REMOVEREQUEST__FBLOG - - - - - BP_Int - ST_BP_ArbInternal - 2464 - - - - CheckRequestInPool - BOOL - 8 - - nReqID - DWORD - 32 - - - - RequestBP - BOOL - 8 - - nReqID - StateID of state requesting beam parameter set - DWORD - 32 - - - stReqBP - Requested beam params - ST_BeamParams - 1760 - - - - - PouType - FunctionBlock - - - reflection - - - - - E_BPTMState - 16 - INT - - Init - 0 - - - NewTarget - 1000 - - - RequestBP - 1500 - - - WaitForBP - 2500 - - - WaitingForTransitionAssertion - 2000 - - - WaitingForFinalAssertion - 3000 - - - Transitioning - 4000 - - - WaitForFinalBP - 5000 - - - CleaningUp - 6000 - - - Idle - 10000 - - - Done - 8000 - - - Error - 9000 - - - - FB_Index - Index FB + q_xStateIDFoundBOOL8228448ItemTypeOutput__GETARBITRATEDBP__XFIRSTPASSBOOL82284561__GETARBITRATEDBP__FBGETCURTASKIDXGETCURTASKINDEX128228480__GETARBITRATEDBP__LASTCYCLECOUNTUDINT32228608__GETARBITRATEDBP__FBLOGMESSAGEFB_LogMessage81984228672__ADDREQUEST__FBLOGFB_LogMessage81984310656__REMOVEREQUEST__FBLOGFB_LogMessage81984392640__getnEntryCountUDINT32nEntryCountUDINT32propertyCheckRequestBOOL8nReqIDDWORD32BPST_BeamParams1760ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32GetArbitratedBPST_BeamParams1760getPosPtrT_HashTableEntry32getBPStructIntST_BP_ArbInternal2464stOutputBPST_BP_ArbInternal2464xFirstPassBOOL8uselocation__GETARBITRATEDBP__XFIRSTPASSfbGetCurTaskIdxGETCURTASKINDEX128uselocation__GETARBITRATEDBP__FBGETCURTASKIDXLastCycleCountUDINT32uselocation__GETARBITRATEDBP__LASTCYCLECOUNTfbLogMessageFB_LogMessage81984uselocation__GETARBITRATEDBP__FBLOGMESSAGEArbitrateBPST_BP_ArbInternal2464stBP1ST_BP_ArbInternal2464stBP2ST_BP_ArbInternal2464idxUINT16bcBitmaskWORD16no_check__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32propertyAddRequestBOOL8nReqIDDWORD32stReqBPST_BeamParams1760sDevNameSTRING(80)648BP_IntST_BP_ArbInternal2464fbLogFB_LogMessage81984uselocation__ADDREQUEST__FBLOGRemoveRequestBOOL8nReqIdDWORD32fbLogFB_LogMessage81984uselocation__REMOVEREQUEST__FBLOGBP_IntST_BP_ArbInternal2464CheckRequestInPoolBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760PouTypeFunctionBlockreflectionE_BPTMState16INTInit0NewTarget1000RequestBP1500WaitForBP2500WaitingForTransitionAssertion2000WaitingForFinalAssertion3000Transitioning4000WaitForFinalBP5000CleaningUp6000Idle10000Done8000Error9000FB_Index - 96 - - LowerLimit - INT - Incrementer will rollver over to this value (and initialize to this value) - 16 - 32 - - 1 - - - - ItemType - Input - - - naming - off - - - - - ValInc - INT - Incrementer increments by this value - 16 - 48 - - 1 - - - - ItemType - Input - - - - - UpperLimit - INT - Incrementer will rollover at this value to lower limit - 16 - 64 - - 1 - - - - ItemType - Input - - - - - nVal - INT - Internal incrementer value, initialized to LowerLimit - 16 - 80 - - 1 - - - - naming - off - - - - - Dec - - - Inc - - - DecVal - INT - 16 - - - IncVal - INT - 16 - - - - PouType - FunctionBlock - - - - - ST_FFInfo - These elements should be set at init and never changed. - 6832 - - sPath - T_MaxString - Full PLC path to FF object - 2048 - 0 - - - pytmc - +]]>96LowerLimitINT16321ItemTypeInputnamingoffValIncINT16481ItemTypeInputUpperLimitINT16641ItemTypeInputnValINT16801namingoffDecIncDecValINT16IncValINT16PouTypeFunctionBlockST_FFInfo6832sPathT_MaxString20480pytmc pv: Path io: i - - - - - - Desc - T_MaxString - Set at instantiation to a helpful description of the fast fault purpose - 2048 - 2048 - - - pytmc - + DescT_MaxString20482048pytmc pv: Desc io: i - - - - - - DevName - T_MaxString - Component name, used in diagnostic to help narrow down where beam faults are coming from - 2048 - 4096 - - - pytmc - + DevNameT_MaxString20484096pytmc pv: DevName io: i - - - - - - TypeCode - UINT - Set at instantiation to fault class code - 16 - 6144 - - - pytmc - + TypeCodeUINT166144pytmc pv: TypeCode io: i - - - - - - InUse - BOOL - //////////////////////////////////////// -//////////////////////////////////////// - 8 - 6160 - - 0 - - - - pytmc - + InUseBOOL861600pytmc pv: InUse io: i - - - - - - AutoReset - BOOL - //////////////////////////////////////// - 8 - 6168 - - - Vetoable - BOOL - Can this fast fault be masked by the veto device input? - 8 - 6176 - - 1 - - - - InfoString - STRING(80) - 648 - 6184 - - - pytmc - + AutoResetBOOL86168VetoableBOOL861761InfoStringSTRING(80)6486184pytmc pv: InfoString io: i - - - - - - - TP - + TP - 192 - - IN - BOOL - Trigger for Start of the Signal - 8 - 32 - - - ItemType - Input - - - - - PT - TIME - The length of the High-Signal in 10ms - 32 - 64 - - - ItemType - Input - - - - - Q - BOOL - The pulse - 8 - 96 - - - ItemType - Output - - - - - ET - TIME - The current phase of the High-Signal - 32 - 128 - - - ItemType - Output - - - - - StartTime - TIME - 32 - 160 - - - - PouType - FunctionBlock - - - - - ST_FFOverride - 576 - - Duration - DINT - DINT to be compatible with EPICS - 32 - 0 - - - pytmc - +]]>192INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputStartTimeTIME32160PouTypeFunctionBlockST_FFOverride576DurationDINT320pytmc pv: Duration io: o - - - - - - Expiration - DINT - DINT to be compatible with EPICS - 32 - 32 - - - pytmc - + ExpirationDINT3232pytmc pv: Expiration io: o - - - - - - StartDT - DINT - DINT to be compatible with EPICS - 32 - 64 - - - pytmc - + StartDTDINT3264pytmc pv: StartDT io: o - - - - - - Activate - BOOL - 8 - 96 - - - pytmc - + ActivateBOOL896pytmc pv: Activate io: o - - - - - - Deactivate - BOOL - 8 - 104 - - - pytmc - + DeactivateBOOL8104pytmc pv: Deactivate io: o - - - - - - ElapsedTime - DINT - DINT to be compatible with EPICS - 32 - 128 - - - pytmc - + ElapsedTimeDINT32128pytmc pv: ElapsedTime io: i - - - - - - RemainingTime - DINT - DINT to be compatible with EPICS - 32 - 160 - - - pytmc - + RemainingTimeDINT32160pytmc pv: RemainingTime io: i - - - - - - Active - BOOL - 8 - 192 - - - pytmc - + ActiveBOOL8192pytmc pv: Active io: i - - - - - - Timer - TP - 192 - 224 - - - OvrdActLogAck - BOOL - 8 - 416 - - - OvrdExpLogAck - BOOL - 8 - 424 - - - tOvrdActivate - R_TRIG - 64 - 448 - - - tOvrdExpiring - F_TRIG - 64 - 512 - - - - RS - 64 - - SET - BOOL - Input to set Q1 - 8 - 32 - - - ItemType - Input - - - - - RESET1 - BOOL - Input to reset Q1 (reset dominant) - 8 - 40 - - - ItemType - Input - - - - - Q1 - BOOL - 8 - 48 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - - - ST_FF - 7680 - - Info - ST_FFInfo - 6832 - 0 - - - pytmc - + TimerTP192224OvrdActLogAckBOOL8416OvrdExpLogAckBOOL8424tOvrdActivateR_TRIG64448tOvrdExpiringF_TRIG64512RS64SETBOOL832ItemTypeInputRESET1BOOL840ItemTypeInputQ1BOOL848ItemTypeOutputPouTypeFunctionBlockST_FF7680InfoST_FFInfo68320pytmc pv: Info - - - - - - Ovrd - ST_FFOverride - 576 - 6848 - - - pytmc - + OvrdST_FFOverride5766848pytmc pv: Ovrd - - - - - - OK - BOOL - Fault logic state - 8 - 7424 - - - pytmc - + OKBOOL87424pytmc pv: OK io: i - - - - - - FaultAck - BOOL - Set when faulted, reset by logger. - 8 - 7432 - - - ClearAck - BOOL - 8 - 7440 - - - BeamPermitted - BOOL - Result of reset, veto, and fault logic, true beam off boolean - 8 - 7448 - - - pytmc - + FaultAckBOOL87432ClearAckBOOL87440BeamPermittedBOOL87448pytmc pv: BeamPermitted io: i - - - - - - Reset - BOOL - 8 - 7456 - - - pytmc - + ResetBOOL87456pytmc pv: Reset io: o - - - - - - bsFF - RS - 64 - 7488 - - - rtReset - R_TRIG - 64 - 7552 - - - ftCountFault - F_TRIG - 64 - 7616 - - - - DWORD (1..86400) - 32 - DWORD - - - LowerBorder - 1 - - - UpperBorder - 86400 - - - - - E_TimeZoneID - 16 - INT - - eTimeZoneID_Invalid - -1 - Invalid time zone - - - eTimeZoneID_Unknown - 0 - Unknown time zone - - - eTimeZoneID_Standard - 1 - Standard time (Winterzeit) - - - eTimeZoneID_Daylight - 2 - Daylight saving time (Sommerzeit) - - - - ADSREAD - ADS read command. - 1248 - - NETID - T_AmsNetID - Ams net id - 192 - 32 - - - ItemType - Input - - - - - PORT - T_AmsPort - Ads communication port - 16 - 224 - - - ItemType - Input - - - - - IDXGRP - UDINT - Index group - 32 - 256 - - - ItemType - Input - - - - - IDXOFFS - UDINT - Index offset - 32 - 288 - - - ItemType - Input - - - - - LEN - UDINT - Max. number of data bytes to read (LEN <= max. size of destination buffer) - 32 - 320 - - - ItemType - Input - - - - - DESTADDR - PVOID - Pointer to destination buffer - 32 - 352 - - - ItemType - Input - - - TcIgnorePersistent - - - - - READ - BOOL - Rising edge starts command execution - 8 - 384 - - - ItemType - Input - - - - - TMOUT - TIME - Maximum time allowed for the execution of this ADS command - 32 - 416 - - 5000 - - - - ItemType - Input - - - - - BUSY - BOOL - Busy flag - 8 - 448 - - - ItemType - Output - - - - - ERR - BOOL - Error flag - 8 - 456 - - - ItemType - Output - - - - - ERRID - UDINT - ADS error code - 32 - 480 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - hide_all_locals - - - - - NT_GetTime - Reads local windows system time (struct) - 1728 - - NETID - T_AmsNetID - TwinCAT network address (ams net id) - 192 - 32 - - - ItemType - Input - - - - - START - BOOL - Rising edge on this input activates the fb execution - 8 - 224 - - - ItemType - Input - - - - - TMOUT - TIME - Max fb execution time - 32 - 256 - - 5000 - - - - ItemType - Input - - - - - BUSY - BOOL - 8 - 288 - - - ItemType - Output - - - - - ERR - BOOL - 8 - 296 - - - ItemType - Output - - - - - ERRID - UDINT - 32 - 320 - - - ItemType - Output - - - - - TIMESTR - TIMESTRUCT - Local windows system time - 128 - 352 - - - ItemType - Output - - - - - fbAdsRead - ADSREAD - 1248 - 480 - - - .PORT - 10000 - - - .IDXGRP - 400 - - - .IDXOFFS - 1 - - - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - ST_AmsGetTimeZoneInformation - 896 - - tzInfo - ST_TimeZoneInformation - GetTimeZoneInformation return data - 864 - 0 - - - apiResult - DWORD - api call result - 32 - 864 - - - - conditionalshow - - - - - FB_GetTimeZoneInformation - Reads time zone information - 3488 - - sNetID - T_AmsNetID - TwinCAT network address (ams net id) - 192 - 32 - - - ItemType - Input - - - - - bExecute - BOOL - Rising edge on this input activates the fb execution - 8 - 224 - - - ItemType - Input - - - - - tTimeout - TIME - Max fb execution time - 32 - 256 - - 5000 - - - - ItemType - Input - - - - - bBusy - BOOL - 8 - 288 - - - ItemType - Output - - - - - bError - BOOL - 8 - 296 - - - ItemType - Output - - - - - nErrID - UDINT - 32 - 320 - - - ItemType - Output - - - - - tzID - E_TimeZoneID - 16 - 352 - - - ItemType - Output - - - - - tzInfo - ST_TimeZoneInformation - 864 - 384 - - - ItemType - Output - - - - - fbAdsRead - ADSREAD - 1248 - 1248 - - - .PORT - 10000 - - - .IDXGRP - 400 - - - .IDXOFFS - 6 - - - - - conditionalshow - - - - - fbTrigger - R_TRIG - 64 - 2496 - - - conditionalshow - - - - - state - BYTE - 8 - 2560 - - - conditionalshow - - - - - res - ST_AmsGetTimeZoneInformation - 896 - 2592 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - ADSWRITE - ADS write command. - 1216 - - NETID - T_AmsNetID - Ams net id - 192 - 32 - - - ItemType - Input - - - - - PORT - T_AmsPort - Ads communication port - 16 - 224 - - - ItemType - Input - - - - - IDXGRP - UDINT - Index group - 32 - 256 - - - ItemType - Input - - - - - IDXOFFS - UDINT - Index offset - 32 - 288 - - - ItemType - Input - - - - - LEN - UDINT - Max. number of data bytes to write (LEN <= max. size of source buffer) - 32 - 320 - - - ItemType - Input - - - - - SRCADDR - PVOID - Pointer to source buffer - 32 - 352 - - - ItemType - Input - - - TcIgnorePersistent - - - - - WRITE - BOOL - Rising edge starts command execution - 8 - 384 - - - ItemType - Input - - - - - TMOUT - TIME - Maximum time allowed for the execution of this ADS command - 32 - 416 - - 5000 - - - - ItemType - Input - - - - - BUSY - BOOL - Busy flag - 8 - 448 - - - ItemType - Output - - - - - ERR - BOOL - Error flag - 8 - 456 - - - ItemType - Output - - - - - ERRID - UDINT - ADS error code - 32 - 480 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - hide_all_locals - - - - - ADSRDWRTEX - Extended ADS read/write command. - 1440 - - NETID - T_AmsNetID - Ams net id - 192 - 32 - - - ItemType - Input - - - - - PORT - T_AmsPort - Ads communication port - 16 - 224 - - - ItemType - Input - - - - - IDXGRP - UDINT - Index group - 32 - 256 - - - ItemType - Input - - - - - IDXOFFS - UDINT - Index offset - 32 - 288 - - - ItemType - Input - - - - - WRITELEN - UDINT - Max. number of data bytes to write (WRITELEN <= max. size of source buffer) - 32 - 320 - - - ItemType - Input - - - - - READLEN - UDINT - Max. number of data bytes to read (READLEN <= max. size of destination buffer) - 32 - 352 - - - ItemType - Input - - - - - SRCADDR - PVOID - Pointer to source buffer - 32 - 384 - - - ItemType - Input - - - TcIgnorePersistent - - - - - DESTADDR - PVOID - Pointer to destination buffer - 32 - 416 - - - ItemType - Input - - - TcIgnorePersistent - - - - - WRTRD - BOOL - Rising edge starts command execution - 8 - 448 - - - ItemType - Input - - - - - TMOUT - TIME - Maximum time allowed for the execution of this ADS command - 32 - 480 - - 5000 - - - - ItemType - Input - - - - - BUSY - BOOL - Busy flag - 8 - 512 - - - ItemType - Output - - - - - ERR - BOOL - Error flag - 8 - 520 - - - ItemType - Output - - - - - ERRID - UDINT - ADS error code - 32 - 544 - - - ItemType - Output - - - - - COUNT_R - UDINT - Count of bytes actually read - 32 - 576 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - hide_all_locals - - - - - ST_HKeySrvRead - 4096 - - sSub - T_MaxString - 2048 - 0 - - - sVal - T_MaxString - 2048 - 2048 - - - - conditionalshow - - - - - FB_RegQueryValue - Reads windows registry value - 10304 - - sNetId - T_AmsNetID - TwinCAT network address (ams net id) - 192 - 32 - - - ItemType - Input - - - - - sSubKey - T_MaxString - HKEY_LOCAL_MACHINE \ sub key name - 2048 - 224 - - - ItemType - Input - - - - - sValName - T_MaxString - Value name - 2048 - 2272 - - - ItemType - Input - - - - - cbData - UDINT - Number of data bytes to read - 32 - 4320 - - - ItemType - Input - - - - - pData - BYTE - Points to registry key data buffer - 32 - 4352 - - - ItemType - Input - - - - - bExecute - BOOL - Rising edge on this input activates the fb execution - 8 - 4384 - - - ItemType - Input - - - - - tTimeOut - TIME - Max fb execution time - 32 - 4416 - - 5000 - - - - ItemType - Input - - - - - bBusy - BOOL - 8 - 4448 - - - ItemType - Output - - - - - bError - BOOL - 8 - 4456 - - - ItemType - Output - - - - - nErrId - UDINT - 32 - 4480 - - - ItemType - Output - - - - - cbRead - UDINT - Number of succesfully read data bytes - 32 - 4512 - - - ItemType - Output - - - - - fbAdsRdWrtEx - ADSRDWRTEX - 1440 - 4544 - - - .PORT - 10000 - - - .IDXGRP - 200 - - - .IDXOFFS - 0 - - - - - conditionalshow - - - - - fbTrigger - R_TRIG - 64 - 5984 - - - conditionalshow - - - - - state - BYTE - 8 - 6048 - - - conditionalshow - - - - - s1Len - UDINT - 32 - 6080 - - - conditionalshow - - - - - s2Len - UDINT - 32 - 6112 - - - conditionalshow - - - - - ptr - BYTE - 32 - 6144 - - - conditionalshow - - - - - cbBuff - UDINT - 32 - 6176 - - - conditionalshow - - - - - tmpBuff - ST_HKeySrvRead - 4096 - 6208 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - NT_SetTimeToRTCTime - 12032 - - NETID - T_AmsNetID - TwinCAT network address (ams net id) - 192 - 32 - - - ItemType - Input - - - - - SET - BOOL - Rising edge on this input activates the fb execution - 8 - 224 - - - ItemType - Input - - - - - TMOUT - TIME - Max fb execution time - 32 - 256 - - 5000 - - - - ItemType - Input - - - - - BUSY - BOOL - 8 - 288 - - - ItemType - Output - - - - - ERR - BOOL - 8 - 296 - - - ItemType - Output - - - - - ERRID - UDINT - 32 - 320 - - - ItemType - Output - - - - - fbAdsWrite - ADSWRITE - 1216 - 352 - - - .PORT - 10000 - - - .IDXGRP - 4 - - - .IDXOFFS - 0 - - - - - conditionalshow - - - - - fbRegQuery - FB_RegQueryValue - 10304 - 1568 - - - .sSubKey - Software\Beckhoff\TwinCAT3\System - - - .sValName - NumOfCPUs - - - - - conditionalshow - - - - - fbTrigger - R_TRIG - 64 - 11872 - - - conditionalshow - - - - - bTmp - DWORD - 32 - 11936 - - 0 - - - - conditionalshow - - - - - state - BYTE - 8 - 11968 - - 0 - - - - conditionalshow - - - - - bInit - BOOL - 8 - 11976 - - 1 - - - - conditionalshow - - - - - numOfCPUs - DWORD - 32 - 12000 - - 0 - - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FW_GetCpuCounter - 96 - - dwCpuCntLo - UDINT - 32 - 32 - - - ItemType - Output - - - - - dwCpuCntHi - UDINT - 32 - 64 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - conditionalshow - - - - - GETCPUCOUNTER - The CPU cycle counter can be read with this function block. + bsFFRS647488rtResetR_TRIG647552ftCountFaultF_TRIG647616DWORD (1..86400)32DWORDLowerBorder1UpperBorder86400E_TimeZoneID16INTeTimeZoneID_Invalid-1eTimeZoneID_Unknown0eTimeZoneID_Standard1eTimeZoneID_Daylight2ADSREAD1248NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputDESTADDRPVOID32352ItemTypeInputTcIgnorePersistentREADBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsNT_GetTime1728NETIDT_AmsNetID19232ItemTypeInputSTARTBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputTIMESTRTIMESTRUCT128352ItemTypeOutputfbAdsReadADSREAD1248480.PORT10000.IDXGRP400.IDXOFFS1conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_AmsGetTimeZoneInformation896tzInfoST_TimeZoneInformation8640apiResultDWORD32864conditionalshowFB_GetTimeZoneInformation3488sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputtzIDE_TimeZoneID16352ItemTypeOutputtzInfoST_TimeZoneInformation864384ItemTypeOutputfbAdsReadADSREAD12481248.PORT10000.IDXGRP400.IDXOFFS6conditionalshowfbTriggerR_TRIG642496conditionalshowstateBYTE82560conditionalshowresST_AmsGetTimeZoneInformation8962592conditionalshowPouTypeFunctionBlockconditionalshow_all_localsADSWRITE1216NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputSRCADDRPVOID32352ItemTypeInputTcIgnorePersistentWRITEBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsADSRDWRTEX1440NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputWRITELENUDINT32320ItemTypeInputREADLENUDINT32352ItemTypeInputSRCADDRPVOID32384ItemTypeInputTcIgnorePersistentDESTADDRPVOID32416ItemTypeInputTcIgnorePersistentWRTRDBOOL8448ItemTypeInputTMOUTTIME324805000ItemTypeInputBUSYBOOL8512ItemTypeOutputERRBOOL8520ItemTypeOutputERRIDUDINT32544ItemTypeOutputCOUNT_RUDINT32576ItemTypeOutputPouTypeFunctionBlockhide_all_localsST_HKeySrvRead4096sSubT_MaxString20480sValT_MaxString20482048conditionalshowFB_RegQueryValue10304sNetIdT_AmsNetID19232ItemTypeInputsSubKeyT_MaxString2048224ItemTypeInputsValNameT_MaxString20482272ItemTypeInputcbDataUDINT324320ItemTypeInputpDataBYTE324352ItemTypeInputbExecuteBOOL84384ItemTypeInputtTimeOutTIME3244165000ItemTypeInputbBusyBOOL84448ItemTypeOutputbErrorBOOL84456ItemTypeOutputnErrIdUDINT324480ItemTypeOutputcbReadUDINT324512ItemTypeOutputfbAdsRdWrtExADSRDWRTEX14404544.PORT10000.IDXGRP200.IDXOFFS0conditionalshowfbTriggerR_TRIG645984conditionalshowstateBYTE86048conditionalshows1LenUDINT326080conditionalshows2LenUDINT326112conditionalshowptrBYTE326144conditionalshowcbBuffUDINT326176conditionalshowtmpBuffST_HKeySrvRead40966208conditionalshowPouTypeFunctionBlockconditionalshow_all_localsNT_SetTimeToRTCTime12032NETIDT_AmsNetID19232ItemTypeInputSETBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputfbAdsWriteADSWRITE1216352.PORT10000.IDXGRP4.IDXOFFS0conditionalshowfbRegQueryFB_RegQueryValue103041568.sSubKeySoftware\Beckhoff\TwinCAT3\System.sValNameNumOfCPUsconditionalshowfbTriggerR_TRIG6411872conditionalshowbTmpDWORD32119360conditionalshowstateBYTE8119680conditionalshowbInitBOOL8119761conditionalshownumOfCPUsDWORD32120000conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFW_GetCpuCounter96dwCpuCntLoUDINT3232ItemTypeOutputdwCpuCntHiUDINT3264ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCPUCOUNTER - 192 - - cpuCntLoDW - UDINT - Contains the low-value 4 bytes of the numerical value - 32 - 32 - - - ItemType - Output - - - - - cpuCntHiDW - UDINT - Contains the high-value 4 bytes of the numerical value - 32 - 64 - - - ItemType - Output - - - - - fbGetCpuCounter - FW_GetCpuCounter - 96 - 96 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - RTC_EX2 - Software RTC (real time clock), returns time in structured system time format + microseconds (microsecond resolution) - 896 - - EN - BOOL - Enable/set clock - 8 - 32 - - - ItemType - Input - - - - - PDT - TIMESTRUCT - Preset/set time in system time format (struct) - 128 - 48 - - - ItemType - Input - - - - - PMICRO - DWORD - Preset microseconds - 32 - 192 - - - ItemType - Input - - - - - Q - BOOL - TRUE => Output time is valid, FALSE => Output time is invalid - 8 - 224 - - - ItemType - Output - - - - - CDT - TIMESTRUCT - Current time in system time format (struct) - 128 - 240 - - - .wYear - 1970 - - - .wMonth - 1 - - - .wDay - 1 - - - .wDayOfWeek - 4 - - - - - ItemType - Output - - - - - CMICRO - DWORD - Current microseconds - 32 - 384 - - - ItemType - Output - - - - - fbGetCpuCounter - GETCPUCOUNTER - 192 - 416 - - - conditionalshow - - - - - risingEdge - R_TRIG - 64 - 608 - - - conditionalshow - - - - - oldTick - DWORD - 32 - 672 - - - conditionalshow - - - - - currTick - DWORD - 32 - 704 - - - conditionalshow - - - - - nanoDiff - DWORD - 32 - 736 - - - conditionalshow - - - - - nanoRest - DWORD - 32 - 768 - - - conditionalshow - - - - - secDiff - DWORD - 32 - 800 - - - conditionalshow - - - - - dateTime - DATE_AND_TIME - 32 - 832 - - - conditionalshow - - - - - bInitialized - BOOL - 8 - 864 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_LocalSystemTime - This function block synchronizes cyclically to and returns the Local Windows System Time. - 19040 - - sNetID - T_AmsNetID - The target TwinCAT system network address - 192 - 32 - - - - - - ItemType - Input - - - - - bEnable - BOOL - Enable/start cyclic time synchronisation (output is synchronized to Local Windows System Time) - 8 - 224 - - - ItemType - Input - - - - - dwCycle - DWORD (1..86400) - Time synchronisation cycle (seconds) - 32 - 256 - - 5 - - - - ItemType - Input - - - - - dwOpt - DWORD - Additional option flags: If bit 0 is set => Synchronize Windows Time to RTC time - 32 - 288 - - 1 - - - - ItemType - Input - - - - - tTimeout - TIME - Max. ADS function block execution time (internal communication timeout). - 32 - 320 - - 5000 - - - - ItemType - Input - - - - - bValid - BOOL - TRUE => The systemTime and tzID output is valid, FALSE => systemTime and tzID is not valid - 8 - 352 - - - ItemType - Output - - - - - systemTime - TIMESTRUCT - Local Windows System Time struct - 128 - 368 - - - ItemType - Output - - - - - tzID - E_TimeZoneID - Daylight/standard time zone information - 16 - 496 - - -1 - - - - ItemType - Output - - - - - rtrig - R_TRIG - 64 - 512 - - - conditionalshow - - - - - state - BYTE - 8 - 576 - - - conditionalshow - - - - - fbNT - NT_GetTime - 1728 - 608 - - - conditionalshow - - - - - fbTZ - FB_GetTimeZoneInformation - 3488 - 2336 - - - conditionalshow - - - - - fbSET - NT_SetTimeToRTCTime - 12032 - 5824 - - - conditionalshow - - - - - fbRTC - RTC_EX2 - 896 - 17856 - - - conditionalshow - - - - - timer - TON - 224 - 18752 - - - conditionalshow - - - - - nSync - DWORD - 32 - 18976 - - - conditionalshow - - - - - bNotSup - BOOL - 8 - 19008 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - T_FILETIME - The FILETIME structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC). - 64 - - dwLowDateTime - DWORD - Specifies the low-order 32 bits of the file time. - 32 - 0 - - - dwHighDateTime - DWORD - Specifies the high-order 32 bits of the file time. - 32 - 32 - - - - FB_TranslateLocalTimeToUtcByZoneID - Internal helper function block. Detects time zone ID, bias and B time flag and translates the local file time to UTC file time time - 2400 - - in - T_FILETIME - Time to be converted (Local file time format) - 64 - 32 - - - ItemType - Input - - - - - tzInfo - ST_TimeZoneInformation - Time zone information - 864 - 96 - - - ItemType - Input - - - - - wDldYear - WORD - Optional daylightDate.wYear value. If 0 => not used (default) else used only if tzInfo.daylightDate.wYear = 0. - 16 - 960 - - 0 - - - - ItemType - Input - - - - - wStdYear - WORD - Optional standardDate.wYear value. If 0 => not used (default) else used only if tzInfo.standardDate.wYear = 0. - 16 - 976 - - 0 - - - - ItemType - Input - - - - - out - T_FILETIME - Converted time (UTC file time format) - 64 - 992 - - - ItemType - Output - - - - - eTzID - E_TimeZoneID - Detected daylight saving time information - 16 - 1056 - - 0 - - - - ItemType - Output - - - - - bB - BOOL - FALSE => A time, TRUE => B time - 8 - 1072 - - - ItemType - Output - - - - - bias - DINT - Bias value in minutes - 32 - 1088 - - - ItemType - Output - - - - - inLocal - TIMESTRUCT - 128 - 1120 - - - tziSommer - TIMESTRUCT - 128 - 1248 - - - tziWinter - TIMESTRUCT - 128 - 1376 - - - tziLocalSommer - T_FILETIME - 64 - 1504 - - - tziLocalWinter - T_FILETIME - 64 - 1568 - - - tziLocalSommerJump - T_FILETIME - 64 - 1632 - - - tziLocalWinterJump - T_FILETIME - 64 - 1696 - - - ui64LocalIn - T_ULARGE_INTEGER - 64 - 1760 - - - ui64LocalSommer - T_ULARGE_INTEGER - 64 - 1824 - - - ui64LocalWinter - T_ULARGE_INTEGER - 64 - 1888 - - - in_to_s - DINT - 32 - 1952 - - - in_to_w - DINT - 32 - 1984 - - - s_to_w - DINT - 32 - 2016 - - - in_to_s_jump - DINT - 32 - 2048 - - - in_to_w_jump - DINT - 32 - 2080 - - - iStandardBias - DINT - 32 - 2112 - - - iDaylightBias - DINT - 32 - 2144 - - - ui64PreviousIn - T_ULARGE_INTEGER - 64 - 2176 - - - ui64FallDiff - T_ULARGE_INTEGER - 64 - 2240 - - - bFallDiff - BOOL - 8 - 2304 - - - dtSommerJump - DATE_AND_TIME - 32 - 2336 - - - dtWinterJump - DATE_AND_TIME - 32 - 2368 - - - A_Reset - - - - PouType - FunctionBlock - - - conditionalshow - - - - - FB_TzSpecificLocalTimeToSystemTime - Converts time zone's specific local system time to Coordinated Universal Time (UTC) system time - 3584 - - in - TIMESTRUCT - Time zone's specific local system time. Structure that specifies the system time since January 1, 1601 - 128 - 32 - - - ItemType - Input - - - - - tzInfo - ST_TimeZoneInformation - Time zone settings - 864 - 160 - - - ItemType - Input - - - - - out - TIMESTRUCT - Coordinated Universal Time (UTC) in system time format - 128 - 1024 - - - ItemType - Output - - - - - eTzID - E_TimeZoneID - Daylight saving time information - 16 - 1152 - - 0 - - - - ItemType - Output - - - - - bB - BOOL - FALSE => A time, TRUE => B time - 8 - 1168 - - - ItemType - Output - - - - - fbBase - FB_TranslateLocalTimeToUtcByZoneID - 2400 - 1184 - - - conditionalshow - - - - - A_Reset - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_JsonSaxWriter - | Provides the functionality to create a JSON document. + One unit is equivalent to 100 ns. ]]>192cpuCntLoDWUDINT3232ItemTypeOutputcpuCntHiDWUDINT3264ItemTypeOutputfbGetCpuCounterFW_GetCpuCounter9696conditionalshowPouTypeFunctionBlockconditionalshow_all_localsRTC_EX2896ENBOOL832ItemTypeInputPDTTIMESTRUCT12848ItemTypeInputPMICRODWORD32192ItemTypeInputQBOOL Output time is valid, FALSE => Output time is invalid ]]>8224ItemTypeOutputCDTTIMESTRUCT128240.wYear1970.wMonth1.wDay1.wDayOfWeek4ItemTypeOutputCMICRODWORD32384ItemTypeOutputfbGetCpuCounterGETCPUCOUNTER192416conditionalshowrisingEdgeR_TRIG64608conditionalshowoldTickDWORD32672conditionalshowcurrTickDWORD32704conditionalshownanoDiffDWORD32736conditionalshownanoRestDWORD32768conditionalshowsecDiffDWORD32800conditionalshowdateTimeDATE_AND_TIME32832conditionalshowbInitializedBOOL8864conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LocalSystemTime19040sNetIDT_AmsNetID19232ItemTypeInputbEnableBOOL8224ItemTypeInputdwCycleDWORD (1..86400)322565ItemTypeInputdwOptDWORD Synchronize Windows Time to RTC time ]]>322881ItemTypeInputtTimeoutTIME323205000ItemTypeInputbValidBOOL The systemTime and tzID output is valid, FALSE => systemTime and tzID is not valid ]]>8352ItemTypeOutputsystemTimeTIMESTRUCT128368ItemTypeOutputtzIDE_TimeZoneID16496-1ItemTypeOutputrtrigR_TRIG64512conditionalshowstateBYTE8576conditionalshowfbNTNT_GetTime1728608conditionalshowfbTZFB_GetTimeZoneInformation34882336conditionalshowfbSETNT_SetTimeToRTCTime120325824conditionalshowfbRTCRTC_EX289617856conditionalshowtimerTON22418752conditionalshownSyncDWORD3218976conditionalshowbNotSupBOOL819008conditionalshowPouTypeFunctionBlockconditionalshow_all_localsT_FILETIME64dwLowDateTimeDWORD320dwHighDateTimeDWORD3232FB_TranslateLocalTimeToUtcByZoneID2400inT_FILETIME6432ItemTypeInputtzInfoST_TimeZoneInformation86496ItemTypeInputwDldYearWORD not used (default) else used only if tzInfo.daylightDate.wYear = 0. ]]>169600ItemTypeInputwStdYearWORD not used (default) else used only if tzInfo.standardDate.wYear = 0. ]]>169760ItemTypeInputoutT_FILETIME64992ItemTypeOutputeTzIDE_TimeZoneID1610560ItemTypeOutputbBBOOL A time, TRUE => B time]]>81072ItemTypeOutputbiasDINT321088ItemTypeOutputinLocalTIMESTRUCT1281120tziSommerTIMESTRUCT1281248tziWinterTIMESTRUCT1281376tziLocalSommerT_FILETIME641504tziLocalWinterT_FILETIME641568tziLocalSommerJumpT_FILETIME641632tziLocalWinterJumpT_FILETIME641696ui64LocalInT_ULARGE_INTEGER641760ui64LocalSommerT_ULARGE_INTEGER641824ui64LocalWinterT_ULARGE_INTEGER641888in_to_sDINT321952in_to_wDINT321984s_to_wDINT322016in_to_s_jumpDINT322048in_to_w_jumpDINT322080iStandardBiasDINT322112iDaylightBiasDINT322144ui64PreviousInT_ULARGE_INTEGER642176ui64FallDiffT_ULARGE_INTEGER642240bFallDiffBOOL82304dtSommerJumpDATE_AND_TIME322336dtWinterJumpDATE_AND_TIME322368A_ResetPouTypeFunctionBlockconditionalshowFB_TzSpecificLocalTimeToSystemTime3584inTIMESTRUCT12832ItemTypeInputtzInfoST_TimeZoneInformation864160ItemTypeInputoutTIMESTRUCT1281024ItemTypeOutputeTzIDE_TimeZoneID1611520ItemTypeOutputbBBOOL A time, TRUE => B time]]>81168ItemTypeOutputfbBaseFB_TranslateLocalTimeToUtcByZoneID24001184conditionalshowA_ResetPouTypeFunctionBlockconditionalshow_all_localsFB_JsonSaxWriter - 256 - - initStatus - HRESULT - 32 - 32 - - -1743714536 - - - - ItemType - Output - - - - - ipWriter - ITcJsonSaxWriter - 32 - 64 - - - ipWriter2 - ITcJsonSaxWriter2 - 32 - 96 - - - CLSID_TcJsonSaxWriter - CLSID - 128 - 128 - - - .Data1 - 3870298264 - - - .Data2 - 56256 - - - .Data3 - 17669 - - - .Data4[0] - 158 - - - .Data4[1] - 60 - - - .Data4[2] - 93 - - - .Data4[3] - 248 - - - .Data4[4] - 70 - - - .Data4[5] - 150 - - - .Data4[6] - 7 - - - .Data4[7] - 196 - - - - - AddKeyNumber - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - DINT - 32 - - - - AddString - - value - STRING(80) - 32 - - - ItemType - InOut - - - - - - AddKeyFileTime - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - FILETIME - 64 - - - - IsComplete - BOOL - 8 - - - AddUdint - - value - UDINT - 32 - - - - AddHexBinary - - pBytes - BYTE - 32 - - - nBytes - DINT - 32 - - - - AddLint - - value - LINT - 64 - - - - AddLreal - - value - LREAL - 64 - - - - AddKey - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - - ResetDocument - HRESULT - 32 - - - AddKeyLreal - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - LREAL - 64 - - - - StartObject - HRESULT - 32 - - - GetDocumentLength - UDINT - 32 - - hrErrorCode - HRESULT - 32 - - - ItemType - Output - - - - - n - UDINT - 32 - - - p - STRING(80) - 32 - - - - AddKeyDcTime - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - DCTIME - 64 - - - - AddDateTime - - value - DATE_AND_TIME - 32 - - - - AddRawObject - - rawJson - STRING(80) - 32 - - - ItemType - InOut - - - - - - SetMaxDecimalPlaces - HRESULT - 32 - - decimalPlaces - DINT - 32 - - - - __get_ipWriter - ITcJsonSaxWriter - 32 - - _ipWriter - ITcJsonSaxWriter - 32 - - - - property - - - - - AddKeyBool - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - BOOL - 8 - - - - GetDocument - STRING(255) - 2048 - - hrErrorCode - HRESULT - 32 - - - ItemType - Output - - - - - p - SINT - 32 - - - n - UDINT - 32 - - - - AddDint - - value - DINT - 32 - - - - AddRawArray - BOOL - 8 - - rawJson - STRING(80) - 32 - - - ItemType - InOut - - - - - - AddKeyString - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - STRING(80) - 32 - - - ItemType - InOut - - - - - - CopyDocument - UDINT - 32 - - pDoc - target string buffer where the document should be copied to - STRING(80) - 32 - - - ItemType - InOut - - - - - nDoc - size in bytes of the target string buffer - UDINT - 32 - - - hrErrorCode - HRESULT - 32 - - - ItemType - Output - - - - - - AddUlint - - value - ULINT - 64 - - - - GetMaxDecimalPlaces - DINT - 32 - - dp - DINT - 32 - - - - AddFileTime - - value - FILETIME - 64 - - - - AddNull - - - AddKeyDateTime - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - DATE_AND_TIME - 32 - - - - AddBool - - value - BOOL - 8 - - - - AddBase64 - - pBytes - BYTE - 32 - - - nBytes - DINT - 32 - - - - AddDcTime - - value - DCTIME - 64 - - - - AddKeyNull - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - - EndArray - HRESULT - 32 - - - EndObject - HRESULT - 32 - - - StartArray - HRESULT - 32 - - - AddReal - - value - REAL - 32 - - - - - PouType - FunctionBlock - - - no_explicit_call - do not call this POU directly - - - - - FB_HardwareFFOutput - 495296 - - FF_ARRAY_UPPER_BOUND - UINT - 16 - 32 - - 50 - - - - i_xReset - BOOL - 8 - 48 - - - ItemType - Input - - - pytmc - + | 5. ResetDocument() if a new document should be created with the same SaxWriter instance.]]>256initStatusHRESULT3232-1743714536ItemTypeOutputipWriterITcJsonSaxWriter3264ipWriter2ITcJsonSaxWriter23296CLSID_TcJsonSaxWriterCLSID128128.Data13870298264.Data256256.Data317669.Data4[0]158.Data4[1]60.Data4[2]93.Data4[3]248.Data4[4]70.Data4[5]150.Data4[6]7.Data4[7]196AddKeyNumberkeySTRING(80)32ItemTypeInOutvalueDINT32AddStringvalueSTRING(80)32ItemTypeInOutAddKeyFileTimekeySTRING(80)32ItemTypeInOutvalueFILETIME64IsCompleteBOOL8AddUdintvalueUDINT32AddHexBinarypBytesBYTE32nBytesDINT32AddLintvalueLINT64AddLrealvalueLREAL64AddKeykeySTRING(80)32ItemTypeInOutResetDocumentHRESULT32AddKeyLrealkeySTRING(80)32ItemTypeInOutvalueLREAL64StartObjectHRESULT32GetDocumentLengthUDINT32hrErrorCodeHRESULT32ItemTypeOutputnUDINT32pSTRING(80)32AddKeyDcTimekeySTRING(80)32ItemTypeInOutvalueDCTIME64AddDateTimevalueDATE_AND_TIME32AddRawObjectrawJsonSTRING(80)32ItemTypeInOutSetMaxDecimalPlacesHRESULT32decimalPlacesDINT32__get_ipWriterITcJsonSaxWriter32_ipWriterITcJsonSaxWriter32propertyAddKeyBoolkeySTRING(80)32ItemTypeInOutvalueBOOL8GetDocumentSTRING(255)2048hrErrorCodeHRESULT32ItemTypeOutputpSINT32nUDINT32AddDintvalueDINT32AddRawArrayBOOL8rawJsonSTRING(80)32ItemTypeInOutAddKeyStringkeySTRING(80)32ItemTypeInOutvalueSTRING(80)32ItemTypeInOutCopyDocumentUDINT32pDocSTRING(80)32ItemTypeInOutnDocUDINT32hrErrorCodeHRESULT32ItemTypeOutputAddUlintvalueULINT64GetMaxDecimalPlacesDINT32dpDINT32AddFileTimevalueFILETIME64AddNullAddKeyDateTimekeySTRING(80)32ItemTypeInOutvalueDATE_AND_TIME32AddBoolvalueBOOL8AddBase64pBytesBYTE32nBytesDINT32AddDcTimevalueDCTIME64AddKeyNullkeySTRING(80)32ItemTypeInOutEndArrayHRESULT32EndObjectHRESULT32StartArrayHRESULT32AddRealvalueREAL32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_HardwareFFOutput495296FF_ARRAY_UPPER_BOUNDUINT163250i_xResetBOOL848ItemTypeInputpytmc pv: ClearFault io: o field: DESC Might be overidden by PLC writes - - - - - - i_xVeto - BOOL - 8 - 56 - - - ItemType - Input - - - pytmc - + i_xVetoBOOL856ItemTypeInputpytmc pv: EnableVeto io: o - - - - - - bAutoReset - BOOL - Set true for the FFO to automatically permit beam again after all fast faults are cleared - 8 - 64 - - 0 - - - - ItemType - Input - - - - - i_sNetID - T_AmsNetID - Set to the Arbiter AmsNetID to be used for the synchronisation. An empty string means the system will sue local time - 192 - 72 - - - - - - ItemType - Input - - - - - q_xFastFaultOut - BOOL - 8 - 264 - - - ItemType - Output - - - pytmc - + bAutoResetBOOL8640ItemTypeInputi_sNetIDT_AmsNetID19272ItemTypeInputq_xFastFaultOutBOOL8264ItemTypeOutputpytmc pv: FaultHWO io: i field: DESC Hardware Output Status - - - - TcAddressType - Output - - - - - q_xValidSyncTime - BOOL - system time bValid output True when sync is successful - 8 - 272 - - - ItemType - Output - - - - - astFF - ST_FF - - 1 - 50 - - 384000 - 288 - - - pytmc - + TcAddressTypeOutputq_xValidSyncTimeBOOL8272ItemTypeOutputastFFST_FF150384000288pytmc pv: FF - - - - - - xFastFaultRegFail - BOOL - Set true if a fast fault fails to register. Holds beam off. - 8 - 384288 - - 0 - - - - pytmc - + xFastFaultRegFailBOOL83842880pytmc pv: RegistrationFailure io: io - - - - - - tFFRegFail - F_TRIG - 64 - 384320 - - - sPath - T_MaxString - 2048 - 384384 - - - instance-path - - - noinit - - - - - xOK - BOOL - Current internal state of FFO, indicates if FFO will accept a reset - 8 - 386432 - - 1 - - - - pytmc - + tFFRegFailF_TRIG64384320sPathT_MaxString2048384384instance-pathnoinitxOKBOOL83864321pytmc pv: OK io: i - - - - - - rtReset - R_TRIG - 64 - 386464 - - - rtResetandOK - R_TRIG - 64 - 386528 - - - nIndex - UINT - 16 - 386592 - - 1 - - - - IdxOK - BOOL - 8 - 386608 - - - fbTime - FB_LocalSystemTime - Get current system time, used for override - 19040 - 386624 - - - .bEnable - 1 - - - .dwCycle - 1 - - - - - fbTime_to_UTC - FB_TzSpecificLocalTimeToSystemTime - 3584 - 405664 - - - fbGetTimeZone - FB_GetTimeZoneInformation - 3488 - 409248 - - - fbJson - FB_JsonSaxWriter - 256 - 412736 - - - pmpsTypeCode - UDINT - shows up in json as pmps_typecode - 32 - 412992 - - 0 - - - - fbLogger - FB_LogMessage - 81984 - 413056 - - - .eSevr - 4 - - - .eSubsystem - 2 - - - .nMinTimeViolationAcceptable - 50 - - - - - __EXECUTELOGGING__HELLOTIMER - TOF - 224 - 495040 - - - .PT - 86400000 - - - - - ExecuteNoLog - - - EvaluateOutput - - - Execute - - - EvaluateVetos - BOOL - 8 - - - obsolete - Use EvaluateOverrides instead. - - - - - EvaluateOverrides - BOOL - 8 - - FF - ST_FF - 32 - - - EvalIdx - DINT - 32 - - - MaxTime - 49.7 days - DINT - 32 - - - - no_check - - - - - ExecuteLogging - BOOL - 8 - - FF - ST_FF - 32 - - - logIdx - DINT - 32 - - - HelloTimer - TOF - 224 - - - uselocation - __EXECUTELOGGING__HELLOTIMER - - - - - - no_check - - - - - Register - BOOL - 8 - - stFFInfo - ST_FFInfo - 6832 - - - FFOName - T_MaxString - 2048 - - - ItemType - Output - - - - - Idx - UINT - 16 - - - ItemType - Output - - - - - - no_check - - - - - IdxCheckIn - BOOL - 8 - - Idx - DINT - 32 - - - OK - BOOL - 8 - - - Reset - BOOL - 8 - - - stFF - ST_FF - 7680 - - - BeamPermitted - BOOL - 8 - - - - no_check - - - - - FormulateLogJson - STRING(80) - 648 - - FF - ST_FF - 7680 - - - - - PouType - FunctionBlock - - - reflection - - - no_check - - - - - FB_FastFault - Fast Fault + rtResetR_TRIG64386464rtResetandOKR_TRIG64386528nIndexUINT163865921IdxOKBOOL8386608fbTimeFB_LocalSystemTime19040386624.bEnable1.dwCycle1fbTime_to_UTCFB_TzSpecificLocalTimeToSystemTime3584405664fbGetTimeZoneFB_GetTimeZoneInformation3488409248fbJsonFB_JsonSaxWriter256412736pmpsTypeCodeUDINT324129920fbLoggerFB_LogMessage81984413056.eSevr4.eSubsystem2.nMinTimeViolationAcceptable50__EXECUTELOGGING__HELLOTIMERTOF224495040.PT86400000ExecuteNoLogEvaluateOutputExecuteEvaluateVetosBOOL8obsoleteUse EvaluateOverrides instead.EvaluateOverridesBOOL8FFST_FF32EvalIdxDINT32MaxTimeDINT32no_checkExecuteLoggingBOOL8FFST_FF32logIdxDINT32HelloTimerTOF224uselocation__EXECUTELOGGING__HELLOTIMERno_checkRegisterBOOL8stFFInfoST_FFInfo6832FFONameT_MaxString2048ItemTypeOutputIdxUINT16ItemTypeOutputno_checkIdxCheckInBOOL8IdxDINT32OKBOOL8ResetBOOL8stFFST_FF7680BeamPermittedBOOL8no_checkFormulateLogJsonSTRING(80)648FFST_FF7680PouTypeFunctionBlockreflectionno_checkFB_FastFault - 25088 - - i_xOK - BOOL - Connect to fast-fault condition (false produces fault) - 8 - 32 - - - ItemType - Input - - - - - i_xReset - BOOL - Resets when i_xOK is true and this is true - 8 - 40 - - - ItemType - Input - - - - - i_xAutoReset - BOOL - Automatically clear fast fault (latching vs non-latching) - 8 - 48 - - 0 - - - - ItemType - Input - - - - - i_xVetoable - BOOL - Mask this fast fault if the FFO veto device is true - 8 - 56 - - 1 - - - - ItemType - Input - - - - - i_DevName - T_MaxString - Device name for diagnostic - 2048 - 64 - - - - - - ItemType - Input - - - - - i_Desc - T_MaxString - Description of fast fault (you should set at init) - 2048 - 2112 - - - - - - ItemType - Input - - - - - i_TypeCode - UINT - Error code for classifying fast faults - 16 - 4160 - - - ItemType - Input - - - - - o_xFFLine - BOOL - Connect to HW output or another FF input if you like (Optional) - 8 - 4176 - - - ItemType - Output - - - - - io_fbFFHWO - FB_HardwareFFOutput - Point to FB_HardwareFFOutput of your choice - 32 - 4192 - - - ItemType - InOut - - - - - sPath - T_MaxString - 2048 - 4224 - - - instance-path - - - noinit - - - - - FFInfo - ST_FFInfo - 6832 - 6272 - - - RegistrationIdx - UINT - The index this FF was registered in the FFO - 16 - 13104 - - 1 - - - - xInit - BOOL - 8 - 13120 - - 1 - - - - InfoStringFmtr - FB_FormatString - 7840 - 13152 - - - InUse - T_MaxString - 2048 - 20992 - - - AutoReset - T_MaxString - 2048 - 23040 - - - - PouType - FunctionBlock - - - reflection - - - - - BeamParameterTransitionManager - +]]>25088i_xOKBOOL832ItemTypeInputi_xResetBOOL840ItemTypeInputi_xAutoResetBOOL8480ItemTypeInputi_xVetoableBOOL8561ItemTypeInputi_DevNameT_MaxString204864ItemTypeInputi_DescT_MaxString20482112ItemTypeInputi_TypeCodeUINT164160ItemTypeInputo_xFFLineBOOL84176ItemTypeOutputio_fbFFHWOFB_HardwareFFOutput324192ItemTypeInOutsPathT_MaxString20484224instance-pathnoinitFFInfoST_FFInfo68326272RegistrationIdxUINT16131041xInitBOOL8131201InfoStringFmtrFB_FormatString784013152InUseT_MaxString204820992AutoResetT_MaxString204823040PouTypeFunctionBlockreflectionBeamParameterTransitionManager - 60256 - - fbArbiter - FB_Arbiter - Connect to local arbiter - 32 - 32 - - - ItemType - InOut - - - - - i_sDeviceName - STRING(80) - Name of the device requesting the transition - 648 - 64 - - Device - - - - ItemType - Input - - - - - i_TransitionAssertionID - UDINT - Must not be 0 or EXCLUDED_ID - 32 - 736 - - 0 - - - - ItemType - Input - - - - - i_stTransitionAssertion - ST_BeamParams - Assertion required during transition (always safer than anything inbetween) - 1760 - 768 - - - ItemType - Input - - - - - i_nRequestedAssertionID - UDINT - Must not be 0 or EXCLUDED_ID - 32 - 2528 - - 0 - - - - ItemType - Input - - - - - i_stRequestedAssertion - ST_BeamParams - PMPS_GVL.cstSafeBeam; //Requested assertion, change whenever - 1760 - 2560 - - - .nTran - 0 - - - .neVRange - 0 - - - .nRate - 0 - - - .nBCRange - 0 - - - - - ItemType - Input - - - - - i_xMoving - BOOL - Provide rising edge when device begins moving <remove> - 8 - 4320 - - 0 - - - - ItemType - Input - - - - - i_xDoneMoving - BOOL - Provide rising edge when device is done with a move - 8 - 4328 - - 0 - - - - ItemType - Input - - - - - stCurrentBeamParameters - ST_BeamParams - Connect to current beam parameters - 1760 - 4352 - - - ItemType - Input - - - - - bRetry - BOOL - Rising edge to cycle back through the BPTM process. Use if something in the process timed out or failed. This will interrupt a current process - 8 - 6112 - - 0 - - - - ItemType - Input - - - - - q_xTransitionAuthorized - BOOL - Rising edge indicating the device is safe to move, use as input to move execute (which requires a rising edge) - 8 - 6120 - - 0 - - - - ItemType - Output - - - - - bError - BOOL - Set if some issue occurs within the bptm - 8 - 6128 - - - ItemType - Output - - - - - nErrId - UINT - Set to non-zero to help understand the error. - 16 - 6144 - - - ItemType - Output - - - - - bDone - BOOL - 8 - 6160 - - - ItemType - Output - - - - - bBusy - BOOL - 8 - 6168 - - - ItemType - Output - - - - - nTargetAssertionID - UDINT - 32 - 6176 - - 0 - - - - stTargetAssertion - ST_BeamParams - Target assertion - 1760 - 6208 - - - nCurrentAssertionID - UDINT - ID of last set state (zero until a state is reached) - 32 - 7968 - - 0 - - - - xNewBP - BOOL - 8 - 8000 - - - xTranBP - BOOL - 8 - 8008 - - - xFinalBPInArb - BOOL - 8 - 8016 - - - xFinalBP - BOOL - 8 - 8024 - - - eBPTMState - E_BPTMState - 16 - 8032 - - 0 - - - - ePrevState - E_BPTMState - 16 - 8048 - - 0 - - - - xEntry - BOOL - 8 - 8064 - - - rTransition - R_TRIG - 64 - 8096 - - - xNewTarget - BOOL - 8 - 8160 - - - bTransAssertionFailed - BOOL - 8 - 8168 - - - bFinalAssertionFailed - BOOL - 8 - 8176 - - - LogStrBuffer - STRING(80) - - 0 - 41 - - 26568 - 8184 - - - LogBuffIdx - FB_Index - 96 - 34752 - - - .LowerLimit - 0 - - - .UpperLimit - 40 - - - - - nAssrtAttempt - INT - Number of times we have tried asserting a BP set - 16 - 34848 - - - rtRetry - R_TRIG - 64 - 34880 - - - rtError - R_TRIG - 64 - 34944 - - - ffTimeout - FB_FastFault - 25088 - 35008 - - - .i_Desc - Preemptive requests timed out in BPTM - - - .i_TypeCode - 10 - - - .i_xAutoReset - 0 - - - - - rtDoneMoving - R_TRIG - 64 - 60096 - - - bLatchDoneMoving - BOOL - 8 - 60160 - - - bFirstMove - BOOL - 8 - 60168 - - 1 - - - - LogBuffSize - INT - 16 - 60176 - - 40 - - - - cMaxAttempts - INT - 16 - 60192 - - 3 - - - - cReqArbCapacity - UDINT - The thought here is, a BPTM needs at most 2 arbiter slots to complete a transition. + ]]>60256fbArbiterFB_Arbiter3232ItemTypeInOuti_sDeviceNameSTRING(80)64864DeviceItemTypeInputi_TransitionAssertionIDUDINT327360ItemTypeInputi_stTransitionAssertionST_BeamParams1760768ItemTypeInputi_nRequestedAssertionIDUDINT3225280ItemTypeInputi_stRequestedAssertionST_BeamParams17602560.nTran0.neVRange0.nRate0.nBCRange0ItemTypeInputi_xMovingBOOL]]>843200ItemTypeInputi_xDoneMovingBOOL843280ItemTypeInputstCurrentBeamParametersST_BeamParams17604352ItemTypeInputbRetryBOOL861120ItemTypeInputq_xTransitionAuthorizedBOOL861200ItemTypeOutputbErrorBOOL86128ItemTypeOutputnErrIdUINT166144ItemTypeOutputbDoneBOOL86160ItemTypeOutputbBusyBOOL86168ItemTypeOutputnTargetAssertionIDUDINT3261760stTargetAssertionST_BeamParams17606208nCurrentAssertionIDUDINT3279680xNewBPBOOL88000xTranBPBOOL88008xFinalBPInArbBOOL88016xFinalBPBOOL88024eBPTMStateE_BPTMState1680320ePrevStateE_BPTMState1680480xEntryBOOL88064rTransitionR_TRIG648096xNewTargetBOOL88160bTransAssertionFailedBOOL88168bFinalAssertionFailedBOOL88176LogStrBufferSTRING(80)041265688184LogBuffIdxFB_Index9634752.LowerLimit0.UpperLimit40nAssrtAttemptINT1634848rtRetryR_TRIG6434880rtErrorR_TRIG6434944ffTimeoutFB_FastFault2508835008.i_DescPreemptive requests timed out in BPTM.i_TypeCode10.i_xAutoReset0rtDoneMovingR_TRIG6460096bLatchDoneMovingBOOL860160bFirstMoveBOOL8601681LogBuffSizeINT166017640cMaxAttemptsINT16601923cReqArbCapacityUDINT - 32 - 60224 - - 2 - - - - AuthorizeTransition - - - WaitingForFinalAssertion_DO - - - NewTarget_ENTRY - - - AssertTransitionBP - - - AssertFinalBP - - - WaitingForTransitionAssertion_DO - - - RemoveTransitionAssertion - - - SetNewTarget - - - RequestBP_DO - - - WaitingForTransitionAssertion_EXIT - - - WaitingForFinalAssertion_EXIT - - - DeauthorizeTransition - - - LogActions - BOOL - 8 - - LogStr - STRING(80) - 648 - - - - no_check - - - - - - PouType - FunctionBlock - - - no_check - - - - - FB_DummyArbIO - Use to test other library integrations of PMPS preemptive functionality - This block stands in for the FB_SubSysToArb_IO block. - 8992 - I_HigherAuthority - I_LowerAuthority - - LA - I_LowerAuthority - stCurrentBP : REFERENCE TO ST_BeamParams; //Set to something to redirect currentBP update - 32 - 96 - - - ItemType - Input - - - - - tRateDelay - TIME - Delay until rate is looped back into q_stSimulatedBPReadback - 32 - 128 - - - ItemType - Input - - - - - tTransDelay - TIME - Delay until transmission is looped back into q_stSimulatedBPReadback - 32 - 160 - - - ItemType - Input - - - - - tPEDelay - TIME - Delay until PE is looped back into q_stSimulatedBPReadback - 32 - 192 - - - ItemType - Input - - - - - tAptDelay - TIME - Delay until apertures are looped back into q_stSimulatedBPReadback - 32 - 224 - - - ItemType - Input - - - - - tSattDelay - TIME - Delay until apertures are looped back into q_stSimulatedBPReadback - 32 - 256 - - - ItemType - Input - - - - - q_stSimulatedBPReadback - ST_BeamParams - Updated to - 1760 - 288 - - - ItemType - Output - - - - - FFO - FB_HardwareFFOutput - 32 - 2048 - - - ItemType - InOut - - - - - bAutoUpdateBP - BOOL - Set by AutoUpdateBP property, if true causes this FB to update PMPS_GVL.stCurrentBP to the - 8 - 2080 - - 0 - - - - stNewReqBP - ST_BeamParams - requested value automatically within the RequestBP method and restore it within the RemoveRequest method - 1760 - 2112 - - - stReqOutBP - ST_BeamParams - To be written on next ApplyBPReq call - 1760 - 3872 - - - stSaveCurrentBP - ST_BeamParams - Will be restored after RemoveRequest then ApplyBPReq call - 1760 - 5632 - - - nSavedID - DWORD - Used to simulate CheckRequest method - 32 - 7392 - - - tonRate - TON - 224 - 7424 - - - tonTrans - TON - 224 - 7648 - - - tonPE - TON - 224 - 7872 - - - tonApt - TON - 224 - 8096 - - - tonSatt - TON - 224 - 8320 - - - tonBCRange - TON - 224 - 8544 - - - tonBC - TON - 224 - 8768 - - - __setAutoUpdateBP - - AutoUpdateBP - BOOL - 8 - - - - property - - - - - RemoveRequest - BOOL - 8 - - nReqID - StateID to remove - DWORD - 32 - - - - ElevateRequest - BOOL - 8 - - HigherAuthority - I_HigherAuthority - 32 - - - - __getnLowerAuthorityID - DWORD - 32 - - nLowerAuthorityID - DWORD - 32 - - - - property - - - - - __getAutoUpdateBP - BOOL - 8 - - AutoUpdateBP - BOOL - 8 - - - - property - - - - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - - ApplyBPReq - - bUpdateBP - Set true and call this method to set q_stSimulatedBPReadback to the request - BOOL - 8 - - - BP - ST_BeamParams - 32 - - - - RequestBP - BOOL - 8 - - nReqID - StateID of state requesting beam parameter set - DWORD - 32 - - - stReqBP - Requested beam params - ST_BeamParams - 1760 - - - - - PouType - FunctionBlock - - - - - E_BPTMTestStates - 16 - INT - - Init - 0 - - - WaitingForValidID - 50 - - - WaitingForTransitionAssertion - 100 - - - StalledAtTransition - 150 - - - WaitingForFinalAssertion - 200 - - - WaitingForBeam - 250 - - - Transitioning - 300 - - - CleaningUp - 400 - - - AnotherState - 500 - - - Retry - 1000 - - - Done - 8000 - - - Error - 9000 - - - - FB_BPRequestor - BP Requestor + ]]>32602242AuthorizeTransitionWaitingForFinalAssertion_DONewTarget_ENTRYAssertTransitionBPAssertFinalBPWaitingForTransitionAssertion_DORemoveTransitionAssertionSetNewTargetRequestBP_DOWaitingForTransitionAssertion_EXITWaitingForFinalAssertion_EXITDeauthorizeTransitionLogActionsBOOL8LogStrSTRING(80)648no_checkPouTypeFunctionBlockno_checkFB_DummyArbIO8992I_HigherAuthorityI_LowerAuthorityLAI_LowerAuthority3296ItemTypeInputtRateDelayTIME32128ItemTypeInputtTransDelayTIME32160ItemTypeInputtPEDelayTIME32192ItemTypeInputtAptDelayTIME32224ItemTypeInputtSattDelayTIME32256ItemTypeInputq_stSimulatedBPReadbackST_BeamParams1760288ItemTypeOutputFFOFB_HardwareFFOutput322048ItemTypeInOutbAutoUpdateBPBOOL820800stNewReqBPST_BeamParams17602112stReqOutBPST_BeamParams17603872stSaveCurrentBPST_BeamParams17605632nSavedIDDWORD327392tonRateTON2247424tonTransTON2247648tonPETON2247872tonAptTON2248096tonSattTON2248320tonBCRangeTON2248544tonBCTON2248768__setAutoUpdateBPAutoUpdateBPBOOL8propertyRemoveRequestBOOL8nReqIDDWORD32ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32property__getAutoUpdateBPBOOL8AutoUpdateBPBOOL8propertyCheckRequestBOOL8nReqIDDWORD32ApplyBPReqbUpdateBPBOOL8BPST_BeamParams32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760PouTypeFunctionBlockE_BPTMTestStates16INTInit0WaitingForValidID50WaitingForTransitionAssertion100StalledAtTransition150WaitingForFinalAssertion200WaitingForBeam250Transitioning300CleaningUp400AnotherState500Retry1000Done8000Error9000FB_BPRequestor - 3904 - I_HigherAuthority - - q_ReqBP - ST_BeamParams - Arbitrated BP - 1760 - 64 - - - ItemType - Output - - - - - Arbiter - FB_Arbiter - 32 - 1824 - - - ItemType - InOut - - - - - ReqBP - ST_BeamParams - 1760 - 1856 - - - nCohort - ULINT - Current cohort, inc. 1 cycle after IO is updated - 64 - 3648 - - - nRequestCohort - ULINT - Cohort number recorded at the time of the request. - 64 - 3712 - - - __CHECKREQUEST__XFIRSTTIME - BOOL - 8 - 3776 - - - __CHECKREQUEST__NID - DWORD - 32 - 3808 - - - __REQUESTBP__REQID - DWORD - 32 - 3840 - - - __REQUESTBP__REGISTERED - BOOL - 8 - 3872 - - 0 - - - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - xFirstTime - BOOL - 8 - - - uselocation - __CHECKREQUEST__XFIRSTTIME - - - - - nId - DWORD - 32 - - - uselocation - __CHECKREQUEST__NID - - - - - - RequestBP - BOOL - 8 - - nReqID - StateID of state requesting beam parameter set - DWORD - 32 - - - stReqBP - Requested beam params - ST_BeamParams - 1760 - - - ReqID - DWORD - 32 - - - uselocation - __REQUESTBP__REQID - - - - - Registered - BOOL - 8 - - - uselocation - __REQUESTBP__REGISTERED - - - - - - RemoveRequest - BOOL - 8 - - nReqID - StateID to remove - DWORD - 32 - - - - - PouType - FunctionBlock - - - - - FW_DRand - 4224 - - nSeed - INT - 16 - 32 - - - ItemType - Input - - - - - fRndNum - LREAL - 64 - 64 - - - ItemType - Output - - - - - FirstCall_i - BOOL - 8 - 128 - - - HoldRand_i - DINT - 32 - 160 - - - R250_Buffer_i - UINT - - 0 - 250 - - 4000 - 192 - - - R250_Index - INT - 16 - 4192 - - - - PouType - FunctionBlock - - - conditionalshow - - - - - DRAND - Random number generator. - 4352 - - Seed - INT - Start value - 16 - 32 - - - ItemType - Input - - - - - Num - LREAL - Random value - 64 - 64 - - - ItemType - Output - - - - - fbDRand - FW_DRand - 4224 - 128 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_BPTM_Test - 38612160 - FB_TestSuite - - BPTM_ARR - UDINT - 32 - 33551744 - - 20 - - - - cCycle - UINT - How many cycles does it take to complete a BPTM - 16 - 33551776 - - 20 - - - - __BPTMBASICFUNCTION__FBBPTM_TESTBASICFUNCTION - BeamParameterTransitionManager - 60256 - 33551808 - - - __BPTMBASICFUNCTION__FBARBITER - FB_Arbiter - 474624 - 33612096 - - - old_input_assignments - - - - - __BPTMBASICFUNCTION__FFO - FB_HardwareFFOutput - 495296 - 34086720 - - - __BPTMBASICFUNCTION__FBSUBSYSIO - FB_DummyArbIO - 8992 - 34582016 - - - __BPTMBASICFUNCTION__XFIRSTPASS - BOOL - 8 - 34591008 - - 1 - - - - __BPTMBASICFUNCTION__ETESTSTEP - E_BPTMTestStates - 16 - 34591024 - - 0 - - - - __FULLARBERROR__FBBPTM_TESTFULLARB - BeamParameterTransitionManager - 60256 - 34591040 - - - __FULLARBERROR__FBARBFULLERR - FB_Arbiter - 474624 - 34651328 - - - old_input_assignments - - - - - __FULLARBERROR__FFO - FB_HardwareFFOutput - 495296 - 35125952 - - - __FULLARBERROR__FBSUBSYSIO - FB_DummyArbIO - 8992 - 35621248 - - - __FULLARBERROR__FBBPR - FB_BPRequestor - 3904 - 35630272 - - - __FULLARBERROR__XFIRSTPASS - BOOL - 8 - 35634176 - - 1 - - - - __FULLARBERROR__ETESTSTEP - E_BPTMTestStates - 16 - 35634192 - - 0 - - - - __FULLARBERROR__TONRETRYTIMEOUT - TON - 224 - 35634208 - - - .PT - 5000 - - - - - __FULLARBERROR__ENTRYTORETRY - BOOL - 8 - 35634432 - - 1 - - - - __FULLARBERROR__FBRAND - DRAND - 4352 - 35634496 - - - .Seed - 1 - - - - - __INTERRUPTATALLSTEPS__FBBPTM_INTERRUPTIONTEST - BeamParameterTransitionManager - 60256 - 35638848 - - - __INTERRUPTATALLSTEPS__FFO - FB_HardwareFFOutput - 495296 - 35699136 - - - .bAutoReset - 1 - - - - - __INTERRUPTATALLSTEPS__FBSUBSYSIO - FB_DummyArbIO - 8992 - 36194432 - - - __INTERRUPTATALLSTEPS__FBBPR - FB_BPRequestor - 3904 - 36203456 - - - __INTERRUPTATALLSTEPS__XFIRSTPASS - BOOL - 8 - 36207360 - - 1 - - - - __INTERRUPTATALLSTEPS__ETESTSTEP - E_BPTMTestStates - 16 - 36207376 - - 0 - - - - __INTERRUPTATALLSTEPS__TONRETRYTIMEOUT - TON - 224 - 36207392 - - - .PT - 5000 - - - - - __INTERRUPTATALLSTEPS__FBBPTMDISCCYCLES - BeamParameterTransitionManager - 60256 - 36207616 - - - __INTERRUPTATALLSTEPS__FBSUBSYSIODISC - FB_DummyArbIO - 8992 - 36267872 - - - __INTERRUPTATALLSTEPS__FBARBDISC - FB_Arbiter - 474624 - 36276864 - - - old_input_assignments - - - - - __INTERRUPTATALLSTEPS__ICOUNT - UINT - 16 - 36751488 - - - __INTERRUPTATALLSTEPS__ABPTM - BeamParameterTransitionManager - - 1 - 20 - - 1205120 - 36751520 - - - __INTERRUPTATALLSTEPS__BPTMUNDERTEST - BeamParameterTransitionManager - 32 - 37956640 - - - __INTERRUPTATALLSTEPS__FBARBITER - FB_Arbiter - 474624 - 37956672 - - - old_input_assignments - - - - - __INTERRUPTATALLSTEPS__AARBIO - FB_DummyArbIO - - 1 - 20 - - 179840 - 38431296 - - - __INTERRUPTATALLSTEPS__ARBIO - FB_DummyArbIO - 32 - 38611136 - - - __INTERRUPTATALLSTEPS__NCYCLELIM - UINT - 16 - 38611168 - - - __INTERRUPTATALLSTEPS__NCYCLE - UINT - 16 - 38611184 - - - __INTERRUPTATALLSTEPS__SCURRENTTESTNAME - STRING(80) - 648 - 38611200 - - - - - - __INTERRUPTATALLSTEPS__BCYCLELIMHIT - BOOL - 8 - 38611848 - - - __INTERRUPTATALLSTEPS__NALLSTEPSDONE - BYTE - 8 - 38611856 - - - __INTERRUPTATALLSTEPS__TTIMEOUT - TON - 224 - 38611872 - - - .PT - 20 - - - - - __INTERRUPTATALLSTEPS__BTESTEDONCE - BOOL - 8 - 38612096 - - - BPTMBasicFunction - - nTransitionID - Final and transition assertions - UDINT - 32 - - - stTransitionAssertion - ST_BeamParams - 1760 - - - nReqID - UDINT - 32 - - - stReqAssertion - ST_BeamParams - 1760 - - - fbBPTM_TestBasicFunction - BeamParameterTransitionManager - 60256 - - - uselocation - __BPTMBASICFUNCTION__FBBPTM_TESTBASICFUNCTION - - - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __BPTMBASICFUNCTION__FBARBITER - - - - - ffo - FB_HardwareFFOutput - 495296 - - - uselocation - __BPTMBASICFUNCTION__FFO - - - - - fbSubSysIO - FB_DummyArbIO - 8992 - - - uselocation - __BPTMBASICFUNCTION__FBSUBSYSIO - - - - - xFirstPass - BOOL - 8 - - - uselocation - __BPTMBASICFUNCTION__XFIRSTPASS - - - - - eTestStep - E_BPTMTestStates - 16 - - - uselocation - __BPTMBASICFUNCTION__ETESTSTEP - - - - - - FullArbError - - nTransitionID - Final and transition assertions - UDINT - 32 - - - stTransitionAssertion - PMPS_GVL.cstSafeBeam; - ST_BeamParams - 1760 - - - nReqID - UDINT - 32 - - - stReqAssertion - PMPS_GVL.cstSafeBeam; - ST_BeamParams - 1760 - - - idx - UDINT - 32 - - - nRandID - DWORD - 32 - - - testReq - ST_BeamParams - 1760 - - - fbBPTM_TestFullArb - BeamParameterTransitionManager - 60256 - - - uselocation - __FULLARBERROR__FBBPTM_TESTFULLARB - - - - - fbArbFullErr - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __FULLARBERROR__FBARBFULLERR - - - - - ffo - FB_HardwareFFOutput - 495296 - - - uselocation - __FULLARBERROR__FFO - - - - - fbSubSysIO - FB_DummyArbIO - 8992 - - - uselocation - __FULLARBERROR__FBSUBSYSIO - - - - - fbBPR - FB_BPRequestor - 3904 - - - uselocation - __FULLARBERROR__FBBPR - - - - - xFirstPass - BOOL - 8 - - - uselocation - __FULLARBERROR__XFIRSTPASS - - - - - eTestStep - E_BPTMTestStates - 16 - - - uselocation - __FULLARBERROR__ETESTSTEP - - - - - tonRetryTimeout - TON - 224 - - - uselocation - __FULLARBERROR__TONRETRYTIMEOUT - - - - - entryToRetry - BOOL - 8 - - - uselocation - __FULLARBERROR__ENTRYTORETRY - - - - - fbRand - DRAND - 4352 - - - uselocation - __FULLARBERROR__FBRAND - - - - - - InterruptAtAllSteps - - nTransitionID - Final and transition assertions - UDINT - 32 - - - stTranReq - ST_BeamParams - 1760 - - - nFirstReqID - UDINT - 32 - - - stFirstReq - ST_BeamParams - 1760 - - - fbBPTM_InterruptionTest - BeamParameterTransitionManager - 60256 - - - uselocation - __INTERRUPTATALLSTEPS__FBBPTM_INTERRUPTIONTEST - - - - - ffo - FB_HardwareFFOutput - 495296 - - - uselocation - __INTERRUPTATALLSTEPS__FFO - - - - - fbSubSysIO - FB_DummyArbIO - 8992 - - - uselocation - __INTERRUPTATALLSTEPS__FBSUBSYSIO - - - - - fbBPR - FB_BPRequestor - 3904 - - - uselocation - __INTERRUPTATALLSTEPS__FBBPR - - - - - xFirstPass - BOOL - 8 - - - uselocation - __INTERRUPTATALLSTEPS__XFIRSTPASS - - - - - eTestStep - E_BPTMTestStates - 16 - - - uselocation - __INTERRUPTATALLSTEPS__ETESTSTEP - - - - - tonRetryTimeout - TON - 224 - - - uselocation - __INTERRUPTATALLSTEPS__TONRETRYTIMEOUT - - - - - fbBPTMDiscCycles - BeamParameterTransitionManager - 60256 - - - uselocation - __INTERRUPTATALLSTEPS__FBBPTMDISCCYCLES - - - - - fbSubSysIODisc - FB_DummyArbIO - 8992 - - - uselocation - __INTERRUPTATALLSTEPS__FBSUBSYSIODISC - - - - - fbArbDisc - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __INTERRUPTATALLSTEPS__FBARBDISC - - - - - iCount - UINT - 16 - - - uselocation - __INTERRUPTATALLSTEPS__ICOUNT - - - - - aBPTM - BeamParameterTransitionManager - - 1 - 20 - - 1205120 - - - uselocation - __INTERRUPTATALLSTEPS__ABPTM - - - - - BPTMUnderTest - BeamParameterTransitionManager - 32 - - - uselocation - __INTERRUPTATALLSTEPS__BPTMUNDERTEST - - - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __INTERRUPTATALLSTEPS__FBARBITER - - - - - aArbIO - FB_DummyArbIO - - 1 - 20 - - 179840 - - - uselocation - __INTERRUPTATALLSTEPS__AARBIO - - - - - ArbIO - FB_DummyArbIO - 32 - - - uselocation - __INTERRUPTATALLSTEPS__ARBIO - - - - - nCycleLim - UINT - 16 - - - uselocation - __INTERRUPTATALLSTEPS__NCYCLELIM - - - - - nCycle - UINT - 16 - - - uselocation - __INTERRUPTATALLSTEPS__NCYCLE - - - - - sCurrentTestName - STRING(80) - 648 - - - uselocation - __INTERRUPTATALLSTEPS__SCURRENTTESTNAME - - - - - bCycleLimHit - BOOL - 8 - - - uselocation - __INTERRUPTATALLSTEPS__BCYCLELIMHIT - - - - - nAllStepsDone - BYTE - 8 - - - uselocation - __INTERRUPTATALLSTEPS__NALLSTEPSDONE - - - - - tTimeOut - TON - 224 - - - uselocation - __INTERRUPTATALLSTEPS__TTIMEOUT - - - - - bTestedOnce - BOOL - 8 - - - uselocation - __INTERRUPTATALLSTEPS__BTESTEDONCE - - - - - nNewTarget - INT - 16 - - - nRequestBP - INT - 16 - - - nWaitForBP - INT - 16 - - - nTransitioning - INT - 16 - - - nWaitForFinalBP - INT - 16 - - - nCleaningUp - INT - 16 - - - nDone - INT - 16 - - - nIdle - INT - 16 - - - - no_check - - - - - - PouType - FunctionBlock - - - call_after_init - - - - - FB_BeamClassOutputs_BCD - +]]>3904I_HigherAuthorityq_ReqBPST_BeamParams176064ItemTypeOutputArbiterFB_Arbiter321824ItemTypeInOutReqBPST_BeamParams17601856nCohortULINT643648nRequestCohortULINT643712__CHECKREQUEST__XFIRSTTIMEBOOL83776__CHECKREQUEST__NIDDWORD323808__REQUESTBP__REQIDDWORD323840__REQUESTBP__REGISTEREDBOOL838720CheckRequestBOOL8nReqIDDWORD32xFirstTimeBOOL8uselocation__CHECKREQUEST__XFIRSTTIMEnIdDWORD32uselocation__CHECKREQUEST__NIDRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760ReqIDDWORD32uselocation__REQUESTBP__REQIDRegisteredBOOL8uselocation__REQUESTBP__REGISTEREDRemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFW_DRand4224nSeedINT1632ItemTypeInputfRndNumLREAL6464ItemTypeOutputFirstCall_iBOOL8128HoldRand_iDINT32160R250_Buffer_iUINT02504000192R250_IndexINT164192PouTypeFunctionBlockconditionalshowDRAND4352SeedINT1632ItemTypeInputNumLREAL6464ItemTypeOutputfbDRandFW_DRand4224128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_BPTM_Test38612160FB_TestSuiteBPTM_ARRUDINT323355174420cCycleUINT163355177620__BPTMBASICFUNCTION__FBBPTM_TESTBASICFUNCTIONBeamParameterTransitionManager6025633551808__BPTMBASICFUNCTION__FBARBITERFB_Arbiter47462433612096old_input_assignments__BPTMBASICFUNCTION__FFOFB_HardwareFFOutput49529634086720__BPTMBASICFUNCTION__FBSUBSYSIOFB_DummyArbIO899234582016__BPTMBASICFUNCTION__XFIRSTPASSBOOL8345910081__BPTMBASICFUNCTION__ETESTSTEPE_BPTMTestStates16345910240__FULLARBERROR__FBBPTM_TESTFULLARBBeamParameterTransitionManager6025634591040__FULLARBERROR__FBARBFULLERRFB_Arbiter47462434651328old_input_assignments__FULLARBERROR__FFOFB_HardwareFFOutput49529635125952__FULLARBERROR__FBSUBSYSIOFB_DummyArbIO899235621248__FULLARBERROR__FBBPRFB_BPRequestor390435630272__FULLARBERROR__XFIRSTPASSBOOL8356341761__FULLARBERROR__ETESTSTEPE_BPTMTestStates16356341920__FULLARBERROR__TONRETRYTIMEOUTTON22435634208.PT5000__FULLARBERROR__ENTRYTORETRYBOOL8356344321__FULLARBERROR__FBRANDDRAND435235634496.Seed1__INTERRUPTATALLSTEPS__FBBPTM_INTERRUPTIONTESTBeamParameterTransitionManager6025635638848__INTERRUPTATALLSTEPS__FFOFB_HardwareFFOutput49529635699136.bAutoReset1__INTERRUPTATALLSTEPS__FBSUBSYSIOFB_DummyArbIO899236194432__INTERRUPTATALLSTEPS__FBBPRFB_BPRequestor390436203456__INTERRUPTATALLSTEPS__XFIRSTPASSBOOL8362073601__INTERRUPTATALLSTEPS__ETESTSTEPE_BPTMTestStates16362073760__INTERRUPTATALLSTEPS__TONRETRYTIMEOUTTON22436207392.PT5000__INTERRUPTATALLSTEPS__FBBPTMDISCCYCLESBeamParameterTransitionManager6025636207616__INTERRUPTATALLSTEPS__FBSUBSYSIODISCFB_DummyArbIO899236267872__INTERRUPTATALLSTEPS__FBARBDISCFB_Arbiter47462436276864old_input_assignments__INTERRUPTATALLSTEPS__ICOUNTUINT1636751488__INTERRUPTATALLSTEPS__ABPTMBeamParameterTransitionManager120120512036751520__INTERRUPTATALLSTEPS__BPTMUNDERTESTBeamParameterTransitionManager3237956640__INTERRUPTATALLSTEPS__FBARBITERFB_Arbiter47462437956672old_input_assignments__INTERRUPTATALLSTEPS__AARBIOFB_DummyArbIO12017984038431296__INTERRUPTATALLSTEPS__ARBIOFB_DummyArbIO3238611136__INTERRUPTATALLSTEPS__NCYCLELIMUINT1638611168__INTERRUPTATALLSTEPS__NCYCLEUINT1638611184__INTERRUPTATALLSTEPS__SCURRENTTESTNAMESTRING(80)64838611200__INTERRUPTATALLSTEPS__BCYCLELIMHITBOOL838611848__INTERRUPTATALLSTEPS__NALLSTEPSDONEBYTE838611856__INTERRUPTATALLSTEPS__TTIMEOUTTON22438611872.PT20__INTERRUPTATALLSTEPS__BTESTEDONCEBOOL838612096BPTMBasicFunctionnTransitionIDUDINT32stTransitionAssertionST_BeamParams1760nReqIDUDINT32stReqAssertionST_BeamParams1760fbBPTM_TestBasicFunctionBeamParameterTransitionManager60256uselocation__BPTMBASICFUNCTION__FBBPTM_TESTBASICFUNCTIONfbArbiterFB_Arbiter474624old_input_assignmentsuselocation__BPTMBASICFUNCTION__FBARBITERffoFB_HardwareFFOutput495296uselocation__BPTMBASICFUNCTION__FFOfbSubSysIOFB_DummyArbIO8992uselocation__BPTMBASICFUNCTION__FBSUBSYSIOxFirstPassBOOL8uselocation__BPTMBASICFUNCTION__XFIRSTPASSeTestStepE_BPTMTestStates16uselocation__BPTMBASICFUNCTION__ETESTSTEPFullArbErrornTransitionIDUDINT32stTransitionAssertionST_BeamParams1760nReqIDUDINT32stReqAssertionST_BeamParams1760idxUDINT32nRandIDDWORD32testReqST_BeamParams1760fbBPTM_TestFullArbBeamParameterTransitionManager60256uselocation__FULLARBERROR__FBBPTM_TESTFULLARBfbArbFullErrFB_Arbiter474624old_input_assignmentsuselocation__FULLARBERROR__FBARBFULLERRffoFB_HardwareFFOutput495296uselocation__FULLARBERROR__FFOfbSubSysIOFB_DummyArbIO8992uselocation__FULLARBERROR__FBSUBSYSIOfbBPRFB_BPRequestor3904uselocation__FULLARBERROR__FBBPRxFirstPassBOOL8uselocation__FULLARBERROR__XFIRSTPASSeTestStepE_BPTMTestStates16uselocation__FULLARBERROR__ETESTSTEPtonRetryTimeoutTON224uselocation__FULLARBERROR__TONRETRYTIMEOUTentryToRetryBOOL8uselocation__FULLARBERROR__ENTRYTORETRYfbRandDRAND4352uselocation__FULLARBERROR__FBRANDInterruptAtAllStepsnTransitionIDUDINT32stTranReqST_BeamParams1760nFirstReqIDUDINT32stFirstReqST_BeamParams1760fbBPTM_InterruptionTestBeamParameterTransitionManager60256uselocation__INTERRUPTATALLSTEPS__FBBPTM_INTERRUPTIONTESTffoFB_HardwareFFOutput495296uselocation__INTERRUPTATALLSTEPS__FFOfbSubSysIOFB_DummyArbIO8992uselocation__INTERRUPTATALLSTEPS__FBSUBSYSIOfbBPRFB_BPRequestor3904uselocation__INTERRUPTATALLSTEPS__FBBPRxFirstPassBOOL8uselocation__INTERRUPTATALLSTEPS__XFIRSTPASSeTestStepE_BPTMTestStates16uselocation__INTERRUPTATALLSTEPS__ETESTSTEPtonRetryTimeoutTON224uselocation__INTERRUPTATALLSTEPS__TONRETRYTIMEOUTfbBPTMDiscCyclesBeamParameterTransitionManager60256uselocation__INTERRUPTATALLSTEPS__FBBPTMDISCCYCLESfbSubSysIODiscFB_DummyArbIO8992uselocation__INTERRUPTATALLSTEPS__FBSUBSYSIODISCfbArbDiscFB_Arbiter474624old_input_assignmentsuselocation__INTERRUPTATALLSTEPS__FBARBDISCiCountUINT16uselocation__INTERRUPTATALLSTEPS__ICOUNTaBPTMBeamParameterTransitionManager1201205120uselocation__INTERRUPTATALLSTEPS__ABPTMBPTMUnderTestBeamParameterTransitionManager32uselocation__INTERRUPTATALLSTEPS__BPTMUNDERTESTfbArbiterFB_Arbiter474624old_input_assignmentsuselocation__INTERRUPTATALLSTEPS__FBARBITERaArbIOFB_DummyArbIO120179840uselocation__INTERRUPTATALLSTEPS__AARBIOArbIOFB_DummyArbIO32uselocation__INTERRUPTATALLSTEPS__ARBIOnCycleLimUINT16uselocation__INTERRUPTATALLSTEPS__NCYCLELIMnCycleUINT16uselocation__INTERRUPTATALLSTEPS__NCYCLEsCurrentTestNameSTRING(80)648uselocation__INTERRUPTATALLSTEPS__SCURRENTTESTNAMEbCycleLimHitBOOL8uselocation__INTERRUPTATALLSTEPS__BCYCLELIMHITnAllStepsDoneBYTE8uselocation__INTERRUPTATALLSTEPS__NALLSTEPSDONEtTimeOutTON224uselocation__INTERRUPTATALLSTEPS__TTIMEOUTbTestedOnceBOOL8uselocation__INTERRUPTATALLSTEPS__BTESTEDONCEnNewTargetINT16nRequestBPINT16nWaitForBPINT16nTransitioningINT16nWaitForFinalBPINT16nCleaningUpINT16nDoneINT16nIdleINT16no_checkPouTypeFunctionBlockcall_after_initFB_BeamClassOutputs_BCD - 1920 - - BP - ST_BeamParams - 1760 - 32 - - - ItemType - Input - - - - - nBeamClass - BYTE - 8 - 1792 - - - wBeamClass - BYTE - 8 - 1800 - - - InitCounter - BYTE - 8 - 1808 - - - counter - INT - 16 - 1824 - - - epicsBitmap - WORD - Beam class lines are restricted to 4 channels in the current design. +]]>1920BPST_BeamParams176032ItemTypeInputnBeamClassBYTE81792wBeamClassBYTE81800InitCounterBYTE81808counterINT161824epicsBitmapWORD - 16 - 1840 - - - pytmc - pv: BeamClassChannel + First out put is the LSB and bit 4 is MSB]]>161840pytmcpv: BeamClassChannel io: i - field: DESC Hardwire channel state - - - - - q_BC_ASSERTION_LINES - BOOL - - 1 - 4 - - 32 - 1856 - - - TcLinkTo - [1] := TIIB[PMPS_Premp]^Channel 1^Output; + field: DESC Hardwire channel stateq_BC_ASSERTION_LINESBOOL14321856TcLinkTo[1] := TIIB[PMPS_Premp]^Channel 1^Output; [2] := TIIB[PMPS_Premp]^Channel 2^Output; [3] := TIIB[PMPS_Premp]^Channel 3^Output; - [4] := TIIB[PMPS_Premp]^Channel 4^Output; - - - TcAddressType - Output - - - - - MAX_BEAM_CLASS_LINES - BYTE - Limited to total of 4 digital outputs - 8 - 1888 - - 4 - - - - - PouType - FunctionBlock - - - no_check - - - - - FB_SafeBPCompare_Test - 33551744 - FB_TestSuite - - BeamOffIsSafe - - stBeamOn_MoreConservative - ST_BeamParams - 1760 - - - stBeamOff_LessConservative - ST_BeamParams - 1760 - - - stBeam0Rate - ST_BeamParams - 1760 - - - stBeam0BC - ST_BeamParams - 1760 - - - fb_BeamClassOutputs_BCD - FB_BeamClassOutputs_BCD - 1920 - - - - BPComparisonCheck - - stSafer - ST_BeamParams - 1760 - - - stNotSoSafe - ST_BeamParams - 1760 - - - idx - UINT - 16 - - - xResult - BOOL - 8 - - - xFailedTest - To exit loops early - BOOL - 8 - - - - no_check - - - - - - PouType - FunctionBlock - - - call_after_init - - - - - FB_TzSpecificLocalTimeToFileTime - Converts time zone's specific local time to Coordinated Universal Time (UTC) in file time format - 3456 - - in - T_FILETIME - Time zone's specific local file time. 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 - 64 - 32 - - - ItemType - Input - - - - - tzInfo - ST_TimeZoneInformation - Time zone settings - 864 - 96 - - - ItemType - Input - - - - - out - T_FILETIME - Converted time in Coordinated Universal Time (UTC) file time format - 64 - 960 - - - ItemType - Output - - - - - eTzID - E_TimeZoneID - Daylight saving time information - 16 - 1024 - - 0 - - - - ItemType - Output - - - - - bB - BOOL - FALSE => A time, TRUE => B time - 8 - 1040 - - - ItemType - Output - - - - - fbBase - FB_TranslateLocalTimeToUtcByZoneID - 2400 - 1056 - - - .wStdYear - 0 - - - .wDldYear - 0 - - - - - conditionalshow - - - - - A_Reset - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_FastFault_Test - 35220288 - FB_TestSuite - - fbTime - FB_LocalSystemTime - Get current system time, used for override - 19040 - 33551744 - - - .bEnable - 1 - - - .dwCycle - 1 - - - - - OvrdTime - TIME - 32 - 33570784 - - 2000 - - - - __FFCOMBINEDFUNCTIONALITY__FBFF - FB_FastFault - 25088 - 33570816 - - - __FFCOMBINEDFUNCTIONALITY__FBFFO - FB_HardwareFFOutput - 495296 - 33595904 - - - __FFOVRDANDNEXTFAULT__FBFF - FB_FastFault - 25088 - 34091200 - - - .i_xAutoReset - 1 - - - - - __FFOVRDANDNEXTFAULT__FBFFO - FB_HardwareFFOutput - 495296 - 34116288 - - - .i_sNetID - - - - .bAutoReset - 1 - - - - - __FFOVRDANDNEXTFAULT__RFF - ST_FF - 32 - 34611584 - - - __FFOVRDANDNEXTFAULT__FIRSTPASS - BOOL - 8 - 34611616 - - 1 - - - - __FFOVRDANDNEXTFAULT__FBTIMEPASS - BOOL - 8 - 34611624 - - 1 - - - - __FFOVRDANDNEXTFAULT__OVRDACTVTSTDONE - BOOL - 8 - 34611632 - - 0 - - - - __FFOVRDANDNEXTFAULT__TESTSDONE - BOOL - 8 - 34611640 - - 0 - - - - __FFOVRDANDNEXTFAULT__NOW - DATE_AND_TIME - 32 - 34611648 - - - __FFOVRDANDNEXTFAULT__EXPIRATION - DINT - 32 - 34611680 - - - __FFOVRDANDNEXTFAULT__OVDTIME - TIME - 32 - 34611712 - - - __FFOVRDANDNEXTFAULT__EXPIRE - TIMESTRUCT - 128 - 34611744 - - - __FFOVRDANDNEXTFAULT__SPECIFICLOCALTIMETOFILETIME - FB_TzSpecificLocalTimeToFileTime - seconds:ULINT; - 3456 - 34611872 - - - __FFOVRDANDNEXTFAULT__FILETIME - T_FILETIME - 64 - 34615328 - - - __FFREGISTRATION__FBFF - FB_FastFault - 25088 - 34615392 - - - __FFREGISTRATION__FBFFO - FB_HardwareFFOutput - 495296 - 34640512 - - - __FFREGISTRATION__ASTFF - ST_FF - - 0 - 11 - - 84480 - 35135808 - - - FFOvrdAndNextFault - - fbFF - FB_FastFault - 25088 - - - uselocation - __FFOVRDANDNEXTFAULT__FBFF - - - - - fbFFO - FB_HardwareFFOutput - 495296 - - - uselocation - __FFOVRDANDNEXTFAULT__FBFFO - - - - - rFF - ST_FF - 32 - - - uselocation - __FFOVRDANDNEXTFAULT__RFF - - - - - FirstPass - BOOL - 8 - - - uselocation - __FFOVRDANDNEXTFAULT__FIRSTPASS - - - - - fbTimePass - BOOL - 8 - - - uselocation - __FFOVRDANDNEXTFAULT__FBTIMEPASS - - - - - OvrdActvTstDone - BOOL - 8 - - - uselocation - __FFOVRDANDNEXTFAULT__OVRDACTVTSTDONE - - - - - TestsDone - BOOL - 8 - - - uselocation - __FFOVRDANDNEXTFAULT__TESTSDONE - - - - - Now - DATE_AND_TIME - 32 - - - uselocation - __FFOVRDANDNEXTFAULT__NOW - - - - - Expiration - DINT - 32 - - - uselocation - __FFOVRDANDNEXTFAULT__EXPIRATION - - - - - OvdTime - TIME - 32 - - - uselocation - __FFOVRDANDNEXTFAULT__OVDTIME - - - - - Expire - TIMESTRUCT - 128 - - - uselocation - __FFOVRDANDNEXTFAULT__EXPIRE - - - - - specificLocalTimeToFileTime - seconds:ULINT; - FB_TzSpecificLocalTimeToFileTime - 3456 - - - uselocation - __FFOVRDANDNEXTFAULT__SPECIFICLOCALTIMETOFILETIME - - - - - fileTime - T_FILETIME - 64 - - - uselocation - __FFOVRDANDNEXTFAULT__FILETIME - - - - - - no_check - - - - - FFCombinedFunctionality - - fbFF - FB_FastFault - 25088 - - - uselocation - __FFCOMBINEDFUNCTIONALITY__FBFF - - - - - fbFFO - FB_HardwareFFOutput - 495296 - - - uselocation - __FFCOMBINEDFUNCTIONALITY__FBFFO - - - - - - FFRegistration - - fbFF - FB_FastFault - 25088 - - - uselocation - __FFREGISTRATION__FBFF - - - - - fbFFO - FB_HardwareFFOutput - 495296 - - - uselocation - __FFREGISTRATION__FBFFO - - - - - astFF - ST_FF - - 0 - 11 - - 84480 - - - uselocation - __FFREGISTRATION__ASTFF - - - - - - no_check - - - - - - PouType - FunctionBlock - - - call_after_init - - - no_check - - - - - FB_DummyHA - 128 - I_HigherAuthority - I_LowerAuthority - - ReqAcknowledged - BOOL - Use to control when the HA CHeckRequest Returns TRUE - 8 - 96 - - 1 - - - - ItemType - Input - - - - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - - ElevateRequest - BOOL - 8 - - HigherAuthority - I_HigherAuthority - 32 - - - - __getnLowerAuthorityID - DWORD - 32 - - nLowerAuthorityID - DWORD - 32 - - - - property - - - - - RequestBP - BOOL - 8 - - nReqID - StateID of state requesting beam parameter set - DWORD - 32 - - - stReqBP - Requested beam params - ST_BeamParams - 1760 - - - - RemoveRequest - BOOL - 8 - - nReqID - StateID to remove - DWORD - 32 - - - - - PouType - FunctionBlock - - - - - ST_BeamParams_IO - 1760 - - nTran - REAL - Requested pre-optic attenuation - 1 is full transmission - 32 - 0 - - 0 - 1 - 1 - - - - plcAttribute_pytmc - pv: Attenuation - io: i - - - - - nRate - UDINT - Pulse-rate - 32 - 32 - - 120 - - - - plcAttribute_pytmc - pv: Rate - io: i - - - - - neVRange - DWORD - Photon energy ranges - 32 - 64 - - 4294967295 - - - - plcAttribute_pytmc - pv: PhotonEnergy - io: i - - - plcAttribute_displaymode - binary - - - - - neV - REAL - Current Photon energy as calculated by the arbiter - 32 - 96 - - - nBCRange - WORD - 16 - 128 - - 0 - 65535 - 0 - - - - nBeamClass - USINT - 8 - 144 - - 0 - 0 - - - - nMachineMode - USINT - 8 - 152 - - - astAttenuators - ST_PMPS_Attenuator_IO - - 1 - 16 - - Beamline attenuators - 1024 - 160 - - - plcAttribute_pytmc - pv: AuxAttenuator - io: i - - - - - astApertures - ST_PMPS_Aperture_IO - - 1 - 4 - - 384 - 1184 - - - aVetoDevices - BOOL - - 1 - 16 - - Stopper statuses - 128 - 1568 - - - plcAttribute_pytmc - pv: AuxAttenuator - io: i - - - - - xValidToggle - BOOL - Toggle for watchdog - 8 - 1696 - - - xValid - BOOL - Beam parameter set is valid (if readback), or acknowledged (if request) - 8 - 1704 - - - plcAttribute_pytmc - pv: Valid - io: i - - - - - nCohortInt - UDINT - Cohort index. Identifies which cohort this BP set was included in arbitration - 32 - 1728 - - - plcAttribute_pytmc - pv: Attenuation - io: i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FB_VetoArbiter - 27168 - I_HigherAuthority - - bVeto - BOOL - Rising edge clears request, hold true to veto continuously, falling edge restores request - 8 - 64 - - 0 - - - - ItemType - Input - - - - - HigherAuthority - I_HigherAuthority - Typically connected to a higher-level arbiter. - 32 - 96 - - - ItemType - Input - - - - - LowerAuthority - I_LowerAuthority - Lower authority to be vetoed - 32 - 128 - - - ItemType - Input - - - - - FFO - FB_HardwareFFOutput - This should be the FFO upstream of the veto device - 32 - 160 - - - ItemType - InOut - - - - - ffKeepItSecretKeepItSafe - FB_FastFault - 25088 - 192 - - - .i_xAutoReset - 1 - - - .i_Desc - Holds beam off until request is back in arbitration - - - .i_TypeCode - 200 - - - .i_xVetoable - 1 - - - - - stStandbyBP - ST_BeamParams - 1760 - 25280 - - - rtVeto - R_TRIG - 64 - 27040 - - - ftVeto - F_TRIG - 64 - 27104 - - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - - RequestBP - BOOL - 8 - - nReqID - StateID of state requesting beam parameter set - DWORD - 32 - - - stReqBP - Requested beam params - ST_BeamParams - 1760 - - - - RemoveRequest - BOOL - 8 - - nReqID - StateID to remove - DWORD - 32 - - - - - PouType - FunctionBlock - - - - - FB_SubSysToArbiter_IO - Use on a subsystem PLC to request from the arbiter - Run at the top of your cycle to receive the latest BP - 138752 - I_HigherAuthority - - Reset - BOOL - Fast fault reset - 8 - 64 - - - ItemType - Input - - - - - sName - STRING(80) - 648 - 72 - - SubSysToArbiter - - - - ItemType - Input - - - - - i_bVeto - BOOL - 8 - 720 - - - ItemType - Input - - - - - Arbiter - FB_Arbiter - 32 - 736 - - - ItemType - InOut - - - - - fbFFHWO - FB_HardwareFFOutput - 32 - 768 - - - ItemType - InOut - - - - - i_stCurrentBP - ST_BeamParams_IO - 1760 - 800 - - - TcLinkTo - TIIB[PMPS_PRE]^IO Inputs^CurrentBP - - - TcAddressType - Input - - - - - q_stRequestedBP - ST_BeamParams_IO - 1760 - 2560 - - - TcLinkTo - TIIB[PMPS_PRE]^IO Outputs^RequestedBP - - - TcAddressType - Output - - - - - xTxPDO_toggle - BIT - 1 - 4320 - - - pytmc - pv: TxPDO_toggle - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle - - - TcAddressType - Input - - - - - xTxPDO_state - BIT - 1 - 4321 - - - pytmc - pv: TxPDO_state - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state - - - TcAddressType - Input - - - - - ffPMPSIO_Disconnect - FB_FastFault - Fast faults - 25088 - 4352 - - - .i_Desc - Arbiter network interface disconnected or not OP - - - .i_DevName - SubSysToArbiter - - - - - nRequestCohort - UDINT - Request cohort - 32 - 29440 - - 0 - - - - pytmc - pv: RequestCohort - io: i - - - - - nActiveCohort - UDINT - Active cohort, updated by incoming BP from arbiter PLC, in the ElevateRequest arbiter call - 32 - 29472 - - 0 - - - - pytmc - pv: ActiveCohort - io: i - - - - - fbVetoArb - FB_VetoArbiter - 27168 - 29504 - - - fbLog - FB_LogMessage - 81984 - 56704 - - - __CHECKREQUEST__XFIRSTTIME - BOOL - 8 - 138688 - - 1 - - - - __CHECKREQUEST__NID - DWORD - 32 - 138720 - - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - xFirstTime - BOOL - 8 - - - uselocation - __CHECKREQUEST__XFIRSTTIME - - - - - nId - DWORD - 32 - - - uselocation - __CHECKREQUEST__NID - - - - - - RequestBP - BOOL - 8 - - nReqID - StateID of state requesting beam parameter set - DWORD - 32 - - - stReqBP - Requested beam params - ST_BeamParams - 1760 - - - - RemoveRequest - BOOL - 8 - - nReqID - StateID to remove - DWORD - 32 - - - - - PouType - FunctionBlock - - - - - FB_ArbiterToSubSys_IO - Exchanges preemption requests and current beam state with subsystems in arbiter + [4] := TIIB[PMPS_Premp]^Channel 4^Output;TcAddressTypeOutputMAX_BEAM_CLASS_LINESBYTE818884PouTypeFunctionBlockno_checkFB_SafeBPCompare_Test33551744FB_TestSuiteBeamOffIsSafestBeamOn_MoreConservativeST_BeamParams1760stBeamOff_LessConservativeST_BeamParams1760stBeam0RateST_BeamParams1760stBeam0BCST_BeamParams1760fb_BeamClassOutputs_BCDFB_BeamClassOutputs_BCD1920BPComparisonCheckstSaferST_BeamParams1760stNotSoSafeST_BeamParams1760idxUINT16xResultBOOL8xFailedTestBOOL8no_checkPouTypeFunctionBlockcall_after_initFB_TzSpecificLocalTimeToFileTime3456inT_FILETIME6432ItemTypeInputtzInfoST_TimeZoneInformation86496ItemTypeInputoutT_FILETIME64960ItemTypeOutputeTzIDE_TimeZoneID1610240ItemTypeOutputbBBOOL A time, TRUE => B time]]>81040ItemTypeOutputfbBaseFB_TranslateLocalTimeToUtcByZoneID24001056.wStdYear0.wDldYear0conditionalshowA_ResetPouTypeFunctionBlockconditionalshow_all_localsFB_FastFault_Test35220288FB_TestSuitefbTimeFB_LocalSystemTime1904033551744.bEnable1.dwCycle1OvrdTimeTIME32335707842000__FFCOMBINEDFUNCTIONALITY__FBFFFB_FastFault2508833570816__FFCOMBINEDFUNCTIONALITY__FBFFOFB_HardwareFFOutput49529633595904__FFOVRDANDNEXTFAULT__FBFFFB_FastFault2508834091200.i_xAutoReset1__FFOVRDANDNEXTFAULT__FBFFOFB_HardwareFFOutput49529634116288.i_sNetID.bAutoReset1__FFOVRDANDNEXTFAULT__RFFST_FF3234611584__FFOVRDANDNEXTFAULT__FIRSTPASSBOOL8346116161__FFOVRDANDNEXTFAULT__FBTIMEPASSBOOL8346116241__FFOVRDANDNEXTFAULT__OVRDACTVTSTDONEBOOL8346116320__FFOVRDANDNEXTFAULT__TESTSDONEBOOL8346116400__FFOVRDANDNEXTFAULT__NOWDATE_AND_TIME3234611648__FFOVRDANDNEXTFAULT__EXPIRATIONDINT3234611680__FFOVRDANDNEXTFAULT__OVDTIMETIME3234611712__FFOVRDANDNEXTFAULT__EXPIRETIMESTRUCT12834611744__FFOVRDANDNEXTFAULT__SPECIFICLOCALTIMETOFILETIMEFB_TzSpecificLocalTimeToFileTime345634611872__FFOVRDANDNEXTFAULT__FILETIMET_FILETIME6434615328__FFREGISTRATION__FBFFFB_FastFault2508834615392__FFREGISTRATION__FBFFOFB_HardwareFFOutput49529634640512__FFREGISTRATION__ASTFFST_FF0118448035135808FFOvrdAndNextFaultfbFFFB_FastFault25088uselocation__FFOVRDANDNEXTFAULT__FBFFfbFFOFB_HardwareFFOutput495296uselocation__FFOVRDANDNEXTFAULT__FBFFOrFFST_FF32uselocation__FFOVRDANDNEXTFAULT__RFFFirstPassBOOL8uselocation__FFOVRDANDNEXTFAULT__FIRSTPASSfbTimePassBOOL8uselocation__FFOVRDANDNEXTFAULT__FBTIMEPASSOvrdActvTstDoneBOOL8uselocation__FFOVRDANDNEXTFAULT__OVRDACTVTSTDONETestsDoneBOOL8uselocation__FFOVRDANDNEXTFAULT__TESTSDONENowDATE_AND_TIME32uselocation__FFOVRDANDNEXTFAULT__NOWExpirationDINT32uselocation__FFOVRDANDNEXTFAULT__EXPIRATIONOvdTimeTIME32uselocation__FFOVRDANDNEXTFAULT__OVDTIMEExpireTIMESTRUCT128uselocation__FFOVRDANDNEXTFAULT__EXPIREspecificLocalTimeToFileTimeFB_TzSpecificLocalTimeToFileTime3456uselocation__FFOVRDANDNEXTFAULT__SPECIFICLOCALTIMETOFILETIMEfileTimeT_FILETIME64uselocation__FFOVRDANDNEXTFAULT__FILETIMEno_checkFFCombinedFunctionalityfbFFFB_FastFault25088uselocation__FFCOMBINEDFUNCTIONALITY__FBFFfbFFOFB_HardwareFFOutput495296uselocation__FFCOMBINEDFUNCTIONALITY__FBFFOFFRegistrationfbFFFB_FastFault25088uselocation__FFREGISTRATION__FBFFfbFFOFB_HardwareFFOutput495296uselocation__FFREGISTRATION__FBFFOastFFST_FF01184480uselocation__FFREGISTRATION__ASTFFno_checkPouTypeFunctionBlockcall_after_initno_checkFB_DummyHA128I_HigherAuthorityI_LowerAuthorityReqAcknowledgedBOOL8961ItemTypeInputCheckRequestBOOL8nReqIDDWORD32ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32propertyRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockST_BeamParams_IO1760nTranREAL320011plcAttribute_pytmcpv: Attenuation + io: inRateUDINT3232120plcAttribute_pytmcpv: Rate + io: ineVRangeDWORD32644294967295plcAttribute_pytmcpv: PhotonEnergy + io: iplcAttribute_displaymodebinaryneVREAL3296nBCRangeWORD161280655350nBeamClassUSINT814400nMachineModeUSINT8152astAttenuatorsST_PMPS_Attenuator_IO1161024160plcAttribute_pytmcpv: AuxAttenuator + io: iastAperturesST_PMPS_Aperture_IO143841184aVetoDevicesBOOL1161281568plcAttribute_pytmcpv: AuxAttenuator + io: ixValidToggleBOOL81696xValidBOOL81704plcAttribute_pytmcpv: Valid + io: inCohortIntUDINT321728plcAttribute_pytmcpv: Attenuation + io: iFB_VetoArbiter27168I_HigherAuthoritybVetoBOOL8640ItemTypeInputHigherAuthorityI_HigherAuthority3296ItemTypeInputLowerAuthorityI_LowerAuthority32128ItemTypeInputFFOFB_HardwareFFOutput32160ItemTypeInOutffKeepItSecretKeepItSafeFB_FastFault25088192.i_xAutoReset1.i_DescHolds beam off until request is back in arbitration.i_TypeCode200.i_xVetoable1stStandbyBPST_BeamParams176025280rtVetoR_TRIG6427040ftVetoF_TRIG6427104CheckRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFB_SubSysToArbiter_IO138752I_HigherAuthorityResetBOOL864ItemTypeInputsNameSTRING(80)64872SubSysToArbiterItemTypeInputi_bVetoBOOL8720ItemTypeInputArbiterFB_Arbiter32736ItemTypeInOutfbFFHWOFB_HardwareFFOutput32768ItemTypeInOuti_stCurrentBPST_BeamParams_IO1760800TcLinkToTIIB[PMPS_PRE]^IO Inputs^CurrentBPTcAddressTypeInputq_stRequestedBPST_BeamParams_IO17602560TcLinkToTIIB[PMPS_PRE]^IO Outputs^RequestedBPTcAddressTypeOutputxTxPDO_toggleBIT14320pytmcpv: TxPDO_toggle + io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggleTcAddressTypeInputxTxPDO_stateBIT14321pytmcpv: TxPDO_state + io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO stateTcAddressTypeInputffPMPSIO_DisconnectFB_FastFault250884352.i_DescArbiter network interface disconnected or not OP.i_DevNameSubSysToArbiternRequestCohortUDINT32294400pytmcpv: RequestCohort + io: inActiveCohortUDINT32294720pytmcpv: ActiveCohort + io: ifbVetoArbFB_VetoArbiter2716829504fbLogFB_LogMessage8198456704__CHECKREQUEST__XFIRSTTIMEBOOL81386881__CHECKREQUEST__NIDDWORD32138720CheckRequestBOOL8nReqIDDWORD32xFirstTimeBOOL8uselocation__CHECKREQUEST__XFIRSTTIMEnIdDWORD32uselocation__CHECKREQUEST__NIDRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFB_ArbiterToSubSys_IO - 31328 - - RequestingSystemID - DWORD - System ID for making requests to the supreme arbiter - 32 - 32 - - 4294967295 - - - - ItemType - Input - - - - - sName - STRING(80) - 648 - 64 - - ArbiterToSubSys - - - - ItemType - Input - - - - - Reset - BOOL - 8 - 712 - - - ItemType - Input - - - - - Arbiter - FB_Arbiter - 32 - 736 - - - ItemType - InOut - - - - - fbFFHWO - FB_HardwareFFOutput - 32 - 768 - - - ItemType - InOut - - - - - i_RequestedBP - ST_BeamParams_IO - Requested BP from subsystem - 1760 - 800 - - - TcAddressType - Input - - - - - RequestedBP - ST_BeamParams - 1760 - 2560 - - - pytmc - +]]>31328RequestingSystemIDDWORD32324294967295ItemTypeInputsNameSTRING(80)64864ArbiterToSubSysItemTypeInputResetBOOL8712ItemTypeInputArbiterFB_Arbiter32736ItemTypeInOutfbFFHWOFB_HardwareFFOutput32768ItemTypeInOuti_RequestedBPST_BeamParams_IO1760800TcAddressTypeInputRequestedBPST_BeamParams17602560pytmc pv: RequestedBP:FromSubSys - - - - - - o_CurrentBP - ST_BeamParams_IO - Current BP set - 1760 - 4320 - - - TcAddressType - Output - - - - - i_Connected - BOOL - SYNC Inputs^External device not connected !!! Doesn't really work. - 8 - 6080 - - - TcAddressType - Input - - - - - i_WcState - BOOL - WcState^WcState - 8 - 6088 - - 1 - - - - pytmc - pv: WcState + o_CurrentBPST_BeamParams_IO17604320TcAddressTypeOutputi_ConnectedBOOL86080TcAddressTypeInputi_WcStateBOOL860881pytmcpv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM Error - - - TcAddressType - Input - - - - - i_TxPDOState - BOOL - SYNC Inputs^TxPDO state - 8 - 6096 - - 1 - - - - pytmc - pv: TxPDO_state + field: ONAM ErrorTcAddressTypeInputi_TxPDOStateBOOL860961pytmcpv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM Error - - - TcAddressType - Input - - - - - i_TxPDOToggle - BOOL - TxPDO toggle - 8 - 6104 - - - pytmc - pv: TxPDO_toggle + field: ONAM ErrorTcAddressTypeInputi_TxPDOToggleBOOL86104pytmcpv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM Error - - - TcAddressType - Input - - - - - ffPMPSIO_Disconnect - FB_FastFault - Fast fault for ethercat issues - 25088 - 6112 - - - .i_Desc - Issue w/ arbiter interface to subsystem, verify subsystem is OK, or ethercat connection. - - - - - nActiveCohort - UDINT - Active cohort. Updated to the req. number from the sub system after request is confirmed. - 32 - 31200 - - 0 - - - - nRequestedCohort - UDINT - 32 - 31232 - - 0 - - - - rtToggle - R_TRIG - 64 - 31264 - - - - PouType - FunctionBlock - - - - - E_ArbDosTestStates - 16 - INT - - Init - 0 - - - SecondReq - 100 - - - WaitForAck - 200 - - - WaitFor2ndAck - 300 - - - RunAsserts - 8000 - - - - FB_Arbiter_Test - 38020224 - FB_TestSuite - - __ARBITERCAPACITY__FBARBCAPACITYTEST - FB_Arbiter - 474624 - 33551744 - - - old_input_assignments - - - - - __ARBITERCAPACITY__CYCLE - INT - 16 - 34026368 - - 0 - - - - __ARBITERCAPACITY__CYCLELIMIT - INT - 16 - 34026384 - - 20 - - - - __ARBITRATION__FBARBITER - FB_Arbiter - 474624 - 34026432 - - - old_input_assignments - - - - - __DOS__DOSARB - FB_Arbiter - 474624 - 34501056 - - - old_input_assignments - - - - - __DOS__DUMMYHA - FB_DummyHA - Set req ack false to start so we can control when it is verified - 128 - 34975680 - - - .ReqAcknowledged - 0 - - - - - __DOS__NTIMEOUTCOUNTER - UINT - 16 - 34975808 - - - __DOS__BINIT - BOOL - 8 - 34975824 - - - __DOS__BSECOND - BOOL - 8 - 34975832 - - - __DOS__EDOSTESTCASES - E_ArbDosTestStates - 16 - 34975840 - - - __FULLARBITRATIONSTACK__FBARBITER - FB_Arbiter - 474624 - 34975872 - - - old_input_assignments - - - - - __FULLARBITRATIONSTACK__FBHIGHERARB - FB_Arbiter - 474624 - 35450496 - - - old_input_assignments - - - - - __FULLARBITRATIONSTACK__FBSUBSYSTOARB - FB_SubSysToArbiter_IO - Subsystem interface with beamline arbiter PLC - 138752 - 35925120 - - - __FULLARBITRATIONSTACK__PBPR - ST_BeamParams_IO - 32 - 36063872 - - - __FULLARBITRATIONSTACK__FBARBTOSUBSYS - FB_ArbiterToSubSys_IO - Beamline arbiter PLC interface with subsystems - 31328 - 36063904 - - - .RequestingSystemID - 42 - - - - - __FULLARBITRATIONSTACK__PBPC - ST_BeamParams_IO - 32 - 36095232 - - - __FULLARBITRATIONSTACK__FBBPR - FB_BPRequestor - Use in the arbiter PLC to apply an arbitrated beam parameter set to the accelerator interface - 3904 - 36095296 - - - __FULLARBITRATIONSTACK__FFO - FB_HardwareFFOutput - Dummy FFO not important for these tests - 495296 - 36099200 - - - __FULLARBITRATIONSTACK__CYCLE - INT - 16 - 36594496 - - 0 - - - - __FULLARBITRATIONSTACK__CYCLELIMIT - INT - 16 - 36594512 - - 20 - - - - __REQUESTCHECKREMOVEBP__FBARBITER - FB_Arbiter - 474624 - 36594560 - - - old_input_assignments - - - - - __STACKARBITERS__FBARBITER - FB_Arbiter - 474624 - 37069184 - - - old_input_assignments - - - - - __STACKARBITERS__FBHIGHERARB - FB_Arbiter - 474624 - 37543808 - - - old_input_assignments - - - - - __STACKARBITERS__ARBBP - ST_BeamParams - 1760 - 38018432 - - - __STACKARBITERS__CYCLE - INT - 16 - 38020192 - - 0 - - - - __STACKARBITERS__CYCLELIMIT - INT - 16 - 38020208 - - 20 - - - - RemoveReq - - Arb - FB_Arbiter - 474624 - - - old_input_assignments - - - - - DummyHA - FB_DummyHA - 128 - - - Result - BOOL - 8 - - - - StackArbiters - - nId - DWORD - 32 - - - stReq - ST_BeamParams - 1760 - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __STACKARBITERS__FBARBITER - - - - - fbHigherArb - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __STACKARBITERS__FBHIGHERARB - - - - - ArbBP - ST_BeamParams - 1760 - - - uselocation - __STACKARBITERS__ARBBP - - - - - Cycle - INT - 16 - - - uselocation - __STACKARBITERS__CYCLE - - - - - CycleLimit - INT - 16 - - - uselocation - __STACKARBITERS__CYCLELIMIT - - - - - SysID - DWORD - 32 - - - - FullArbitrationStack - - nId - DWORD - 32 - - - stReq - ST_BeamParams - 1760 - - - nIdDoS - DWORD - 32 - - - stDoSReq - ST_BeamParams - 1760 - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __FULLARBITRATIONSTACK__FBARBITER - - - - - fbHigherArb - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __FULLARBITRATIONSTACK__FBHIGHERARB - - - - - fbSubSysToArb - Subsystem interface with beamline arbiter PLC - FB_SubSysToArbiter_IO - 138752 - - - uselocation - __FULLARBITRATIONSTACK__FBSUBSYSTOARB - - - - - pBPR - ST_BeamParams_IO - 32 - - - uselocation - __FULLARBITRATIONSTACK__PBPR - - - - - fbArbToSubSys - Beamline arbiter PLC interface with subsystems - FB_ArbiterToSubSys_IO - 31328 - - - uselocation - __FULLARBITRATIONSTACK__FBARBTOSUBSYS - - - - - pBPC - ST_BeamParams_IO - 32 - - - uselocation - __FULLARBITRATIONSTACK__PBPC - - - - - fbBPR - Use in the arbiter PLC to apply an arbitrated beam parameter set to the accelerator interface - FB_BPRequestor - 3904 - - - uselocation - __FULLARBITRATIONSTACK__FBBPR - - - - - FFO - Dummy FFO not important for these tests - FB_HardwareFFOutput - 495296 - - - uselocation - __FULLARBITRATIONSTACK__FFO - - - - - Cycle - INT - 16 - - - uselocation - __FULLARBITRATIONSTACK__CYCLE - - - - - CycleLimit - INT - 16 - - - uselocation - __FULLARBITRATIONSTACK__CYCLELIMIT - - - - - SysID - DWORD - 32 - - - - no_check - - - - - Arbitration - - nTranReqID - UDINT - 32 - - - stAttReqBP - ST_BeamParams - 1760 - - - nPPEReqID - UDINT - 32 - - - stPPEReqBP - ST_BeamParams - 1760 - - - nEVReqID - UDINT - 32 - - - stEVReqBP - ST_BeamParams - 1760 - - - nRateReqID - UDINT - 32 - - - stRateReqBP - ST_BeamParams - 1760 - - - nBCRangeReqID - UDINT - 32 - - - stBCReqBP - ST_BeamParams - 1760 - - - stArbitratedBP - := PMPS_GVL.cstFullBeam;; - ST_BeamParams - 1760 - - - stExpectedBP - ST_BeamParams - 1760 - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __ARBITRATION__FBARBITER - - - - - - ArbiterCapacity - - nId - DWORD - 32 - - - stReq - ST_BeamParams - 1760 - - - nRandID - DWORD - 32 - - - testReq - ST_BeamParams - 1760 - - - idx - DWORD - 32 - - - fbArbCapacityTest - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __ARBITERCAPACITY__FBARBCAPACITYTEST - - - - - Cycle - INT - 16 - - - uselocation - __ARBITERCAPACITY__CYCLE - - - - - CycleLimit - INT - 16 - - - uselocation - __ARBITERCAPACITY__CYCLELIMIT - - - - - SysID - DWORD - 32 - - - - RequestCheckRemoveBP - - nId - DWORD - 32 - - - stReq - ST_BeamParams - 1760 - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __REQUESTCHECKREMOVEBP__FBARBITER - - - - - - DoS - - nOrigReqID - UDINT - 32 - - - nSecondReqID - UDINT - 32 - - - nPeskyReqID - UDINT - 32 - - - DosArb - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __DOS__DOSARB - - - - - DummyHA - Set req ack false to start so we can control when it is verified - FB_DummyHA - 128 - - - uselocation - __DOS__DUMMYHA - - - - - nTimeoutCounter - UINT - 16 - - - uselocation - __DOS__NTIMEOUTCOUNTER - - - - - bInit - BOOL - 8 - - - uselocation - __DOS__BINIT - - - - - bSecond - BOOL - 8 - - - uselocation - __DOS__BSECOND - - - - - eDosTestCases - E_ArbDosTestStates - 16 - - - uselocation - __DOS__EDOSTESTCASES - - - - - nTimeoutCounterMAX - UINT - 16 - - - nWaitCount - UINT - 16 - - - nWait2ndCount - UINT - 16 - - - - - PouType - FunctionBlock - - - call_after_init - - - - - FB_VetoArbiter_Test - 35025408 - FB_TestSuite - - ArbID - DWORD - 32 - 33551744 - - 1 - - - - HigherArbID - DWORD - 32 - 33551776 - - 2 - - - - __VETOARBITER__FBARBITER - FB_Arbiter - 474624 - 33551808 - - - old_input_assignments - - - - - __VETOARBITER__FBHIGHERARB - FB_Arbiter - 474624 - 34026432 - - - old_input_assignments - - - - - __VETOARBITER__ARBBP - ST_BeamParams - 1760 - 34501056 - - - .nTran - 1 - - - - - __VETOARBITER__VETOARB - FB_VetoArbiter - 27168 - 34502816 - - - __VETOARBITER__FFO - FB_HardwareFFOutput - 495296 - 34529984 - - - __VETOARBITER__FBHA - FB_DummyHA - 128 - 35025280 - - - VetoArbiter - - nId - DWORD - 32 - - - nId2 - DWORD - 32 - - - stReq - ST_BeamParams - 1760 - - - stReq2 - ST_BeamParams - 1760 - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __VETOARBITER__FBARBITER - - - - - fbHigherArb - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __VETOARBITER__FBHIGHERARB - - - - - ArbBP - ST_BeamParams - 1760 - - - uselocation - __VETOARBITER__ARBBP - - - - - VetoArb - FB_VetoArbiter - 27168 - - - uselocation - __VETOARBITER__VETOARB - - - - - FFO - FB_HardwareFFOutput - 495296 - - - uselocation - __VETOARBITER__FFO - - - - - fbHA - FB_DummyHA - 128 - - - uselocation - __VETOARBITER__FBHA - - - - - - - PouType - FunctionBlock - - - call_after_init - - - - - FB_evRangeCalculator_Test - 33551808 - FB_TestSuite - - RandomBoundary - INT - 16 - 33551744 - - 2 - - - - BasicFunction - - LastWord - DWORD - 32 - - - displaymode - binary - - - - - Result - DWORD - 32 - - - displaymode - binary - - - - - TestEV - DWORD - 32 - - - displaymode - binary - - - - - tEvW - DWORD - 32 - - - displaymode - binary - - - - - tEv - REAL - 32 - - - fbStr - FB_FormatString - 7840 - - - MiscNumber - INT - 16 - - - nLowerLimitBoundary - INT - 16 - - - RandomBoundary - INT - 16 - - - MNU - RandomBoundary + 1 - INT - 16 - - - MND - RandomBoundary - 1 - INT - 16 - - - - no_check - - - - - - PouType - FunctionBlock - - - call_after_init - - - - - FB_SubsysToArb_Test - 35804096 - FB_TestSuite - - __BASICFUNCTION__FBARBITER - FB_Arbiter - 474624 - 33551744 - - - old_input_assignments - - - - - __BASICFUNCTION__FBSUBSYSTOARB - FB_SubSysToArbiter_IO - Subsystem interface with beamline arbiter PLC - 138752 - 34026368 - - - __BASICFUNCTION__PBPC - ST_BeamParams_IO - 32 - 34165120 - - - __BASICFUNCTION__IOCURRENTBP - ST_BeamParams_IO - 1760 - 34165152 - - - __BASICFUNCTION__FFO - FB_HardwareFFOutput - Dummy FFO not important for these tests - 495296 - 34166912 - - - __BASICFUNCTION__NCOHORTSCRATCH - UDINT - 32 - 34662208 - - - __VETOFUNCTION__FBARBITER - FB_Arbiter - 474624 - 34662272 - - - old_input_assignments - - - - - __VETOFUNCTION__FBSUBSYSTOARB - FB_SubSysToArbiter_IO - Subsystem interface with beamline arbiter PLC - 138752 - 35136896 - - - __VETOFUNCTION__FBARBTOSUBSYS - FB_ArbiterToSubSys_IO - 31328 - 35275648 - - - __VETOFUNCTION__PBPC - ST_BeamParams_IO - 32 - 35306976 - - - __VETOFUNCTION__PBPR - ST_BeamParams_IO - 32 - 35307008 - - - __VETOFUNCTION__IOCURRENTBP - ST_BeamParams_IO - 1760 - 35307040 - - - __VETOFUNCTION__FFO - FB_HardwareFFOutput - Dummy FFO not important for these tests - 495296 - 35308800 - - - VetoFunction - - nId - DWORD - 32 - - - stReq - ST_BeamParams - 1760 - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __VETOFUNCTION__FBARBITER - - - - - fbSubSysToArb - Subsystem interface with beamline arbiter PLC - FB_SubSysToArbiter_IO - 138752 - - - uselocation - __VETOFUNCTION__FBSUBSYSTOARB - - - - - fbArbToSubSys - FB_ArbiterToSubSys_IO - 31328 - - - uselocation - __VETOFUNCTION__FBARBTOSUBSYS - - - - - pBPC - ST_BeamParams_IO - 32 - - - uselocation - __VETOFUNCTION__PBPC - - - - - pBPR - ST_BeamParams_IO - 32 - - - uselocation - __VETOFUNCTION__PBPR - - - - - ioCurrentBP - ST_BeamParams_IO - 1760 - - - uselocation - __VETOFUNCTION__IOCURRENTBP - - - - - FFO - Dummy FFO not important for these tests - FB_HardwareFFOutput - 495296 - - - uselocation - __VETOFUNCTION__FFO - - - - - SysID - DWORD - 32 - - - - BasicFunction - - nId - DWORD - 32 - - - stReq - ST_BeamParams - 1760 - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __BASICFUNCTION__FBARBITER - - - - - fbSubSysToArb - Subsystem interface with beamline arbiter PLC - FB_SubSysToArbiter_IO - 138752 - - - uselocation - __BASICFUNCTION__FBSUBSYSTOARB - - - - - pBPC - ST_BeamParams_IO - 32 - - - uselocation - __BASICFUNCTION__PBPC - - - - - ioCurrentBP - ST_BeamParams_IO - 1760 - - - uselocation - __BASICFUNCTION__IOCURRENTBP - - - - - FFO - Dummy FFO not important for these tests - FB_HardwareFFOutput - 495296 - - - uselocation - __BASICFUNCTION__FFO - - - - - nCohortScratch - UDINT - 32 - - - uselocation - __BASICFUNCTION__NCOHORTSCRATCH - - - - - SysID - DWORD - 32 - - - - no_check - - - - - - PouType - FunctionBlock - - - call_after_init - - - - - FB_ArbToSubsys_Test - 34558784 - FB_TestSuite - - __BASICFUNCTION__FBARBITER - FB_Arbiter - 474624 - 33551744 - - - old_input_assignments - - - - - __BASICFUNCTION__PBPR - ST_BeamParams_IO - 32 - 34026368 - - - __BASICFUNCTION__STBPRIO - ST_BeamParams_IO - 1760 - 34026400 - - - .nCohortInt - 1 - - - .nTran - 35 - - - - - __BASICFUNCTION__FBARBTOSUBSYS - FB_ArbiterToSubSys_IO - Beamline arbiter PLC interface with subsystems - 31328 - 34028160 - - - .RequestingSystemID - 42 - - - - - __BASICFUNCTION__PBPC - ST_BeamParams_IO - 32 - 34059488 - - - __BASICFUNCTION__FBBPR - FB_BPRequestor - Use in the arbiter PLC to apply an arbitrated beam parameter set to the accelerator interface - 3904 - 34059520 - - - __BASICFUNCTION__FFO - FB_HardwareFFOutput - Dummy FFO not important for these tests - 495296 - 34063424 - - - __BASICFUNCTION__CYCLE - INT - 16 - 34558720 - - 0 - - - - __BASICFUNCTION__CYCLELIMIT - INT - 16 - 34558736 - - 20 - - - - BasicFunction - - SysID - DWORD - 32 - - - nId - DWORD - 32 - - - stReq - ST_BeamParams - 1760 - - - fbArbiter - FB_Arbiter - 474624 - - - old_input_assignments - - - uselocation - __BASICFUNCTION__FBARBITER - - - - - pBPR - ST_BeamParams_IO - 32 - - - uselocation - __BASICFUNCTION__PBPR - - - - - stBPRIO - ST_BeamParams_IO - 1760 - - - uselocation - __BASICFUNCTION__STBPRIO - - - - - fbArbToSubSys - Beamline arbiter PLC interface with subsystems - FB_ArbiterToSubSys_IO - 31328 - - - uselocation - __BASICFUNCTION__FBARBTOSUBSYS - - - - - pBPC - ST_BeamParams_IO - 32 - - - uselocation - __BASICFUNCTION__PBPC - - - - - fbBPR - Use in the arbiter PLC to apply an arbitrated beam parameter set to the accelerator interface - FB_BPRequestor - 3904 - - - uselocation - __BASICFUNCTION__FBBPR - - - - - FFO - Dummy FFO not important for these tests - FB_HardwareFFOutput - 495296 - - - uselocation - __BASICFUNCTION__FFO - - - - - Cycle - INT - 16 - - - uselocation - __BASICFUNCTION__CYCLE - - - - - CycleLimit - INT - 16 - - - uselocation - __BASICFUNCTION__CYCLELIMIT - - - - - - no_check - - - - - - PouType - FunctionBlock - - - call_after_init - - - - - VERSION - 64 - - uiMajor - UINT - 16 - 0 - - - uiMinor - UINT - 16 - 16 - - - uiServicePack - UINT - 16 - 32 - - - uiPatch - UINT - 16 - 48 - - - - PlcAppSystemInfo - 2048 - - ObjId - OTCID - 32 - 0 - - - TaskCnt - UDINT - 32 - 32 - - - OnlineChangeCnt - UDINT - 32 - 64 - - - Flags - DWORD - 32 - 96 - - - AdsPort - UINT - 16 - 128 - - - BootDataLoaded - BOOL - 8 - 144 - - - OldBootData - BOOL - 8 - 152 - - - AppTimestamp - DT - 32 - 160 - - - KeepOutputsOnBP - BOOL - 8 - 192 - - - ShutdownInProgress - BOOL - 8 - 200 - - - LicensesPending - BOOL - 8 - 208 - - - BSODOccured - BOOL - 8 - 216 - - - LoggedIn - BOOL - 8 - 224 - - - TComSrvPtr - ITComObjectServer - 32 - 256 - - - TcComInterface - - - - - AppName - STRING(63) - 512 - 512 - - - ProjectName - STRING(63) - 512 - 1024 - - - - - - - - - - PlcTaskSystemInfo - 1024 - - ObjId - OTCID - 32 - 0 - - - CycleTime - UDINT - 32 - 32 - - - Priority - UINT - 16 - 64 - - - AdsPort - UINT - 16 - 80 - - - CycleCount - UDINT - 32 - 96 - - - DcTaskTime - LINT - 64 - 128 - - - LastExecTime - UDINT - 32 - 192 - - - FirstCycle - BOOL - 8 - 224 - - - CycleTimeExceeded - BOOL - 8 - 232 - - - InCallAfterOutputUpdate - BOOL - 8 - 240 - - - RTViolation - BOOL - 8 - 248 - - - TaskName - STRING(63) - 512 - 512 - - - - - - - - _Implicit_KindOfTask - 16 - INT - - _implicit_cyclic - 0 - - - _implicit_event - 1 - - - _implicit_external - 2 - - - _implicit_freewheeling - 3 - - - - _Implicit_Jitter_Distribution - 48 - - wRangeMax - WORD - 16 - 0 - - - wCountJitterNeg - WORD - 16 - 16 - - - wCountJitterPos - WORD - 16 - 32 - - - - hide - - - - - _Implicit_Task_Info - 704 - - dwVersion - DWORD - 32 - 0 - - - pszName - STRING(80) - 32 - 32 - - - nPriority - INT - 16 - 64 - - - KindOf - _Implicit_KindOfTask - 16 - 80 - - - bWatchdog - BOOL - 8 - 96 - - - bProfilingTask - BOOL - 8 - 104 - - - dwEventFunctionPointer - BYTE - 32 - 128 - - - pszExternalEvent - STRING(80) - 32 - 160 - - - dwTaskEntryFunctionPointer - BYTE - 32 - 192 - - - dwWatchdogSensitivity - DWORD - 32 - 224 - - - dwInterval - DWORD - 32 - 256 - - - dwWatchdogTime - DWORD - 32 - 288 - - - dwLastCycleTime - DWORD - 32 - 320 - - - dwAverageCycleTime - DWORD - 32 - 352 - - - dwMaxCycleTime - DWORD - 32 - 384 - - - dwMinCycleTime - DWORD - 32 - 416 - - - diJitter - DINT - 32 - 448 - - - diJitterMin - DINT - 32 - 480 - - - diJitterMax - DINT - 32 - 512 - - - dwCycleCount - DWORD - 32 - 544 - - - wTaskStatus - WORD - 16 - 576 - - - wNumOfJitterDistributions - WORD - 16 - 592 - - - pJitterDistribution - _Implicit_Jitter_Distribution - 32 - 608 - - - bWithinSPSTimeSlicing - BOOL - 8 - 640 - - - byDummy - BYTE - 8 - 648 - - - bShouldBlock - BOOL - 8 - 656 - - - bActive - BOOL - 8 - 664 - - - dwIECCycleCount - DWORD - 32 - 672 - - - - hide - - - - - LCLSGeneralEventClass - Log event - - Critical - Critical - Critical - - - Error - Error - Error - - - Warning - Warning - Warning - - - Info - Info - Info - - - Verbose - Verbose - Verbose - - - - - - - - - - - - - - - PMPS - {08500001-0000-0000-F000-000000000064} - - - - 0 - PlcTask - - #x02010030 - - - - - - - 3 - PlcTask Internal - 0 - 80805888 - - GVL_Param_TcUnit.MaxNumberOfTestSuites - 16 - UINT - - 500 - - - - TcVarGlobal - - - 4096000 - - - GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite - 16 - UINT - - 100 - - - - TcVarGlobal - - - 4096016 - - - GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite - 16 - UINT - - 1000 - - - - TcVarGlobal - - - 4096032 - - - GVL_Param_TcUnit.LogExtendedResults - TcUnit logs complete test results. These include: + field: ONAM ErrorTcAddressTypeInputffPMPSIO_DisconnectFB_FastFault250886112.i_DescIssue w/ arbiter interface to subsystem, verify subsystem is OK, or ethercat connection.nActiveCohortUDINT32312000nRequestedCohortUDINT32312320rtToggleR_TRIG6431264PouTypeFunctionBlockE_ArbDosTestStates16INTInit0SecondReq100WaitForAck200WaitFor2ndAck300RunAsserts8000FB_Arbiter_Test38020224FB_TestSuite__ARBITERCAPACITY__FBARBCAPACITYTESTFB_Arbiter47462433551744old_input_assignments__ARBITERCAPACITY__CYCLEINT16340263680__ARBITERCAPACITY__CYCLELIMITINT163402638420__ARBITRATION__FBARBITERFB_Arbiter47462434026432old_input_assignments__DOS__DOSARBFB_Arbiter47462434501056old_input_assignments__DOS__DUMMYHAFB_DummyHA12834975680.ReqAcknowledged0__DOS__NTIMEOUTCOUNTERUINT1634975808__DOS__BINITBOOL834975824__DOS__BSECONDBOOL834975832__DOS__EDOSTESTCASESE_ArbDosTestStates1634975840__FULLARBITRATIONSTACK__FBARBITERFB_Arbiter47462434975872old_input_assignments__FULLARBITRATIONSTACK__FBHIGHERARBFB_Arbiter47462435450496old_input_assignments__FULLARBITRATIONSTACK__FBSUBSYSTOARBFB_SubSysToArbiter_IO13875235925120__FULLARBITRATIONSTACK__PBPRST_BeamParams_IO3236063872__FULLARBITRATIONSTACK__FBARBTOSUBSYSFB_ArbiterToSubSys_IO3132836063904.RequestingSystemID42__FULLARBITRATIONSTACK__PBPCST_BeamParams_IO3236095232__FULLARBITRATIONSTACK__FBBPRFB_BPRequestor390436095296__FULLARBITRATIONSTACK__FFOFB_HardwareFFOutput49529636099200__FULLARBITRATIONSTACK__CYCLEINT16365944960__FULLARBITRATIONSTACK__CYCLELIMITINT163659451220__REQUESTCHECKREMOVEBP__FBARBITERFB_Arbiter47462436594560old_input_assignments__STACKARBITERS__FBARBITERFB_Arbiter47462437069184old_input_assignments__STACKARBITERS__FBHIGHERARBFB_Arbiter47462437543808old_input_assignments__STACKARBITERS__ARBBPST_BeamParams176038018432__STACKARBITERS__CYCLEINT16380201920__STACKARBITERS__CYCLELIMITINT163802020820RemoveReqArbFB_Arbiter474624old_input_assignmentsDummyHAFB_DummyHA128ResultBOOL8StackArbitersnIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__STACKARBITERS__FBARBITERfbHigherArbFB_Arbiter474624old_input_assignmentsuselocation__STACKARBITERS__FBHIGHERARBArbBPST_BeamParams1760uselocation__STACKARBITERS__ARBBPCycleINT16uselocation__STACKARBITERS__CYCLECycleLimitINT16uselocation__STACKARBITERS__CYCLELIMITSysIDDWORD32FullArbitrationStacknIdDWORD32stReqST_BeamParams1760nIdDoSDWORD32stDoSReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__FULLARBITRATIONSTACK__FBARBITERfbHigherArbFB_Arbiter474624old_input_assignmentsuselocation__FULLARBITRATIONSTACK__FBHIGHERARBfbSubSysToArbFB_SubSysToArbiter_IO138752uselocation__FULLARBITRATIONSTACK__FBSUBSYSTOARBpBPRST_BeamParams_IO32uselocation__FULLARBITRATIONSTACK__PBPRfbArbToSubSysFB_ArbiterToSubSys_IO31328uselocation__FULLARBITRATIONSTACK__FBARBTOSUBSYSpBPCST_BeamParams_IO32uselocation__FULLARBITRATIONSTACK__PBPCfbBPRFB_BPRequestor3904uselocation__FULLARBITRATIONSTACK__FBBPRFFOFB_HardwareFFOutput495296uselocation__FULLARBITRATIONSTACK__FFOCycleINT16uselocation__FULLARBITRATIONSTACK__CYCLECycleLimitINT16uselocation__FULLARBITRATIONSTACK__CYCLELIMITSysIDDWORD32no_checkArbitrationnTranReqIDUDINT32stAttReqBPST_BeamParams1760nPPEReqIDUDINT32stPPEReqBPST_BeamParams1760nEVReqIDUDINT32stEVReqBPST_BeamParams1760nRateReqIDUDINT32stRateReqBPST_BeamParams1760nBCRangeReqIDUDINT32stBCReqBPST_BeamParams1760stArbitratedBPST_BeamParams1760stExpectedBPST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__ARBITRATION__FBARBITERArbiterCapacitynIdDWORD32stReqST_BeamParams1760nRandIDDWORD32testReqST_BeamParams1760idxDWORD32fbArbCapacityTestFB_Arbiter474624old_input_assignmentsuselocation__ARBITERCAPACITY__FBARBCAPACITYTESTCycleINT16uselocation__ARBITERCAPACITY__CYCLECycleLimitINT16uselocation__ARBITERCAPACITY__CYCLELIMITSysIDDWORD32RequestCheckRemoveBPnIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__REQUESTCHECKREMOVEBP__FBARBITERDoSnOrigReqIDUDINT32nSecondReqIDUDINT32nPeskyReqIDUDINT32DosArbFB_Arbiter474624old_input_assignmentsuselocation__DOS__DOSARBDummyHAFB_DummyHA128uselocation__DOS__DUMMYHAnTimeoutCounterUINT16uselocation__DOS__NTIMEOUTCOUNTERbInitBOOL8uselocation__DOS__BINITbSecondBOOL8uselocation__DOS__BSECONDeDosTestCasesE_ArbDosTestStates16uselocation__DOS__EDOSTESTCASESnTimeoutCounterMAXUINT16nWaitCountUINT16nWait2ndCountUINT16PouTypeFunctionBlockcall_after_initFB_VetoArbiter_Test35025408FB_TestSuiteArbIDDWORD32335517441HigherArbIDDWORD32335517762__VETOARBITER__FBARBITERFB_Arbiter47462433551808old_input_assignments__VETOARBITER__FBHIGHERARBFB_Arbiter47462434026432old_input_assignments__VETOARBITER__ARBBPST_BeamParams176034501056.nTran1__VETOARBITER__VETOARBFB_VetoArbiter2716834502816__VETOARBITER__FFOFB_HardwareFFOutput49529634529984__VETOARBITER__FBHAFB_DummyHA12835025280VetoArbiternIdDWORD32nId2DWORD32stReqST_BeamParams1760stReq2ST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__VETOARBITER__FBARBITERfbHigherArbFB_Arbiter474624old_input_assignmentsuselocation__VETOARBITER__FBHIGHERARBArbBPST_BeamParams1760uselocation__VETOARBITER__ARBBPVetoArbFB_VetoArbiter27168uselocation__VETOARBITER__VETOARBFFOFB_HardwareFFOutput495296uselocation__VETOARBITER__FFOfbHAFB_DummyHA128uselocation__VETOARBITER__FBHAPouTypeFunctionBlockcall_after_initFB_evRangeCalculator_Test33551808FB_TestSuiteRandomBoundaryINT16335517442BasicFunctionLastWordDWORD32displaymodebinaryResultDWORD32displaymodebinaryTestEVDWORD32displaymodebinarytEvWDWORD32displaymodebinarytEvREAL32fbStrFB_FormatString7840MiscNumberINT16nLowerLimitBoundaryINT16RandomBoundaryINT16MNUINT16MNDINT16no_checkPouTypeFunctionBlockcall_after_initFB_SubsysToArb_Test35804096FB_TestSuite__BASICFUNCTION__FBARBITERFB_Arbiter47462433551744old_input_assignments__BASICFUNCTION__FBSUBSYSTOARBFB_SubSysToArbiter_IO13875234026368__BASICFUNCTION__PBPCST_BeamParams_IO3234165120__BASICFUNCTION__IOCURRENTBPST_BeamParams_IO176034165152__BASICFUNCTION__FFOFB_HardwareFFOutput49529634166912__BASICFUNCTION__NCOHORTSCRATCHUDINT3234662208__VETOFUNCTION__FBARBITERFB_Arbiter47462434662272old_input_assignments__VETOFUNCTION__FBSUBSYSTOARBFB_SubSysToArbiter_IO13875235136896__VETOFUNCTION__FBARBTOSUBSYSFB_ArbiterToSubSys_IO3132835275648__VETOFUNCTION__PBPCST_BeamParams_IO3235306976__VETOFUNCTION__PBPRST_BeamParams_IO3235307008__VETOFUNCTION__IOCURRENTBPST_BeamParams_IO176035307040__VETOFUNCTION__FFOFB_HardwareFFOutput49529635308800VetoFunctionnIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__VETOFUNCTION__FBARBITERfbSubSysToArbFB_SubSysToArbiter_IO138752uselocation__VETOFUNCTION__FBSUBSYSTOARBfbArbToSubSysFB_ArbiterToSubSys_IO31328uselocation__VETOFUNCTION__FBARBTOSUBSYSpBPCST_BeamParams_IO32uselocation__VETOFUNCTION__PBPCpBPRST_BeamParams_IO32uselocation__VETOFUNCTION__PBPRioCurrentBPST_BeamParams_IO1760uselocation__VETOFUNCTION__IOCURRENTBPFFOFB_HardwareFFOutput495296uselocation__VETOFUNCTION__FFOSysIDDWORD32BasicFunctionnIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__BASICFUNCTION__FBARBITERfbSubSysToArbFB_SubSysToArbiter_IO138752uselocation__BASICFUNCTION__FBSUBSYSTOARBpBPCST_BeamParams_IO32uselocation__BASICFUNCTION__PBPCioCurrentBPST_BeamParams_IO1760uselocation__BASICFUNCTION__IOCURRENTBPFFOFB_HardwareFFOutput495296uselocation__BASICFUNCTION__FFOnCohortScratchUDINT32uselocation__BASICFUNCTION__NCOHORTSCRATCHSysIDDWORD32no_checkPouTypeFunctionBlockcall_after_initFB_ArbToSubsys_Test34558784FB_TestSuite__BASICFUNCTION__FBARBITERFB_Arbiter47462433551744old_input_assignments__BASICFUNCTION__PBPRST_BeamParams_IO3234026368__BASICFUNCTION__STBPRIOST_BeamParams_IO176034026400.nCohortInt1.nTran35__BASICFUNCTION__FBARBTOSUBSYSFB_ArbiterToSubSys_IO3132834028160.RequestingSystemID42__BASICFUNCTION__PBPCST_BeamParams_IO3234059488__BASICFUNCTION__FBBPRFB_BPRequestor390434059520__BASICFUNCTION__FFOFB_HardwareFFOutput49529634063424__BASICFUNCTION__CYCLEINT16345587200__BASICFUNCTION__CYCLELIMITINT163455873620BasicFunctionSysIDDWORD32nIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__BASICFUNCTION__FBARBITERpBPRST_BeamParams_IO32uselocation__BASICFUNCTION__PBPRstBPRIOST_BeamParams_IO1760uselocation__BASICFUNCTION__STBPRIOfbArbToSubSysFB_ArbiterToSubSys_IO31328uselocation__BASICFUNCTION__FBARBTOSUBSYSpBPCST_BeamParams_IO32uselocation__BASICFUNCTION__PBPCfbBPRFB_BPRequestor3904uselocation__BASICFUNCTION__FBBPRFFOFB_HardwareFFOutput495296uselocation__BASICFUNCTION__FFOCycleINT16uselocation__BASICFUNCTION__CYCLECycleLimitINT16uselocation__BASICFUNCTION__CYCLELIMITno_checkPouTypeFunctionBlockcall_after_initVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512_Implicit_KindOfTask16INT_implicit_cyclic0_implicit_event1_implicit_external2_implicit_freewheeling3_Implicit_Jitter_Distribution48wRangeMaxWORD160wCountJitterNegWORD1616wCountJitterPosWORD1632hide_Implicit_Task_Info704dwVersionDWORD320pszNameSTRING(80)3232nPriorityINT1664KindOf_Implicit_KindOfTask1680bWatchdogBOOL896bProfilingTaskBOOL8104dwEventFunctionPointerBYTE32128pszExternalEventSTRING(80)32160dwTaskEntryFunctionPointerBYTE32192dwWatchdogSensitivityDWORD32224dwIntervalDWORD32256dwWatchdogTimeDWORD32288dwLastCycleTimeDWORD32320dwAverageCycleTimeDWORD32352dwMaxCycleTimeDWORD32384dwMinCycleTimeDWORD32416diJitterDINT32448diJitterMinDINT32480diJitterMaxDINT32512dwCycleCountDWORD32544wTaskStatusWORD16576wNumOfJitterDistributionsWORD16592pJitterDistribution_Implicit_Jitter_Distribution32608bWithinSPSTimeSlicingBOOL8640byDummyBYTE8648bShouldBlockBOOL8656bActiveBOOL8664dwIECCycleCountDWORD32672hideLCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerbosePMPS{08500001-0000-0000-F000-000000000064}0PlcTask#x020100303PlcTask Internal080805888GVL_Param_TcUnit.MaxNumberOfTestSuites16UINT500TcVarGlobal4096000GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite16UINT100TcVarGlobal4096016GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite16UINT1000TcVarGlobal4096032GVL_Param_TcUnit.LogExtendedResults - 8 - BOOL - - 1 - - - - TcVarGlobal - - - 4096048 - - - GVL_Param_TcUnit.xUnitEnablePublish - Enable (TRUE) or disable (FALSE) publishing of the xUnit Xml report - 8 - BOOL - - 0 - - - - TcVarGlobal - - - 4096056 - - - GVL_Param_TcUnit.xUnitBufferSize - Default reserved PLC memory buffer used for composition of the xUnit xml file (64 kb default) - 32 - UDINT - - 65535 - - - - TcVarGlobal - - - 4096064 - - - GVL_Param_TcUnit.xUnitFilePath - Default path and filename for the xunit testresults e.g.: for use with jenkins - 2048 - T_MaxString - - C:\tcunit_xunit_testresults.xml - - - - TcVarGlobal - - - 4096096 - - - GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize - This is the maximum number of ADS-messages that can be stored for reporting at the same time. + it will speed up TcUnit finishing. ]]>8BOOL1TcVarGlobal4096048GVL_Param_TcUnit.xUnitEnablePublish8BOOL0TcVarGlobal4096056GVL_Param_TcUnit.xUnitBufferSize32UDINT65535TcVarGlobal4096064GVL_Param_TcUnit.xUnitFilePath2048T_MaxStringC:\tcunit_xunit_testresults.xmlTcVarGlobal4096096GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize - 16 - UINT - - 2000 - - - - TcVarGlobal - - - 4098144 - - - GVL_TcUnit.TestSuiteIsRegistered - Indication of whether the last instantiated test suite has an assert instance created - 8 - BOOL - - - TcVarGlobal - - - 4098160 - - - GVL_TcUnit.CurrentTestIsFinished - Whether or not the current test being called has finished running - 8 - BOOL - - - TcVarGlobal - - - 4098168 - - - GVL_Param_TcUnit.TimeBetweenTestSuitesExecution - Time delay between a test suite is finished and the execution of the next test suite starts - if using RUN_IN_SEQUENCE() - 32 - TIME - - 0 - - - - TcVarGlobal - - - 4098176 - - - GVL_TcUnit.TcUnitRunner - 311179200 - FB_TcUnitRunner - - - TcVarGlobal - - - 4098208 - - - GVL_TcUnit.CurrentTestSuiteBeingCalled - Pointer to current test suite being called - 32 - FB_TestSuite - - - TcVarGlobal - - - 315277408 - - - GVL_TcUnit.CurrentTestNameBeingCalled - Current name of test being called - 2048 - T_MaxString - - - TcVarGlobal - - - 315277440 - - - GVL_TcUnit.IgnoreCurrentTest - This is a flag that indicates that the current test should be ignored, and + 2000 it means that TcUnit will consume around 1 MB of router memory. ]]>16UINT2000TcVarGlobal4098144GVL_TcUnit.TestSuiteIsRegistered8BOOLTcVarGlobal4098160GVL_TcUnit.CurrentTestIsFinished8BOOLTcVarGlobal4098168GVL_Param_TcUnit.TimeBetweenTestSuitesExecution32TIME0TcVarGlobal4098176GVL_TcUnit.TcUnitRunner311179200FB_TcUnitRunnerTcVarGlobal4098208GVL_TcUnit.CurrentTestSuiteBeingCalled32FB_TestSuiteTcVarGlobal315277408GVL_TcUnit.CurrentTestNameBeingCalled2048T_MaxStringTcVarGlobal315277440GVL_TcUnit.IgnoreCurrentTest - 8 - BOOL - - - TcVarGlobal - - - 315279488 - - - Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED - Retain data loaded - 8 - BYTE - - 1 - - - - TcVarGlobal - - - 315279496 - - - GVL_TcUnit.NumberOfInitializedTestSuites - The assert function block instance should be 1:1 mapped to - the test suite instance path. - 16 - UINT - - 0 - - - - TcVarGlobal - - - 315279504 - - - GVL_TcUnit.TestSuiteAddresses - 16000 - FB_TestSuite - - 1 - 500 - - - - TcVarGlobal - - - 315279520 - - - GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite - If the user is utilizing the TEST_ORDERED(), we need to keep track of which ordered test is currently running. + because the user has requested so, or because the test is a duplicate name ]]>8BOOLTcVarGlobal315279488Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED8BYTE1TcVarGlobal315279496GVL_TcUnit.NumberOfInitializedTestSuites16UINT0TcVarGlobal315279504GVL_TcUnit.TestSuiteAddresses16000FB_TestSuite1500TcVarGlobal315279520GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite - 8000 - UINT - - 1 - 500 - - - - LowerBorder - 1 - - - UpperBorder - 100 - - - TcVarGlobal - - - 315295520 - - - GVL_TcUnit.AdsMessageQueue - Buffered ADS message queue for output to the error list - 8320864 - FB_AdsLogStringMessageFifoQueue - - - TcVarGlobal - - - 315303520 - - - Global_Version.stLibVersion_TcUnit - 288 - ST_LibVersion - - - .iMajor - 1 - - - .iMinor - 2 - - - .iBuild - 0 - - - .iRevision - 0 - - - .sVersion - 1.2.0.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323624384 - - - Global_Version.stLibVersion_Tc2_Standard - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 3 - - - .iRevision - 0 - - - .nFlags - 0 - - - .sVersion - 3.3.3.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323624672 - - - Global_Version.stLibVersion_Tc2_System - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 4 - - - .iBuild - 26 - - - .iRevision - 0 - - - .nFlags - 1 - - - .sVersion - 3.4.26.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323624960 - - - Global_Variables.AMSPORT_LOGGER - Logger - 16 - UINT - - 100 - - - - TcVarGlobal - - - 323625248 - - - Global_Variables.AMSPORT_EVENTLOG - Event logger - 16 - UINT - - 110 - - - - TcVarGlobal - - - 323625264 - - - Global_Variables.AMSPORT_R0_RTIME - R0 Real time - 16 - UINT - - 200 - - - - TcVarGlobal - - - 323625280 - - - Global_Variables.AMSPORT_R0_IO - I/O Driver - 16 - UINT - - 300 - - - - TcVarGlobal - - - 323625296 - - - Global_Variables.AMSPORT_R0_NC - 16 - UINT - - 500 - - - - TcVarGlobal - - - 323625312 - - - Global_Variables.AMSPORT_R0_NCSAF - 16 - UINT - - 501 - - - - TcVarGlobal - - - 323625328 - - - Global_Variables.AMSPORT_R0_NCSVB - 16 - UINT - - 511 - - - - TcVarGlobal - - - 323625344 - - - Global_Variables.AMSPORT_R0_ISG - 16 - UINT - - 550 - - - - TcVarGlobal - - - 323625360 - - - Global_Variables.AMSPORT_R0_CNC - 16 - UINT - - 600 - - - - TcVarGlobal - - - 323625376 - - - Global_Variables.AMSPORT_R0_LINE - 16 - UINT - - 700 - - - - TcVarGlobal - - - 323625392 - - - Global_Variables.AMSPORT_R0_PLC - 16 - UINT - - 800 - - - - TcVarGlobal - - - 323625408 - - - Global_Variables.AMSPORT_R0_PLC_RTS1 - TwinCAT v2.xx first PLC runtime system - 16 - UINT - - 801 - - - - TcVarGlobal - - - 323625424 - - - Global_Variables.AMSPORT_R0_PLC_RTS2 - TwinCAT v2.xx second PLC runtime system - 16 - UINT - - 811 - - - - TcVarGlobal - - - 323625440 - - - Global_Variables.AMSPORT_R0_PLC_RTS3 - TwinCAT v2.xx third PLC runtime system - 16 - UINT - - 821 - - - - TcVarGlobal - - - 323625456 - - - Global_Variables.AMSPORT_R0_PLC_RTS4 - TwinCAT v2.xx fourth PLC runtime system - 16 - UINT - - 831 - - - - TcVarGlobal - - - 323625472 - - - Global_Variables.AMSPORT_R0_CAM - 16 - UINT - - 900 - - - - TcVarGlobal - - - 323625488 - - - Global_Variables.AMSPORT_R0_CAMTOOL - Camming tool - 16 - UINT - - 950 - - - - TcVarGlobal - - - 323625504 - - - Global_Variables.AMSPORT_R3_SYSSERV - TwinCAT System Service - 16 - UINT - - 10000 - - - - TcVarGlobal - - - 323625520 - - - Global_Variables.AMSPORT_R3_SCOPESERVER - TwinCAT Scope Server - 16 - UINT - - 14001 - - - - TcVarGlobal - - - 323625536 - - - Global_Variables.ADSSTATE_INVALID - Invalid ADS state - 16 - UINT - - 0 - - - - TcVarGlobal - - - 323625552 - - - Global_Variables.ADSSTATE_IDLE - 16 - UINT - - 1 - - - - TcVarGlobal - - - 323625568 - - - Global_Variables.ADSSTATE_RESET - 16 - UINT - - 2 - - - - TcVarGlobal - - - 323625584 - - - Global_Variables.ADSSTATE_INIT - 16 - UINT - - 3 - - - - TcVarGlobal - - - 323625600 - - - Global_Variables.ADSSTATE_START - 16 - UINT - - 4 - - - - TcVarGlobal - - - 323625616 - - - Global_Variables.ADSSTATE_RUN - 16 - UINT - - 5 - - - - TcVarGlobal - - - 323625632 - - - Global_Variables.ADSSTATE_STOP - 16 - UINT - - 6 - - - - TcVarGlobal - - - 323625648 - - - Global_Variables.ADSSTATE_SAVECFG - 16 - UINT - - 7 - - - - TcVarGlobal - - - 323625664 - - - Global_Variables.ADSSTATE_LOADCFG - 16 - UINT - - 8 - - - - TcVarGlobal - - - 323625680 - - - Global_Variables.ADSSTATE_POWERFAILURE - 16 - UINT - - 9 - - - - TcVarGlobal - - - 323625696 - - - Global_Variables.ADSSTATE_POWERGOOD - 16 - UINT - - 10 - - - - TcVarGlobal - - - 323625712 - - - Global_Variables.ADSSTATE_ERROR - 16 - UINT - - 11 - - - - TcVarGlobal - - - 323625728 - - - Global_Variables.ADSSTATE_SHUTDOWN - 16 - UINT - - 12 - - - - TcVarGlobal - - - 323625744 - - - Global_Variables.ADSSTATE_SUSPEND - 16 - UINT - - 13 - - - - TcVarGlobal - - - 323625760 - - - Global_Variables.ADSSTATE_RESUME - 16 - UINT - - 14 - - - - TcVarGlobal - - - 323625776 - - - Global_Variables.ADSSTATE_CONFIG - System is in config mode - 16 - UINT - - 15 - - - - TcVarGlobal - - - 323625792 - - - Global_Variables.ADSSTATE_RECONFIG - System should restart in config mode - 16 - UINT - - 16 - - - - TcVarGlobal - - - 323625808 - - - Global_Variables.ADSSTATE_STOPPING - 16 - UINT - - 17 - - - - TcVarGlobal - - - 323625824 - - - Global_Variables.ADSSTATE_INCOMPATIBLE - 16 - UINT - - 18 - - - - TcVarGlobal - - - 323625840 - - - Global_Variables.ADSSTATE_EXCEPTION - 16 - UINT - - 19 - - - - TcVarGlobal - - - 323625856 - - - Global_Variables.ADSSTATE_MAXSTATES - Max. number of available ads states - 16 - UINT - - 20 - - - - TcVarGlobal - - - 323625872 - - - Global_Variables.ADSIGRP_SYMTAB - Symbol table - 32 - UDINT - - 61440 - - - - TcVarGlobal - - - 323625888 - - - Global_Variables.ADSIGRP_SYMNAME - Symbol name - 32 - UDINT - - 61441 - - - - TcVarGlobal - - - 323625920 - - - Global_Variables.ADSIGRP_SYMVAL - Symbol value - 32 - UDINT - - 61442 - - - - TcVarGlobal - - - 323625952 - - - Global_Variables.ADSIGRP_SYM_HNDBYNAME - 32 - UDINT - - 61443 - - - - TcVarGlobal - - - 323625984 - - - Global_Variables.ADSIGRP_SYM_VALBYNAME - 32 - UDINT - - 61444 - - - - TcVarGlobal - - - 323626016 - - - Global_Variables.ADSIGRP_SYM_VALBYHND - 32 - UDINT - - 61445 - - - - TcVarGlobal - - - 323626048 - - - Global_Variables.ADSIGRP_SYM_RELEASEHND - 32 - UDINT - - 61446 - - - - TcVarGlobal - - - 323626080 - - - Global_Variables.ADSIGRP_SYM_INFOBYNAME - 32 - UDINT - - 61447 - - - - TcVarGlobal - - - 323626112 - - - Global_Variables.ADSIGRP_SYM_VERSION - 32 - UDINT - - 61448 - - - - TcVarGlobal - - - 323626144 - - - Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX - 32 - UDINT - - 61449 - - - - TcVarGlobal - - - 323626176 - - - Global_Variables.ADSIGRP_SYM_DOWNLOAD - 32 - UDINT - - 61450 - - - - TcVarGlobal - - - 323626208 - - - Global_Variables.ADSIGRP_SYM_UPLOAD - 32 - UDINT - - 61451 - - - - TcVarGlobal - - - 323626240 - - - Global_Variables.ADSIGRP_SYM_UPLOADINFO - 32 - UDINT - - 61452 - - - - TcVarGlobal - - - 323626272 - - - Global_Variables.ADSIGRP_SYMNOTE - Notification of named handle - 32 - UDINT - - 61456 - - - - TcVarGlobal - - - 323626304 - - - Global_Variables.ADSIGRP_IOIMAGE_RWIB - Read/write input BYTE(S) - 32 - UDINT - - 61472 - - - - TcVarGlobal - - - 323626336 - - - Global_Variables.ADSIGRP_IOIMAGE_RWIX - Read/write input bit - 32 - UDINT - - 61473 - - - - TcVarGlobal - - - 323626368 - - - Global_Variables.ADSIGRP_IOIMAGE_RISIZE - Read input size (in BYTE) - 32 - UDINT - - 61477 - - - - TcVarGlobal - - - 323626400 - - - Global_Variables.ADSIGRP_IOIMAGE_RWOB - Read/write output BYTE(S) - 32 - UDINT - - 61488 - - - - TcVarGlobal - - - 323626432 - - - Global_Variables.ADSIGRP_IOIMAGE_RWOX - Read/write output bit - 32 - UDINT - - 61489 - - - - TcVarGlobal - - - 323626464 - - - Global_Variables.ADSIGRP_IOIMAGE_ROSIZE - Read/write output bit - 32 - UDINT - - 61493 - - - - TcVarGlobal - - - 323626496 - - - Global_Variables.ADSIGRP_IOIMAGE_CLEARI - Write inputs TO null - 32 - UDINT - - 61504 - - - - TcVarGlobal - - - 323626528 - - - Global_Variables.ADSIGRP_IOIMAGE_CLEARO - Write outputs TO null - 32 - UDINT - - 61520 - - - - TcVarGlobal - - - 323626560 - - - Global_Variables.ADSIGRP_IOIMAGE_RWIOB - Read input AND write output BYTE(S) ADS-READWRITE - 32 - UDINT - - 61536 - - - - TcVarGlobal - - - 323626592 - - - Global_Variables.ADSIGRP_DEVICE_DATA - State, name, etc... - 32 - UDINT - - 61696 - - - - TcVarGlobal - - - 323626624 - - - Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE - Ads state OF device - 32 - UDINT - - 0 - - - - TcVarGlobal - - - 323626656 - - - Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE - Device state - 32 - UDINT - - 2 - - - - TcVarGlobal - - - 323626688 - - - Global_Variables.SYSTEMSERVICE_OPENCREATE - Open and if not existing create - 32 - UDINT - - 100 - - - - TcVarGlobal - - - 323626720 - - - Global_Variables.SYSTEMSERVICE_OPENREAD - Open existing for read access - 32 - UDINT - - 101 - - - - TcVarGlobal - - - 323626752 - - - Global_Variables.SYSTEMSERVICE_OPENWRITE - Open existing for write access - 32 - UDINT - - 102 - - - - TcVarGlobal - - - 323626784 - - - Global_Variables.SYSTEMSERVICE_CREATEFILE - Create - 32 - UDINT - - 110 - - - - TcVarGlobal - - - 323626816 - - - Global_Variables.SYSTEMSERVICE_CLOSEHANDLE - Close - 32 - UDINT - - 111 - - - - TcVarGlobal - - - 323626848 - - - Global_Variables.SYSTEMSERVICE_FOPEN - 32 - UDINT - - 120 - - - - TcVarGlobal - - - 323626880 - - - Global_Variables.SYSTEMSERVICE_FCLOSE - 32 - UDINT - - 121 - - - - TcVarGlobal - - - 323626912 - - - Global_Variables.SYSTEMSERVICE_FREAD - 32 - UDINT - - 122 - - - - TcVarGlobal - - - 323626944 - - - Global_Variables.SYSTEMSERVICE_FWRITE - 32 - UDINT - - 123 - - - - TcVarGlobal - - - 323626976 - - - Global_Variables.SYSTEMSERVICE_FSEEK - 32 - UDINT - - 124 - - - - TcVarGlobal - - - 323627008 - - - Global_Variables.SYSTEMSERVICE_FTELL - 32 - UDINT - - 125 - - - - TcVarGlobal - - - 323627040 - - - Global_Variables.SYSTEMSERVICE_FGETS - 32 - UDINT - - 126 - - - - TcVarGlobal - - - 323627072 - - - Global_Variables.SYSTEMSERVICE_FPUTS - 32 - UDINT - - 127 - - - - TcVarGlobal - - - 323627104 - - - Global_Variables.SYSTEMSERVICE_FSCANF - 32 - UDINT - - 128 - - - - TcVarGlobal - - - 323627136 - - - Global_Variables.SYSTEMSERVICE_FPRINTF - 32 - UDINT - - 129 - - - - TcVarGlobal - - - 323627168 - - - Global_Variables.SYSTEMSERVICE_FEOF - 32 - UDINT - - 130 - - - - TcVarGlobal - - - 323627200 - - - Global_Variables.SYSTEMSERVICE_FDELETE - 32 - UDINT - - 131 - - - - TcVarGlobal - - - 323627232 - - - Global_Variables.SYSTEMSERVICE_FRENAME - 32 - UDINT - - 132 - - - - TcVarGlobal - - - 323627264 - - - Global_Variables.SYSTEMSERVICE_MKDIR - 32 - UDINT - - 138 - - - - TcVarGlobal - - - 323627296 - - - Global_Variables.SYSTEMSERVICE_RMDIR - 32 - UDINT - - 139 - - - - TcVarGlobal - - - 323627328 - - - Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE - 32 - UDINT - - 200 - - - - TcVarGlobal - - - 323627360 - - - Global_Variables.SYSTEMSERVICE_SENDEMAIL - 32 - UDINT - - 300 - - - - TcVarGlobal - - - 323627392 - - - Global_Variables.SYSTEMSERVICE_TIMESERVICES - 32 - UDINT - - 400 - - - - TcVarGlobal - - - 323627424 - - - Global_Variables.SYSTEMSERVICE_STARTPROCESS - 32 - UDINT - - 500 - - - - TcVarGlobal - - - 323627456 - - - Global_Variables.SYSTEMSERVICE_CHANGENETID - 32 - UDINT - - 600 - - - - TcVarGlobal - - - 323627488 - - - Global_Variables.TIMESERVICE_DATEANDTIME - Date/time - 32 - UDINT - - 1 - - - - TcVarGlobal - - - 323627520 - - - Global_Variables.TIMESERVICE_SYSTEMTIMES - 32 - UDINT - - 2 - - - - TcVarGlobal - - - 323627552 - - - Global_Variables.TIMESERVICE_RTCTIMEDIFF - 32 - UDINT - - 3 - - - - TcVarGlobal - - - 323627584 - - - Global_Variables.TIMESERVICE_ADJUSTTIMETORTC - 32 - UDINT - - 4 - - - - TcVarGlobal - - - 323627616 - - - Global_Variables.TIMESERVICE_TIMEZONINFORMATION - 32 - UDINT - - 6 - - - - TcVarGlobal - - - 323627648 - - - Global_Variables.ADSLOG_MSGTYPE_HINT - Hint icon - 32 - DWORD - - 1 - - - - TcVarGlobal - - - 323627680 - - - Global_Variables.ADSLOG_MSGTYPE_WARN - Warning icon - 32 - DWORD - - 2 - - - - TcVarGlobal - - - 323627712 - - - Global_Variables.ADSLOG_MSGTYPE_ERROR - Error icon - 32 - DWORD - - 4 - - - - TcVarGlobal - - - 323627744 - - - Global_Variables.ADSLOG_MSGTYPE_LOG - Write message to log file - 32 - DWORD - - 16 - - - - TcVarGlobal - - - 323627776 - - - Global_Variables.ADSLOG_MSGTYPE_MSGBOX - View message in message box - 32 - DWORD - - 32 - - - - TcVarGlobal - - - 323627808 - - - Global_Variables.ADSLOG_MSGTYPE_RESOURCE - 32 - DWORD - - 64 - - - - TcVarGlobal - - - 323627840 - - - Global_Variables.ADSLOG_MSGTYPE_STRING - 32 - DWORD - - 128 - - - - TcVarGlobal - - - 323627872 - - - Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID - Retain data is invalid - 8 - BYTE - - 2 - - - - TcVarGlobal - - - 323627904 - - - Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED - 8 - BYTE - - 4 - - - - TcVarGlobal - - - 323627912 - - - Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED - Persistent data loaded - 8 - BYTE - - 16 - - - - TcVarGlobal - - - 323627920 - - - Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID - Persistent data is invalid - 8 - BYTE - - 32 - - - - TcVarGlobal - - - 323627928 - - - Global_Variables.SYSTEMSTATEFLAGS_BSOD - Blue screen of death - 8 - BYTE - - 1 - - - - TcVarGlobal - - - 323627936 - - - Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION - Realtime violation - latency time - 8 - BYTE - - 2 - - - - TcVarGlobal - - - 323627944 - - - Global_Variables.TCEVENTFLAG_PRIOCLASS - Event class/priority through textformatter - 16 - WORD - - 16 - - - - TcVarGlobal - - - 323627952 - - - Global_Variables.FOPEN_MODEREAD - "r": Opens for reading. If the file does not exist or cannot be found, the call fails. - 32 - DWORD - - 1 - - - - TcVarGlobal - - - 323627968 - - - Global_Variables.FOPEN_MODEWRITE - "w": Opens an empty file for writing. If the given file exists, its contents are destroyed. - 32 - DWORD - - 2 - - - - TcVarGlobal - - - 323628000 - - - Global_Variables.FOPEN_MODEAPPEND - "a": Opens for writing at the end of the file (appending) without removing the EOF marker before writing new data to the file; creates the file first if it doesnot exist. - 32 - DWORD - - 4 - - - - TcVarGlobal - - - 323628032 - - - Global_Variables.FOPEN_MODEPLUS - "+": Opens for reading and writing - 32 - DWORD - - 8 - - - - TcVarGlobal - - - 323628064 - - - Global_Variables.FOPEN_MODEBINARY - "b": Open in binary (untranslated) mode. - 32 - DWORD - - 16 - - - - TcVarGlobal - - - 323628096 - - - Global_Variables.FOPEN_MODETEXT - "t": Open in text (translated) mode. - 32 - DWORD - - 32 - - - - TcVarGlobal - - - 323628128 - - - Global_Variables.TCEVENTFLAG_FMTSELF - Format in message - 16 - WORD - - 32 - - - - TcVarGlobal - - - 323628384 - - - Global_Variables.TCEVENTFLAG_LOG - Write to log file - 16 - WORD - - 64 - - - - TcVarGlobal - - - 323628400 - - - Global_Variables.TCEVENTFLAG_MSGBOX - Display message box - 16 - WORD - - 128 - - - - TcVarGlobal - - - 323628416 - - - Global_Variables.TCEVENTFLAG_SRCID - Src id instead of source name - 16 - WORD - - 256 - - - - TcVarGlobal - - - 323628432 - - - Global_Variables.TCEVENTFLAG_AUTOFMTALL - 16 - WORD - - 4096 - - - - TcVarGlobal - - - 323628448 - - - Global_Variables.TCEVENTSTATE_INVALID - Event object is not initialized - 16 - WORD - - 0 - - - - TcVarGlobal - - - 323628464 - - - Global_Variables.TCEVENTSTATE_SIGNALED - Event object is in a signaled state - 16 - WORD - - 1 - - - - TcVarGlobal - - - 323628480 - - - Global_Variables.TCEVENTSTATE_RESET - Event object is in a reset state - 16 - WORD - - 2 - - - - TcVarGlobal - - - 323628496 - - - Global_Variables.TCEVENTSTATE_CONFIRMED - Event object is confirmed but not reset - 16 - WORD - - 16 - - - - TcVarGlobal - - - 323628512 - - - Global_Variables.TCEVENTSTATE_RESETCON - Event object is confirmed and reset - 16 - WORD - - 18 - - - - TcVarGlobal - - - 323628528 - - - Global_Variables.TCEVENT_SRCNAMESIZE - 16 - INT - - 15 - - - - TcVarGlobal - - - 323628544 - - - Global_Variables.TCEVENT_FMTPRGSIZE - 16 - INT - - 31 - - - - TcVarGlobal - - - 323628560 - - - Global_Variables.DEFAULT_ADS_TIMEOUT - Default ADS timeout value - 32 - TIME - - 5000 - - - - TcVarGlobal - - - 323628576 - - - Global_Variables.PI - 64 - LREAL - - 3.14159265358979 - - - - TcVarGlobal - - - 323628608 - - - Global_Variables.MAX_STRING_LENGTH - Max. length of T_MaxString (inclusive null delimiter) - 32 - UDINT - - 255 - - - - TcVarGlobal - - - 323628672 - - - Global_Variables.eWatchdogConfig - 16 - E_WATCHDOG_TIME_CONFIG - - 0 - - - - TcVarGlobal - - - 323629216 - - - Global_Variables.nWatchdogTime - Watchdog time. Depending of g_WatchdogConfig : seconds or minutes - 8 - BYTE - - - TcVarGlobal - - - 323629232 - - - Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK - TRUE = Enable DCF77 telegram plausibility check (two telegrams are checked), FALSE = Disable check - 8 - BOOL - - 0 - - - - TcVarGlobal - - - 323629240 - - - Global_Version.stLibVersion_Tc3_Module - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 21 - - - .iRevision - 0 - - - .sVersion - 3.3.21.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323629248 - - - Global_Version.stLibVersion_Tc2_Utilities - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 54 - - - .iRevision - 0 - - - .nFlags - 1 - - - .sVersion - 3.3.54.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323629856 - - - Global_Variables.MAX_AVERAGE_MEASURES - Max. number of measures used in the profiler function block: 2..100 - 16 - INT - - 10 - - - - LowerBorder - 2 - - - UpperBorder - 100 - - - TcVarGlobal - - - 323630144 - - - Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE - Global hash prefix type constant used for binary, octal or hexadecimal string format type - 16 - E_HashPrefixTypes - - 0 - - - - TcVarGlobal - - - 323630160 - - - Global_Variables.GLOBAL_SBCS_TABLE - Windows SBCS (Single Byte Character Set) Code Page Table - 16 - E_SBCSType - - 1 - - - - TcVarGlobal - - - 323630176 - - - Global_Variables.DEFAULT_CSV_FIELD_SEP - Default CSV-file field separator character. Semicolon (;) := 16#3B => german field separator, comma (,) := 16#2C => US field separator - 8 - BYTE - - 59 - - - - TcVarGlobal - - - 323630192 - - - Global_Variables.MAX_ROUTE_NAME_LEN - Max. TwinCAT router route name length - 8 - BYTE - - 31 - - - - TcVarGlobal - - - 323630200 - - - Global_Variables.GLOBAL_DCF77_PULSE_SPLIT - Default DCF77 short/long pulse split time value. Bit == 0 => pulse < 140ms, Bit == 1 => pulse >= 140ms - 32 - TIME - - 140 - - - - TcVarGlobal - - - 323630208 - - - Global_Variables.MAX_ADAPTER_NAME_LENGTH - Max. System Service local adapter name length (256 + 4 inkl. \0) - 32 - UDINT - - 259 - - - - TcVarGlobal - - - 323691712 - - - Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH - Max. System Service local adapter descirpion length (128 + 4 inkl. \0) - 32 - UDINT - - 131 - - - - TcVarGlobal - - - 323691744 - - - Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH - Max. System Service local adapter physical address length (bytes[0..7]) - 32 - UDINT - - 7 - - - - TcVarGlobal - - - 323691776 - - - Global_Variables.SYSTEMSERVICE_IPHELPERAPI - IPHELPERAPI index group - 32 - UDINT - - 701 - - - - TcVarGlobal - - - 323691808 - - - Global_Variables.SYSTEMSERVICE_IPHOSTNAME - IPHOSTNAME index group - 32 - UDINT - - 702 - - - - TcVarGlobal - - - 323691840 - - - Global_Variables.IPHELPERAPI_ADAPTERSINFO - IPHELPERAPI index offset - 32 - UDINT - - 1 - - - - TcVarGlobal - - - 323691872 - - - Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME - IPHELPERAPI index offset - 32 - UDINT - - 4 - - - - TcVarGlobal - - - 323691904 - - - Global_Variables.MAX_LOCAL_ADAPTERS - Max. number of local network adapters - 32 - UDINT - - 5 - - - - TcVarGlobal - - - 323691936 - - - Global_Variables.SYSTEMSERVICE_ADDREMOTE - System Service route function: Add route - 32 - UDINT - - 801 - - - - TcVarGlobal - - - 323691968 - - - Global_Variables.SYSTEMSERVICE_DELREMOTE - System Service route function: Delete route - 32 - UDINT - - 802 - - - - TcVarGlobal - - - 323692000 - - - Global_Variables.SYSTEMSERVICE_ENUMREMOTE - System Service route function: Enumerater route - 32 - UDINT - - 803 - - - - TcVarGlobal - - - 323692032 - - - Global_Variables.MAX_REMOTE_PCS - Max. number of TwinCAT remote systems/PC's - 16 - INT - - 99 - - - - TcVarGlobal - - - 323692064 - - - Global_Variables.MAX_ROUTE_ADDR_LEN - Max. TwinCAT router route address length - 8 - BYTE - - 79 - - - - TcVarGlobal - - - 323692080 - - - Global_Variables.MIN_ROUTE_TRANSPORT - Min. route type: eRouteTransport_None - 8 - BYTE - - 0 - - - - TcVarGlobal - - - 323692088 - - - Global_Variables.ROUTE_FLAG_TEMPORARY - TwinCAT route flag: Temporary - 32 - DWORD - - 1 - - - - TcVarGlobal - - - 323692096 - - - Global_Variables.ROUTE_FLAG_DYNAMIC - TwinCAT route flag: Hostname instead OF IP address - 32 - DWORD - - 2 - - - - TcVarGlobal - - - 323692128 - - - Global_Variables.ROUTE_FLAG_NOOVERRIDE - TwinCAT route flag: No override - 32 - DWORD - - 4 - - - - TcVarGlobal - - - 323692160 - - - Global_Variables.MAX_ROUTE_TRANSPORT - Max. route type: eRouteTransport_SOAP - 8 - BYTE - - 12 - - - - TcVarGlobal - - - 323692192 - - - Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE - CSV separator constant: double-quote (") => used to enclose special characters like line breaks, double-quotes, commas... - 8 - BYTE - - 34 - - - - TcVarGlobal - - - 323692200 - - - Global_Variables.AMSPORT_AMSLOGGER - TwinCAT Ams Logger port number - 16 - UINT - - 10502 - - - - TcVarGlobal - - - 323692208 - - - Global_Variables.EMPTY_ROUTE_ENTRY - eTransport := eRouteTransport_None see Workitem 7547 - 1184 - ST_AmsRouteEntry - - - .sName - - - - .sNetID - - - - .sAddress - - - - .tTimeout - 0 - - - .dwFlags - 0 - - - - - TcVarGlobal - - - 323692224 - - - Global_Variables.SYSTEMSERVICE_FFILEFIND - System Service file find function number - 32 - UDINT - - 133 - - - - TcVarGlobal - - - 323693408 - - - Global_Variables.HKEY_MAX_BINARY_DATA_SIZE - Max. byte size of binary registry value data - 32 - UDINT - - 500 - - - - TcVarGlobal - - - 323693440 - - - Global_Variables.AMSLOGGER_IGR_GENERAL - TwinCAT Ams Logger general index group - 32 - UDINT - - 4096 - - - - TcVarGlobal - - - 323693472 - - - Global_Variables.AMSLOGGER_IOF_MODE - TwinCAT Ams Logger mode - 32 - UDINT - - 1 - - - - TcVarGlobal - - - 323693504 - - - Global_Variables.FORMAT_MAX_ARGS - Format string constant: Max. number of format arguments in FB_FormatString - 16 - INT - - 10 - - - - TcVarGlobal - - - 323693536 - - - Global_Variables.FLOATREC_EXP_IS_NAN - T_FloatRec type and F_GetFloatRec function constant: The value is #NAN or -#NAN - 16 - INT - - -32768 - - - - TcVarGlobal - - - 323693552 - - - Global_Variables.FLOATREC_EXP_IS_INF - T_FloatRec type and F_GetFloatRec function constant: The value is #INF or -#INF - 16 - INT - - 32767 - - - - TcVarGlobal - - - 323693568 - - - Global_Variables.FLOATREC_MAX_DIGITS - T_FloatRec type and F_GetFloatRec function constant: Max. number of significant digits. Note: double precision floats have max. 15 significant digits - 16 - INT - - 20 - - - - TcVarGlobal - - - 323693584 - - - Global_Variables.FLOATREC_MAX_PRECISION - T_FloatRec type and F_GetFloatRec function constant: Max. floating point precision (1e-307) - 16 - INT - - 307 - - - - TcVarGlobal - - - 323693600 - - - Global_Variables.FLOATREC_MIN_PRECISION - T_FloatRec type and F_GetFloatRec function constant: Min. floating point precision - 16 - INT - - 0 - - - - TcVarGlobal - - - 323693616 - - - Global_Variables.FMTERR_NOERROR - FB_FormatString function block error code: No error - 32 - DWORD - - 0 - - - - TcVarGlobal - - - 323693632 - - - Global_Variables.FMTERR_PERCENTSIGNPOSITION - FB_FormatString function block error code: Percent sign (%) at invalid position - 32 - DWORD - - 16 - - - - TcVarGlobal - - - 323693664 - - - Global_Variables.FMTERR_ASTERISKPOSITION - FB_FormatString function block error code: Asterisk parameter at invalid position - 32 - DWORD - - 32 - - - - TcVarGlobal - - - 323693696 - - - Global_Variables.FMTERR_WIDTHVALUE - FB_FormatString function block error code: Invalid width field value - 32 - DWORD - - 64 - - - - TcVarGlobal - - - 323693728 - - - Global_Variables.FMTERR_PRECISIONVALUE - FB_FormatString function block error code: Invalid precision field value - 32 - DWORD - - 128 - - - - TcVarGlobal - - - 323693760 - - - Global_Variables.FMTERR_FLAGPOSITION - FB_FormatString function block error code: One of the flags at invalid position - 32 - DWORD - - 256 - - - - TcVarGlobal - - - 323693792 - - - Global_Variables.FMTERR_WIDTHPRECISIONVALPOS - FB_FormatString function block error code: The width or precision field value at invalid position - 32 - DWORD - - 512 - - - - TcVarGlobal - - - 323693824 - - - Global_Variables.FMTERR_PRECISIONDOTPOSITION - FB_FormatString function block error code: Dot "." sign of precision field at invalid position - 32 - DWORD - - 1024 - - - - TcVarGlobal - - - 323693856 - - - Global_Variables.FMTERR_TYPEFIELDVALUE - FB_FormatString function block error code: Invalid (unsupported) type field value - 32 - DWORD - - 2048 - - - - TcVarGlobal - - - 323693888 - - - Global_Variables.FMTERR_ARGTYPEINVALID - FB_FormatString function block error code: Different type field and argument parameter - 32 - DWORD - - 4096 - - - - TcVarGlobal - - - 323693920 - - - Global_Variables.FMTERR_UNACCEPTEDPARAMETER - FB_FormatString function block error code: Invalid format string parameters - 32 - DWORD - - 8192 - - - - TcVarGlobal - - - 323693952 - - - Global_Variables.FMTERR_INSUFFICIENTARGS - FB_FormatString function block error code: To much arguments in format string - 32 - DWORD - - 16384 - - - - TcVarGlobal - - - 323693984 - - - Global_Variables.FMTERR_DESTBUFFOVERFLOW - FB_FormatString function block error code: Destination string buffer overflow (formatted string is to long ) - 32 - DWORD - - 32768 - - - - TcVarGlobal - - - 323694016 - - - Global_Variables.FMTERR_INVALIDPOINTERINPUT - FB_FormatString function block error code: Invalid pointer input - 32 - DWORD - - 65536 - - - - TcVarGlobal - - - 323694048 - - - Global_Variables.EMPTY_ARG_VALUE - T_Arg empty value - 96 - T_Arg - - - .eType - 0 - - - .cbLen - 0 - - - .pData - 0 - - - - - TcVarGlobal - - - 323694080 - - - Global_Variables.FORMAT_HEXASC_CODES - 256 - BYTE - - 0 - 2 - - - 0 - 16 - - - - [0,0] - 48 - - - [0,1] - 49 - - - [0,2] - 50 - - - [0,3] - 51 - - - [0,4] - 52 - - - [0,5] - 53 - - - [0,6] - 54 - - - [0,7] - 55 - - - [0,8] - 56 - - - [0,9] - 57 - - - [0,10] - 97 - - - [0,11] - 98 - - - [0,12] - 99 - - - [0,13] - 100 - - - [0,14] - 101 - - - [0,15] - 102 - - - [1,0] - 48 - - - [1,1] - 49 - - - [1,2] - 50 - - - [1,3] - 51 - - - [1,4] - 52 - - - [1,5] - 53 - - - [1,6] - 54 - - - [1,7] - 55 - - - [1,8] - 56 - - - [1,9] - 57 - - - [1,10] - 65 - - - [1,11] - 66 - - - [1,12] - 67 - - - [1,13] - 68 - - - [1,14] - 69 - - - [1,15] - 70 - - - - - TcVarGlobal - - - 323694176 - - - Global_Variables.FORMAT_DECASC_CODES - ASCII to decimal and decimal digits to ASCII codes - 80 - BYTE - - 0 - 10 - - - - [0] - 48 - - - [1] - 49 - - - [2] - 50 - - - [3] - 51 - - - [4] - 52 - - - [5] - 53 - - - [6] - 54 - - - [7] - 55 - - - [8] - 56 - - - [9] - 57 - - - - - TcVarGlobal - - - 323694432 - - - Global_Variables.SYSTEMTIME_MAX_MONTHDAYS - 384 - WORD - - 0 - 2 - - - 1 - 12 - - - - [0,1] - 31 - - - [0,2] - 28 - - - [0,3] - 31 - - - [0,4] - 30 - - - [0,5] - 31 - - - [0,6] - 30 - - - [0,7] - 31 - - - [0,8] - 31 - - - [0,9] - 30 - - - [0,10] - 31 - - - [0,11] - 30 - - - [0,12] - 31 - - - [1,1] - 31 - - - [1,2] - 29 - - - [1,3] - 31 - - - [1,4] - 30 - - - [1,5] - 31 - - - [1,6] - 30 - - - [1,7] - 31 - - - [1,8] - 31 - - - [1,9] - 30 - - - [1,10] - 31 - - - [1,11] - 30 - - - [1,12] - 31 - - - - - TcVarGlobal - - - 323699920 - - - Global_Variables.SYSTEMTIME_MAX_YEARSDAY - 448 - WORD - - 0 - 2 - - - 0 - 14 - - - - [0,0] - 0 - - - [0,1] - 31 - - - [0,2] - 59 - - - [0,3] - 90 - - - [0,4] - 120 - - - [0,5] - 151 - - - [0,6] - 181 - - - [0,7] - 212 - - - [0,8] - 243 - - - [0,9] - 273 - - - [0,10] - 304 - - - [0,11] - 334 - - - [0,12] - 365 - - - [0,13] - 396 - - - [1,0] - 0 - - - [1,1] - 31 - - - [1,2] - 60 - - - [1,3] - 91 - - - [1,4] - 121 - - - [1,5] - 152 - - - [1,6] - 182 - - - [1,7] - 213 - - - [1,8] - 244 - - - [1,9] - 274 - - - [1,10] - 305 - - - [1,11] - 335 - - - [1,12] - 366 - - - [1,13] - 397 - - - - - TcVarGlobal - - - 323700304 - - - Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET - Number of past days since year zero until 1 January 1601 - 32 - DWORD - - 584389 - - - - TcVarGlobal - - - 323700768 - - - Global_Variables.SYSTEMTIME_TICKSPERMSEC - Number of 100ns ticks per millisecond - 64 - T_ULARGE_INTEGER - - - .dwHighPart - 0 - - - .dwLowPart - 10000 - - - - - TcVarGlobal - - - 323700800 - - - Global_Variables.SYSTEMTIME_TICKSPERSEC - Number of 100ns ticks per second - 64 - T_ULARGE_INTEGER - - - .dwHighPart - 0 - - - .dwLowPart - 10000000 - - - - - TcVarGlobal - - - 323700864 - - - Global_Variables.SYSTEMTIME_TICKSPERDAY - Number of 100ns ticks per day - 64 - T_ULARGE_INTEGER - - - .dwHighPart - 201 - - - .dwLowPart - 711573504 - - - - - TcVarGlobal - - - 323700928 - - - Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN - Min. DT value as file time DT#1970-01-01-00:00:00 - 64 - T_ULARGE_INTEGER - - - .dwHighPart - 27111902 - - - .dwLowPart - 3577643008 - - - - - TcVarGlobal - - - 323700992 - - - Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX - Max. DT value as file time DT#2106-02-06-06:28:15 - 64 - T_ULARGE_INTEGER - - - .dwHighPart - 37111701 - - - .dwLowPart - 2856069504 - - - - - TcVarGlobal - - - 323701056 - - - Global_Variables.SYSTEMTIME_TICKSPERMSEC64 - Number of 100ns ticks per millisecond - 64 - ULINT - - 10000 - - - - TcVarGlobal - - - 323701120 - - - Global_Variables.SYSTEMTIME_TICKSPERSEC64 - Number of 100ns ticks per second - 64 - ULINT - - 10000000 - - - - TcVarGlobal - - - 323701184 - - - Global_Variables.SYSTEMTIME_TICKSPERDAY64 - Number of 100ns ticks per day - 64 - ULINT - - 864000000000 - - - - TcVarGlobal - - - 323701248 - - - Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64 - Min. DT value as file time DT#1970-01-01-00:00:00 - 64 - ULINT - - 116444736000000000 - - - - TcVarGlobal - - - 323701312 - - - Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64 - Max. DT value as file time DT#2106-02-06-06:28:15 - 64 - ULINT - - 159393544950000000 - - - - TcVarGlobal - - - 323701376 - - - Global_Variables.WEST_EUROPE_TZI - 864 - ST_TimeZoneInformation - - - .bias - -60 - - - .standardName - W. Europe Standard Time - - - .standardDate.wYear - 0 - - - .standardDate.wMonth - 10 - - - .standardDate.wDayOfWeek - 0 - - - .standardDate.wDay - 5 - - - .standardDate.wHour - 3 - - - .standardBias - 0 - - - .daylightName - W. Europe Daylight Time - - - .daylightDate.wYear - 0 - - - .daylightDate.wMonth - 3 - - - .daylightDate.wDayOfWeek - 0 - - - .daylightDate.wDay - 5 - - - .daylightDate.wHour - 2 - - - .daylightBias - -60 - - - - - TcVarGlobal - - - 323701440 - - - Global_Variables.DATE_AND_TIME_SECPERDAY - Number of seconds per day - 32 - DWORD - - 86400 - - - - TcVarGlobal - - - 323706432 - - - Global_Variables.DATE_AND_TIME_SECPERWEEK - Number of seconds per week - 32 - DWORD - - 604800 - - - - TcVarGlobal - - - 323706464 - - - Global_Variables.DBG_OUTPUT_NONE - Disabled (no debug oputput) - 32 - DWORD - - 0 - - - - TcVarGlobal - - - 323712672 - - - Global_Variables.DBG_OUTPUT_LOG - Enabled, TwinCAT System Manager Log - 32 - DWORD - - 1 - - - - TcVarGlobal - - - 323712704 - - - Global_Variables.DBG_OUTPUT_FILE - Enabled, text file - 32 - DWORD - - 2 - - - - TcVarGlobal - - - 323712736 - - - Global_Variables.DBG_OUTPUT_VISU - reserved - 32 - DWORD - - 4 - - - - TcVarGlobal - - - 323712768 - - - Global_Variables.DEFAULT_CSV_RECORD_SEP_CR - CSV separator constant: cariage return => record separator (first character) - 8 - BYTE - - 13 - - - - TcVarGlobal - - - 323829936 - - - Global_Variables.DEFAULT_CSV_RECORD_SEP_LF - CSV separator constant: line feed => record separator (second character) - 8 - BYTE - - 10 - - - - TcVarGlobal - - - 323829944 - - - Global_Variables.EMPTY_GUID_STRUCT - 128 - GUID - - - .Data1 - 0 - - - .Data2 - 0 - - - .Data3 - 0 - - - .Data4[0] - 0 - - - .Data4[1] - 0 - - - .Data4[2] - 0 - - - .Data4[3] - 0 - - - .Data4[4] - 0 - - - .Data4[5] - 0 - - - .Data4[6] - 0 - - - .Data4[7] - 0 - - - - - TcVarGlobal - - - 323831680 - - - Global_Variables.EMPTY_GUID_STRING - 296 - STRING(36) - - 00000000-0000-0000-0000-000000000000 - - - - TcVarGlobal - - - 323831808 - - - Global_Variables.EMPTY_GUID_REGSTRING - 312 - STRING(38) - - {00000000-0000-0000-0000-000000000000} - - - - TcVarGlobal - - - 323832104 - - - DefaultGlobals.stSys - Included for you - 40 - ST_System - - - TcVarGlobal - - - 323832512 - - - GVL_Logger.bTrickleTripped - Global trickle trip flag - 8 - BOOL - - - pytmc - + The below array is only used for TEST_ORDERED()-tests. ]]>8000UINT1500LowerBorder1UpperBorder100TcVarGlobal315295520GVL_TcUnit.AdsMessageQueue8320864FB_AdsLogStringMessageFifoQueueTcVarGlobal315303520Global_Version.stLibVersion_TcUnit288ST_LibVersion.iMajor1.iMinor2.iBuild0.iRevision0.sVersion1.2.0.0const_non_replacedTcVarGlobal323624384Global_Version.stLibVersion_Tc2_Standard288ST_LibVersion.iMajor3.iMinor3.iBuild3.iRevision0.nFlags0.sVersion3.3.3.0const_non_replacedTcVarGlobal323624672Global_Version.stLibVersion_Tc2_System288ST_LibVersion.iMajor3.iMinor4.iBuild26.iRevision0.nFlags1.sVersion3.4.26.0const_non_replacedTcVarGlobal323624960Global_Variables.AMSPORT_LOGGER16UINT100TcVarGlobal323625248Global_Variables.AMSPORT_EVENTLOG16UINT110TcVarGlobal323625264Global_Variables.AMSPORT_R0_RTIME16UINT200TcVarGlobal323625280Global_Variables.AMSPORT_R0_IO16UINT300TcVarGlobal323625296Global_Variables.AMSPORT_R0_NC16UINT500TcVarGlobal323625312Global_Variables.AMSPORT_R0_NCSAF16UINT501TcVarGlobal323625328Global_Variables.AMSPORT_R0_NCSVB16UINT511TcVarGlobal323625344Global_Variables.AMSPORT_R0_ISG16UINT550TcVarGlobal323625360Global_Variables.AMSPORT_R0_CNC16UINT600TcVarGlobal323625376Global_Variables.AMSPORT_R0_LINE16UINT700TcVarGlobal323625392Global_Variables.AMSPORT_R0_PLC16UINT800TcVarGlobal323625408Global_Variables.AMSPORT_R0_PLC_RTS116UINT801TcVarGlobal323625424Global_Variables.AMSPORT_R0_PLC_RTS216UINT811TcVarGlobal323625440Global_Variables.AMSPORT_R0_PLC_RTS316UINT821TcVarGlobal323625456Global_Variables.AMSPORT_R0_PLC_RTS416UINT831TcVarGlobal323625472Global_Variables.AMSPORT_R0_CAM16UINT900TcVarGlobal323625488Global_Variables.AMSPORT_R0_CAMTOOL16UINT950TcVarGlobal323625504Global_Variables.AMSPORT_R3_SYSSERV16UINT10000TcVarGlobal323625520Global_Variables.AMSPORT_R3_SCOPESERVER16UINT14001TcVarGlobal323625536Global_Variables.ADSSTATE_INVALID16UINT0TcVarGlobal323625552Global_Variables.ADSSTATE_IDLE16UINT1TcVarGlobal323625568Global_Variables.ADSSTATE_RESET16UINT2TcVarGlobal323625584Global_Variables.ADSSTATE_INIT16UINT3TcVarGlobal323625600Global_Variables.ADSSTATE_START16UINT4TcVarGlobal323625616Global_Variables.ADSSTATE_RUN16UINT5TcVarGlobal323625632Global_Variables.ADSSTATE_STOP16UINT6TcVarGlobal323625648Global_Variables.ADSSTATE_SAVECFG16UINT7TcVarGlobal323625664Global_Variables.ADSSTATE_LOADCFG16UINT8TcVarGlobal323625680Global_Variables.ADSSTATE_POWERFAILURE16UINT9TcVarGlobal323625696Global_Variables.ADSSTATE_POWERGOOD16UINT10TcVarGlobal323625712Global_Variables.ADSSTATE_ERROR16UINT11TcVarGlobal323625728Global_Variables.ADSSTATE_SHUTDOWN16UINT12TcVarGlobal323625744Global_Variables.ADSSTATE_SUSPEND16UINT13TcVarGlobal323625760Global_Variables.ADSSTATE_RESUME16UINT14TcVarGlobal323625776Global_Variables.ADSSTATE_CONFIG16UINT15TcVarGlobal323625792Global_Variables.ADSSTATE_RECONFIG16UINT16TcVarGlobal323625808Global_Variables.ADSSTATE_STOPPING16UINT17TcVarGlobal323625824Global_Variables.ADSSTATE_INCOMPATIBLE16UINT18TcVarGlobal323625840Global_Variables.ADSSTATE_EXCEPTION16UINT19TcVarGlobal323625856Global_Variables.ADSSTATE_MAXSTATES16UINT20TcVarGlobal323625872Global_Variables.ADSIGRP_SYMTAB32UDINT61440TcVarGlobal323625888Global_Variables.ADSIGRP_SYMNAME32UDINT61441TcVarGlobal323625920Global_Variables.ADSIGRP_SYMVAL32UDINT61442TcVarGlobal323625952Global_Variables.ADSIGRP_SYM_HNDBYNAME32UDINT61443TcVarGlobal323625984Global_Variables.ADSIGRP_SYM_VALBYNAME32UDINT61444TcVarGlobal323626016Global_Variables.ADSIGRP_SYM_VALBYHND32UDINT61445TcVarGlobal323626048Global_Variables.ADSIGRP_SYM_RELEASEHND32UDINT61446TcVarGlobal323626080Global_Variables.ADSIGRP_SYM_INFOBYNAME32UDINT61447TcVarGlobal323626112Global_Variables.ADSIGRP_SYM_VERSION32UDINT61448TcVarGlobal323626144Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX32UDINT61449TcVarGlobal323626176Global_Variables.ADSIGRP_SYM_DOWNLOAD32UDINT61450TcVarGlobal323626208Global_Variables.ADSIGRP_SYM_UPLOAD32UDINT61451TcVarGlobal323626240Global_Variables.ADSIGRP_SYM_UPLOADINFO32UDINT61452TcVarGlobal323626272Global_Variables.ADSIGRP_SYMNOTE32UDINT61456TcVarGlobal323626304Global_Variables.ADSIGRP_IOIMAGE_RWIB32UDINT61472TcVarGlobal323626336Global_Variables.ADSIGRP_IOIMAGE_RWIX32UDINT61473TcVarGlobal323626368Global_Variables.ADSIGRP_IOIMAGE_RISIZE32UDINT61477TcVarGlobal323626400Global_Variables.ADSIGRP_IOIMAGE_RWOB32UDINT61488TcVarGlobal323626432Global_Variables.ADSIGRP_IOIMAGE_RWOX32UDINT61489TcVarGlobal323626464Global_Variables.ADSIGRP_IOIMAGE_ROSIZE32UDINT61493TcVarGlobal323626496Global_Variables.ADSIGRP_IOIMAGE_CLEARI32UDINT61504TcVarGlobal323626528Global_Variables.ADSIGRP_IOIMAGE_CLEARO32UDINT61520TcVarGlobal323626560Global_Variables.ADSIGRP_IOIMAGE_RWIOB32UDINT61536TcVarGlobal323626592Global_Variables.ADSIGRP_DEVICE_DATA32UDINT61696TcVarGlobal323626624Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE32UDINT0TcVarGlobal323626656Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE32UDINT2TcVarGlobal323626688Global_Variables.SYSTEMSERVICE_OPENCREATE32UDINT100TcVarGlobal323626720Global_Variables.SYSTEMSERVICE_OPENREAD32UDINT101TcVarGlobal323626752Global_Variables.SYSTEMSERVICE_OPENWRITE32UDINT102TcVarGlobal323626784Global_Variables.SYSTEMSERVICE_CREATEFILE32UDINT110TcVarGlobal323626816Global_Variables.SYSTEMSERVICE_CLOSEHANDLE32UDINT111TcVarGlobal323626848Global_Variables.SYSTEMSERVICE_FOPEN32UDINT120TcVarGlobal323626880Global_Variables.SYSTEMSERVICE_FCLOSE32UDINT121TcVarGlobal323626912Global_Variables.SYSTEMSERVICE_FREAD32UDINT122TcVarGlobal323626944Global_Variables.SYSTEMSERVICE_FWRITE32UDINT123TcVarGlobal323626976Global_Variables.SYSTEMSERVICE_FSEEK32UDINT124TcVarGlobal323627008Global_Variables.SYSTEMSERVICE_FTELL32UDINT125TcVarGlobal323627040Global_Variables.SYSTEMSERVICE_FGETS32UDINT126TcVarGlobal323627072Global_Variables.SYSTEMSERVICE_FPUTS32UDINT127TcVarGlobal323627104Global_Variables.SYSTEMSERVICE_FSCANF32UDINT128TcVarGlobal323627136Global_Variables.SYSTEMSERVICE_FPRINTF32UDINT129TcVarGlobal323627168Global_Variables.SYSTEMSERVICE_FEOF32UDINT130TcVarGlobal323627200Global_Variables.SYSTEMSERVICE_FDELETE32UDINT131TcVarGlobal323627232Global_Variables.SYSTEMSERVICE_FRENAME32UDINT132TcVarGlobal323627264Global_Variables.SYSTEMSERVICE_MKDIR32UDINT138TcVarGlobal323627296Global_Variables.SYSTEMSERVICE_RMDIR32UDINT139TcVarGlobal323627328Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE32UDINT200TcVarGlobal323627360Global_Variables.SYSTEMSERVICE_SENDEMAIL32UDINT300TcVarGlobal323627392Global_Variables.SYSTEMSERVICE_TIMESERVICES32UDINT400TcVarGlobal323627424Global_Variables.SYSTEMSERVICE_STARTPROCESS32UDINT500TcVarGlobal323627456Global_Variables.SYSTEMSERVICE_CHANGENETID32UDINT600TcVarGlobal323627488Global_Variables.TIMESERVICE_DATEANDTIME32UDINT1TcVarGlobal323627520Global_Variables.TIMESERVICE_SYSTEMTIMES32UDINT2TcVarGlobal323627552Global_Variables.TIMESERVICE_RTCTIMEDIFF32UDINT3TcVarGlobal323627584Global_Variables.TIMESERVICE_ADJUSTTIMETORTC32UDINT4TcVarGlobal323627616Global_Variables.TIMESERVICE_TIMEZONINFORMATION32UDINT6TcVarGlobal323627648Global_Variables.ADSLOG_MSGTYPE_HINT32DWORD1TcVarGlobal323627680Global_Variables.ADSLOG_MSGTYPE_WARN32DWORD2TcVarGlobal323627712Global_Variables.ADSLOG_MSGTYPE_ERROR32DWORD4TcVarGlobal323627744Global_Variables.ADSLOG_MSGTYPE_LOG32DWORD16TcVarGlobal323627776Global_Variables.ADSLOG_MSGTYPE_MSGBOX32DWORD32TcVarGlobal323627808Global_Variables.ADSLOG_MSGTYPE_RESOURCE32DWORD64TcVarGlobal323627840Global_Variables.ADSLOG_MSGTYPE_STRING32DWORD128TcVarGlobal323627872Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID8BYTE2TcVarGlobal323627904Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED8BYTE4TcVarGlobal323627912Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED8BYTE16TcVarGlobal323627920Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID8BYTE32TcVarGlobal323627928Global_Variables.SYSTEMSTATEFLAGS_BSOD8BYTE1TcVarGlobal323627936Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION8BYTE2TcVarGlobal323627944Global_Variables.TCEVENTFLAG_PRIOCLASS16WORD16TcVarGlobal323627952Global_Variables.FOPEN_MODEREAD32DWORD1TcVarGlobal323627968Global_Variables.FOPEN_MODEWRITE32DWORD2TcVarGlobal323628000Global_Variables.FOPEN_MODEAPPEND32DWORD4TcVarGlobal323628032Global_Variables.FOPEN_MODEPLUS32DWORD8TcVarGlobal323628064Global_Variables.FOPEN_MODEBINARY32DWORD16TcVarGlobal323628096Global_Variables.FOPEN_MODETEXT32DWORD32TcVarGlobal323628128Global_Variables.TCEVENTFLAG_FMTSELF16WORD32TcVarGlobal323628384Global_Variables.TCEVENTFLAG_LOG16WORD64TcVarGlobal323628400Global_Variables.TCEVENTFLAG_MSGBOX16WORD128TcVarGlobal323628416Global_Variables.TCEVENTFLAG_SRCID16WORD256TcVarGlobal323628432Global_Variables.TCEVENTFLAG_AUTOFMTALL16WORD4096TcVarGlobal323628448Global_Variables.TCEVENTSTATE_INVALID16WORD0TcVarGlobal323628464Global_Variables.TCEVENTSTATE_SIGNALED16WORD1TcVarGlobal323628480Global_Variables.TCEVENTSTATE_RESET16WORD2TcVarGlobal323628496Global_Variables.TCEVENTSTATE_CONFIRMED16WORD16TcVarGlobal323628512Global_Variables.TCEVENTSTATE_RESETCON16WORD18TcVarGlobal323628528Global_Variables.TCEVENT_SRCNAMESIZE16INT15TcVarGlobal323628544Global_Variables.TCEVENT_FMTPRGSIZE16INT31TcVarGlobal323628560Global_Variables.DEFAULT_ADS_TIMEOUT32TIME5000TcVarGlobal323628576Global_Variables.PI64LREAL3.14159265358979TcVarGlobal323628608Global_Variables.MAX_STRING_LENGTH32UDINT255TcVarGlobal323628672Global_Variables.eWatchdogConfig16E_WATCHDOG_TIME_CONFIG0TcVarGlobal323629216Global_Variables.nWatchdogTime8BYTETcVarGlobal323629232Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK8BOOL0TcVarGlobal323629240Global_Version.stLibVersion_Tc3_Module288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.sVersion3.3.21.0const_non_replacedTcVarGlobal323629248Global_Version.stLibVersion_Tc2_Utilities288ST_LibVersion.iMajor3.iMinor3.iBuild54.iRevision0.nFlags1.sVersion3.3.54.0const_non_replacedTcVarGlobal323629856Global_Variables.MAX_AVERAGE_MEASURES16INT10LowerBorder2UpperBorder100TcVarGlobal323630144Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE16E_HashPrefixTypes0TcVarGlobal323630160Global_Variables.GLOBAL_SBCS_TABLE16E_SBCSType1TcVarGlobal323630176Global_Variables.DEFAULT_CSV_FIELD_SEP german field separator, comma (,) := 16#2C => US field separator ]]>8BYTE59TcVarGlobal323630192Global_Variables.MAX_ROUTE_NAME_LEN8BYTE31TcVarGlobal323630200Global_Variables.GLOBAL_DCF77_PULSE_SPLIT pulse < 140ms, Bit == 1 => pulse >= 140ms ]]>32TIME140TcVarGlobal323630208Global_Variables.MAX_ADAPTER_NAME_LENGTH32UDINT259TcVarGlobal323691712Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH32UDINT131TcVarGlobal323691744Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH32UDINT7TcVarGlobal323691776Global_Variables.SYSTEMSERVICE_IPHELPERAPI32UDINT701TcVarGlobal323691808Global_Variables.SYSTEMSERVICE_IPHOSTNAME32UDINT702TcVarGlobal323691840Global_Variables.IPHELPERAPI_ADAPTERSINFO32UDINT1TcVarGlobal323691872Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME32UDINT4TcVarGlobal323691904Global_Variables.MAX_LOCAL_ADAPTERS32UDINT5TcVarGlobal323691936Global_Variables.SYSTEMSERVICE_ADDREMOTE32UDINT801TcVarGlobal323691968Global_Variables.SYSTEMSERVICE_DELREMOTE32UDINT802TcVarGlobal323692000Global_Variables.SYSTEMSERVICE_ENUMREMOTE32UDINT803TcVarGlobal323692032Global_Variables.MAX_REMOTE_PCS16INT99TcVarGlobal323692064Global_Variables.MAX_ROUTE_ADDR_LEN8BYTE79TcVarGlobal323692080Global_Variables.MIN_ROUTE_TRANSPORT8BYTE0TcVarGlobal323692088Global_Variables.ROUTE_FLAG_TEMPORARY32DWORD1TcVarGlobal323692096Global_Variables.ROUTE_FLAG_DYNAMIC32DWORD2TcVarGlobal323692128Global_Variables.ROUTE_FLAG_NOOVERRIDE32DWORD4TcVarGlobal323692160Global_Variables.MAX_ROUTE_TRANSPORT8BYTE12TcVarGlobal323692192Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE used to enclose special characters like line breaks, double-quotes, commas... ]]>8BYTE34TcVarGlobal323692200Global_Variables.AMSPORT_AMSLOGGER16UINT10502TcVarGlobal323692208Global_Variables.EMPTY_ROUTE_ENTRY1184ST_AmsRouteEntry.sName.sNetID.sAddress.tTimeout0.dwFlags0TcVarGlobal323692224Global_Variables.SYSTEMSERVICE_FFILEFIND32UDINT133TcVarGlobal323693408Global_Variables.HKEY_MAX_BINARY_DATA_SIZE32UDINT500TcVarGlobal323693440Global_Variables.AMSLOGGER_IGR_GENERAL32UDINT4096TcVarGlobal323693472Global_Variables.AMSLOGGER_IOF_MODE32UDINT1TcVarGlobal323693504Global_Variables.FORMAT_MAX_ARGS16INT10TcVarGlobal323693536Global_Variables.FLOATREC_EXP_IS_NAN16INT-32768TcVarGlobal323693552Global_Variables.FLOATREC_EXP_IS_INF16INT32767TcVarGlobal323693568Global_Variables.FLOATREC_MAX_DIGITS16INT20TcVarGlobal323693584Global_Variables.FLOATREC_MAX_PRECISION16INT307TcVarGlobal323693600Global_Variables.FLOATREC_MIN_PRECISION16INT0TcVarGlobal323693616Global_Variables.FMTERR_NOERROR32DWORD0TcVarGlobal323693632Global_Variables.FMTERR_PERCENTSIGNPOSITION32DWORD16TcVarGlobal323693664Global_Variables.FMTERR_ASTERISKPOSITION32DWORD32TcVarGlobal323693696Global_Variables.FMTERR_WIDTHVALUE32DWORD64TcVarGlobal323693728Global_Variables.FMTERR_PRECISIONVALUE32DWORD128TcVarGlobal323693760Global_Variables.FMTERR_FLAGPOSITION32DWORD256TcVarGlobal323693792Global_Variables.FMTERR_WIDTHPRECISIONVALPOS32DWORD512TcVarGlobal323693824Global_Variables.FMTERR_PRECISIONDOTPOSITION32DWORD1024TcVarGlobal323693856Global_Variables.FMTERR_TYPEFIELDVALUE32DWORD2048TcVarGlobal323693888Global_Variables.FMTERR_ARGTYPEINVALID32DWORD4096TcVarGlobal323693920Global_Variables.FMTERR_UNACCEPTEDPARAMETER32DWORD8192TcVarGlobal323693952Global_Variables.FMTERR_INSUFFICIENTARGS32DWORD16384TcVarGlobal323693984Global_Variables.FMTERR_DESTBUFFOVERFLOW32DWORD32768TcVarGlobal323694016Global_Variables.FMTERR_INVALIDPOINTERINPUT32DWORD65536TcVarGlobal323694048Global_Variables.EMPTY_ARG_VALUE96T_Arg.eType0.cbLen0.pData0TcVarGlobal323694080Global_Variables.FORMAT_HEXASC_CODES256BYTE02016[0,0]48[0,1]49[0,2]50[0,3]51[0,4]52[0,5]53[0,6]54[0,7]55[0,8]56[0,9]57[0,10]97[0,11]98[0,12]99[0,13]100[0,14]101[0,15]102[1,0]48[1,1]49[1,2]50[1,3]51[1,4]52[1,5]53[1,6]54[1,7]55[1,8]56[1,9]57[1,10]65[1,11]66[1,12]67[1,13]68[1,14]69[1,15]70TcVarGlobal323694176Global_Variables.FORMAT_DECASC_CODES80BYTE010[0]48[1]49[2]50[3]51[4]52[5]53[6]54[7]55[8]56[9]57TcVarGlobal323694432Global_Variables.SYSTEMTIME_MAX_MONTHDAYS384WORD02112[0,1]31[0,2]28[0,3]31[0,4]30[0,5]31[0,6]30[0,7]31[0,8]31[0,9]30[0,10]31[0,11]30[0,12]31[1,1]31[1,2]29[1,3]31[1,4]30[1,5]31[1,6]30[1,7]31[1,8]31[1,9]30[1,10]31[1,11]30[1,12]31TcVarGlobal323699920Global_Variables.SYSTEMTIME_MAX_YEARSDAY448WORD02014[0,0]0[0,1]31[0,2]59[0,3]90[0,4]120[0,5]151[0,6]181[0,7]212[0,8]243[0,9]273[0,10]304[0,11]334[0,12]365[0,13]396[1,0]0[1,1]31[1,2]60[1,3]91[1,4]121[1,5]152[1,6]182[1,7]213[1,8]244[1,9]274[1,10]305[1,11]335[1,12]366[1,13]397TcVarGlobal323700304Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET32DWORD584389TcVarGlobal323700768Global_Variables.SYSTEMTIME_TICKSPERMSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000TcVarGlobal323700800Global_Variables.SYSTEMTIME_TICKSPERSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000000TcVarGlobal323700864Global_Variables.SYSTEMTIME_TICKSPERDAY64T_ULARGE_INTEGER.dwHighPart201.dwLowPart711573504TcVarGlobal323700928Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64T_ULARGE_INTEGER.dwHighPart27111902.dwLowPart3577643008TcVarGlobal323700992Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64T_ULARGE_INTEGER.dwHighPart37111701.dwLowPart2856069504TcVarGlobal323701056Global_Variables.SYSTEMTIME_TICKSPERMSEC6464ULINT10000TcVarGlobal323701120Global_Variables.SYSTEMTIME_TICKSPERSEC6464ULINT10000000TcVarGlobal323701184Global_Variables.SYSTEMTIME_TICKSPERDAY6464ULINT864000000000TcVarGlobal323701248Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN6464ULINT116444736000000000TcVarGlobal323701312Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX6464ULINT159393544950000000TcVarGlobal323701376Global_Variables.WEST_EUROPE_TZI864ST_TimeZoneInformation.bias-60.standardNameW. Europe Standard Time.standardDate.wYear0.standardDate.wMonth10.standardDate.wDayOfWeek0.standardDate.wDay5.standardDate.wHour3.standardBias0.daylightNameW. Europe Daylight Time.daylightDate.wYear0.daylightDate.wMonth3.daylightDate.wDayOfWeek0.daylightDate.wDay5.daylightDate.wHour2.daylightBias-60TcVarGlobal323701440Global_Variables.DATE_AND_TIME_SECPERDAY32DWORD86400TcVarGlobal323706432Global_Variables.DATE_AND_TIME_SECPERWEEK32DWORD604800TcVarGlobal323706464Global_Variables.DBG_OUTPUT_NONE32DWORD0TcVarGlobal323712672Global_Variables.DBG_OUTPUT_LOG32DWORD1TcVarGlobal323712704Global_Variables.DBG_OUTPUT_FILE32DWORD2TcVarGlobal323712736Global_Variables.DBG_OUTPUT_VISU32DWORD4TcVarGlobal323712768Global_Variables.DEFAULT_CSV_RECORD_SEP_CR record separator (first character) ]]>8BYTE13TcVarGlobal323829936Global_Variables.DEFAULT_CSV_RECORD_SEP_LF record separator (second character) ]]>8BYTE10TcVarGlobal323829944Global_Variables.EMPTY_GUID_STRUCT128GUID.Data10.Data20.Data30.Data4[0]0.Data4[1]0.Data4[2]0.Data4[3]0.Data4[4]0.Data4[5]0.Data4[6]0.Data4[7]0TcVarGlobal323831680Global_Variables.EMPTY_GUID_STRING296STRING(36)00000000-0000-0000-0000-000000000000TcVarGlobal323831808Global_Variables.EMPTY_GUID_REGSTRING312STRING(38){00000000-0000-0000-0000-000000000000}TcVarGlobal323832104DefaultGlobals.stSys40ST_SystemTcVarGlobal323832512GVL_Logger.bTrickleTripped8BOOLpytmc pv: @(PREFIX)LCLSGeneral:GlobalLogTrickleTrip io: i field: DESC Tripped by overall log count - - - - TcVarGlobal - - - 323832552 - - - GeneralConstants.MAX_STATES - 16 including "Unknown" is the max for an EPICS MBBI/MBBO + TcVarGlobal323832552GeneralConstants.MAX_STATES - 16 - UINT - - 15 - - - - TcVarGlobal - - - 323832560 - - - DefaultGlobals.fTimeStamp - 64 - LREAL - - - TcVarGlobal - - - 323832576 - - - GVL_Logger.cLogHost - + You can make this larger if you want to use states-based FBs sized beyond the EPICS enum limit]]>16UINT15TcVarGlobal323832560DefaultGlobals.fTimeStamp64LREALTcVarGlobal323832576GVL_Logger.cLogHost - 128 - STRING(15) - - 172.21.32.36 - - - - pytmc - + ]]>128STRING(15)172.21.32.36pytmc pv: @(PREFIX)LCLSGeneral:LogHost io: io field: DESC The log host IP address - - - - TcVarGlobal - - - 323832640 - - - GVL_Logger.iLogPort - 16 - UINT - - 54321 - - - - pytmc - + TcVarGlobal323832640GVL_Logger.iLogPort16UINT54321pytmc pv: @(PREFIX)LCLSGeneral:LogPort io: io field: DESC The log host UDP port - - - - TcVarGlobal - - - 323832768 - - - GVL_Logger.sIpTidbit - 56 - STRING(6) - - 172.21 - - - - TcVarGlobal - - - 323832784 - - - GVL_Logger.nMinTimeViolationAcceptable - Trip if `nLocalTripThreshold` exceeded `nMinTimeViolationAcceptable` times - 16 - INT - - 5 - - - - TcVarGlobal - - - 323832848 - - - GVL_Logger.nLocalTripThreshold - Minimum time between log messages - 32 - TIME - - 1 - - - - TcVarGlobal - - - 323832864 - - - GVL_Logger.nLocalTrickleTripThreshold - Default trickle trip, activated by global threshold - 32 - TIME - - 100 - - - - TcVarGlobal - - - 323832896 - - - GVL_Logger.nTrickleTripTime - Default time for log-handler to recognize a trickle overload condition, many log-message FB occasionally creating a message - 32 - TIME - - 10000 - - - - TcVarGlobal - - - 323832928 - - - GVL_Logger.nTripResetPeriod - Default time for CB auto-reset - 32 - TIME - - 600000 - - - - TcVarGlobal - - - 323832960 - - - GVL_Logger.sPlcHostname - 648 - STRING(80) - - unknown - - - - TcVarGlobal - - - 323832992 - - - Global_Constants.EMPTY_SEVERITY - 16 - TcEventSeverity - - 0 - - - - TcVarGlobal - - - 323833648 - - - GVL_Logger.TCPADS_MAXUDP_BUFFSIZE - Ref: https://infosys.beckhoff.com/english.php?content=../content/1033/tcpipserver/html/TcPlcLibTcpIp_FB_SocketUdpSendTo.htm + TcVarGlobal323832768GVL_Logger.sIpTidbit56STRING(6)172.21TcVarGlobal323832784GVL_Logger.nMinTimeViolationAcceptable16INT5TcVarGlobal323832848GVL_Logger.nLocalTripThreshold32TIME1TcVarGlobal323832864GVL_Logger.nLocalTrickleTripThreshold32TIME100TcVarGlobal323832896GVL_Logger.nTrickleTripTime32TIME10000TcVarGlobal323832928GVL_Logger.nTripResetPeriod32TIME600000TcVarGlobal323832960GVL_Logger.sPlcHostname648STRING(80)unknownTcVarGlobal323832992Global_Constants.EMPTY_SEVERITY16TcEventSeverity0TcVarGlobal323833648GVL_Logger.TCPADS_MAXUDP_BUFFSIZE - 32 - UDINT - - 10000 - - - - analysis - -33 - - - TcVarGlobal - - - 323833664 - - - GVL_Logger.nGlobAccEvents - Global log message count - 32 - UDINT - - - pytmc - + TwinCAT PLC Control->"Project->Options...->Build" dialog window. + ]]>32UDINT10000analysis-33TcVarGlobal323833664GVL_Logger.nGlobAccEvents32UDINTpytmc pv: @(PREFIX)LCLSGeneral:LogMessageCount io: i field: DESC Total log messages on the last cycle - - - - TcVarGlobal - - - 323833696 - - - GVL_Logger.fbRootLogger - Instantiated here to be used everywhere - 81984 - FB_LogMessage - - - TcVarGlobal - - - 323833728 - - - Global_Version.stLibVersion_Tc2_EtherCAT - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 21 - - - .iRevision - 0 - - - .nFlags - 1 - - - .sVersion - 3.3.21.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323915712 - - - Global_Version.stLibVersion_Tc2_IoFunctions - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 13 - - - .iRevision - 0 - - - .nFlags - 0 - - - .sVersion - 3.3.13.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323916000 - - - Global_Version.stLibVersion_Tc2_ModbusSrv - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 2 - - - .iRevision - 0 - - - .sVersion - 3.3.2.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323916288 - - - Global_Version.stLibVersion_Tc2_SerialCom - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 10 - - - .iRevision - 0 - - - .nFlags - 0 - - - .sVersion - 3.3.10.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323916576 - - - Global_Constants.EMPTY_EVENT_CLASS - 128 - GUID - - - .Data1 - 0 - - - .Data2 - 0 - - - .Data3 - 0 - - - .Data4[0] - 0 - - - .Data4[1] - 0 - - - .Data4[2] - 0 - - - .Data4[3] - 0 - - - .Data4[4] - 0 - - - .Data4[5] - 0 - - - .Data4[6] - 0 - - - .Data4[7] - 0 - - - - - TcVarGlobal - - - 323916864 - - - Global_Constants.EMPTY_EVENT_ID - 32 - UDINT - - 0 - - - - TcVarGlobal - - - 323916992 - - - Global_Constants.SUCCESS_EVENT - 192 - TcEventEntry - - - .uuidEventClass.Data1 - 0 - - - .uuidEventClass.Data2 - 0 - - - .uuidEventClass.Data3 - 0 - - - .uuidEventClass.Data4[0] - 0 - - - .uuidEventClass.Data4[1] - 0 - - - .uuidEventClass.Data4[2] - 0 - - - .uuidEventClass.Data4[3] - 0 - - - .uuidEventClass.Data4[4] - 0 - - - .uuidEventClass.Data4[5] - 0 - - - .uuidEventClass.Data4[6] - 0 - - - .uuidEventClass.Data4[7] - 0 - - - .nEventID - 0 - - - .eSeverity - 0 - - - - - TcVarGlobal - - - 323917024 - - - GVL.nLangId_OnlineMonitoring - language id for online monitoring; English(US)=1033 ; German(Germany)=1031 - 32 - DINT - - 1033 - - - - TcVarGlobal - - - 323917216 - - - ParameterList.cSourceNameSize - size [bytes] for source names (recommended is a size between 128 and 512) - 32 - UDINT - - 256 - - - - LowerBorder - 81 - - - UpperBorder - 10000 - - - TcVarGlobal - - - 323917248 - - - Global_Version.stLibVersion_Tc3_EventLogger - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 1 - - - .iBuild - 33 - - - .iRevision - 0 - - - .nFlags - 1 - - - .sVersion - 3.1.33.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323917280 - - - GVL_INTERNAL.UNINITIALIZED_CLASS_GUID - {E7A4B1E0-F4CF-4733-95D5-73DF084B60F8} - 128 - GUID - - - .Data1 - 3886330336 - - - .Data2 - 62671 - - - .Data3 - 18227 - - - .Data4[0] - 149 - - - .Data4[1] - 213 - - - .Data4[2] - 115 - - - .Data4[3] - 223 - - - .Data4[4] - 8 - - - .Data4[5] - 75 - - - .Data4[6] - 96 - - - .Data4[7] - 248 - - - - - TcVarGlobal - - - 323917568 - - - .TCPADS_MAXUDP_BUFFSIZE - 32 - UDINT - - 8192 - - - - TcVarGlobal - - - 323917696 - - - Global_Version.stLibVersion_Tc3_JsonXml - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 18 - - - .iRevision - 0 - - - .nFlags - 1 - - - .sVersion - 3.3.18.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323917728 - - - Global_Version.stLibVersion_Tc2_MC2 - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 48 - - - .iRevision - 0 - - - .nFlags - 1 - - - .sVersion - 3.3.48.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323918016 - - - Global_Variables.TcMcGlobal - 6976 - _TCMCGLOBAL - - - TcVarGlobal - - - 323918304 - - - Global_Variables.DEFAULT_HOME_POSITION - 64 - LREAL - - 1E+307 - - - - TcVarGlobal - - - 323925312 - - - Global_Variables.DEFAULT_BACKLASHVALUE - 64 - LREAL - - 1E+307 - - - - TcVarGlobal - - - 323925376 - - - Global_Version.stLibVersion_Tc2_Math - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 1 - - - .iRevision - 0 - - - .sVersion - 3.3.1.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 323925440 - - - MAIN.fbSetPERanges - 32 - PE_Ranges - 323976608 - - - MAIN.fbDiffBPTest - 33551744 - FB_DiffBP_Test - 323976640 - - - MAIN.fbBPTMTest - 38612160 - FB_BPTM_Test - 357528384 - - - MAIN.fbSafeBPCompareTest - 33551744 - FB_SafeBPCompare_Test - 396140544 - - - MAIN.fbFFTest - /fbevWithinSpecTest : FB_evWithinSpec_Test;--- -/fbPEWTest : FB_PhotonEnergyWatcher_Test;--- - 35220288 - FB_FastFault_Test - 429692288 - - - MAIN.fbArbiterTest - 38020224 - FB_Arbiter_Test - 464912576 - - - MAIN.fbVetoArbiterTest - 35025408 - FB_VetoArbiter_Test - 502932800 - - - MAIN.fbevRangeCalcTest - 33551808 - FB_evRangeCalculator_Test - 537958208 - - - MAIN.fbSubSysToArbTest - 35804096 - FB_SubsysToArb_Test - 571510016 - - - MAIN.fbArbToSubSysTest - 34558784 - FB_ArbToSubsys_Test - 607314112 - - - PMPS_GVL.AUX_ATTENUATORS - Maximum # of attenuators in the PMPS - 16 - UINT - - 16 - - - - TcVarGlobal - - - 641872912 - - - PMPS_GVL.stRequestedBeamParameters - Summarized request for the line, as recognized by the line arbiter PLC - 1760 - ST_BeamParams - - - pytmc - + TcVarGlobal323833696GVL_Logger.fbRootLogger81984FB_LogMessageTcVarGlobal323833728Global_Version.stLibVersion_Tc2_EtherCAT288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.nFlags1.sVersion3.3.21.0const_non_replacedTcVarGlobal323915712Global_Version.stLibVersion_Tc2_IoFunctions288ST_LibVersion.iMajor3.iMinor3.iBuild13.iRevision0.nFlags0.sVersion3.3.13.0const_non_replacedTcVarGlobal323916000Global_Version.stLibVersion_Tc2_ModbusSrv288ST_LibVersion.iMajor3.iMinor3.iBuild2.iRevision0.sVersion3.3.2.0const_non_replacedTcVarGlobal323916288Global_Version.stLibVersion_Tc2_SerialCom288ST_LibVersion.iMajor3.iMinor3.iBuild10.iRevision0.nFlags0.sVersion3.3.10.0const_non_replacedTcVarGlobal323916576Global_Constants.EMPTY_EVENT_CLASS128GUID.Data10.Data20.Data30.Data4[0]0.Data4[1]0.Data4[2]0.Data4[3]0.Data4[4]0.Data4[5]0.Data4[6]0.Data4[7]0TcVarGlobal323916864Global_Constants.EMPTY_EVENT_ID32UDINT0TcVarGlobal323916992Global_Constants.SUCCESS_EVENT192TcEventEntry.uuidEventClass.Data10.uuidEventClass.Data20.uuidEventClass.Data30.uuidEventClass.Data4[0]0.uuidEventClass.Data4[1]0.uuidEventClass.Data4[2]0.uuidEventClass.Data4[3]0.uuidEventClass.Data4[4]0.uuidEventClass.Data4[5]0.uuidEventClass.Data4[6]0.uuidEventClass.Data4[7]0.nEventID0.eSeverity0TcVarGlobal323917024GVL.nLangId_OnlineMonitoring32DINT1033TcVarGlobal323917216ParameterList.cSourceNameSize32UDINT256LowerBorder81UpperBorder10000TcVarGlobal323917248Global_Version.stLibVersion_Tc3_EventLogger288ST_LibVersion.iMajor3.iMinor1.iBuild33.iRevision0.nFlags1.sVersion3.1.33.0const_non_replacedTcVarGlobal323917280GVL_INTERNAL.UNINITIALIZED_CLASS_GUID128GUID.Data13886330336.Data262671.Data318227.Data4[0]149.Data4[1]213.Data4[2]115.Data4[3]223.Data4[4]8.Data4[5]75.Data4[6]96.Data4[7]248TcVarGlobal323917568.TCPADS_MAXUDP_BUFFSIZE32UDINT8192TcVarGlobal323917696Global_Version.stLibVersion_Tc3_JsonXml288ST_LibVersion.iMajor3.iMinor3.iBuild18.iRevision0.nFlags1.sVersion3.3.18.0const_non_replacedTcVarGlobal323917728Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild48.iRevision0.nFlags1.sVersion3.3.48.0const_non_replacedTcVarGlobal323918016Global_Variables.TcMcGlobal6976_TCMCGLOBALTcVarGlobal323918304Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal323925312Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal323925376Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal323925440MAIN.fbSetPERanges32PE_Ranges323976608MAIN.fbDiffBPTest33551744FB_DiffBP_Test323976640MAIN.fbBPTMTest38612160FB_BPTM_Test357528384MAIN.fbSafeBPCompareTest33551744FB_SafeBPCompare_Test396140544MAIN.fbFFTest35220288FB_FastFault_Test429692288MAIN.fbArbiterTest38020224FB_Arbiter_Test464912576MAIN.fbVetoArbiterTest35025408FB_VetoArbiter_Test502932800MAIN.fbevRangeCalcTest33551808FB_evRangeCalculator_Test537958208MAIN.fbSubSysToArbTest35804096FB_SubsysToArb_Test571510016MAIN.fbArbToSubSysTest34558784FB_ArbToSubsys_Test607314112PMPS_GVL.AUX_ATTENUATORS16UINT16TcVarGlobal641872912PMPS_GVL.stRequestedBeamParameters1760ST_BeamParamspytmc pv: @(PREFIX)RequestedBP io: i archive: 1Hz monitor - - - - TcVarGlobal - - - 641873440 - - - PMPS_GVL.stCurrentBeamParameters - Currently active BP set, broadcast by the line arbiter PLC - 1760 - ST_BeamParams - - - pytmc - + TcVarGlobal641873440PMPS_GVL.stCurrentBeamParameters1760ST_BeamParamspytmc pv: @(PREFIX)CurrentBP io: i archive: 1Hz monitor - - - - TcVarGlobal - - - 641875200 - - - PMPS_GVL.g_areVBoundaries - 1024 - REAL - - 0 - 32 - - - - pytmc - + TcVarGlobal641875200PMPS_GVL.g_areVBoundaries1024REAL032pytmc pv: @(PREFIX)eVRangeCnst io: i archive: 1Hz monitor field: DESC Active eV Range constants field: EGU eV - - - - TcVarGlobal - - - 641876960 - - - PMPS_GVL.PERange - Included to place the ev ranges properly - 32 - PE_Ranges - - - TcVarGlobal - - - 641877984 - - - PMPS_GVL.EXCLUDED_ASSERTION_ID - An assertion ID that should always return "not found" in the assertion pool - 32 - UDINT - - 4294967295 - - - - TcVarGlobal - - - 641878016 - - - PMPS_GVL.MAX_DEVICE_STATES - 32 - UDINT - - 300 - - - - TcVarGlobal - - - 641878048 - - - PMPS_GVL.VISIBLE_TEST_VELOCITY - 64 - LREAL - - 10 - - - - TcVarGlobal - - - 641878080 - - - PMPS_GVL.FAST_TEST_VELOCITY - 64 - LREAL - - 100 - - - - TcVarGlobal - - - 641878144 - - - PMPS_GVL.TRANS_SCALING_FACTOR - Scaling factor for fixed-point transmission - 32 - REAL - - 1 - - - - TcVarGlobal - - - 641878208 - - - PMPS_GVL.MAX_VETO_DEVICES - 16 - UINT - - 16 - - - - TcVarGlobal - - - 641878240 - - - PMPS_GVL.cnMaxStateArrayLen - {attribute 'pytmc' := ' + TcVarGlobal641876960PMPS_GVL.PERange32PE_RangesTcVarGlobal641877984PMPS_GVL.EXCLUDED_ASSERTION_ID32UDINT4294967295TcVarGlobal641878016PMPS_GVL.MAX_DEVICE_STATES32UDINT300TcVarGlobal641878048PMPS_GVL.VISIBLE_TEST_VELOCITY64LREAL10TcVarGlobal641878080PMPS_GVL.FAST_TEST_VELOCITY64LREAL100TcVarGlobal641878144PMPS_GVL.TRANS_SCALING_FACTOR32REAL1TcVarGlobal641878208PMPS_GVL.MAX_VETO_DEVICES16UINT16TcVarGlobal641878240PMPS_GVL.cnMaxStateArrayLen - 16 - INT - - 20 - - - - TcVarGlobal - - - 641878256 - - - PMPS_GVL.stAttenuators - 64 - ST_PMPS_Attenuator - - - .nTran - 1 - - - .xAttOK - 1 - - - - - TcVarGlobal - - - 641878272 - - - PMPS_GVL.cstFullBeam - 1760 - ST_BeamParams - - - pytmc - + );]]>16INT20TcVarGlobal641878256PMPS_GVL.stAttenuators64ST_PMPS_Attenuator.nTran1.xAttOK1TcVarGlobal641878272PMPS_GVL.cstFullBeam1760ST_BeamParamspytmc pv: @(PREFIX)FullBeamCnst io: i archive: 1Hz monitor field: DESC Full beam constant - - - - TcVarGlobal - - - 641878336 - - - PMPS_GVL.cst0RateBeam - 1760 - ST_BeamParams - - - pytmc - + TcVarGlobal641878336PMPS_GVL.cst0RateBeam1760ST_BeamParamspytmc pv: @(PREFIX)0RateBeamCnst io: i archive: 1Hz monitor field: DESC 0-rate beam constant - - - - TcVarGlobal - - - 641880096 - - - PMPS_GVL.MAX_APERTURES - Maximum # of power slits in the PMPS - 16 - UINT - - 4 - - - - TcVarGlobal - - - 641881856 - - - PMPS_GVL.g_cBoundaries - 16 - INT - - 31 - - - - TcVarGlobal - - - 641881872 - - - PMPS_GVL.DUMMY_AUX_ATT_ARRAY - 1024 - ST_PMPS_Attenuator - - 1 - 16 - - - - suppress_warning_0 - C0228 - - - TcVarGlobal - - - 641881888 - - - PMPS_GVL.reVHyst - /////////////////////// + TcVarGlobal641880096PMPS_GVL.MAX_APERTURES16UINT4TcVarGlobal641881856PMPS_GVL.g_cBoundaries16INT31TcVarGlobal641881872PMPS_GVL.DUMMY_AUX_ATT_ARRAY1024ST_PMPS_Attenuator116suppress_warning_0C0228TcVarGlobal641881888PMPS_GVL.reVHyst - 32 - REAL - - 5 - - - - pytmc - +////////////////////////////////////]]>32REAL5pytmc pv: @(PREFIX)eVRangeHyst io: i archive: 1Hz monitor field: DESC eV Range hystersis field: EGU eV - - - - TcVarGlobal - - - 641882912 - - - PMPS_GVL.g_areVBoundariesL - 1024 - REAL - - 0 - 32 - - - - [0] - 1000 - - - [1] - 1700 - - - [2] - 2100 - - - [3] - 2500 - - - [4] - 3800 - - - [5] - 4000 - - - [6] - 5000 - - - [7] - 7000 - - - [8] - 7500 - - - [9] - 7700 - - - [10] - 8900 - - - [11] - 10000 - - - [12] - 11100 - - - [13] - 12000 - - - [14] - 13000 - - - [15] - 13500 - - - [16] - 14000 - - - [17] - 16900 - - - [18] - 18000 - - - [19] - 20000 - - - [20] - 22000 - - - [21] - 24000 - - - [22] - 25000 - - - [23] - 25500 - - - [24] - 26000 - - - [25] - 27000 - - - [26] - 28000 - - - [27] - 28500 - - - [28] - 29000 - - - [29] - 30000 - - - [30] - 60000 - - - [31] - 90000 - - - - - pytmc - + TcVarGlobal641882912PMPS_GVL.g_areVBoundariesL1024REAL032[0]1000[1]1700[2]2100[3]2500[4]3800[5]4000[6]5000[7]7000[8]7500[9]7700[10]8900[11]10000[12]11100[13]12000[14]13000[15]13500[16]14000[17]16900[18]18000[19]20000[20]22000[21]24000[22]25000[23]25500[24]26000[25]27000[26]28000[27]28500[28]29000[29]30000[30]60000[31]90000pytmc pv: @(PREFIX)L:eVRangeCnst io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - - - - TcVarGlobal - - - 641882944 - - - PMPS_GVL.g_areVBoundariesK - 1024 - REAL - - 0 - 32 - - - - [0] - 100 - - - [1] - 250 - - - [2] - 270 - - - [3] - 350 - - - [4] - 400 - - - [5] - 450 - - - [6] - 480 - - - [7] - 530 - - - [8] - 680 - - - [9] - 730 - - - [10] - 850 - - - [11] - 1100 - - - [12] - 1150 - - - [13] - 1250 - - - [14] - 1450 - - - [15] - 1500 - - - [16] - 1550 - - - [17] - 1650 - - - [18] - 1700 - - - [19] - 1750 - - - [20] - 1820 - - - [21] - 1850 - - - [22] - 2000 - - - [23] - 2200 - - - [24] - 2500 - - - [25] - 2800 - - - [26] - 3000 - - - [27] - 3150 - - - [28] - 3500 - - - [29] - 4000 - - - [30] - 5300 - - - [31] - 7000 - - - - - pytmc - + TcVarGlobal641882944PMPS_GVL.g_areVBoundariesK1024REAL032[0]100[1]250[2]270[3]350[4]400[5]450[6]480[7]530[8]680[9]730[10]850[11]1100[12]1150[13]1250[14]1450[15]1500[16]1550[17]1650[18]1700[19]1750[20]1820[21]1850[22]2000[23]2200[24]2500[25]2800[26]3000[27]3150[28]3500[29]4000[30]5300[31]7000pytmc pv: @(PREFIX)K:eVRangeCnst io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - - - - TcVarGlobal - - - 641883968 - - - PMPS_PARAM.MAX_FAST_FAULTS - Max fast faults for an FFO - 16 - UINT - - 50 - - - - TcVarGlobal - - - 641884992 - - - Constants.bLittleEndian - Does the target support an FPU - 8 - BOOL - - 1 - - - - TcVarGlobal - - - 641885008 - - - Constants.bSimulationMode - Does the target support an FPU - 8 - BOOL - - 0 - - - - TcVarGlobal - - - 641885016 - - - PMPS_PARAM.MAX_ASSERTIONS - Maximum number of BP requests in the arbiter - 32 - UDINT - - 20 - - - - TcVarGlobal - - - 641885024 - - - PMPS_PARAM.TRANS_MARGIN - Allowed % margin above requested transmission level in SafeBPCompare (0.0500 = 5deci% default). Note: change this value if scaling factor changes. - 32 - REAL - - 0.05 - - - - TcVarGlobal - - - 641885056 - - - PMPS_TOOLS.fbJson - 256 - FB_JsonSaxWriter - - - TcVarGlobal - - - 641885088 - - - Constants.RuntimeVersion - Does the target support an FPU - 64 - VERSION - - - .uiMajor - 3 - - - .uiMinor - 5 - - - .uiServicePack - 6 - - - .uiPatch - 0 - - - - - TcVarGlobal - - - 641885344 - - - Constants.CompilerVersion - Does the target support an FPU - 64 - VERSION - - - .uiMajor - 3 - - - .uiMinor - 5 - - - .uiServicePack - 10 - - - .uiPatch - 100 - - - - - TcVarGlobal - - - 641885408 - - - Constants.nRegisterSize - Does the target support an FPU - 16 - WORD - - 32 - - - - TcVarGlobal - - - 641885472 - - - Constants.nPackMode - Does the target support an FPU - 16 - UINT - - 8 - - - - TcVarGlobal - - - 641885488 - - - Constants.bFPUSupport - 8 - BOOL - - 1 - - - - TcVarGlobal - - - 641885504 - - - Constants.RuntimeVersionNumeric - 32 - DWORD - - 50660864 - - - - TcVarGlobal - - - 641885536 - - - Constants.CompilerVersionNumeric - 32 - DWORD - - 50661988 - - - - TcVarGlobal - - - 641885568 - - - TwinCAT_SystemInfoVarList._AppInfo - 2048 - PlcAppSystemInfo - - - no_init - - - TcVarGlobal - - - 641885600 - - - TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask - 32 - OTCID - - - no_init - - - TcVarGlobal - - - 641887648 - - - TwinCAT_SystemInfoVarList._TaskInfo - 1024 - PlcTaskSystemInfo - - 1 - 1 - - - - no_init - - - TcVarGlobal - - - 641887680 - - - TwinCAT_SystemInfoVarList._TaskOid_PlcTask - 32 - OTCID - - - no_init - - - TcVarGlobal - - - 641888704 - - - TwinCAT_SystemInfoVarList.__PlcTask - 704 - _Implicit_Task_Info - - - .dwVersion - 2 - - - - - TcContextName - PlcTask - - - TcVarGlobal - - - 641888736 - - - TC_EVENTS.LCLSGeneralEventClass - ST_LCLSGeneralEventClass - 960 - ST_LCLSGeneralEventClass - - - tc_no_symbol - unused - - - const_non_replaced - - - suppress_warning_0 - C0228 - - - TcVarGlobal - - - 641936032 - - - - 4 - PlcTask Retains - 0 - 80805888 - - PMPS_GVL.SuccessfulPreemption - Any time BPTM applies a new BP request which is confirmed - 32 - UDINT - - - pytmc - + TcVarGlobal641883968PMPS_PARAM.MAX_FAST_FAULTS16UINT50TcVarGlobal641884992Constants.bLittleEndian8BOOL1TcVarGlobal641885008Constants.bSimulationMode8BOOL0TcVarGlobal641885016PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal641885024PMPS_PARAM.TRANS_MARGIN32REAL0.05TcVarGlobal641885056PMPS_TOOLS.fbJson256FB_JsonSaxWriterTcVarGlobal641885088Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal641885344Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal641885408Constants.nRegisterSize16WORD32TcVarGlobal641885472Constants.nPackMode16UINT8TcVarGlobal641885488Constants.bFPUSupport8BOOL1TcVarGlobal641885504Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal641885536Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal641885568TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal641885600TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal641887648TwinCAT_SystemInfoVarList._TaskInfo1024PlcTaskSystemInfo11no_initTcVarGlobal641887680TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal641888704TwinCAT_SystemInfoVarList.__PlcTask704_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal641888736TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal6419360324PlcTask Retains080805888PMPS_GVL.SuccessfulPreemption32UDINTpytmc pv: @(PREFIX)SuccessfulPreemptions io: i - - - - TcVarGlobal - - - 3072000 - - - PMPS_GVL.AccumulatedFF - Any time a FF occurs - 32 - UDINT - - - pytmc - + TcVarGlobal3072000PMPS_GVL.AccumulatedFF32UDINTpytmc pv: @(PREFIX)AccumulatedFastFaults io: i - - - - TcVarGlobal - - - 3072032 - - - PMPS_GVL.BP_jsonDoc - 32 - SJsonValue - - - TcVarGlobal - - - 3072064 - - - - - - - LCLSGeneralEventClass - - - - - ApplicationName - Port_851 - - - ChangeDate - 2024-06-18T15:24:12 - - - GeneratedCodeSize - 512000 - - - GlobalDataSize - 79794176 - - - - - + TcVarGlobal3072032PMPS_GVL.BP_jsonDoc32SJsonValueTcVarGlobal3072064LCLSGeneralEventClassApplicationNamePort_851ChangeDate2025-02-21T10:58:03GeneratedCodeSize512000GlobalDataSize79794176 \ No newline at end of file From f9378e7b2e3ae0fcbe5be4ec42eaf6d7d4bc6737 Mon Sep 17 00:00:00 2001 From: ghalym Date: Fri, 21 Feb 2025 11:18:05 -0800 Subject: [PATCH 2/3] STY: reformatted with pre-commit --- .../PhotonEnergyInterface/FB_SXU.TcPOU | 22 +- lcls-twincat-pmps/PMPS/PMPS.tmc | 31342 +++++++++++++++- 2 files changed, 31203 insertions(+), 161 deletions(-) diff --git a/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU b/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU index afa9276..e3bc665 100644 --- a/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU +++ b/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU @@ -42,15 +42,15 @@ END_VAR VAR // From lcls-srv01: grep -e KDes /u1/lcls/epics/ioc/data/sioc-unds-uc*/iocInfo/IOC.pvlist |sort - {attribute 'pytmc' := 'pv: 23; link: 2350:'} + {attribute 'pytmc' := 'pv: 23; link: 2350:'} fbSegment_23 : FB_UndulatorSegment; - {attribute 'pytmc' := 'pv: 24; link: 2450:'} + {attribute 'pytmc' := 'pv: 24; link: 2450:'} fbSegment_24 : FB_UndulatorSegment; - - {attribute 'pytmc' := 'pv: 25; link: 2550:'} + + {attribute 'pytmc' := 'pv: 25; link: 2550:'} fbSegment_25 : FB_UndulatorSegment; - + {attribute 'pytmc' := 'pv: 26; link: 2650:'} fbSegment_26 : FB_UndulatorSegment; @@ -140,14 +140,14 @@ VAR CONSTANT field: EGU mm '} fPeriod_39_mm : LREAL := 39.0; - - {attribute 'pytmc' := ' + + {attribute 'pytmc' := ' pv: Period_Long io: i field: EGU mm '} fPeriod_56_mm : LREAL := 56.0; - + {attribute 'pytmc' := ' pv: LowK io: i @@ -209,9 +209,9 @@ FOR iIndex := iLowBound TO iHighBound DO fbCurrentSegment REF= fbSegment[iIndex]^; fbCurrentSegment.fLowK := fLowK; fbCurrentSegment.fHiK := fHiK; - IF (iIndex >= 26) THEN fbCurrentSegment.fPeriod_mm := fPeriod_39_mm; - ELSE fbCurrentSegment.fPeriod_mm := fPeriod_56_mm; - END_IF + IF (iIndex >= 26) THEN fbCurrentSegment.fPeriod_mm := fPeriod_39_mm; + ELSE fbCurrentSegment.fPeriod_mm := fPeriod_56_mm; + END_IF END_IF END_FOR bInitialized := TRUE;]]> diff --git a/lcls-twincat-pmps/PMPS/PMPS.tmc b/lcls-twincat-pmps/PMPS/PMPS.tmc index f893459..22c3d84 100644 --- a/lcls-twincat-pmps/PMPS/PMPS.tmc +++ b/lcls-twincat-pmps/PMPS/PMPS.tmc @@ -1,40 +1,3100 @@ -T_MaxString2048STRING(255)TOF224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)16UINTLowerBorder0UpperBorder500UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder0UpperBorder100E_AssertionType8BYTEType_UNDEFINED0Type_ANY1Type_BOOL2Type_BYTE3Type_DATE4Type_DATE_AND_TIME5Type_DINT6Type_DWORD7Type_INT8Type_LINT9Type_LREAL10Type_LTIME11Type_LWORD12Type_REAL13Type_SINT14Type_STRING15Type_TIME16Type_TIME_OF_DAY17Type_UDINT18Type_UINT19Type_ULINT20Type_USINT21Type_WORD22Type_WSTRING23Type_Array2D_LREAL24Type_Array2D_REAL25Type_Array3D_LREAL26Type_Array3D_REAL27Type_Array_BOOL28Type_Array_BYTE29Type_Array_DINT30Type_Array_DWORD31Type_Array_INT32Type_Array_LINT33Type_Array_LREAL34Type_Array_LWORD35Type_Array_REAL36Type_Array_SINT37Type_Array_UDINT38Type_Array_UINT39Type_Array_ULINT40Type_Array_USINT41Type_Array_WORD42ST_TestCaseResult6192TestNameT_MaxString20480TestClassNameT_MaxString20482048TestIsFailedBOOL84096TestIsSkippedBOOL84104FailureMessageT_MaxString20484112FailureTypeE_AssertionType86160NumberOfAssertsUINT166176ST_TestSuiteResult621296NameT_MaxString20480IdentityUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)162048NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162064NumberOfFailedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162080TestCaseResultsST_TestCaseResult11006192002096ST_TestSuiteResults310648064NumberOfTestSuitesUINT160NumberOfTestCasesUINT1616NumberOfSuccessfulTestCasesUINT1632NumberOfFailedTestCasesUINT1648TestSuiteResultsST_TestSuiteResult150031064800064I_TestResults32PVOIDGetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16UINTLowerBorder1UpperBorder500R_TRIG + + + + T_MaxString + TwinCAT PLC string of max. length of 255 bytes + 1 byte null delimiter. + 2048 + STRING(255) + + + TOF + 224 + + IN + BOOL + starts timer with falling edge, resets timer with rising edge + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + time to pass, before Q is set + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + is FALSE, PT seconds after IN had a falling edge + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + elapsed time + 32 + 128 + + + ItemType + Output + + + + + M + BOOL + 8 + 160 + + + StartTime + TIME + 32 + 192 + + + + PouType + FunctionBlock + + + + + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + UINT + + + LowerBorder + 0 + + + UpperBorder + 500 + + + + + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 0 + + + UpperBorder + 100 + + + + + E_AssertionType + 8 + BYTE + + Type_UNDEFINED + 0 + + + Type_ANY + 1 + + + Type_BOOL + 2 + Primitive types + + + Type_BYTE + 3 + + + Type_DATE + 4 + + + Type_DATE_AND_TIME + 5 + + + Type_DINT + 6 + + + Type_DWORD + 7 + + + Type_INT + 8 + + + Type_LINT + 9 + + + Type_LREAL + 10 + + + Type_LTIME + 11 + + + Type_LWORD + 12 + + + Type_REAL + 13 + + + Type_SINT + 14 + + + Type_STRING + 15 + + + Type_TIME + 16 + + + Type_TIME_OF_DAY + 17 + + + Type_UDINT + 18 + + + Type_UINT + 19 + + + Type_ULINT + 20 + + + Type_USINT + 21 + + + Type_WORD + 22 + + + Type_WSTRING + 23 + + + Type_Array2D_LREAL + 24 + Array types + + + Type_Array2D_REAL + 25 + + + Type_Array3D_LREAL + 26 + + + Type_Array3D_REAL + 27 + + + Type_Array_BOOL + 28 + + + Type_Array_BYTE + 29 + + + Type_Array_DINT + 30 + + + Type_Array_DWORD + 31 + + + Type_Array_INT + 32 + + + Type_Array_LINT + 33 + + + Type_Array_LREAL + 34 + + + Type_Array_LWORD + 35 + + + Type_Array_REAL + 36 + + + Type_Array_SINT + 37 + + + Type_Array_UDINT + 38 + + + Type_Array_UINT + 39 + + + Type_Array_ULINT + 40 + + + Type_Array_USINT + 41 + + + Type_Array_WORD + 42 + + + + ST_TestCaseResult + 6192 + + TestName + T_MaxString + 2048 + 0 + + + TestClassName + T_MaxString + 2048 + 2048 + + + TestIsFailed + BOOL + 8 + 4096 + + + TestIsSkipped + BOOL + 8 + 4104 + + + FailureMessage + T_MaxString + 2048 + 4112 + + + FailureType + E_AssertionType + 8 + 6160 + + + NumberOfAsserts + UINT + 16 + 6176 + + + + ST_TestSuiteResult + 621296 + + Name + T_MaxString + Full class name + 2048 + 0 + + + Identity + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) + Should be 0..GVL_Param_TcUnit.MaxNumberOfTestSuites-1 but gives unknown compiler error + 16 + 2048 + + + NumberOfTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2064 + + + NumberOfFailedTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2080 + + + TestCaseResults + ST_TestCaseResult + + 1 + 100 + + 619200 + 2096 + + + + ST_TestSuiteResults + 310648064 + + NumberOfTestSuites + UINT + The total number of test suites + 16 + 0 + + + NumberOfTestCases + UINT + The total number of test cases (for all test suites) + 16 + 16 + + + NumberOfSuccessfulTestCases + UINT + The total number of test cases that had all ASSERTS successful + 16 + 32 + + + NumberOfFailedTestCases + UINT + The total number of test cases that had at least one ASSERT failed + 16 + 48 + + + TestSuiteResults + ST_TestSuiteResult + + 1 + 500 + + Test results for each individiual test suite + 310648000 + 64 + + + + I_TestResults + 32 + PVOID + + GetAreTestResultsAvailable + BOOL + 8 + + + GetTestSuiteResults + ST_TestSuiteResults + 32 + + + + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 500 + + + + + R_TRIG + Rising Edge detection. -]]>64CLKBOOL832ItemTypeInputQBOOL840ItemTypeOutputMBOOL848conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_TestResults310648256I_TestResultsTestSuiteResultsST_TestSuiteResults31064806464StoringTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16310648128StoringTestSuiteTriggerR_TRIG64310648160StoredTestSuiteResultsBOOL8310648224StoredGeneralTestResultsBOOL8310648232NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16310648240GetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32PouTypeFunctionBlockI_TestResultLogger32PVOIDLogTestSuiteResultsUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100FB_AdsTestResultLogger + 64 + + CLK + BOOL + Signal to detect + 8 + 32 + + + ItemType + Input + + + + + Q + BOOL + rising edge at signal detected + 8 + 40 + + + ItemType + Output + + + + + M + BOOL + 8 + 48 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_TestResults + This function block holds results of the complete test run, i.e. results for all test suites + 310648256 + I_TestResults + + TestSuiteResults + ST_TestSuiteResults + Test results + 310648064 + 64 + + + StoringTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + Misc variables + 16 + 310648128 + + + StoringTestSuiteTrigger + R_TRIG + 64 + 310648160 + + + StoredTestSuiteResults + BOOL + 8 + 310648224 + + + StoredGeneralTestResults + BOOL + 8 + 310648232 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 310648240 + + + GetAreTestResultsAvailable + BOOL + 8 + + + GetTestSuiteResults + ST_TestSuiteResults + 32 + + + + PouType + FunctionBlock + + + + + I_TestResultLogger + 32 + PVOID + + LogTestSuiteResults + + + + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 100 + + + + + FB_AdsTestResultLogger + This function block reports the results from the tests using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the "Error List" of Visual Studio (which can print Errors, Warnings and Messages). -]]>224I_TestResultLoggerTestResultsI_TestResults3264PrintingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)1696PrintingTestSuiteTriggerR_TRIG64128PrintedFinalTestResultsBOOL8192PrintedTestSuitesResultsBOOL8200LogTestSuiteResultsTcUnitTestResultsST_TestSuiteResults32StringToPrintT_MaxString2048TestsInTestSuiteCounterUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16MaxNumberOfTestsToPrintUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648PouTypeFunctionBlockRTS_IEC_RESULT32UDINTACCESS_MODE32UDINTAM_READ0AM_WRITE1AM_APPEND2AM_READ_PLUS3AM_WRITE_PLUS4AM_APPEND_PLUS5RTS_IEC_SIZE32BYTERTS_IEC_HANDLE32BYTEFB_FileControl + 224 + I_TestResultLogger + + TestResults + I_TestResults + 32 + 64 + + + PrintingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 96 + + + PrintingTestSuiteTrigger + R_TRIG + 64 + 128 + + + PrintedFinalTestResults + BOOL + This flag is set once the final end result has printed + 8 + 192 + + + PrintedTestSuitesResults + BOOL + This flag is set once the test suites result have been printed + 8 + 200 + + + LogTestSuiteResults + + TcUnitTestResults + ST_TestSuiteResults + 32 + + + StringToPrint + T_MaxString + 2048 + + + TestsInTestSuiteCounter + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + MaxNumberOfTestsToPrint + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + TEST_STATUS_SKIP + STRING(80) + 648 + + + TEST_STATUS_PASS + STRING(80) + 648 + + + TEST_STATUS_FAIL + STRING(80) + 648 + + + + + PouType + FunctionBlock + + + + + RTS_IEC_RESULT + 32 + UDINT + + + ACCESS_MODE + 32 + UDINT + + AM_READ + 0 + Open an existing file with Read access. If file does not exist, Open fails + + + AM_WRITE + 1 + Create new file with Write access. If file does exist, content is discarded + + + AM_APPEND + 2 + Open an existing file with Append (only write) access. If file does not exist, Open fails + + + AM_READ_PLUS + 3 + Open an existing file with Read/Write access. If file does not exist, Open fails + + + AM_WRITE_PLUS + 4 + Create new file with Read/Write access. If file does exist, content is discarded + + + AM_APPEND_PLUS + 5 + Open an existing file with Append (read/write) access. If file does not exist, Open creates a new file + + + + RTS_IEC_SIZE + 32 + BYTE + + + RTS_IEC_HANDLE + 32 + BYTE + + + FB_FileControl + This functionblock can open, close, read, write and delete files on the local filesystem -]]>96FileAccessModeACCESS_MODE32325FileHandleRTS_IEC_HANDLE3264ReadRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32FileSizeRTS_IEC_SIZE32ItemTypeOutputCloseRTS_IEC_RESULT32OpenRTS_IEC_RESULT32FileNameT_MaxString2048FileAccessModeACCESS_MODE32DeleteRTS_IEC_RESULT32FileNameT_MaxString2048WriteRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32PouTypeFunctionBlockE_XmlError8BYTEOk0ErrorMaxBufferLen1ErrorStringLen2Error3FB_StreamBuffer + 96 + + FileAccessMode + ACCESS_MODE + Append_Plus creates the file if it doesn't exist yet. + 32 + 32 + + 5 + + + + FileHandle + RTS_IEC_HANDLE + 32 + 64 + + + Read + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + FileSize + RTS_IEC_SIZE + 32 + + + ItemType + Output + + + + + + Close + RTS_IEC_RESULT + 32 + + + Open + RTS_IEC_RESULT + 32 + + FileName + File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) + T_MaxString + 2048 + + + FileAccessMode + ACCESS_MODE + 32 + + + + Delete + RTS_IEC_RESULT + 32 + + FileName + File name can contain an absolute or relative path to the file. Path entries must be separated with a forward slash (/) + T_MaxString + 2048 + + + + Write + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + + + PouType + FunctionBlock + + + + + E_XmlError + 8 + BYTE + + Ok + 0 + + + ErrorMaxBufferLen + 1 + + + ErrorStringLen + 2 + + + Error + 3 + + + + FB_StreamBuffer + This functionblock acts as a stream buffer for use with FB_XmlControl -]]>128_PointerToStringBufferBYTE3232_BufferSizeUDINT3264_LengthUDINT3296CutOffT_MaxString2048StartPosUDINT32CutLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCutBYTE32PointerToByteBufferBYTE32FindUDINT32SearchStringSTRING(80)648StartPosUDINT32LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32FindBackUDINT32SearchStringT_MaxString2048LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32__getLengthUDINT32LengthUDINT32propertyClearCountUDINT32__setAppendAppend + 128 + + _PointerToStringBuffer + BYTE + 32 + 32 + + + _BufferSize + UDINT + 32 + 64 + + + _Length + UDINT + 32 + 96 + + + CutOff + T_MaxString + 2048 + + StartPos + UDINT + 32 + + + CutLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + + + + Loop + UDINT + 32 + + + PointerToByteToCut + BYTE + 32 + + + PointerToByteBuffer + BYTE + 32 + + + + Find + UDINT + 32 + + SearchString + STRING(80) + 648 + + + StartPos + UDINT + 32 + + + Loop + UDINT + 32 + + + Search + UDINT + 32 + + + PointerToBuffer + BYTE + 32 + + + PointerToSearch + BYTE + 32 + + + + FindBack + UDINT + 32 + + SearchString + T_MaxString + 2048 + + + Loop + UDINT + 32 + + + Search + UDINT + 32 + + + PointerToBuffer + BYTE + 32 + + + PointerToSearch + BYTE + 32 + + + + __getLength + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + Clear + + Count + UDINT + 32 + + + + __setAppend + + Append + Appends a string to the buffer -]]>T_MaxString2048ByteInBYTE32ByteBufferBYTE32property__getBufferSizeUDINT32BufferSizeUDINT32property__setLengthLength + T_MaxString + 2048 + + + ByteIn + BYTE + 32 + + + ByteBuffer + BYTE + 32 + + + + property + + + + + __getBufferSize + UDINT + 32 + + BufferSize + UDINT + 32 + + + + property + + + + + __setLength + + Length + Gets/Sets the current length (in bytes) of the streambuffer -]]>UDINT32propertySetBufferBOOL8PointerToBufferAddressBYTE32SizeOfBufferUDINT32CopyT_MaxString2048StartPosUDINT32EndPosUDINT32CopyLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCopyBYTE32PointerToBufferBYTE32CurPosUDINT32PouTypeFunctionBlockFB_XmlControl + UDINT + 32 + + + + property + + + + + SetBuffer + BOOL + 8 + + PointerToBufferAddress + Set buffer address (ADR ...) + BYTE + 32 + + + SizeOfBuffer + Set buffer size (SIZEOF ...) + UDINT + 32 + + + + Copy + T_MaxString + 2048 + + StartPos + UDINT + 32 + + + EndPos + UDINT + 32 + + + CopyLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + + + + Loop + UDINT + 32 + + + PointerToByteToCopy + BYTE + 32 + + + PointerToBuffer + BYTE + 32 + + + CurPos + UDINT + 32 + + + + + PouType + FunctionBlock + + + + + FB_XmlControl + Organizes parsing and composing of XML data. Data can be treated as STRING or char array. Buffer size of file can be set via GVL_Param_TcUnit (xUnitBufferSize) -]]>5696XmlBufferFB_StreamBuffer12832TagListBufferFB_StreamBuffer128160TagsT_MaxString2048288TagListSeekBufferFB_StreamBuffer1282336TagsSeekSTRING(80)6482464TagBufferFB_StreamBuffer1283136TagT_MaxString20483264TagOpenBOOL85312SelectUDINT325344SearchPositionUDINT325376TAG_OPENSTRING(1)165408<TAG_CLOSESTRING(1)165424>END_TAG_CLOSESTRING(2)245440/>SPACESTRING(1)165464 EQUALSSTRING(1)165480=QUOTESTRING(1)165496"BACK_SLASHSTRING(1)165512\FORWARD_SLASHSTRING(1)165528/OPEN_COMMENTSTRING(5)485544<!-- CLOSE_COMMENTSTRING(4)405592 -->TABSTRING(2)245632 CR_LFSTRING(4)405656 -NewParameterNameT_MaxString2048ValueT_MaxString2048NewTagNameT_MaxString2048CloseTagT_MaxString2048ClosedTagT_MaxString2048WriteDocumentHeaderHeaderT_MaxString2048NewCommentCommentT_MaxString2048__getLengthUDINT32LengthUDINT32propertyNewTagDataDataT_MaxString2048SetBufferPointerToBufferBYTE32SizeOfBufferUDINT32ClearBufferToStartBufferPouTypeFunctionBlockFB_xUnitXmlPublisher + 5696 + + XmlBuffer + FB_StreamBuffer + 128 + 32 + + + TagListBuffer + FB_StreamBuffer + 128 + 160 + + + Tags + T_MaxString + 2048 + 288 + + + TagListSeekBuffer + FB_StreamBuffer + 128 + 2336 + + + TagsSeek + STRING(80) + 648 + 2464 + + + TagBuffer + FB_StreamBuffer + 128 + 3136 + + + Tag + T_MaxString + 2048 + 3264 + + + TagOpen + BOOL + 8 + 5312 + + + Select + UDINT + 32 + 5344 + + + SearchPosition + UDINT + 32 + 5376 + + + TAG_OPEN + STRING(1) + 16 + 5408 + + < + + + + TAG_CLOSE + STRING(1) + 16 + 5424 + + > + + + + END_TAG_CLOSE + STRING(2) + 24 + 5440 + + /> + + + + SPACE + STRING(1) + 16 + 5464 + + + + + + EQUALS + STRING(1) + 16 + 5480 + + = + + + + QUOTE + STRING(1) + 16 + 5496 + + " + + + + BACK_SLASH + STRING(1) + 16 + 5512 + + \ + + + + FORWARD_SLASH + STRING(1) + 16 + 5528 + + / + + + + OPEN_COMMENT + STRING(5) + 48 + 5544 + + <!-- + + + + CLOSE_COMMENT + STRING(4) + 40 + 5592 + + --> + + + + TAB + STRING(2) + 24 + 5632 + + + + + + CR_LF + STRING(4) + 40 + 5656 + + + + + + + NewParameter + + Name + T_MaxString + 2048 + + + Value + T_MaxString + 2048 + + + + NewTag + + Name + T_MaxString + 2048 + + + + CloseTag + T_MaxString + 2048 + + ClosedTag + T_MaxString + 2048 + + + + WriteDocumentHeader + + Header + T_MaxString + 2048 + + + + NewComment + + Comment + T_MaxString + 2048 + + + + __getLength + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + NewTagData + + Data + T_MaxString + 2048 + + + + SetBuffer + + PointerToBuffer + ADR(..) + BYTE + 32 + + + SizeOfBuffer + SIZEOF(..) + UDINT + 32 + + + + ClearBuffer + + + ToStartBuffer + + + + PouType + FunctionBlock + + + + + FB_xUnitXmlPublisher + Publishes test results into an xUnit compatible Xml file -]]>530304I_TestResultLoggerTestResultsI_TestResults3264AccessModeACCESS_MODE32964FileFB_FileControl96128XmlFB_XmlControl5696224BufferInitialisedBOOL859200BufferBYTE0655355242805928WritingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16530208PublishTriggerR_TRIG64530240DeleteOpenWriteCloseRTS_IEC_RESULT32LogTestSuiteResultsUnitTestResultsST_TestSuiteResults32CurrentSuiteNumberUINT16CurrentTestCountUINT16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648InitialisedBOOL8PouTypeFunctionBlockFB_TcUnitRunner + 530304 + I_TestResultLogger + + TestResults + I_TestResults + Dependancy Injection via FB_Init + 32 + 64 + + + AccessMode + ACCESS_MODE + File access mode + 32 + 96 + + 4 + + + + File + FB_FileControl + 96 + 128 + + + Xml + FB_XmlControl + 5696 + 224 + + + BufferInitialised + BOOL + 8 + 5920 + + 0 + + + + Buffer + BYTE + + 0 + 65535 + + 524280 + 5928 + + + WritingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 530208 + + + PublishTrigger + R_TRIG + 64 + 530240 + + + DeleteOpenWriteClose + RTS_IEC_RESULT + 32 + + + LogTestSuiteResults + + UnitTestResults + ST_TestSuiteResults + 32 + + + CurrentSuiteNumber + UINT + 16 + + + CurrentTestCount + UINT + 16 + + + TEST_STATUS_SKIP + STRING(80) + 648 + + + TEST_STATUS_PASS + STRING(80) + 648 + + + TEST_STATUS_FAIL + STRING(80) + 648 + + + + Initialised + BOOL + 8 + + + + PouType + FunctionBlock + + + + + FB_TcUnitRunner + This function block is responsible for holding track of the tests and executing them. -]]>311179200AllTestSuitesFinishedBOOL8320TestResultsFB_TestResults31064825664AdsTestResultLoggerFB_AdsTestResultLogger224310648320old_input_assignmentsTestResultLoggerI_TestResultLogger32310648544AbortRunningTestSuitesBOOL8310648576xUnitXmlPublisherFB_xUnitXmlPublisher530304310648608old_input_assignmentsXmlTestResultPublisherI_TestResultLogger32311178912__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITEUINT163111789441__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITESTOF224311178976AbortRunningTestSuiteTestsRunTestSuiteTestsInSequenceTimeBetweenTestSuitesExecutionTIME32BusyPrintingBOOL8NumberOfTestSuitesFinished + 311179200 + + AllTestSuitesFinished + BOOL + Indication of whether all test suites have reported that they are finished + 8 + 32 + + 0 + + + + TestResults + FB_TestResults + Test result information + 310648256 + 64 + + + AdsTestResultLogger + FB_AdsTestResultLogger + Prints the results to ADS so that Visual Studio can display the results. + This test result formatter can be replaced with something else than ADS + 224 + 310648320 + + + old_input_assignments + + + + + TestResultLogger + I_TestResultLogger + 32 + 310648544 + + + AbortRunningTestSuites + BOOL + If this flag is set, it means that some external event triggered the + request to abort running the test suites + 8 + 310648576 + + + xUnitXmlPublisher + FB_xUnitXmlPublisher + Publishes a xUnit compatible XML file + 530304 + 310648608 + + + old_input_assignments + + + + + XmlTestResultPublisher + I_TestResultLogger + 32 + 311178912 + + + __RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE + UINT + This variable holds which current test suite is being called, as we are running + each one in a sequence (one by one) + 16 + 311178944 + + 1 + + + + __RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES + TOF + 224 + 311178976 + + + AbortRunningTestSuiteTests + + + RunTestSuiteTestsInSequence + + TimeBetweenTestSuitesExecution + Time delay between a test suite is finished and the next test suite starts + TIME + 32 + + + BusyPrinting + BOOL + 8 + + + NumberOfTestSuitesFinished + We need to hold a temporary state of the statistics as we don't consider the tests to be completely finished until all test suites have executed completely. The reason we want to do it this way is because a test suite can run over several cycles. Only once all tests - are finished (which might take many cycles), do we gather correct statistics ]]>UINT16CurrentlyRunningTestSuiteUINT16uselocation__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITETimerBetweenExecutionOfTestSuitesTOF224uselocation__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITESRunTestSuiteTestsCounterUINT16BusyPrintingBOOL8NumberOfTestSuitesFinished + UINT + 16 + + + CurrentlyRunningTestSuite + This variable holds which current test suite is being called, as we are running + each one in a sequence (one by one) + UINT + 16 + + + uselocation + __RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE + + + + + TimerBetweenExecutionOfTestSuites + TOF + 224 + + + uselocation + __RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES + + + + + + RunTestSuiteTests + + Counter + UINT + 16 + + + BusyPrinting + BOOL + 8 + + + NumberOfTestSuitesFinished + We need to hold a temporary state of the statistics as we don't consider the tests to be completely finished until all test suites have executed completely. The reason we want to do it this way is because a test suite can run over several cycles. Only once all tests - are finished (which might take many cycles), do we gather correct statistics ]]>UINT16PouTypeFunctionBlockFB_Test + UINT + 16 + + + + + PouType + FunctionBlock + + + + + FB_Test + This function block holds all data that defines a test. -]]>4192TestNameT_MaxString204832TestIsFinishedBOOL82080TestIsSkippedBOOL82088NumberOfAssertionsUINT162096TestOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 4192 + + TestName + T_MaxString + 2048 + 32 + + + TestIsFinished + BOOL + 8 + 2080 + + + TestIsSkipped + BOOL + This is set to true, if test is disabled (by putting the string "disabled_" in front of the test name + 8 + 2088 + + + NumberOfAssertions + UINT + 16 + 2096 + + + TestOrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + In which order/sequence relative to the order tests should this test be executed/evaluated. A value of 0 means it is not defined by TEST_ORDERED() but by un-ordered test (TEST()). - A value <> 0 tells in which order this test will be executed/evaluated. The lower the number, the earlier it will execute. ]]>162112TestIsFailedBOOL82128AssertionMessageT_MaxString20482136AssertionTypeE_AssertionType84184GetAssertionTypeE_AssertionType8SetFailedSetNameNameT_MaxString2048GetNameT_MaxString2048SetNumberOfAssertionsNoOfAssertionsUINT16SetTestOrderOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16IsSkippedBOOL8GetNumberOfAssertionsUINT16SetFinishedBOOL8GetAssertionMessageT_MaxString2048SetSkippedSetAssertionMessageAssertMessageT_MaxString2048SetAssertionTypeAssertTypeE_AssertionType8IsFinishedBOOL8GetTestOrderUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16IsFailedBOOL8PouTypeFunctionBlockUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100TYPE_CLASS32DWORDTYPE_BOOL0TYPE_BIT1TYPE_BYTE2TYPE_WORD3TYPE_DWORD4TYPE_LWORD5TYPE_SINT6TYPE_INT7TYPE_DINT8TYPE_LINT9TYPE_USINT10TYPE_UINT11TYPE_UDINT12TYPE_ULINT13TYPE_REAL14TYPE_LREAL15TYPE_STRING16TYPE_WSTRING17TYPE_TIME18TYPE_DATE19TYPE_DATEANDTIME20TYPE_TIMEOFDAY21TYPE_POINTER22TYPE_REFERENCE23TYPE_SUBRANGE24TYPE_ENUM25TYPE_ARRAY26TYPE_PARAMS27TYPE_USERDEF28TYPE_NONE29TYPE_ANY30TYPE_ANYBIT31TYPE_ANYDATE32TYPE_ANYINT33TYPE_ANYNUM34TYPE_ANYREAL35TYPE_LAZY36TYPE_LTIME37TYPE_BITCONST38AnyType96pValueBYTE320diSizeDINT3232TypeClassTYPE_CLASS3264linkalwaysFW_GetCurTaskIndex64nIndexBYTE832ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX128indexBYTE832ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex6464conditionalshowPouTypeFunctionBlockconditionalshow_all_localsE_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg96eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID32640E_TypeFieldParam16INTTYPEFIELD_UNKNOWN0TYPEFIELD_B1TYPEFIELD_O2TYPEFIELD_U3TYPEFIELD_C4TYPEFIELD_F5TYPEFIELD_D6TYPEFIELD_S7TYPEFIELD_XU8TYPEFIELD_XL9TYPEFIELD_EU10TYPEFIELD_EL11ST_FormatParameters160bPercentBOOL80bFlagsBOOL88bWidthBOOL816bDotBOOL824bPrecisionBOOL832bTypeBOOL840bAlignBOOL848bSignBOOL856bNullBOOL864bBlankBOOL872bHashBOOL880iWidthINT1696iPrecisionINT16112bWidthAsteriskBOOL8128bPrecisionAsteriskBOOL8136eTypeE_TypeFieldParam16144conditionalshowFB_FormatString7840sFormatT_MaxString204832ItemTypeInputarg1T_Arg962080ItemTypeInputarg2T_Arg962176ItemTypeInputarg3T_Arg962272ItemTypeInputarg4T_Arg962368ItemTypeInputarg5T_Arg962464ItemTypeInputarg6T_Arg962560ItemTypeInputarg7T_Arg962656ItemTypeInputarg8T_Arg962752ItemTypeInputarg9T_Arg962848ItemTypeInputarg10T_Arg962944ItemTypeInputbErrorBOOL error, FALSE => no error ]]>83040ItemTypeOutputnErrIdUDINT323072ItemTypeOutputsOutT_MaxString20483104ItemTypeOutputpFormatBYTE3251520conditionalshowpOutBYTE3251840conditionalshowiRemOutLenINT165216conditionalshowbValidBOOL85232conditionalshowstFmtST_FormatParameters1605248conditionalshownArrayElemINT165408conditionalshownArgumentUDINT325440conditionalshowparArgsT_Arg1103205472conditionalshowsArgStrT_MaxString20485792conditionalshowPouTypeFunctionBlockconditionalshow_all_localsTypeClass16INTTYPE_BOOL0TYPE_BIT1TYPE_BYTE2TYPE_WORD3TYPE_DWORD4TYPE_LWORD5TYPE_SINT6TYPE_INT7TYPE_DINT8TYPE_LINT9TYPE_USINT10TYPE_UINT11TYPE_UDINT12TYPE_ULINT13TYPE_REAL14TYPE_LREAL15TYPE_STRING16TYPE_WSTRING17TYPE_TIME18TYPE_DATE19TYPE_DATEANDTIME20TYPE_TIMEOFDAY21TYPE_POINTER22TYPE_REFERENCE23TYPE_SUBRANGE24TYPE_ENUM25TYPE_ARRAY26TYPE_PARAMS27TYPE_USERDEF28TYPE_NONE29TYPE_ANY30TYPE_ANYBIT31TYPE_ANYDATE32TYPE_ANYINT33TYPE_ANYNUM34TYPE_ANYREAL35TYPE_LAZY36TYPE_LTIME37TYPE_BITCONST38TYPE_INTERFACE-4096U_ExpectedOrActual4096boolExpectedOrActualBOOL80bitExpectedOrActualBIT80byteExpectedOrActualBYTE80sintExpectedOrActualSINT80usintExpectedOrActualUSINT80intExpectedOrActualINT160uintExpectedOrActualUINT160wordExpectedOrActualWORD160dwordExpectedOrActualDWORD320dateandtimeExpectedOrActualDATE_AND_TIME320dintExpectedOrActualDINT320realExpectedOrActualREAL320timeExpectedOrActualTIME320dateExpectedOrActualDATE320udintExpectedOrActualUDINT320timeofdayExpectedOrActualTIME_OF_DAY320lwordExpectedOrActualLWORD640lintExpectedOrActualLINT640ulintExpectedOrActualULINT640lrealExpectedOrActualLREAL640ltimeExpectedOrActualLTIME640stringExpectedOrActualT_MaxString20480wstringExpectedOrActualWSTRING(255)40960ST_AssertResult12288ExpectedU_ExpectedOrActual40960ActualU_ExpectedOrActual40964096MessageT_MaxString20488192TestInstancePathT_MaxString204810240ST_AssertResultInstances12352AssertResultST_AssertResult122880DetectionCountUINT1612288DetectionCountThisCycleUINT1612304FB_AssertResultStatic + 16 + 2112 + + + TestIsFailed + BOOL + Indication of whether this test has at least one failed assert + 8 + 2128 + + + AssertionMessage + T_MaxString + Assertion message for the first assertion in this test + 2048 + 2136 + + + AssertionType + E_AssertionType + Assertion type for the first assertion in this test + 8 + 4184 + + + GetAssertionType + E_AssertionType + 8 + + + SetFailed + + + SetName + + Name + T_MaxString + 2048 + + + + GetName + T_MaxString + 2048 + + + SetNumberOfAssertions + + NoOfAssertions + UINT + 16 + + + + SetTestOrder + + OrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + IsSkipped + BOOL + 8 + + + GetNumberOfAssertions + UINT + 16 + + + SetFinished + BOOL + 8 + + + GetAssertionMessage + T_MaxString + 2048 + + + SetSkipped + + + SetAssertionMessage + + AssertMessage + T_MaxString + 2048 + + + + SetAssertionType + + AssertType + E_AssertionType + 8 + + + + IsFinished + BOOL + 8 + + + GetTestOrder + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + IsFailed + BOOL + 8 + + + + PouType + FunctionBlock + + + + + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 100 + + + + + TYPE_CLASS + 32 + DWORD + + TYPE_BOOL + 0 + + + TYPE_BIT + 1 + + + TYPE_BYTE + 2 + + + TYPE_WORD + 3 + + + TYPE_DWORD + 4 + + + TYPE_LWORD + 5 + + + TYPE_SINT + 6 + + + TYPE_INT + 7 + + + TYPE_DINT + 8 + + + TYPE_LINT + 9 + + + TYPE_USINT + 10 + + + TYPE_UINT + 11 + + + TYPE_UDINT + 12 + + + TYPE_ULINT + 13 + + + TYPE_REAL + 14 + + + TYPE_LREAL + 15 + + + TYPE_STRING + 16 + + + TYPE_WSTRING + 17 + + + TYPE_TIME + 18 + + + TYPE_DATE + 19 + + + TYPE_DATEANDTIME + 20 + + + TYPE_TIMEOFDAY + 21 + + + TYPE_POINTER + 22 + + + TYPE_REFERENCE + 23 + + + TYPE_SUBRANGE + 24 + + + TYPE_ENUM + 25 + + + TYPE_ARRAY + 26 + + + TYPE_PARAMS + 27 + + + TYPE_USERDEF + 28 + + + TYPE_NONE + 29 + + + TYPE_ANY + 30 + + + TYPE_ANYBIT + 31 + + + TYPE_ANYDATE + 32 + + + TYPE_ANYINT + 33 + + + TYPE_ANYNUM + 34 + + + TYPE_ANYREAL + 35 + + + TYPE_LAZY + 36 + + + TYPE_LTIME + 37 + + + TYPE_BITCONST + 38 + + + + AnyType + 96 + + pValue + BYTE + 32 + 0 + + + diSize + DINT + 32 + 32 + + + TypeClass + TYPE_CLASS + 32 + 64 + + + + linkalways + + + + + FW_GetCurTaskIndex + 64 + + nIndex + BYTE + 8 + 32 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + conditionalshow + + + + + GETCURTASKINDEX + This function block GETCURTASKINDEX finds the task index of the task from which it is called. + 128 + + index + BYTE + Returns the current task index of the calling task. + 8 + 32 + + + ItemType + Output + + + + + fbGetCurTaskIndex + FW_GetCurTaskIndex + 64 + 64 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + E_ArgType + 16 + INT + + ARGTYPE_UNKNOWN + 0 + + + ARGTYPE_BYTE + 1 + + + ARGTYPE_WORD + 2 + + + ARGTYPE_DWORD + 3 + + + ARGTYPE_REAL + 4 + + + ARGTYPE_LREAL + 5 + + + ARGTYPE_SINT + 6 + + + ARGTYPE_INT + 7 + + + ARGTYPE_DINT + 8 + + + ARGTYPE_USINT + 9 + + + ARGTYPE_UINT + 10 + + + ARGTYPE_UDINT + 11 + + + ARGTYPE_STRING + 12 + string of type T_MaxString! + + + ARGTYPE_BOOL + 13 + + + ARGTYPE_BIGTYPE + 14 + byte buffer + + + ARGTYPE_ULARGE + 15 + unsigned 64 bit ingeger (T_ULARGE_INTEGER, ULINT) + + + ARGTYPE_UHUGE + 16 + unsigned 128 bit integer (T_UHUGE_INTEGER) + + + ARGTYPE_LARGE + 17 + signed 64 bit integer (T_LARGE_INTEGER, LINT) + + + ARGTYPE_HUGE + 18 + signed 128 bit integer (T_HUGE_INTEGER) + + + ARGTYPE_LWORD + 19 + LWORD value + + + + T_Arg + Argument type + 96 + + eType + E_ArgType + Argument data type + 16 + 0 + + 0 + + + + cbLen + UDINT + Argument data byte length (if eType = ARGTYPE_STRING => cbLen = length of string + 1 (null delimiter). + 32 + 32 + + 0 + + + + pData + PVOID + Pointer to first argument data byte + 32 + 64 + + 0 + + + + + E_TypeFieldParam + 16 + INT + + TYPEFIELD_UNKNOWN + 0 + Unknown/not set + + + TYPEFIELD_B + 1 + b or B: binary number + + + TYPEFIELD_O + 2 + o or O: octal number + + + TYPEFIELD_U + 3 + u or U: unsigned decimal number + + + TYPEFIELD_C + 4 + c or C: one ASCII character + + + TYPEFIELD_F + 5 + f or F: float number ( normalized format ) + + + TYPEFIELD_D + 6 + d or D: signed decimal number + + + TYPEFIELD_S + 7 + s or S: string + + + TYPEFIELD_XU + 8 + X: hecadecimal number (upper case characters ) + + + TYPEFIELD_XL + 9 + x: hecadecimal number (lower case characters ) + + + TYPEFIELD_EU + 10 + E: float number ( scientific format ) + + + TYPEFIELD_EL + 11 + e: float number ( scientific format ) + + + + ST_FormatParameters + 160 + + bPercent + BOOL + 8 + 0 + + + bFlags + BOOL + 8 + 8 + + + bWidth + BOOL + 8 + 16 + + + bDot + BOOL + 8 + 24 + + + bPrecision + BOOL + 8 + 32 + + + bType + BOOL + 8 + 40 + + + bAlign + BOOL + Default :Right align + 8 + 48 + + + bSign + BOOL + Default: Sign only for negative values + 8 + 56 + + + bNull + BOOL + Default: No padding + 8 + 64 + + + bBlank + BOOL + Default: No blanks + 8 + 72 + + + bHash + BOOL + Default: No blanks + 8 + 80 + + + iWidth + INT + 16 + 96 + + + iPrecision + INT + 16 + 112 + + + bWidthAsterisk + BOOL + 8 + 128 + + + bPrecisionAsterisk + BOOL + 8 + 136 + + + eType + E_TypeFieldParam + format type parameter + 16 + 144 + + + + conditionalshow + + + + + FB_FormatString + Converts and formats up to 10 T_Arg values to string + 7840 + + sFormat + T_MaxString + Format string + 2048 + 32 + + + ItemType + Input + + + + + arg1 + T_Arg + Format argument 1, use F_INT, F_UINT; F_WORD, F_DWORD, F_LREAL... functions to initialize the argument inputs + 96 + 2080 + + + ItemType + Input + + + + + arg2 + T_Arg + Format argument 2 + 96 + 2176 + + + ItemType + Input + + + + + arg3 + T_Arg + Format argument 3 + 96 + 2272 + + + ItemType + Input + + + + + arg4 + T_Arg + Format argument 4 + 96 + 2368 + + + ItemType + Input + + + + + arg5 + T_Arg + Format argument 5 + 96 + 2464 + + + ItemType + Input + + + + + arg6 + T_Arg + Format argument 6 + 96 + 2560 + + + ItemType + Input + + + + + arg7 + T_Arg + Format argument 7 + 96 + 2656 + + + ItemType + Input + + + + + arg8 + T_Arg + Format argument 8 + 96 + 2752 + + + ItemType + Input + + + + + arg9 + T_Arg + Format argument 9 + 96 + 2848 + + + ItemType + Input + + + + + arg10 + T_Arg + Format argument 10 + 96 + 2944 + + + ItemType + Input + + + + + bError + BOOL + TRUE => error, FALSE => no error + 8 + 3040 + + + ItemType + Output + + + + + nErrId + UDINT + Error code + 32 + 3072 + + + ItemType + Output + + + + + sOut + T_MaxString + Output stirng + 2048 + 3104 + + + ItemType + Output + + + + + pFormat + BYTE + 32 + 5152 + + 0 + + + + conditionalshow + + + + + pOut + BYTE + 32 + 5184 + + 0 + + + + conditionalshow + + + + + iRemOutLen + INT + 16 + 5216 + + + conditionalshow + + + + + bValid + BOOL + 8 + 5232 + + + conditionalshow + + + + + stFmt + ST_FormatParameters + 160 + 5248 + + + conditionalshow + + + + + nArrayElem + INT + 16 + 5408 + + + conditionalshow + + + + + nArgument + UDINT + 32 + 5440 + + + conditionalshow + + + + + parArgs + T_Arg + + 1 + 10 + + 320 + 5472 + + + conditionalshow + + + + + sArgStr + T_MaxString + 2048 + 5792 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + TypeClass + 16 + INT + + TYPE_BOOL + 0 + + + TYPE_BIT + 1 + + + TYPE_BYTE + 2 + + + TYPE_WORD + 3 + + + TYPE_DWORD + 4 + + + TYPE_LWORD + 5 + + + TYPE_SINT + 6 + + + TYPE_INT + 7 + + + TYPE_DINT + 8 + + + TYPE_LINT + 9 + + + TYPE_USINT + 10 + + + TYPE_UINT + 11 + + + TYPE_UDINT + 12 + + + TYPE_ULINT + 13 + + + TYPE_REAL + 14 + + + TYPE_LREAL + 15 + + + TYPE_STRING + 16 + + + TYPE_WSTRING + 17 + + + TYPE_TIME + 18 + + + TYPE_DATE + 19 + + + TYPE_DATEANDTIME + 20 + + + TYPE_TIMEOFDAY + 21 + + + TYPE_POINTER + 22 + + + TYPE_REFERENCE + 23 + + + TYPE_SUBRANGE + 24 + + + TYPE_ENUM + 25 + + + TYPE_ARRAY + 26 + + + TYPE_PARAMS + 27 + + + TYPE_USERDEF + 28 + + + TYPE_NONE + 29 + + + TYPE_ANY + 30 + + + TYPE_ANYBIT + 31 + + + TYPE_ANYDATE + 32 + + + TYPE_ANYINT + 33 + + + TYPE_ANYNUM + 34 + + + TYPE_ANYREAL + 35 + + + TYPE_LAZY + 36 + + + TYPE_LTIME + 37 + + + TYPE_BITCONST + 38 + + + TYPE_INTERFACE + -4096 + + + + U_ExpectedOrActual + 4096 + + boolExpectedOrActual + BOOL + 8 + 0 + + + bitExpectedOrActual + BIT + 8 + 0 + + + byteExpectedOrActual + BYTE + 8 + 0 + + + sintExpectedOrActual + SINT + 8 + 0 + + + usintExpectedOrActual + USINT + 8 + 0 + + + intExpectedOrActual + INT + 16 + 0 + + + uintExpectedOrActual + UINT + 16 + 0 + + + wordExpectedOrActual + WORD + 16 + 0 + + + dwordExpectedOrActual + DWORD + 32 + 0 + + + dateandtimeExpectedOrActual + DATE_AND_TIME + 32 + 0 + + + dintExpectedOrActual + DINT + 32 + 0 + + + realExpectedOrActual + REAL + 32 + 0 + + + timeExpectedOrActual + TIME + 32 + 0 + + + dateExpectedOrActual + DATE + 32 + 0 + + + udintExpectedOrActual + UDINT + 32 + 0 + + + timeofdayExpectedOrActual + TIME_OF_DAY + 32 + 0 + + + lwordExpectedOrActual + LWORD + 64 + 0 + + + lintExpectedOrActual + LINT + 64 + 0 + + + ulintExpectedOrActual + ULINT + 64 + 0 + + + lrealExpectedOrActual + LREAL + 64 + 0 + + + ltimeExpectedOrActual + LTIME + 64 + 0 + + + stringExpectedOrActual + T_MaxString + 2048 + 0 + + + wstringExpectedOrActual + WSTRING(255) + 4096 + 0 + + + + ST_AssertResult + 12288 + + Expected + U_ExpectedOrActual + 4096 + 0 + + + Actual + U_ExpectedOrActual + 4096 + 4096 + + + Message + T_MaxString + 2048 + 8192 + + + TestInstancePath + T_MaxString + 2048 + 10240 + + + + ST_AssertResultInstances + 12352 + + AssertResult + ST_AssertResult + 12288 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertResult" + 16 + 12288 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertResult" in this specific PLC-cycle + 16 + 12304 + + + + FB_AssertResultStatic + This function block is responsible for keeping track of which asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times (if the assert fails). @@ -43,7 +3103,457 @@ - Value of actual - Message (string) - Test instance path (string) -]]>24640320AssertResultsST_AssertResult110001228800064TotalAssertsUINT16122880640GetCurrentTaskIndexGETCURTASKINDEX12812288096AssertResultInstancesST_AssertResultInstances110001235200012288256CycleCountUDINT3224640256FirstCycleExecutedBOOL824640288CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16GetNumberOfAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfAssertsUINT16CreateAssertResultInstanceExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8AddAssertResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockST_AssertArrayResult4224ExpectedsSizeUDINT320ExpectedsTypeClassTypeClass1632ActualsSizeUDINT3264ActualsTypeClassTypeClass1696MessageT_MaxString2048112TestInstancePathT_MaxString20482160ST_AssertArrayResultInstances4256AssertArrayResultST_AssertArrayResult42240DetectionCountUINT164224DetectionCountThisCycleUINT164240FB_AssertArrayResultStatic + 24640320 + + AssertResults + ST_AssertResult + + 1 + 1000 + + The total number of instances of each of the "AssertResults" + 12288000 + 64 + + + TotalAsserts + UINT + The total number of unique asserts + 16 + 12288064 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + Function block to get the current task cycle + 128 + 12288096 + + + AssertResultInstances + ST_AssertResultInstances + + 1 + 1000 + + The total number of instances of each of the "AssertResults" + 12352000 + 12288256 + + + CycleCount + UDINT + The last PLC cycle count + 32 + 24640256 + + + FirstCycleExecuted + BOOL + Only run first cycle + 8 + 24640288 + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + GetNumberOfAssertsForTest + UINT + 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + + CreateAssertResultInstance + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + AddAssertResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + ST_AssertArrayResult + 4224 + + ExpectedsSize + UDINT + Size in bytes of the expecteds-array + 32 + 0 + + + ExpectedsTypeClass + TypeClass + The data type of the expecteds-array + 16 + 32 + + + ActualsSize + UDINT + Size in bytes of the actuals-array + 32 + 64 + + + ActualsTypeClass + TypeClass + The data type of the actuals-array + 16 + 96 + + + Message + T_MaxString + 2048 + 112 + + + TestInstancePath + T_MaxString + 2048 + 2160 + + + + ST_AssertArrayResultInstances + 4256 + + AssertArrayResult + ST_AssertArrayResult + 4224 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertArrayResult" + 16 + 4224 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertArrayResult" in this specific PLC-cycle + 16 + 4240 + + + + FB_AssertArrayResultStatic + This function block is responsible for keeping track of which array-asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times @@ -54,95 +3564,11161 @@ - Datatype of the actuals - Message (string) - Test instance path (string) -]]>8480256AssertArrayResultsST_AssertArrayResult11000422400032TotalArrayAssertsUINT1642240320GetCurrentTaskIndexGETCURTASKINDEX1284224064AssertArrayResultInstancesST_AssertArrayResultInstances1100042560004224192CycleCountUDINT328480192FirstCycleExecutedBOOL88480224CreateAssertResultInstanceExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8GetNumberOfArrayAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfArrayAssertsUINT16CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16AddAssertArrayResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockI_AssertMessageFormatter32PVOIDLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048FB_AdjustAssertFailureMessageToMax253CharLength + 8480256 + + AssertArrayResults + ST_AssertArrayResult + + 1 + 1000 + + The total number of instances of each of the "AssertArrayResults" + 4224000 + 32 + + + TotalArrayAsserts + UINT + The total number of unique asserts + 16 + 4224032 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + Function block to get the current task cycle + 128 + 4224064 + + + AssertArrayResultInstances + ST_AssertArrayResultInstances + + 1 + 1000 + + The total number of instances of each of the "AssertArrayResults" + 4256000 + 4224192 + + + CycleCount + UDINT + The last PLC cycle count + 32 + 8480192 + + + FirstCycleExecuted + BOOL + Only run first cycle + 8 + 8480224 + + + CreateAssertResultInstance + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + GetNumberOfArrayAssertsForTest + UINT + 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfArrayAsserts + UINT + 16 + + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + AddAssertArrayResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + I_AssertMessageFormatter + 32 + PVOID + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + FB_AdjustAssertFailureMessageToMax253CharLength + This function block is responsible for making sure that the asserted test instance path and test message are not loo long. The total printed message can not be more than 253 characters long. -]]>11584MsgFmtStringT_MaxString204832ItemTypeInputStringArgT_MaxString20482080ItemTypeInputMsgFmtStringProcessedT_MaxString20484128ItemTypeOutputStringArgProcessedT_MaxString20486176ItemTypeOutputMsgFmtStringTempT_MaxString20488224TestNameTooLongSTRING(80)64810272...TestName too longTestMsgTooLongSTRING(80)64810920...TestMsg too longMSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERSINT1611568253PouTypeFunctionBlockFB_AdsAssertMessageFormatter + 11584 + + MsgFmtString + T_MaxString + Test instance path + 2048 + 32 + + + ItemType + Input + + + + + StringArg + T_MaxString + Test message + 2048 + 2080 + + + ItemType + Input + + + + + MsgFmtStringProcessed + T_MaxString + 2048 + 4128 + + + ItemType + Output + + + + + StringArgProcessed + T_MaxString + 2048 + 6176 + + + ItemType + Output + + + + + MsgFmtStringTemp + T_MaxString + 2048 + 8224 + + + TestNameTooLong + STRING(80) + 648 + 10272 + + ...TestName too long + + + + TestMsgTooLong + STRING(80) + 648 + 10920 + + ...TestMsg too long + + + + MSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERS + INT + This is actually 254, but if StrArg-argument is used (which it is in TcUnit) it is 253. + 16 + 11568 + + 253 + + + + + PouType + FunctionBlock + + + + + FB_AdsAssertMessageFormatter + This function block is responsible for printing the results of the assertions using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the error list of Visual Studio. -]]>64I_AssertMessageFormatterLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AdjustAssertFailureMessageToMax253CharLengthFB_AdjustAssertFailureMessageToMax253CharLength11584TestInstancePathCleanedT_MaxString2048TestInstancePathFinalT_MaxString2048ReturnValueDINT32TestInstancePathProcessedT_MaxString2048MessageProcessedT_MaxString2048PouTypeFunctionBlockFB_TestSuite + 64 + I_AssertMessageFormatter + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AdjustAssertFailureMessageToMax253CharLength + FB_AdjustAssertFailureMessageToMax253CharLength + 11584 + + + TestInstancePathCleaned + T_MaxString + 2048 + + + TestInstancePathFinal + T_MaxString + 2048 + + + ReturnValue + DINT + 32 + + + TestInstancePathProcessed + T_MaxString + 2048 + + + MessageProcessed + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + FB_TestSuite + This function block is responsible for holding the internal state of the test suite. Every test suite can have one or more tests, and every test can do one or more asserts. It's also responsible for providing all the assert-methods for asserting different data types. Only failed assertions are recorded. -]]>33551744InstancePathT_MaxString204832instance-pathnoinitGetCurrentTaskIndexGETCURTASKINDEX + 33551744 + + InstancePath + T_MaxString + 2048 + 32 + + + instance-path + + + noinit + + + + + GetCurrentTaskIndex + GETCURTASKINDEX + We need to have access to specific information of the current task that this test suite is executed in. This is for instance necessary when we need to know whether a test is defined already. The definition of a test that is defined already is that we call on it - with the same name twice in the same cycle ]]>1282080NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1622080TestsFB_Test11004192002240TestDuplicateNameTriggerR_TRIG11006400421440TestCycleCountIndexUDINT11003200427840AssertResultsFB_AssertResultStatic24640320431040AssertArrayResultsFB_AssertArrayResultStatic848025625071360AdsAssertMessageFormatterFB_AdsAssertMessageFormatter6433551616AssertMessageFormatterI_AssertMessageFormatter3233551680HasStartedRunningBOOL833551712NumberOfOrderedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1633551728AssertEquals_LINTExpectedLINT64ActualLINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfSuccessfulTestsUINT16AssertArrayEquals_ULINTExpectedsULINT32variable_length_arrayDimensions1ActualsULINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32FindTestSuiteInstancePathT_MaxString2048AssertEquals_TIMEExpectedTIME32ActualTIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_TIME_OF_DAYExpectedTIME_OF_DAY32ActualTIME_OF_DAY32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_BYTEExpectedBYTE8ActualBYTE8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfFailedTestsUINT16CounterUINT16FailedTestsCountUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16NumberOfTestOverArrayLimitUINT16AssertEquals_DATE_AND_TIMEExpectedDATE_AND_TIME32ActualDATE_AND_TIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetTestByPositionFB_Test4192PositionUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_BOOLExpectedsBOOL32variable_length_arrayDimensions1ActualsBOOL32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_BYTEExpectedsBYTE32variable_length_arrayDimensions1ActualsBYTE32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedByteStringSTRING(80)648ActualByteStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_DATEExpectedDATE32ActualDATE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_WORDExpectedWORD16ActualWORD16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LINTExpectedsLINT32variable_length_arrayDimensions1ActualsLINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_LTIMEExpectedLTIME64ActualLTIME64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_UINTExpectedsUINT32variable_length_arrayDimensions1ActualsUINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_LREALExpectedLREAL64ActualLREAL64DeltaLREAL64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LWORDExpectedsLWORD32variable_length_arrayDimensions1ActualsLWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedLWordStringSTRING(80)648ActualLWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEqualsExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048CountDINT32ExpectedDataStringT_MaxString2048ActualDataStringT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8boolExpectedBOOL8boolActualBOOL8byteExpectedBYTE8byteActualBYTE8dateExpectedDATE32dateActualDATE32dateAndTimeExpectedDATE_AND_TIME32dateAndTimeActualDATE_AND_TIME32dintExpectedDINT32dintActualDINT32dwordExpectedDWORD32dwordActualDWORD32intExpectedINT16intActualINT16lintExpectedLINT64lintActualLINT64lrealExpectedLREAL64lrealActualLREAL64ltimeExpectedLTIME64ltimeActualLTIME64lwordExpectedLWORD64lwordActualLWORD64realExpectedREAL32realActualREAL32sintExpectedSINT8sintActualSINT8stringExpectedT_MaxString2048stringActualT_MaxString2048wstringExpectedWSTRING(255)4096wstringActualWSTRING(255)4096timeExpectedTIME32timeActualTIME32timeOfDayExpectedTIME_OF_DAY32timeOfDayActualTIME_OF_DAY32udintExpectedUDINT32udintActualUDINT32uintExpectedUINT16uintActualUINT16ulintExpectedULINT64ulintActualULINT64usintExpectedUSINT8usintActualUSINT8wordExpectedWORD16wordActualWORD16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8IteratorCounterDINT32hasanytypeAssertFalseConditionBOOL8MessageT_MaxString2048AssertEquals_SINTExpectedSINT8ActualSINT8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions2ActualsLREAL32variable_length_arrayDimensions2DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertEquals_ULINTExpectedULINT64ActualULINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_BOOLExpectedBOOL8ActualBOOL8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertEquals_USINTExpectedUSINT8ActualUSINT8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertEquals_LWORDExpectedLWORD64ActualLWORD64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_USINTExpectedsUSINT32variable_length_arrayDimensions1ActualsUSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32SetHasStartedRunningSetTestFailedAssertionTypeE_AssertionType8AssertionMessageT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16GetInstancePathT_MaxString2048GetTestOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16GetNumberOfTestsUINT16AssertArrayEquals_DWORDExpectedsDWORD32variable_length_arrayDimensions1ActualsDWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32GetHasStartedRunningBOOL8AssertArrayEquals_LREALExpectedsLREAL32variable_length_arrayDimensions1ActualsLREAL32variable_length_arrayDimensions1DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_WSTRINGExpectedWSTRING(255)4096ActualWSTRING(255)4096MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8IsTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_REALExpectedsREAL32variable_length_arrayDimensions1ActualsREAL32variable_length_arrayDimensions1DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_DINTExpectedDINT32ActualDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_DINTExpectedsDINT32variable_length_arrayDimensions1ActualsDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertEquals_STRINGExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8SetTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AreAllTestsFinishedBOOL8CounterUINT16GetCurTaskIndexGETCURTASKINDEX128NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertArrayEquals_WORDExpectedsWORD32variable_length_arrayDimensions1ActualsWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArray3dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions3ActualsLREAL32variable_length_arrayDimensions3DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertArrayEquals_INTExpectedsINT32variable_length_arrayDimensions1ActualsINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32CalculateAndSetNumberOfAssertsForTestTestNameT_MaxString2048TestInstancePathT_MaxString2048TotalNumberOfAssertsUINT16NumberOfAssertsUINT16NumberOfArrayAssertsUINT16IteratorCounterUINT16GetNumberOfSkippedTestsUINT16CounterUINT16SkippedTestsCountUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertEquals_DWORDExpectedDWORD32ActualDWORD32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertTrueConditionBOOL8MessageT_MaxString2048AssertEquals_INTExpectedINT16ActualINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_UINTExpectedUINT16ActualUINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_REALExpectedsREAL32variable_length_arrayDimensions2ActualsREAL32variable_length_arrayDimensions2DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedREAL32ActualREAL32__Index__0DINT32AddTestTestNameT_MaxString2048IsTestOrderedBOOL8IteratorCounterUINT16ErrorMessageT_MaxString2048TestInstancePathT_MaxString2048FunctionCallResultDINT32CycleCountUDINT32TestWithThisNameAlreadyExistsBOOL8LowerCasedTestNameT_MaxString2048TrimmedTestNameT_MaxString2048IgnoreCurrentTestCaseBOOL8NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertArray3dEquals_REALExpectedsREAL32variable_length_arrayDimensions3ActualsREAL32variable_length_arrayDimensions3DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedREAL32ActualREAL32ExpectedValueStringT_MaxString2048ActualValueStringT_MaxString2048FormatStringFB_FormatString7840__Index__0DINT32AddTestNameToInstancePathT_MaxString2048TestInstancePathT_MaxString2048CompleteTestInstancePathT_MaxString2048AssertEquals_UDINTExpectedUDINT32ActualUDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_REALExpectedREAL32ActualREAL32DeltaREAL32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_SINTExpectedsSINT32variable_length_arrayDimensions1ActualsSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32AssertArrayEquals_UDINTExpectedsUDINT32variable_length_arrayDimensions1ActualsUDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32__Index__0DINT32PouTypeFunctionBlockcall_after_initreflectionST_AdsLogStringMessage4128MsgCtrlMaskDWORD320MsgFmtStrT_MaxString204832StrArgT_MaxString20482080pack_mode1FB_MemRingBuffer + 128 + 2080 + + + NumberOfTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2208 + + 0 + + + + Tests + FB_Test + + 1 + 100 + + 419200 + 2240 + + + TestDuplicateNameTrigger + R_TRIG + + 1 + 100 + + Rising trigger of whether we have already notified the user of that the test name pointed to by the current + position is a duplicate + 6400 + 421440 + + + TestCycleCountIndex + UDINT + + 1 + 100 + + Last cycle count index for a specific test. Used to detect whether this test has already been defined in the + current test suite + 3200 + 427840 + + + AssertResults + FB_AssertResultStatic + 24640320 + 431040 + + + AssertArrayResults + FB_AssertArrayResultStatic + 8480256 + 25071360 + + + AdsAssertMessageFormatter + FB_AdsAssertMessageFormatter + Prints the failed asserts to ADS so that Visual Studio can display the assert message. + This assert formatter can be replaced with something else than ADS + 64 + 33551616 + + + AssertMessageFormatter + I_AssertMessageFormatter + 32 + 33551680 + + + HasStartedRunning + BOOL + Indication whether this test suite has started running its tests + 8 + 33551712 + + + NumberOfOrderedTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + Number of ordered tests (created by TEST_ORDERED()) that this test suite contains + 16 + 33551728 + + + AssertEquals_LINT + + Expected + LINT expected value + LINT + 64 + + + Actual + LINT actual value + LINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetNumberOfSuccessfulTests + UINT + 16 + + + AssertArrayEquals_ULINT + + Expecteds + ULINT array with expected values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + ULINT array with actual values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + FindTestSuiteInstancePath + T_MaxString + 2048 + + + AssertEquals_TIME + + Expected + TIME expected value + TIME + 32 + + + Actual + TIME actual value + TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_TIME_OF_DAY + + Expected + TIME_OF_DAY expected value + TIME_OF_DAY + 32 + + + Actual + TIME_OF_DAY actual value + TIME_OF_DAY + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_BYTE + + Expected + BYTE expected value + BYTE + 8 + + + Actual + BYTE actual value + BYTE + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetNumberOfFailedTests + UINT + 16 + + Counter + UINT + 16 + + + FailedTestsCount + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + NumberOfTestOverArrayLimit + UINT + 16 + + + + AssertEquals_DATE_AND_TIME + + Expected + DATE_AND_TIME expected value + DATE_AND_TIME + 32 + + + Actual + DATE_AND_TIME actual value + DATE_AND_TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetTestByPosition + FB_Test + 4192 + + Position + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AssertArrayEquals_BOOL + + Expecteds + BOOL array with expected values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BOOL array with actual values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_BYTE + + Expecteds + BYTE array with expected values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BYTE array with actual values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedByteString + STRING(80) + 648 + + + ActualByteString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_DATE + + Expected + DATE expected value + DATE + 32 + + + Actual + DATE actual value + DATE + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_WORD + + Expected + WORD expected value + WORD + 16 + + + Actual + WORD actual value + WORD + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_LINT + + Expecteds + LINT array with expected values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LINT array with actual values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_LTIME + + Expected + LTIME expected value + LTIME + 64 + + + Actual + LTIME actual value + LTIME + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_UINT + + Expecteds + UINT array with expected values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UINT array with actual values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_LREAL + + Expected + LREAL expected value + LREAL + 64 + + + Actual + LREAL actual value + LREAL + 64 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_LWORD + + Expecteds + LWORD array with expected values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LWORD array with actual values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedLWordString + STRING(80) + 648 + + + ActualLWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals + + Expected + Expected value + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + The value to check against expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Count + DINT + 32 + + + ExpectedDataString + T_MaxString + 2048 + + + ActualDataString + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + boolExpected + BOOL + 8 + + + boolActual + BOOL + 8 + + + byteExpected + BYTE + 8 + + + byteActual + BYTE + 8 + + + dateExpected + DATE + 32 + + + dateActual + DATE + 32 + + + dateAndTimeExpected + DATE_AND_TIME + 32 + + + dateAndTimeActual + DATE_AND_TIME + 32 + + + dintExpected + DINT + 32 + + + dintActual + DINT + 32 + + + dwordExpected + DWORD + 32 + + + dwordActual + DWORD + 32 + + + intExpected + INT + 16 + + + intActual + INT + 16 + + + lintExpected + LINT + 64 + + + lintActual + LINT + 64 + + + lrealExpected + LREAL + 64 + + + lrealActual + LREAL + 64 + + + ltimeExpected + LTIME + 64 + + + ltimeActual + LTIME + 64 + + + lwordExpected + LWORD + 64 + + + lwordActual + LWORD + 64 + + + realExpected + REAL + 32 + + + realActual + REAL + 32 + + + sintExpected + SINT + 8 + + + sintActual + SINT + 8 + + + stringExpected + T_MaxString + 2048 + + + stringActual + T_MaxString + 2048 + + + wstringExpected + WSTRING(255) + 4096 + + + wstringActual + WSTRING(255) + 4096 + + + timeExpected + TIME + 32 + + + timeActual + TIME + 32 + + + timeOfDayExpected + TIME_OF_DAY + 32 + + + timeOfDayActual + TIME_OF_DAY + 32 + + + udintExpected + UDINT + 32 + + + udintActual + UDINT + 32 + + + uintExpected + UINT + 16 + + + uintActual + UINT + 16 + + + ulintExpected + ULINT + 64 + + + ulintActual + ULINT + 64 + + + usintExpected + USINT + 8 + + + usintActual + USINT + 8 + + + wordExpected + WORD + 16 + + + wordActual + WORD + 16 + + + DataTypesNotEquals + The data type of the two ANY input parameters are not equal + BOOL + 8 + + + DataSizeNotEquals + The data size of the two ANY input parameters are not equal + BOOL + 8 + + + DataContentNotEquals + The data content of the two ANY input parameters are not equal + BOOL + 8 + + + IteratorCounter + DINT + 32 + + + + hasanytype + + + + + AssertFalse + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertEquals_SINT + + Expected + SINT expected value + SINT + 8 + + + Actual + SINT actual value + SINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_LREAL + + Expecteds + LREAL 2d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + LREAL 2d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + Expected + Single expected value + LREAL + 64 + + + Actual + Single actual value + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertEquals_ULINT + + Expected + ULINT expected value + ULINT + 64 + + + Actual + ULINT actual value + ULINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_BOOL + + Expected + BOOL expected value + BOOL + 8 + + + Actual + BOOL actual value + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertEquals_USINT + + Expected + USINT expected value + USINT + 8 + + + Actual + USINT actual value + USINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertEquals_LWORD + + Expected + LWORD expected value + LWORD + 64 + + + Actual + LWORD actual value + LWORD + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_USINT + + Expecteds + USINT array with expected values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + USINT array with actual values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + SetHasStartedRunning + + + SetTestFailed + + AssertionType + E_AssertionType + 8 + + + AssertionMessage + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + GetInstancePath + T_MaxString + 2048 + + + GetTestOrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + GetNumberOfTests + UINT + 16 + + + AssertArrayEquals_DWORD + + Expecteds + DWORD array with expected values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DWORD array with actual values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + GetHasStartedRunning + BOOL + 8 + + + AssertArrayEquals_LREAL + + Expecteds + LREAL array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LREAL array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_WSTRING + + Expected + WSTRING expected value + WSTRING(255) + 4096 + + + Actual + WSTRING actual value + WSTRING(255) + 4096 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + IsTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AssertArrayEquals_REAL + + Expecteds + REAL array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + REAL array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_DINT + + Expected + DINT expected value + DINT + 32 + + + Actual + DINT actual value + DINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_DINT + + Expecteds + DINT array with expected values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DINT array with actual values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertEquals_STRING + + Expected + STRING expected value + T_MaxString + 2048 + + + Actual + STRING actual value + T_MaxString + 2048 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + SetTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AreAllTestsFinished + BOOL + 8 + + Counter + UINT + 16 + + + GetCurTaskIndex + GETCURTASKINDEX + 128 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertArrayEquals_WORD + + Expecteds + WORD array with expected values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + WORD array with actual values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArray3dEquals_LREAL + + Expecteds + LREAL 3d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + LREAL 3d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + Expected + Single expected value + LREAL + 64 + + + Actual + Single actual value + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_INT + + Expecteds + INT array with expected values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + INT array with actual values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + CalculateAndSetNumberOfAssertsForTest + + TestName + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + TotalNumberOfAsserts + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + NumberOfArrayAsserts + UINT + 16 + + + IteratorCounter + UINT + 16 + + + + GetNumberOfSkippedTests + UINT + 16 + + Counter + UINT + 16 + + + SkippedTestsCount + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertEquals_DWORD + + Expected + DWORD expected value + DWORD + 32 + + + Actual + DWORD actual value + DWORD + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertTrue + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertEquals_INT + + Expected + INT expected value + INT + 16 + + + Actual + INT actual value + INT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_UINT + + Expected + UINT expected value + UINT + 16 + + + Actual + UINT actual value + UINT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_REAL + + Expecteds + REAL 2d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + REAL 2d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + Expected + Single expected value + REAL + 32 + + + Actual + Single actual value + REAL + 32 + + + __Index__0 + DINT + 32 + + + + AddTest + + TestName + T_MaxString + 2048 + + + IsTestOrdered + BOOL + 8 + + + IteratorCounter + UINT + 16 + + + ErrorMessage + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + FunctionCallResult + DINT + 32 + + + CycleCount + UDINT + 32 + + + TestWithThisNameAlreadyExists + BOOL + 8 + + + LowerCasedTestName + T_MaxString + 2048 + + + TrimmedTestName + T_MaxString + 2048 + + + IgnoreCurrentTestCase + BOOL + 8 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertArray3dEquals_REAL + + Expecteds + REAL 3d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + REAL 3d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + Expected + Single expected value + REAL + 32 + + + Actual + Single actual value + REAL + 32 + + + ExpectedValueString + T_MaxString + 2048 + + + ActualValueString + T_MaxString + 2048 + + + FormatString + String formatter for output messages + FB_FormatString + 7840 + + + __Index__0 + DINT + 32 + + + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + + + AssertEquals_UDINT + + Expected + UDINT expected value + UDINT + 32 + + + Actual + UDINT actual value + UDINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_REAL + + Expected + REAL expected value + REAL + 32 + + + Actual + REAL actual value + REAL + 32 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_SINT + + Expecteds + SINT array with expected values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + SINT array with actual values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_UDINT + + Expecteds + UDINT array with expected values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UDINT array with actual values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + + + + PouType + FunctionBlock + + + call_after_init + + + reflection + + + + + ST_AdsLogStringMessage + 4128 + + MsgCtrlMask + DWORD + 32 + 0 + + + MsgFmtStr + T_MaxString + 2048 + 32 + + + StrArg + T_MaxString + 2048 + 2080 + + + + pack_mode + 1 + + + + + FB_MemRingBuffer + This function block implements ring buffer fifo functionality. A_AddTail adds new entry, A_GetHead gets first (oldest) entry - A_RemoveHead gets and removes first (oldest) entry. Use A_Reset to clear all fifo data. ]]>544pWriteBYTE3232ItemTypeInputcbWriteUDINT3264ItemTypeInputpReadBYTE3296ItemTypeInputcbReadUDINT32128ItemTypeInputpBufferBYTE32160ItemTypeInputcbBufferUDINT32192ItemTypeInputbOkBOOL8224ItemTypeOutputnCountUDINT322560ItemTypeOutputcbSizeUDINT322880ItemTypeOutputcbReturnUDINT Number of recend realy returned (removed or get) data bytes - If bOk == FALSE and cbReturn <> 0 => Number of required read buffer data bytes (cbRead underflow) ]]>323200ItemTypeOutputidxLastDWORD323520conditionalshowidxFirstDWORD323840conditionalshowidxGetDWORD32416conditionalshowpTmpBYTE32448conditionalshowcbTmpDWORD32480conditionalshowcbCopiedDWORD32512conditionalshowA_ResetA_AddTailA_RemoveHeadA_GetHeadPouTypeFunctionBlockconditionalshow_all_localsTON224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockFB_AdsLogStringMessageFifoQueue + 544 + + pWrite + BYTE + Pointer to write data + 32 + 32 + + + ItemType + Input + + + + + cbWrite + UDINT + Byte size of write data + 32 + 64 + + + ItemType + Input + + + + + pRead + BYTE + Pointer to read data buffer + 32 + 96 + + + ItemType + Input + + + + + cbRead + UDINT + Byte size of read data buffer + 32 + 128 + + + ItemType + Input + + + + + pBuffer + BYTE + Pointer to ring buffer data bytes + 32 + 160 + + + ItemType + Input + + + + + cbBuffer + UDINT + Max. ring buffer byte size + 32 + 192 + + + ItemType + Input + + + + + bOk + BOOL + TRUE = new entry added or removed succesfully, FALSE = fifo overflow or fifo empty + 8 + 224 + + + ItemType + Output + + + + + nCount + UDINT + Number of fifo entries + 32 + 256 + + 0 + + + + ItemType + Output + + + + + cbSize + UDINT + Current byte length of fifo data + 32 + 288 + + 0 + + + + ItemType + Output + + + + + cbReturn + UDINT + If bOk == TRUE => Number of recend realy returned (removed or get) data bytes + If bOk == FALSE and cbReturn <> 0 => Number of required read buffer data bytes (cbRead underflow) + 32 + 320 + + 0 + + + + ItemType + Output + + + + + idxLast + DWORD + 32 + 352 + + 0 + + + + conditionalshow + + + + + idxFirst + DWORD + 32 + 384 + + 0 + + + + conditionalshow + + + + + idxGet + DWORD + 32 + 416 + + + conditionalshow + + + + + pTmp + BYTE + 32 + 448 + + + conditionalshow + + + + + cbTmp + DWORD + 32 + 480 + + + conditionalshow + + + + + cbCopied + DWORD + 32 + 512 + + + conditionalshow + + + + + A_Reset + + + A_AddTail + + + A_RemoveHead + + + A_GetHead + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + TON + 224 + + IN + BOOL + starts timer with rising edge, resets timer with falling edge + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + time to pass, before Q is set + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + gets TRUE, delay time (PT) after a rising edge at IN + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + elapsed time + 32 + 128 + + + ItemType + Output + + + + + M + BOOL + 8 + 160 + + + StartTime + TIME + 32 + 192 + + + + PouType + FunctionBlock + + + + + FB_AdsLogStringMessageFifoQueue + This function block is responsible for making sure that the ADSLOGSTR-messages to the ADS-router are transmitted cyclically and not in a burst. The reason this is necessary is because that if too many messages are sent at the same time some get lost and are never printed to the error list output -]]>8320864ArrayBufferBYTE01040000832000032MemRingBufferFB_MemRingBuffer5448320032TimerBetweenMessagesTON2248320576.IN1.PT10MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORDUSINT883208004TIME_BETWEEN_MESSAGESTIME32832083210GetLogCountUDINT32WriteLogMsgCtrlMaskDWORD32MsgFmtStrT_MaxString2048StrArgT_MaxString2048ErrorBOOL8ItemTypeOutputAdsLogStringMessageST_AdsLogStringMessage4128GetAndRemoveLogFromQueueAdsLogStringMessageST_AdsLogStringMessage4128ItemTypeOutputErrorBOOL8ItemTypeOutputPouTypeFunctionBlockST_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_TimeZoneInformation864biasDINT + 8320864 + + ArrayBuffer + BYTE + + 0 + 1040000 + + 8320000 + 32 + + + MemRingBuffer + FB_MemRingBuffer + 544 + 8320032 + + + TimerBetweenMessages + TON + 224 + 8320576 + + + .IN + 1 + + + .PT + 10 + + + + + MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORD + USINT + 8 + 8320800 + + 4 + + + + TIME_BETWEEN_MESSAGES + TIME + 32 + 8320832 + + 10 + + + + GetLogCount + UDINT + 32 + + + WriteLog + + MsgCtrlMask + DWORD + 32 + + + MsgFmtStr + T_MaxString + 2048 + + + StrArg + T_MaxString + 2048 + + + Error + Buffer overflow + BOOL + 8 + + + ItemType + Output + + + + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + + GetAndRemoveLogFromQueue + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + + + + PouType + FunctionBlock + + + + + ST_LibVersion + 288 + + iMajor + UINT + 16 + 0 + + + iMinor + UINT + 16 + 16 + + + iBuild + UINT + 16 + 32 + + + iRevision + UINT + 16 + 48 + + + nFlags + DWORD + 32 + 64 + + + sVersion + STRING(23) + 192 + 96 + + + + E_WATCHDOG_TIME_CONFIG + 16 + INT + + eWATCHDOG_TIME_DISABLED + 0 + + + eWATCHDOG_TIME_SECONDS + 1 + + + eWATCHDOG_TIME_MINUTES + 2 + + + + E_HashPrefixTypes + 16 + INT + + HASHPREFIX_IEC + 0 + 2#, 8#, 16# + + + HASHPREFIX_STDC + 1 + 0 for octal type, 0x, 0X for hex else none + + + + E_SBCSType + 16 + INT + + eSBCS_WesternEuropean + 1 + Windows 1252 (default) + + + eSBCS_CentralEuropean + 2 + Windows 1251 + + + + T_AmsNetID + TwinCAT AMS netID address string. + 192 + STRING(23) + + + E_RouteTransportType + 16 + UINT + + eRouteTransport_None + 0 + + + eRouteTransport_TCP_IP + 1 + + + eRouteTransport_IIO_LIGHTBUS + 2 + + + eRouteTransport_PROFIBUS_DP + 3 + + + eRouteTransport_PCI_ISA_BUS + 4 + + + eRouteTransport_ADS_UDP + 5 + + + eRouteTransport_FATP_UDP + 6 + + + eRouteTransport_COM_PORT + 7 + + + eRouteTransport_USB + 8 + + + eRouteTransport_CAN_OPEN + 9 + + + eRouteTransport_DEVICE_NET + 10 + + + eRouteTransport_SSB + 11 + + + eRouteTransport_SOAP + 12 + + + + ST_AmsRouteEntry + TwinCAT AMS route entry struct + 1184 + + sName + STRING(31) + String containing route name + 256 + 0 + + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 256 + + + sAddress + STRING(79) + String containing route network Ipv4 address or host name. + 640 + 448 + + + eTransport + E_RouteTransportType + Route transport type + 16 + 1088 + + + tTimeout + TIME + Route timeout + 32 + 1120 + + + dwFlags + DWORD + Additional flags + 32 + 1152 + + + + T_ULARGE_INTEGER + 64 bit unsigned integer + 64 + + dwLowPart + DWORD + Lower double word + 32 + 0 + + + dwHighPart + DWORD + Higher double word + 32 + 32 + + + + TIMESTRUCT + System Time Structure + 128 + + wYear + WORD + Year: 1970..2106 + 16 + 0 + + + wMonth + WORD + Month: 1..12 (January = 1, February = 2 and so on) + 16 + 16 + + + wDayOfWeek + WORD + Day of the week: 0..6 (Sunday = 0, Monday = 1, .. , Saturday = 6 and so on) + 16 + 32 + + + wDay + WORD + Day of the month: 1..31 + 16 + 48 + + + wHour + WORD + Hour: 0..23 + 16 + 64 + + + wMinute + WORD + Minute: 0..59 + 16 + 80 + + + wSecond + WORD + Second: 0..59 + 16 + 96 + + + wMilliseconds + WORD + Milliseconds: 0..999 + 16 + 112 + + + + ST_TimeZoneInformation + 864 + + bias + DINT + Specifies the current bias, in minutes, for local time translation on this computer. The bias is the difference, in minutes, between Coordinated Universal Time (UTC) and local time. - UTC = local time + bias ]]>320standardNameSTRING(31)25632standardDateTIMESTRUCT128288standardBiasDINT32416daylightNameSTRING(31)256448daylightDateTIMESTRUCT128704daylightBiasDINT32832ST_System40xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832analysis-33TcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener32PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult64bBusyBOOL880255500bErrorBOOL880255536hrErrorCodeHRESULT3280255544nStringSizeUDINT3280255524sResultSTRING(255)204880255540__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult32conditionalshowGetStringBOOL8sResultSTRING(80)32nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32pEmptySTRING(80)32propertymonitoringcallClear__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyTcSourceInfoType32UDINT0124plcAttribute_qualified_onlyplcAttribute_strictTcSerializedSourceInfoType96eTypeTcSourceInfoType320obDataUDINT3232cbDataUDINT3264ITcSourceInfo32ITcUnknownGetNumTypesHRESULT32nCountUDINT32GetTypesHRESULT32ppSourceInfoTypesTcSerializedSourceInfoType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32ppDataPVOID32ITcEvent32ITcUnknownGetEventClassHRESULT32eventClassGUID32GetEventIdHRESULT32eventIdUDINT32GetSeverityHRESULT32severityTcEventSeverity32GetSourceInfoHRESULT32pipSourceInfoITcSourceInfo32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32GetTextHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32I_TcSourceInfo32PVOID__getguidGUID128property__getipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32propertymonitoringcall__getsNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8EqualsToBOOL8ipOtherI_TcSourceInfo32TcEventEntry192uuidEventClassGUID1280nEventIdUDINT32128eSeverityTcEventSeverity16160I_TcEventBase32PVOID__geteSeverityTcEventSeverity16propertymonitoringcall__getEventClassGUID128property__getipSourceInfoI_TcSourceInfo32propertymonitoringcall__getnEventIdUDINT32propertymonitoringcall__getsEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getsEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getstEventEntryTcEventEntry192propertyEqualsToBOOL8ipOtherI_TcEventBase32EqualsToEventClassBOOL8OtherEventClassGUID128EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16EqualsToEventEntryExBOOL8stOtherTcEventEntry192GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputRequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputIQueryInterface32PVOID__GetInterfacePointerBOOL8pRefDWORD32__GetInterfaceReferenceBOOL8nInterfaceIdDINT32pRefDWORD32TcEventArgumentType16INT012345678910111213141516171819plcAttribute_qualified_onlyplcAttribute_strictITcArguments32ITcUnknownCountHRESULT32nCountUDINT32AddArgumentHRESULT32eTypeTcEventArgumentType16pDataPVOID32cbDataUDINT32GetHRESULT32nIndexUDINT32eTypeTcEventArgumentType32ppDataPVOID32ClearHRESULT32GetArgumentTypesHRESULT32pArgumentTypesTcEventArgumentType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32pDataBYTE32I_TcArguments32IQueryInterface__getipDataITcArguments32propertyconditionalshow__getnCountUDINT32propertyAddBlobI_TcArguments32pDataPVOID32cbDataUINT16AddBoolI_TcArguments32valueBOOL8AddByteI_TcArguments32valueBYTE8AddDIntI_TcArguments32valueDINT32AddDWordI_TcArguments32valueDWORD32AddEventReferenceExI_TcArguments32stEventEntryTcEventEntry192AddEventReferenceIdI_TcArguments32nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments32nEventIdUDINT32EventClassGUID128AddIntI_TcArguments32valueINT16AddLIntI_TcArguments32valueLINT64AddLRealI_TcArguments32valueLREAL64AddRealI_TcArguments32valueREAL32AddSIntI_TcArguments32valueSINT8AddStringI_TcArguments32valueSTRING(80)32ItemTypeInOutAddStringByValueI_TcArguments32valueT_MaxString2048AddUDIntI_TcArguments32valueUDINT32AddUIntI_TcArguments32valueUINT16AddULIntI_TcArguments32valueULINT64AddUSIntI_TcArguments32valueUSINT8AddUtf8EncodedStringI_TcArguments32valueSTRING(80)32ItemTypeInOutAddWordI_TcArguments32valueWORD16AddWStringI_TcArguments32valueWSTRING(80)32ItemTypeInOutAddWStringByValueI_TcArguments32valueWSTRING(255)4096ClearI_TcArguments32ITcEventUniqueIdProvider32ITcUnknownGetUniqueIdHRESULT32idUDINT32FB_TcSourceInfo2848I_TcSourceInfonIdUDINT328025544080255464sNameSTRING(255)20488025548080255492ExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo32ipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefaultHRESULT32Clear__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo32__getguidGUID128guidGUID128property__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase3424I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2848256conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult643232conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83296conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult643328conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL83392conditionalshoweSeverityTcEventSeverity1680255592ipSourceInfoI_TcSourceInfo3280255572nEventIdUDINT3280255660nUniqueIdUDINT3280255664sEventClassNameSTRING(255)204880255620sEventTextSTRING(255)204880255668EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult32ItemTypeInOutipTmpEventITcEvent32ipResultITcAsyncStringResult32hrHRESULT32ReleaseHRESULT32UpdateLangId__getipSourceInfoI_TcSourceInfo32ipSourceInfoI_TcSourceInfo32propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshow__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent32property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent32propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult64uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSYOnArgumentsChanged__getsEventClassNameSTRING(255)2048sEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getipArgumentsI_TcArguments32ipArgumentsI_TcArguments32propertyGetEventTextHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult32ItemTypeInOutipTmpEventITcEvent32ipResultITcAsyncStringResult32hrHRESULT32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32ipTmpEventITcEvent32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult64uselocation__REQUESTEVENTCLASSNAME__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTCLASSNAME__BBUSYEqualsToEventEntryExBOOL8stOtherTcEventEntry192__getnEventIdUDINT32nEventIdUDINT32ipTmpEventITcEvent32propertymonitoringcall__getnUniqueIdUDINT32nUniqueIdUDINT32ipTmpEventITcEvent32ipProviderITcEventUniqueIdProvider32propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyI_TcMessage32I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage3488FB_TcEventBaseI_TcMessagenTimeSentULINT6480255692SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo32InitipMessageITcMessage32ipArgumentsITcArguments32ipSourceInfoITcSourceInfo32conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage232nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo32hrHRESULT32ipArgumentsITcArguments32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshowSendHRESULT32nTimeStampULINT64ReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIG + 32 + 0 + + + standardName + STRING(31) + Specifies a null-terminated string associated with standard time + on this operating system. + 256 + 32 + + + standardDate + TIMESTRUCT + Specifies a SYSTEMTIME structure that contains a date and local time when the + transition from daylight saving time to standard time occurs on this operating system. + 128 + 288 + + + standardBias + DINT + Specifies a bias value to be used during local time translations that occur during standard time. + 32 + 416 + + + daylightName + STRING(31) + Specifies a null-terminated string associated with daylight saving time on this operating system. + For example, this member could contain "PDT" to indicate Pacific Daylight Time. + 256 + 448 + + + daylightDate + TIMESTRUCT + Specifies a SYSTEMTIME structure that contains a date and local time when the transition + from standard time to daylight saving time occurs on this operating system. + 128 + 704 + + + daylightBias + DINT + Specifies a bias value to be used during local time translations that occur during daylight saving time. + 32 + 832 + + + + ST_System + Defacto system structure, must be included in all projects + 40 + + xSwAlmRst + BOOL + Global Alarm Reset - EPICS Command + 8 + 0 + + + xAtVacuum + BOOL + System At Vacuum + 8 + 8 + + + xFirstScan + BOOL + This boolean is true for the first scan, and is false thereafter, use for initialization of stuff + 8 + 16 + + + xOverrideMode + BOOL + This bit is set when using the override features of the system + 8 + 24 + + + xIOState + BOOL + ECat Bus Health + 8 + 32 + + + + analysis + -33 + + + + + TcEventSeverity + 16 + INT + + TCEVENTSEVERITY_Verbose + 0 + + + TCEVENTSEVERITY_Info + 1 + + + TCEVENTSEVERITY_Warning + 2 + + + TCEVENTSEVERITY_Error + 3 + + + TCEVENTSEVERITY_Critical + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + + E_Subsystem + 16 + WORD + + NILVALUE + 0 + Undefined system + + + VACUUM + 1 + Vacuum control system + + + MPS + 2 + Machine protection system + + + MOTION + 3 + Motion control systems + + + FIELDBUS + 4 + EtherCAT networks + + + SDS + 5 + Sample delivery system + + + OPTICS + 6 + Optics control system + + + + I_ArgumentsChangeListener + 32 + PVOID + + OnArgumentsChanged + + + + ITcAsyncResult + 32 + ITcUnknown + + GetIsBusy + HRESULT + 32 + + bIsBusy + BOOL32 + 32 + + + + GetHasError + HRESULT + 32 + + bError + BOOL32 + 32 + + + + GetErrorCode + HRESULT + 32 + + hresult + HRESULT + 32 + + + + + FB_AsyncStrResult + 64 + + bBusy + BOOL + 8 + 80255500 + + + bError + BOOL + 8 + 80255536 + + + hrErrorCode + HRESULT + 32 + 80255544 + + + nStringSize + UDINT + 32 + 80255524 + + + sResult + STRING(255) + 2048 + 80255540 + + + __getbBusy + BOOL + 8 + + bBusy + BOOL + 8 + + + b32IsBusy + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + Init + + ipResult + ITcAsyncStringResult + 32 + + + + conditionalshow + + + + + GetString + BOOL + 8 + + sResult + STRING(80) + 32 + + + nResult + buffer size in bytes + UDINT + 32 + + + + __getnStringSize + UDINT + 32 + + nStringSize + UDINT + 32 + + + pEmpty + STRING(80) + 32 + + + + property + + + monitoring + call + + + + + Clear + + + __getbError + BOOL + 8 + + bError + BOOL + 8 + + + b32HasError + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + __getsResult + STRING(255) + 2048 + + sResult + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + monitoring + call + + + + + + PouType + FunctionBlock + + + enable_dynamic_creation + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + TcSourceInfoType + 32 + UDINT + + Undefined + 0 + + + Id + 1 + + + Guid + 2 + + + Name + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + TcSerializedSourceInfoType + 96 + + eType + TcSourceInfoType + 32 + 0 + + + obData + UDINT + 32 + 32 + + + cbData + UDINT + 32 + 64 + + + + ITcSourceInfo + 32 + ITcUnknown + + GetNumTypes + HRESULT + 32 + + nCount + UDINT + 32 + + + + GetTypes + HRESULT + 32 + + ppSourceInfoTypes + TcSerializedSourceInfoType + 32 + + + + GetDataSize + HRESULT + 32 + + cbData + UDINT + 32 + + + + GetData + HRESULT + 32 + + ppData + PVOID + 32 + + + + + ITcEvent + 32 + ITcUnknown + + GetEventClass + HRESULT + 32 + + eventClass + GUID + 32 + + + + GetEventId + HRESULT + 32 + + eventId + UDINT + 32 + + + + GetSeverity + HRESULT + 32 + + severity + TcEventSeverity + 32 + + + + GetSourceInfo + HRESULT + 32 + + pipSourceInfo + ITcSourceInfo + 32 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + + GetText + HRESULT + 32 + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + GetEventClassName + HRESULT + 32 + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + + I_TcSourceInfo + 32 + PVOID + + __getguid + GUID + 128 + + + property + + + + + __getipData + ITcSourceInfo + 32 + + + property + + + conditionalshow + + + + + __getnId + UDINT + 32 + + + property + + + monitoring + call + + + + + __getsName + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcSourceInfo + 32 + + + + + TcEventEntry + 192 + + uuidEventClass + GUID + 128 + 0 + + + nEventId + UDINT + 32 + 128 + + + eSeverity + TcEventSeverity + 16 + 160 + + + + I_TcEventBase + 32 + PVOID + + __geteSeverity + TcEventSeverity + 16 + + + property + + + monitoring + call + + + + + __getEventClass + GUID + 128 + + + property + + + + + __getipSourceInfo + I_TcSourceInfo + 32 + + + property + + + monitoring + call + + + + + __getnEventId + UDINT + 32 + + + property + + + monitoring + call + + + + + __getsEventClassName + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getsEventText + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getstEventEntry + TcEventEntry + 192 + + + property + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcEventBase + 32 + + + + EqualsToEventClass + BOOL + 8 + + OtherEventClass + GUID + 128 + + + + EqualsToEventEntry + BOOL + 8 + + OtherEventClass + GUID + 128 + + + nOtherEventID + UDINT + 32 + + + eOtherSeverity + TcEventSeverity + 16 + + + + EqualsToEventEntryEx + BOOL + 8 + + stOther + TcEventEntry + 192 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + + RequestEventClassName + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + RequestEventText + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + + IQueryInterface + 32 + PVOID + + __GetInterfacePointer + BOOL + 8 + + pRef + DWORD + 32 + + + + __GetInterfaceReference + BOOL + 8 + + nInterfaceId + DINT + 32 + + + pRef + DWORD + 32 + + + + + TcEventArgumentType + 16 + INT + + Undefined + 0 + + + Boolean + 1 + + + Int8 + 2 + + + Int16 + 3 + + + Int32 + 4 + + + Int64 + 5 + + + UInt8 + 6 + + + UInt16 + 7 + + + UInt32 + 8 + + + UInt64 + 9 + + + Float + 10 + + + Double + 11 + + + Char + 12 + + + WChar + 13 + + + StringType + 14 + + + WStringType + 15 + + + EventReference + 16 + + + FormatString + 17 + + + ExternalTimestamp + 18 + + + Blob + 19 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + ITcArguments + 32 + ITcUnknown + + Count + HRESULT + 32 + + nCount + UDINT + 32 + + + + AddArgument + HRESULT + 32 + + eType + TcEventArgumentType + 16 + + + pData + PVOID + 32 + + + cbData + UDINT + 32 + + + + Get + HRESULT + 32 + + nIndex + UDINT + 32 + + + eType + TcEventArgumentType + 32 + + + ppData + PVOID + 32 + + + + Clear + HRESULT + 32 + + + GetArgumentTypes + HRESULT + 32 + + pArgumentTypes + TcEventArgumentType + 32 + + + + GetDataSize + HRESULT + 32 + + cbData + UDINT + 32 + + + + GetData + HRESULT + 32 + + pData + BYTE + 32 + + + + + I_TcArguments + 32 + IQueryInterface + + __getipData + ITcArguments + 32 + + + property + + + conditionalshow + + + + + __getnCount + UDINT + 32 + + + property + + + + + AddBlob + I_TcArguments + 32 + + pData + PVOID + 32 + + + cbData + UINT + 16 + + + + AddBool + I_TcArguments + 32 + + value + BOOL + 8 + + + + AddByte + I_TcArguments + 32 + + value + BYTE + 8 + + + + AddDInt + I_TcArguments + 32 + + value + DINT + 32 + + + + AddDWord + I_TcArguments + 32 + + value + DWORD + 32 + + + + AddEventReferenceEx + I_TcArguments + 32 + + stEventEntry + TcEventEntry + 192 + + + + AddEventReferenceId + I_TcArguments + 32 + + nEventId + UDINT + 32 + + + + AddEventReferenceIdGuid + I_TcArguments + 32 + + nEventId + UDINT + 32 + + + EventClass + GUID + 128 + + + + AddInt + I_TcArguments + 32 + + value + INT + 16 + + + + AddLInt + I_TcArguments + 32 + + value + LINT + 64 + + + + AddLReal + I_TcArguments + 32 + + value + LREAL + 64 + + + + AddReal + I_TcArguments + 32 + + value + REAL + 32 + + + + AddSInt + I_TcArguments + 32 + + value + SINT + 8 + + + + AddString + I_TcArguments + 32 + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddStringByValue + I_TcArguments + 32 + + value + T_MaxString + 2048 + + + + AddUDInt + I_TcArguments + 32 + + value + UDINT + 32 + + + + AddUInt + I_TcArguments + 32 + + value + UINT + 16 + + + + AddULInt + I_TcArguments + 32 + + value + ULINT + 64 + + + + AddUSInt + I_TcArguments + 32 + + value + USINT + 8 + + + + AddUtf8EncodedString + I_TcArguments + 32 + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddWord + I_TcArguments + 32 + + value + WORD + 16 + + + + AddWString + I_TcArguments + 32 + + value + WSTRING(80) + 32 + + + ItemType + InOut + + + + + + AddWStringByValue + I_TcArguments + 32 + + value + WSTRING(255) + 4096 + + + + Clear + I_TcArguments + 32 + + + + ITcEventUniqueIdProvider + 32 + ITcUnknown + + GetUniqueId + HRESULT + 32 + + id + UDINT + 32 + + + + + FB_TcSourceInfo + 2848 + I_TcSourceInfo + + nId + UDINT + 32 + 80255440 + 80255464 + + + sName + STRING(255) + 2048 + 80255480 + 80255492 + + + ExtendName + BOOL + 8 + + sExtension + STRING(255) + 2048 + + + + __getipData + ITcSourceInfo + 32 + + ipData + ITcSourceInfo + 32 + + + + property + + + conditionalshow + + + + + __getnId + UDINT + 32 + + nId + UDINT + 32 + + + + property + + + monitoring + call + + + + + ResetToDefault + HRESULT + 32 + + + Clear + + + __setnId + + nId + UDINT + 32 + + + monitoring + call + + + + + + property + + + monitoring + call + + + + + __setguid + + guid + GUID + 128 + + + + property + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcSourceInfo + 32 + + + + __getguid + GUID + 128 + + guid + GUID + 128 + + + + property + + + + + __getsName + STRING(255) + 2048 + + sName + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __setsName + + sName + STRING(255) + 2048 + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + FB_TcEventBase + 3424 + I_ArgumentsChangeListener + + fbSourceInfo + FB_TcSourceInfo + 2848 + 256 + + + conditionalshow + + + + + __REQUESTEVENTCLASSNAME__FBRESULT + FB_AsyncStrResult + 64 + 3232 + + + conditionalshow + + + + + __REQUESTEVENTCLASSNAME__BBUSY + BOOL + 8 + 3296 + + + conditionalshow + + + + + __REQUESTEVENTTEXT__FBRESULT + FB_AsyncStrResult + 64 + 3328 + + + conditionalshow + + + + + __REQUESTEVENTTEXT__BBUSY + BOOL + 8 + 3392 + + + conditionalshow + + + + + eSeverity + TcEventSeverity + 16 + 80255592 + + + ipSourceInfo + I_TcSourceInfo + 32 + 80255572 + + + nEventId + UDINT + 32 + 80255660 + + + nUniqueId + UDINT + 32 + 80255664 + + + sEventClassName + STRING(255) + 2048 + 80255620 + + + sEventText + STRING(255) + 2048 + 80255668 + + + EqualsToEventClass + BOOL + 8 + + OtherEventClass + GUID + 128 + + + _EventClass + GUID + 128 + + + + GetEventClassName + HRESULT + 32 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + fbResult + FB_AsyncStrResult + 32 + + + ItemType + InOut + + + + + ipTmpEvent + ITcEvent + 32 + + + ipResult + ITcAsyncStringResult + 32 + + + hr + HRESULT + 32 + + + + Release + HRESULT + 32 + + + UpdateLangId + + + __getipSourceInfo + I_TcSourceInfo + 32 + + ipSourceInfo + I_TcSourceInfo + 32 + + + + property + + + monitoring + call + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcEventBase + 32 + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + __getEventClass + GUID + 128 + + EventClass + GUID + 128 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + + + __geteSeverity + TcEventSeverity + 16 + + eSeverity + TcEventSeverity + 16 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + monitoring + call + + + + + __getstEventEntry + TcEventEntry + 192 + + stEventEntry + TcEventEntry + 192 + + + + property + + + + + OnCreate + HRESULT + 32 + + + EqualsToEventEntry + BOOL + 8 + + OtherEventClass + GUID + 128 + + + nOtherEventID + UDINT + 32 + + + eOtherSeverity + TcEventSeverity + 16 + + + + RequestEventText + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + fbResult + FB_AsyncStrResult + 64 + + + uselocation + __REQUESTEVENTTEXT__FBRESULT + + + + + bBusy + BOOL + 8 + + + uselocation + __REQUESTEVENTTEXT__BBUSY + + + + + + OnArgumentsChanged + + + __getsEventClassName + STRING(255) + 2048 + + sEventClassName + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getipArguments + I_TcArguments + 32 + + ipArguments + I_TcArguments + 32 + + + + property + + + + + GetEventText + HRESULT + 32 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + fbResult + FB_AsyncStrResult + 32 + + + ItemType + InOut + + + + + ipTmpEvent + ITcEvent + 32 + + + ipResult + ITcAsyncStringResult + 32 + + + hr + HRESULT + 32 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + + RequestEventClassName + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + fbResult + FB_AsyncStrResult + 64 + + + uselocation + __REQUESTEVENTCLASSNAME__FBRESULT + + + + + bBusy + BOOL + 8 + + + uselocation + __REQUESTEVENTCLASSNAME__BBUSY + + + + + + EqualsToEventEntryEx + BOOL + 8 + + stOther + TcEventEntry + 192 + + + + __getnEventId + UDINT + 32 + + nEventId + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + monitoring + call + + + + + __getnUniqueId + UDINT + 32 + + nUniqueId + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + ipProvider + ITcEventUniqueIdProvider + 32 + + + + property + + + monitoring + call + + + + + __getsEventText + STRING(255) + 2048 + + sEventText + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + I_TcMessage + 32 + I_TcEventBase + + Send + HRESULT + 32 + + nTimeStamp + ULINT + 64 + + + + + ITcMessage + 32 + ITcEvent + + SetJsonAttribute + HRESULT + 32 + + sJsonAttribute + PCCH + 32 + + + + GetArguments + HRESULT + 32 + + pipArguments + ITcArguments + 32 + + + + Send + HRESULT + 32 + + timeStamp + ULINT + 64 + + + + + ITcMessage2 + 32 + ITcMessage + + GetTimeSent + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + + FB_TcMessage + 3488 + FB_TcEventBase + I_TcMessage + + nTimeSent + ULINT + 64 + 80255692 + + + SetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + ItemType + InOut + + + + + + CreateEx + HRESULT + 32 + + stEventEntry + TcEventEntry + 192 + + + ipSourceInfo + optional (otherwise a default source info is taken) + I_TcSourceInfo + 32 + + + + Init + + ipMessage + ITcMessage + 32 + + + ipArguments + ITcArguments + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + + conditionalshow + + + + + __getnTimeSent + ULINT + 64 + + nTimeSent + ULINT + 64 + + + ipMessage2 + ITcMessage2 + 32 + + + nTimeStamp + ULINT + 64 + + + + property + + + monitoring + call + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + Create + HRESULT + 32 + + eventClass + GUID + 128 + + + nEventId + UDINT + 32 + + + eSeverity + TcEventSeverity + 16 + + + ipSourceInfo + optional (otherwise a default source info is taken) + I_TcSourceInfo + 32 + + + hr + HRESULT + 32 + + + ipArguments + ITcArguments + 32 + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + Send + HRESULT + 32 + + nTimeStamp + set 0 to get the current time automatically + ULINT + 64 + + + + Release + HRESULT + 32 + + + + PouType + FunctionBlock + + + reflection + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + F_TRIG + Falling Edge detection. -]]>64CLKBOOL832ItemTypeInputQBOOL840ItemTypeOutputMBOOL8481conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LogMessage81984sMsgT_MaxString204832ItemTypeInputeSevrTcEventSeverity1620800ItemTypeInputeSubsystemE_Subsystem162096ItemTypeInputsJsonSTRING(7000)560082112{}ItemTypeInputnMinTimeViolationAcceptableINT16581285ItemTypeInputnLocalTripThresholdTIME32581441ItemTypeInputnTrickleTripThresholdTIME> LocalTripThreshold]]>3258176100ItemTypeInputnTripResetPeriodTIME3258208600000ItemTypeInputbEnableAutoResetBOOL8582401ItemTypeInputbInitializedBOOL8582480bInitFailedBOOL8582560sSubsystemSourceSTRING(80)64858264fbMessageFB_TcMessage3258912fbMessagesFB_TcMessage051744058944fbSourceFB_TcSourceInfo284876384ipResultMessageI_TcMessage3279232hrHRESULT3279264hrLastInternalErrorHRESULT3279296eTraceLevelTcEventSeverity16793280bFirstCallBOOL8793441sPathT_MaxString204879352instance-pathnoinitnTimesViolatedINT1681408LastCallTimeULINT6481472CurrentCallTimeULINT6481536DeltaSinceLastCallULINT6481600WhenTripsClearedULINT6481664ftTrippedReleasedF_TRIG6481728bLocalTrickleTrippedBOOL881792bLocalTrippedBOOL881800bTrippedBOOL881808pytmc + + 64 + + CLK + BOOL + signal to detect + 8 + 32 + + + ItemType + Input + + + + + Q + BOOL + falling edge at signal detected + 8 + 40 + + + ItemType + Output + + + + + M + BOOL + 8 + 48 + + 1 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LogMessage + 81984 + + sMsg + T_MaxString + Message to send + 2048 + 32 + + + ItemType + Input + + + + + eSevr + TcEventSeverity + 16 + 2080 + + 0 + + + + ItemType + Input + + + + + eSubsystem + E_Subsystem + Subsystem + 16 + 2096 + + + ItemType + Input + + + + + sJson + STRING(7000) + JSON to add to the message + 56008 + 2112 + + {} + + + + ItemType + Input + + + + + nMinTimeViolationAcceptable + INT + How many times the min. time can be violated before the CB trips + 16 + 58128 + + 5 + + + + ItemType + Input + + + + + nLocalTripThreshold + TIME + Minimum time between calls allowed, pairs with nMinTimeViolationAcceptable + 32 + 58144 + + 1 + + + + ItemType + Input + + + + + nTrickleTripThreshold + TIME + Trickle trip, activated by global threshold, should be >> LocalTripThreshold + 32 + 58176 + + 100 + + + + ItemType + Input + + + + + nTripResetPeriod + TIME + Time for auto-reset + 32 + 58208 + + 600000 + + + + ItemType + Input + + + + + bEnableAutoReset + BOOL + Enable circuit breaker auto-reset (true by default) + 8 + 58240 + + 1 + + + + ItemType + Input + + + + + bInitialized + BOOL + 8 + 58248 + + 0 + + + + bInitFailed + BOOL + 8 + 58256 + + 0 + + + + sSubsystemSource + STRING(80) + 648 + 58264 + + + fbMessage + FB_TcMessage + 32 + 58912 + + + fbMessages + FB_TcMessage + + 0 + 5 + + 17440 + 58944 + + + fbSource + FB_TcSourceInfo + 2848 + 76384 + + + ipResultMessage + I_TcMessage + 32 + 79232 + + + hr + HRESULT + 32 + 79264 + + + hrLastInternalError + HRESULT + 32 + 79296 + + + eTraceLevel + TcEventSeverity + 16 + 79328 + + 0 + + + + bFirstCall + BOOL + 8 + 79344 + + 1 + + + + sPath + T_MaxString + 2048 + 79352 + + + instance-path + + + noinit + + + + + nTimesViolated + INT + //////////////////////////// + 16 + 81408 + + + LastCallTime + ULINT + 64 + 81472 + + + CurrentCallTime + ULINT + 64 + 81536 + + + DeltaSinceLastCall + ULINT + 64 + 81600 + + + WhenTripsCleared + ULINT + 64 + 81664 + + + ftTrippedReleased + F_TRIG + 64 + 81728 + + + bLocalTrickleTripped + BOOL + 8 + 81792 + + + bLocalTripped + BOOL + 8 + 81800 + + + bTripped + BOOL + Won't emit messages if true + 8 + 81808 + + + pytmc + pv: Tripped io: i field: DESC Log message FB tripped - bResetBreakerBOOL881816pytmc + + + + + + bResetBreaker + BOOL + 8 + 81816 + + + pytmc + pv: Reset io: o field: DESC Rising-edge reset of trip - rtResetBreakerR_TRIG6481824rtTrippedR_TRIG6481888CircuitBreakerPouTypeFunctionBlockreflection_ST_NCADS_IDXOFFS_AxisParameter1632PARAMSTRUCTUDINT3200IDUDINT32321NAMEUDINT32642AXISTYPEUDINT32963CYCLETIMEUDINT321284UNITNAMEUDINT321605VELOREFSEARCHUDINT321926VELOSYNCSEARCHUDINT322247VELOSLOWMANUALUDINT322568VELOFASTMANUALUDINT322889VELOFASTUDINT3232010POSAREAENABLEUDINT3235215POSAREARANGEUDINT3238416MOTCNTRLENABLEUDINT3241617MOTCNTRLTIMEUDINT3244818LOOPENABLEUDINT3248019LOOPDISTANCEUDINT3251220TARGETPOSENAUDINT3254421TARGETPOSRANGEUDINT3257622TARGETPOSTIMEUDINT3260823PULSDISTPOSUDINT3264024PULSDISTNEGUDINT3267225FADINGACCELERATIONUDINT3270429FASTAXISSTOPSIGNALTYPEUDINT3273630UNITFLAGSUDINT3276838VELOMAXIMUMUDINT3280039MOTCNTRLRANGEUDINT3283240PEHCONTROLENAUDINT3286441PEHCONTROLTIMEUDINT3289642BACKLASHCOMPENAUDINT3292843BACKLASHUDINT3296044DATAPERSISTENCEUDINT3299248HWAMSADDRUDINT32102449HWCHNNOUDINT32105650APPLICATIONREQUESTUDINT32108851ACCUDINT321120257DECUDINT321152258JERKUDINT321184259DELAYUDINT321216260OVERRIDETYPEUDINT321248261VELOJUMPFACTORUDINT321280262REDUCTIONFEEDBACKUDINT321312263TOLERANCEBALLAUXAXISUDINT321344264MAXPOSDEVIATIONAUXAXISUDINT321376265FASTACCUDINT321408266FASTDECUDINT321440267FASTJERKUDINT321472268REF_POSUDINT32150465795ENCSEARCHDIRUDINT32153665793ENCSYNCDIRUDINT32156865794ENCREFMODEUDINT32160065799conditionalshow_ST_NCADS_AxisParameter1664IDXGRPUDINT32016384IDXOFFS_ST_NCADS_IDXOFFS_AxisParameter163232conditionalshow_ST_NCADS_IDXOFFS_AxisState800ONLINESTRUCTUDINT3200ERRORUDINT32321SETTASKCYCLEUDINT + + + + + rtResetBreaker + R_TRIG + 64 + 81824 + + + rtTripped + R_TRIG + 64 + 81888 + + + CircuitBreaker + + + + PouType + FunctionBlock + + + reflection + + + + + _ST_NCADS_IDXOFFS_AxisParameter + 1632 + + PARAMSTRUCT + UDINT + NC ADS Index Offsets for Axis Parameters + 32 + 0 + + 0 + + + + ID + UDINT + 32 + 32 + + 1 + + + + NAME + UDINT + 32 + 64 + + 2 + + + + AXISTYPE + UDINT + 32 + 96 + + 3 + + + + CYCLETIME + UDINT + 32 + 128 + + 4 + + + + UNITNAME + UDINT + 32 + 160 + + 5 + + + + VELOREFSEARCH + UDINT + 32 + 192 + + 6 + + + + VELOSYNCSEARCH + UDINT + 32 + 224 + + 7 + + + + VELOSLOWMANUAL + UDINT + 32 + 256 + + 8 + + + + VELOFASTMANUAL + UDINT + 32 + 288 + + 9 + + + + VELOFAST + UDINT + 32 + 320 + + 10 + + + + POSAREAENABLE + UDINT + 32 + 352 + + 15 + + + + POSAREARANGE + UDINT + 32 + 384 + + 16 + + + + MOTCNTRLENABLE + UDINT + 32 + 416 + + 17 + + + + MOTCNTRLTIME + UDINT + 32 + 448 + + 18 + + + + LOOPENABLE + UDINT + 32 + 480 + + 19 + + + + LOOPDISTANCE + UDINT + 32 + 512 + + 20 + + + + TARGETPOSENA + UDINT + 32 + 544 + + 21 + + + + TARGETPOSRANGE + UDINT + 32 + 576 + + 22 + + + + TARGETPOSTIME + UDINT + 32 + 608 + + 23 + + + + PULSDISTPOS + UDINT + 32 + 640 + + 24 + + + + PULSDISTNEG + UDINT + 32 + 672 + + 25 + + + + FADINGACCELERATION + UDINT + 32 + 704 + + 29 + + + + FASTAXISSTOPSIGNALTYPE + UDINT + 32 + 736 + + 30 + + + + UNITFLAGS + UDINT + 32 + 768 + + 38 + + + + VELOMAXIMUM + UDINT + 32 + 800 + + 39 + + + + MOTCNTRLRANGE + UDINT + 32 + 832 + + 40 + + + + PEHCONTROLENA + UDINT + 32 + 864 + + 41 + + + + PEHCONTROLTIME + UDINT + 32 + 896 + + 42 + + + + BACKLASHCOMPENA + UDINT + 32 + 928 + + 43 + + + + BACKLASH + UDINT + 32 + 960 + + 44 + + + + DATAPERSISTENCE + UDINT + 32 + 992 + + 48 + + + + HWAMSADDR + UDINT + 32 + 1024 + + 49 + + + + HWCHNNO + UDINT + 32 + 1056 + + 50 + + + + APPLICATIONREQUEST + UDINT + 32 + 1088 + + 51 + + + + ACC + UDINT + 32 + 1120 + + 257 + + + + DEC + UDINT + 32 + 1152 + + 258 + + + + JERK + UDINT + 32 + 1184 + + 259 + + + + DELAY + UDINT + 32 + 1216 + + 260 + + + + OVERRIDETYPE + UDINT + 32 + 1248 + + 261 + + + + VELOJUMPFACTOR + UDINT + 32 + 1280 + + 262 + + + + REDUCTIONFEEDBACK + UDINT + 32 + 1312 + + 263 + + + + TOLERANCEBALLAUXAXIS + UDINT + 32 + 1344 + + 264 + + + + MAXPOSDEVIATIONAUXAXIS + UDINT + 32 + 1376 + + 265 + + + + FASTACC + UDINT + 32 + 1408 + + 266 + + + + FASTDEC + UDINT + 32 + 1440 + + 267 + + + + FASTJERK + UDINT + 32 + 1472 + + 268 + + + + REF_POS + UDINT + 32 + 1504 + + 65795 + + + + ENCSEARCHDIR + UDINT + 32 + 1536 + + 65793 + + + + ENCSYNCDIR + UDINT + 32 + 1568 + + 65794 + + + + ENCREFMODE + UDINT + 32 + 1600 + + 65799 + + + + + conditionalshow + + + + + _ST_NCADS_AxisParameter + 1664 + + IDXGRP + UDINT + 32 + 0 + + 16384 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisParameter + 1632 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_AxisState + 800 + + ONLINESTRUCT + UDINT + 32 + 0 + + 0 + + + + ERROR + UDINT + 32 + 32 + + 1 + + + + SETTASKCYCLE + UDINT + ACTPOS = TCNC_IDXOFFS_AXmappedENC | 0x00000002; // 0x00010002; ACTVELO = TCNC_IDXOFFS_AXmappedENC | 0x00000005; // 0x00010005; ACTACC = TCNC_IDXOFFS_AXmappedENC | 0x00000006; // 0x00010006; MODULOACTPOS = TCNC_IDXOFFS_AXmappedENC | 0x00000003; // 0x00010003; MODULOACTTURNS = TCNC_IDXOFFS_AXmappedENC | 0x00000004; // 0x00010004; ACTINCREMENTS = TCNC_IDXOFFS_AXmappedENC | 0x00000007; // 0x00010007; -]]>32649SETPOSUDINT329610SETVELOUDINT3212814SETACCUDINT3216015MODULOSETPOSUDINT3219211MODULOSETTURNSUDINT3222412SETDIRUDINT3225613TARGETPOSITIONUDINT3228819REMAININGTIMEANDPOSUDINT3232020STOPINFORMATIONUDINT3235224SETTASKCYCLE_WITHOUTCORRUDINT3238425SETPOS_WITHOUTCORRUDINT3241626SETVELO_WITHOUTCORRUDINT3244830SETACC_WITHOUTCORRUDINT3248031SETDIR_WITHOUTCORRUDINT3251229COUPLESTATEUDINT3254432CPLPARAMSUDINT3257634CPLFACTORUDINT3260835AXISCTRLLOOPIDXUDINT3264036AXISSETPOINTGENIDXUDINT3267237CPLCHARACVALUESUDINT3270438CAMINFOUDINT3273639CAMSTATUSUDINT3276840conditionalshow_ST_NCADS_AxisState832IDXGRPUDINT32016640IDXOFFS_ST_NCADS_IDXOFFS_AxisState80032conditionalshow_ST_NCADS_IDXOFFS_AxisFunctions1792RESETUDINT3201STOPUDINT32322CLEARUDINT32643EMERGENCYSTOPUDINT32964PARAMETRIZEDSTOPUDINT321285INITIALIZEUDINT321607ORIENTEDSTOPUDINT321929CALIBRUDINT3222416NEWTARGPOSUDINT3225617NEWTARGPOSANDVELOUDINT3228818CHANGEDYNAMICPARAMUDINT3232021UNIVERSALSTARTUDINT3235222SLAVEUNIVERSALSTARTUDINT3238423RELEASEAXISLOCKUDINT3241624SETEXTERNALERRORUDINT3244825SETPOSUDINT3248026SETCALFLAGUDINT3251227SETACTPOSUDINT3254428SETDRIVEPOSUDINT3257629SETENCODERSCALINGUDINT3260830SETPOSONTHEFLYUDINT3264031STARTUDINT3267232STARTEXTUDINT3270433STARTVELOCHANGEUDINT3273634ENABLEEXTGENUDINT3276835DISABLEEXTGENUDINT3280036REVERSINGSEQUENCEUDINT3283237STARTDRVOUTUDINT3286438STOPDRVOUTUDINT3289639CHANGEDRVOUTUDINT3292840JUMPTOOVERRIDEUDINT3296041EXTSETGENUNIVERSALSTARTUDINT3299243UNIVERSALTORQUESTARTUDINT32102445STARTSCOMUDINT32105648STOPSCOMUDINT32108849PHASINGREQEUSTUDINT32112052CPLUDINT32115264DECPLUDINT32118465CPLCHANGEUDINT32121666TABCPLCHANGEUDINT32124867STOPSLAVEUDINT32128068CPLTABUDINT32131269TABSLVACTIVCORUDINT32134470TABSLVLEAVECYCUDINT32137671TABSLVCOROFFSETUDINT32140872TABSLVSCALINGUDINT32144073CPLSOLOTABUDINT32147274CPLSYNCHRONIZINGUDINT32150475CAMSCALINGUDINT32153677DISABLEUDINT32156880ENABLEUDINT32160081CHANGEAXISCTRLLOOPUDINT32163282DRIVEDISABLEUDINT32166496DRIVEENABLEUDINT32169697RELEASEBRAKEUDINT32172898RECONFIGURATEUDINT321760112conditionalshow_ST_NCADS_AxisFunctions1824IDXGRPUDINT32016896IDXOFFS_ST_NCADS_IDXOFFS_AxisFunctions179232conditionalshow_ST_NCADS_Axis4320Parameter_ST_NCADS_AxisParameter16640State_ST_NCADS_AxisState8321664Functions_ST_NCADS_AxisFunctions18242496conditionalshow_ST_NCADS_IDXOFFS_TableParameter192MFREADCHARACVALUESUDINT32080WRITETABROWSUDINT323216777216WRITEMFTABROWSUDINT326483886080MFREADTABUDINT329634READSLAVEDYNAMICSUDINT3212835READMASTERPOSITIONUDINT3216036conditionalshow_ST_NCADS_TableParameter224IDXGRPUDINT32040960IDXOFFS_ST_NCADS_IDXOFFS_TableParameter19232conditionalshow_ST_NCADS_IDXOFFS_TableFunctions96CREATETABUDINT32065536CREATEMOTIONTABUDINT323265552DELETETABUDINT3264131072conditionalshow_ST_NCADS_TableFunctions128IDXGRPUDINT32041472IDXOFFS_ST_NCADS_IDXOFFS_TableFunctions9632conditionalshow_ST_NCADS_Table352Parameter_ST_NCADS_TableParameter2240Functions_ST_NCADS_TableFunctions128224conditionalshowT_AmsPort16UINTADSRDDEVINFO1280NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputRDINFOBOOL8240ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputDEVNAMESTRING(19)160352ItemTypeOutputDEVVERUDINT32512ItemTypeOutputPouTypeFunctionBlockhide_all_locals_TCMCGLOBAL6976NCPORT_TCMCUINT1632500ItemTypeInputNCPORT_TCMC_COUPLINGUINT1648500ItemTypeInputNCNETID_TCMCT_AmsNetID19264ItemTypeInputNCPORT_TCMC_CAMUINT16256500ItemTypeInputNCPORT_TCMC_CAM_FASTUINT16272500ItemTypeInputNCNETID_TCMC_CAMT_AmsNetID192288ItemTypeInputNCPORT_TCMC_SUPERPOSITIONUINT16480501ItemTypeInputNCPORT_TCMC_RESETUINT16496500ItemTypeInputNcDeviceInfoTcMainVersionDWORD32512ItemTypeOutputNcDeviceInfoTcSubVersionDWORD32544ItemTypeOutputNcDeviceInfoNcDriverVersionDWORD32576ItemTypeOutputNcDeviceInfoNcVersionDWORD32608ItemTypeOutputNcDeviceInfoNcNameSTRING(19)160640ItemTypeOutputAxis_ST_NCADS_Axis4320800ItemTypeOutputsuppress_warning_0C0228Table_ST_NCADS_Table3525120ItemTypeOutputsuppress_warning_0C0228NCPORT_TCNCCAMMING_TABLEFUNCTIONUINT165472500tTargetPosTimeOutTIME3255046000tADSTimeOutTIME3255361000tStopMonitoringTimeOutTIME325568100NCTOPLC_FEEDBACK_MAXWAITCYCLESINT16560010fbADSRDDEVINFOADSRDDEVINFO12805632DeviceVersionDWORD326912InitBOOL86944ReadDeviceInfoPouTypeFunctionBlockconditionalshowPE_Ranges + 32 + 64 + + 9 + + + + SETPOS + UDINT + 32 + 96 + + 10 + + + + SETVELO + UDINT + 32 + 128 + + 14 + + + + SETACC + UDINT + 32 + 160 + + 15 + + + + MODULOSETPOS + UDINT + 32 + 192 + + 11 + + + + MODULOSETTURNS + UDINT + 32 + 224 + + 12 + + + + SETDIR + UDINT + 32 + 256 + + 13 + + + + TARGETPOSITION + UDINT + 32 + 288 + + 19 + + + + REMAININGTIMEANDPOS + UDINT + 32 + 320 + + 20 + + + + STOPINFORMATION + UDINT + 32 + 352 + + 24 + + + + SETTASKCYCLE_WITHOUTCORR + UDINT + 32 + 384 + + 25 + + + + SETPOS_WITHOUTCORR + UDINT + 32 + 416 + + 26 + + + + SETVELO_WITHOUTCORR + UDINT + 32 + 448 + + 30 + + + + SETACC_WITHOUTCORR + UDINT + 32 + 480 + + 31 + + + + SETDIR_WITHOUTCORR + UDINT + 32 + 512 + + 29 + + + + COUPLESTATE + UDINT + 32 + 544 + + 32 + + + + CPLPARAMS + UDINT + 32 + 576 + + 34 + + + + CPLFACTOR + UDINT + 32 + 608 + + 35 + + + + AXISCTRLLOOPIDX + UDINT + 32 + 640 + + 36 + + + + AXISSETPOINTGENIDX + UDINT + 32 + 672 + + 37 + + + + CPLCHARACVALUES + UDINT + 32 + 704 + + 38 + + + + CAMINFO + UDINT + 32 + 736 + + 39 + + + + CAMSTATUS + UDINT + activation status etc. + 32 + 768 + + 40 + + + + + conditionalshow + + + + + _ST_NCADS_AxisState + 832 + + IDXGRP + UDINT + 32 + 0 + + 16640 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisState + 800 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_AxisFunctions + 1792 + + RESET + UDINT + 32 + 0 + + 1 + + + + STOP + UDINT + 32 + 32 + + 2 + + + + CLEAR + UDINT + 32 + 64 + + 3 + + + + EMERGENCYSTOP + UDINT + 32 + 96 + + 4 + + + + PARAMETRIZEDSTOP + UDINT + 32 + 128 + + 5 + + + + INITIALIZE + UDINT + Initialize Axis + 32 + 160 + + 7 + + + + ORIENTEDSTOP + UDINT + 19.04.04 issue #2470 + 32 + 192 + + 9 + + + + CALIBR + UDINT + 32 + 224 + + 16 + + + + NEWTARGPOS + UDINT + 32 + 256 + + 17 + + + + NEWTARGPOSANDVELO + UDINT + 32 + 288 + + 18 + + + + CHANGEDYNAMICPARAM + UDINT + NEU: Neue Dynamikparameter (Acc;Dec) fuer Positionierung + 32 + 320 + + 21 + + + + UNIVERSALSTART + UDINT + 05.03.07: new 'axis start and restart' command with buffer mode (issue #2786+#3276) + 32 + 352 + + 22 + + + + SLAVEUNIVERSALSTART + UDINT + 24.02.09: decoupling command with succeding universal axis start commanded to a slave axis + 32 + 384 + + 23 + + + + RELEASEAXISLOCK + UDINT + 10.12.18 release axis lock for motion commands + 32 + 416 + + 24 + + + + SETEXTERNALERROR + UDINT + 06.10.04: Externen Achsfehler setzen (Laufzeitfehler) issue #2665 + 32 + 448 + + 25 + + + + SETPOS + UDINT + 32 + 480 + + 26 + + + + SETCALFLAG + UDINT + "ist referenziert"-Flag setzen + 32 + 512 + + 27 + + + + SETACTPOS + UDINT + nur Istwertsetzen ohne Sollwertaenderung !!! + 32 + 544 + + 28 + + + + SETDRIVEPOS + UDINT + antriebsseitiges Istwertsetzen + 32 + 576 + + 29 + + + + SETENCODERSCALING + UDINT + 17.07.08: "Fliegende Änderung des Skalierungsfaktors" + 32 + 608 + + 30 + + + + SETPOSONTHEFLY + UDINT + 29.11.05: "Fliegendes Istwert Setzen" (betrifft Ist - und Sollwert) (issue #3017) + 32 + 640 + + 31 + + + + START + UDINT + 32 + 672 + + 32 + + + + STARTEXT + UDINT + 32 + 704 + + 33 + + + + STARTVELOCHANGE + UDINT + special function for MMW + 32 + 736 + + 34 + + + + ENABLEEXTGEN + UDINT + enable/start external setpoint values + 32 + 768 + + 35 + + + + DISABLEEXTGEN + UDINT + disable/stop external setpoint values + 32 + 800 + + 36 + + + + REVERSINGSEQUENCE + UDINT + 32 + 832 + + 37 + + + + STARTDRVOUT + UDINT + 32 + 864 + + 38 + + + + STOPDRVOUT + UDINT + 32 + 896 + + 39 + + + + CHANGEDRVOUT + UDINT + 32 + 928 + + 40 + + + + JUMPTOOVERRIDE + UDINT + 04.11.04: jump to actual override value and froze them until change (issue #2697) + 32 + 960 + + 41 + + + + EXTSETGENUNIVERSALSTART + UDINT + 23.11.10: deactivation of external setpoint generator with succeding universal axis start command + 32 + 992 + + 43 + + + + UNIVERSALTORQUESTART + UDINT + 20181210 Fap - new 'axis torque control start and restart' command with buffer mode + 32 + 1024 + + 45 + + + + STARTSCOM + UDINT + start superposition (position compensation) - 21.12.04: nun auch als 'ReadWrite'-Kommando + 32 + 1056 + + 48 + + + + STOPSCOM + UDINT + stop superposition (position compensation) + 32 + 1088 + + 49 + + + + PHASINGREQEUST + UDINT + start/stop the additional phasing set point generator used for a master/slave phase shift + 32 + 1120 + + 52 + + + + CPL + UDINT + Achse koppeln + 32 + 1152 + + 64 + + + + DECPL + UDINT + Achse entkoppeln (und optional neue Endposition mit neuer Geschwindigkeit) + 32 + 1184 + + 65 + + + + CPLCHANGE + UDINT + Achse Koppelparams ändern + 32 + 1216 + + 66 + + + + TABCPLCHANGE + UDINT + 3x TabSlaveAxe Tabelle-Koppelparams ändern + 32 + 1248 + + 67 + + + + STOPSLAVE + UDINT + Slave-Stop (Diagonal-Slave / Flying Saw) + 32 + 1280 + + 68 + + + + CPLTAB + UDINT + TabSlaveAxe Koppelparams setzen + 32 + 1312 + + 69 + + + + TABSLVACTIVCOR + UDINT + 2x TabSlaveAxe Korrekturtabelle aktivieren (mit/ohne Aktivierungsposition) + 32 + 1344 + + 70 + + + + TABSLVLEAVECYC + UDINT + TabSlaveAxe Monozyklische Tabelle beenden + 32 + 1376 + + 71 + + + + TABSLVCOROFFSET + UDINT + TabSlaveAxe Letzter Korrektur Offset + 32 + 1408 + + 72 + + + + TABSLVSCALING + UDINT + NEU: Slave-Skalierung der Solo-Tabellenkopplung setzen + 32 + 1440 + + 73 + + + + CPLSOLOTAB + UDINT + Solo Tabellen Kopplung + 32 + 1472 + + 74 + + + + CPLSYNCHRONIZING + UDINT + Slave Synchronizing Generator ('GearInPos' and 'GearInVelo') + 32 + 1504 + + 75 + + + + CAMSCALING + UDINT + Slave Change CAM Scaling (Aenderung der Tabellenskalierung) (issue #2514) + 32 + 1536 + + 77 + + + + DISABLE + UDINT + Achse sperren + 32 + 1568 + + 80 + + + + ENABLE + UDINT + Achse reaktivieren + 32 + 1600 + + 81 + + + + CHANGEAXISCTRLLOOP + UDINT + NEU: Aenderung des aktiven Achsregelkreises + 32 + 1632 + + 82 + + + + DRIVEDISABLE + UDINT + Drive-Output der Achse sperren + 32 + 1664 + + 96 + + + + DRIVEENABLE + UDINT + Drive-Output der Achse reaktivieren + 32 + 1696 + + 97 + + + + RELEASEBRAKE + UDINT + Feststellbremse loesen (Eil/Schleich-Gruppe) + 32 + 1728 + + 98 + + + + RECONFIGURATE + UDINT + Achse zurueckfuehren in eigene PTP-Gruppe + 32 + 1760 + + 112 + + + + + conditionalshow + + + + + _ST_NCADS_AxisFunctions + 1824 + + IDXGRP + UDINT + 32 + 0 + + 16896 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisFunctions + 1792 + 32 + + + + conditionalshow + + + + + _ST_NCADS_Axis + 4320 + + Parameter + _ST_NCADS_AxisParameter + 1664 + 0 + + + State + _ST_NCADS_AxisState + 832 + 1664 + + + Functions + _ST_NCADS_AxisFunctions + 1824 + 2496 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_TableParameter + 192 + + MFREADCHARACVALUES + UDINT + read characteristic values of a motion function + 32 + 0 + + 80 + + + + WRITETABROWS + UDINT + write table + 32 + 32 + + 16777216 + + + + WRITEMFTABROWS + UDINT + write motion function table + 32 + 64 + + 83886080 + + + + MFREADTAB + UDINT + read motion function as data table + 32 + 96 + + 34 + + + + READSLAVEDYNAMICS + UDINT + read slave table position, velocity and acceleration related to a master position + 32 + 128 + + 35 + + + + READMASTERPOSITION + UDINT + read master table position related to slave position + 32 + 160 + + 36 + + + + + conditionalshow + + + + + _ST_NCADS_TableParameter + 224 + + IDXGRP + UDINT + 32 + 0 + + 40960 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_TableParameter + 192 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_TableFunctions + 96 + + CREATETAB + UDINT + create table + 32 + 0 + + 65536 + + + + CREATEMOTIONTAB + UDINT + create motion function table + 32 + 32 + + 65552 + + + + DELETETAB + UDINT + delete tables + 32 + 64 + + 131072 + + + + + conditionalshow + + + + + _ST_NCADS_TableFunctions + 128 + + IDXGRP + UDINT + 32 + 0 + + 41472 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_TableFunctions + 96 + 32 + + + + conditionalshow + + + + + _ST_NCADS_Table + 352 + + Parameter + _ST_NCADS_TableParameter + 224 + 0 + + + Functions + _ST_NCADS_TableFunctions + 128 + 224 + + + + conditionalshow + + + + + T_AmsPort + TwinCAT AMS port address. + 16 + UINT + + + ADSRDDEVINFO + ADS read device info command. + 1280 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + RDINFO + BOOL + Rising edge starts command execution + 8 + 240 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 320 + + + ItemType + Output + + + + + DEVNAME + STRING(19) + Device name + 160 + 352 + + + ItemType + Output + + + + + DEVVER + UDINT + Device version + 32 + 512 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + _TCMCGLOBAL + Global constants and parameters + 6976 + + NCPORT_TCMC + UINT + 20110511 type changed from INT to UINT + 16 + 32 + + 500 + + + + ItemType + Input + + + + + NCPORT_TCMC_COUPLING + UINT + 20110511 type changed from INT to UINT + 16 + 48 + + 500 + + + + ItemType + Input + + + + + NCNETID_TCMC + T_AmsNetID + 192 + 64 + + + + + + ItemType + Input + + + + + NCPORT_TCMC_CAM + UINT + 20110511 type changed from INT to UINT + 16 + 256 + + 500 + + + + ItemType + Input + + + + + NCPORT_TCMC_CAM_FAST + UINT + 20150728 KSt added + 16 + 272 + + 500 + + + + ItemType + Input + + + + + NCNETID_TCMC_CAM + T_AmsNetID + 192 + 288 + + + + + + ItemType + Input + + + + + NCPORT_TCMC_SUPERPOSITION + UINT + 20140930 KSt added + 16 + 480 + + 501 + + + + ItemType + Input + + + + + NCPORT_TCMC_RESET + UINT + 20211019 KSt added + 16 + 496 + + 500 + + + + ItemType + Input + + + + + NcDeviceInfoTcMainVersion + DWORD + 32 + 512 + + + ItemType + Output + + + + + NcDeviceInfoTcSubVersion + DWORD + 32 + 544 + + + ItemType + Output + + + + + NcDeviceInfoNcDriverVersion + DWORD + 32 + 576 + + + ItemType + Output + + + + + NcDeviceInfoNcVersion + DWORD + 32 + 608 + + + ItemType + Output + + + + + NcDeviceInfoNcName + STRING(19) + 160 + 640 + + + ItemType + Output + + + + + Axis + _ST_NCADS_Axis + IDXGRP and IDXOFFS constants of axis parameter/status/functions + 4320 + 800 + + + ItemType + Output + + + suppress_warning_0 + C0228 + + + + + Table + _ST_NCADS_Table + IDXGRP and IDXOFFS constants of table parameter/status/functions + 352 + 5120 + + + ItemType + Output + + + suppress_warning_0 + C0228 + + + + + NCPORT_TCNCCAMMING_TABLEFUNCTION + UINT + 16 + 5472 + + 500 + + + + tTargetPosTimeOut + TIME + 32 + 5504 + + 6000 + + + + tADSTimeOut + TIME + 32 + 5536 + + 1000 + + + + tStopMonitoringTimeOut + TIME + 32 + 5568 + + 100 + + + + NCTOPLC_FEEDBACK_MAXWAITCYCLES + INT + 16 + 5600 + + 10 + + + + fbADSRDDEVINFO + ADSRDDEVINFO + 1280 + 5632 + + + DeviceVersion + DWORD + 32 + 6912 + + + Init + BOOL + 8 + 6944 + + + ReadDeviceInfo + + + + PouType + FunctionBlock + + + conditionalshow + + + + + PE_Ranges + Does nothing other than set the gvl for photon energy bitmask to one of two constants, K or L. Workaround for compile defines not fully working for libraries at the time of writing this. - Otherwise I would have just used the compile define in the GVL declaration.]]>32PouTypeFunctionBlockST_PMPS_Attenuator_IO64nTranREAL320xAttOKUINT1632ST_PMPS_Attenuator64ST_PMPS_Attenuator_IOST_PMPS_Aperture_IO96WidthREAL320plcAttribute_pytmcpv: Width + Otherwise I would have just used the compile define in the GVL declaration. + 32 + + + PouType + FunctionBlock + + + + + ST_PMPS_Attenuator_IO + 64 + + nTran + REAL + 32 + 0 + + + xAttOK + UINT + 16 + 32 + + + + + + + + + + + + + + + ST_PMPS_Attenuator + 64 + ST_PMPS_Attenuator_IO + + + ST_PMPS_Aperture_IO + 96 + + Width + REAL + distance between horizontal slits (x) + 32 + 0 + + + plcAttribute_pytmc + pv: Width io: i - field: EGU mmHeightREAL3232plcAttribute_pytmcpv: Height + field: EGU mm + + + + + Height + REAL + distance between vertical slits (y) + 32 + 32 + + + plcAttribute_pytmc + pv: Height io: i - field: EGU mmxOKBOOL864plcAttribute_pytmcpv: OK - io: iST_PMPS_Aperture96ST_PMPS_Aperture_IOST_BeamParams1760nTranREAL3200pytmcpv: Transmission + field: EGU mm + + + + + xOK + BOOL + status of aperture, false if error or in motion + 8 + 64 + + + plcAttribute_pytmc + pv: OK + io: i + + + + + + ST_PMPS_Aperture + 96 + ST_PMPS_Aperture_IO + + + ST_BeamParams + 1760 + + nTran + REAL + Requested pre-optic attenuation % + 32 + 0 + + 0 + + + + pytmc + pv: Transmission io: i field: HOPR 1; field: LOPR 0; field: PREC 2; - nRateUDINT32320pytmcpv: Rate + + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 0 + + + + pytmc + pv: Rate io: i field: EGU Hz - neVRangeDWORD32640pytmcpv: eVRanges + + + + + + neVRange + DWORD + Photon energy ranges + 32 + 64 + + 0 + + + + pytmc + pv: eVRanges io: i - field: EGU eVdisplaymodebinaryneVREAL32960pytmcpv: PhotonEnergy + field: EGU eV + + + displaymode + binary + + + + + neV + REAL + Photon energy + 32 + 96 + + 0 + + + + pytmc + pv: PhotonEnergy io: i - field: EGU eVnBCRangeWORD161280pytmcpv: BeamClassRanges - io: idisplaymodebinarynBeamClassUSINT81440pytmcpv: BeamClass - io: inMachineModeUSINT81523pytmcpv: MachineMode - io: iastAttenuatorsST_PMPS_Attenuator1161024160pytmcpv: AuxAtt - io: iaVetoDevicesBOOL1161281184pytmcpv: Veto - io: iastAperturesST_PMPS_Aperture143841312[1].Width1000[1].Height1000[2].Width1000[2].Height1000[3].Width1000[3].Height1000[4].Width1000[4].Height1000pytmcpv: Apt - io: ixValidToggleBOOL81696xValidBOOL81704pytmcpv: Valid - io: inCohortIntUDINT321728pytmcpv: Cohort + field: EGU eV + + + + + nBCRange + WORD + Beamclass ranges + 16 + 128 + + 0 + + + + pytmc + pv: BeamClassRanges + io: i + + + displaymode + binary + + + + + nBeamClass + USINT + Beamclass + 8 + 144 + + 0 + + + + pytmc + pv: BeamClass + io: i + + + + + nMachineMode + USINT + Machine Mode + 8 + 152 + + 3 + + + + pytmc + pv: MachineMode + io: i + + + + + astAttenuators + ST_PMPS_Attenuator + + 1 + 16 + + Beamline attenuators + 1024 + 160 + + + pytmc + pv: AuxAtt + io: i + + + + + aVetoDevices + BOOL + + 1 + 16 + + Stoppers + 128 + 1184 + + + pytmc + pv: Veto + io: i + + + + + astApertures + ST_PMPS_Aperture + + 1 + 4 + + Apertures + 384 + 1312 + + + [1].Width + 1000 + + + [1].Height + 1000 + + + [2].Width + 1000 + + + [2].Height + 1000 + + + [3].Width + 1000 + + + [3].Height + 1000 + + + [4].Width + 1000 + + + [4].Height + 1000 + + + + + pytmc + pv: Apt + io: i + + + + + xValidToggle + BOOL + Toggle for watchdog + 8 + 1696 + + + xValid + BOOL + Beam parameter set is valid (if readback), or acknowledged (if request) + 8 + 1704 + + + pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + Cohort index. Identifies which cohort this BP set was included in arbitration + 32 + 1728 + + + pytmc + pv: Cohort io: i field: DESC Cohort inc on each arb cycle - FB_DiffBP_Test33551744FB_TestSuiteBPDiffBP1ST_BeamParams1760BP2ST_BeamParams1760PouTypeFunctionBlockcall_after_initI_HigherAuthority32PVOIDCheckRequestBOOL8nReqIDDWORD32RemoveRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760I_LowerAuthority32PVOID__getnLowerAuthorityIDDWORD32propertyElevateRequestBOOL8HigherAuthorityI_HigherAuthority32T_HashTableEntry64keyDWORD3200pytmc + + + + + + + FB_DiffBP_Test + 33551744 + FB_TestSuite + + BPDiff + + BP1 + ST_BeamParams + 1760 + + + BP2 + ST_BeamParams + 1760 + + + + + PouType + FunctionBlock + + + call_after_init + + + + + I_HigherAuthority + 32 + PVOID + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + + I_LowerAuthority + 32 + PVOID + + __getnLowerAuthorityID + DWORD + 32 + + + property + + + + + ElevateRequest + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + + T_HashTableEntry + 64 + + key + DWORD + 32 + 0 + + 0 + + + + pytmc + pv: Key io: i - valuePVOID32320ST_BP_ArbInternal2464ST_BeamParamsnIdDWORD321760pytmcpv: ID + + + + + + value + PVOID + 32 + 32 + + 0 + + + + + ST_BP_ArbInternal + 2464 + ST_BeamParams + + nId + DWORD + 32 + 1760 + + + pytmc + pv: ID io: i - LiveInTableBOOL81792pytmcpv: Live + + + + + + LiveInTable + BOOL + 8 + 1792 + + + pytmc + pv: Live io: i - sDevNameSTRING(80)6481800pytmcpv: Device + + + + + + sDevName + STRING(80) + 648 + 1800 + + + pytmc + pv: Device io: i - T_HashTableEntry192keyDWORD3200valuePVOID32320lockDWORD: 0 = node free, 1 = node in use, other bits reserved ]]>32640conditionalshowpNextPVOID32960conditionalshowpNextFreePVOID321280conditionalshowpNextGlobPVOID321600conditionalshowT_HHASHTABLE3488nCountUDINT3200nFreeUDINT32320pEntriesT_HashTableEntry32640conditionalshowcbEntriesUDINT32960conditionalshownElementsUDINT321280conditionalshowcbElementUDINT321600conditionalshowpEntrysT_HashTableEntry01013232192conditionalshowpFreeEntrysT_HashTableEntry3234240conditionalshowpFirstEntryT_HashTableEntry3234560conditionalshowFB_HashTableCtrl352hTableT_HHASHTABLE3232ItemTypeInOutkeyDWORD32640ItemTypeInputputValuePVOID32960ItemTypeInputputPosPtrT_HashTableEntry321280ItemTypeInputbOkBOOL81600ItemTypeOutputgetValuePVOID321920ItemTypeOutputgetPosPtrT_HashTableEntry322240ItemTypeOutputpT_HashTableEntry322560conditionalshownT_HashTableEntry322880conditionalshownHashDWORD323200conditionalshowA_ResetA_RemoveAllA_GetNextA_GetIndexAtPosPtrA_AddA_RemoveA_GetFirstA_RemoveFirstA_LookupPouTypeFunctionBlockconditionalshow_all_localsFB_BeamParamAssertionPool214336keyDWORD32320ItemTypeInputputPosPtrT_HashTableEntry32640ItemTypeInputputValueST_BP_ArbInternal246496ItemTypeInputbOkBOOL825600ItemTypeOutputgetPosPtrT_HashTableEntry3225920ItemTypeOutputgetValueST_BP_ArbInternal24642624ItemTypeOutputnCountUDINT3250880ItemTypeOutputepicsDataPoolST_BP_ArbInternal120492805120pytmc + + + + + + + T_HashTableEntry + Hash table entry + 192 + + key + DWORD + Entry key: 32 bit unsigned integer or pointer + 32 + 0 + + 0 + + + + value + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 32 + + 0 + + + + lock + DWORD + Node state flags: Bit 0 <0..1>: 0 = node free, 1 = node in use, other bits reserved + 32 + 64 + + 0 + + + + conditionalshow + + + + + pNext + PVOID + Pointer to next hash table element + 32 + 96 + + 0 + + + + conditionalshow + + + + + pNextFree + PVOID + Pointer to next free element + 32 + 128 + + 0 + + + + conditionalshow + + + + + pNextGlob + PVOID + Pointer to next global element + 32 + 160 + + 0 + + + + conditionalshow + + + + + + T_HHASHTABLE + Hash table object handle + 3488 + + nCount + UDINT + Number of used hash table entries + 32 + 0 + + 0 + + + + nFree + UDINT + Number of free hash table entries + 32 + 32 + + 0 + + + + pEntries + T_HashTableEntry + Pointer to table array + 32 + 64 + + 0 + + + + conditionalshow + + + + + cbEntries + UDINT + Byte size of table array + 32 + 96 + + 0 + + + + conditionalshow + + + + + nElements + UDINT + Number of table/array elements + 32 + 128 + + 0 + + + + conditionalshow + + + + + cbElement + UDINT + Byte size of one array element + 32 + 160 + + 0 + + + + conditionalshow + + + + + pEntrys + T_HashTableEntry + + 0 + 101 + + 3232 + 192 + + + conditionalshow + + + + + pFreeEntrys + T_HashTableEntry + 32 + 3424 + + 0 + + + + conditionalshow + + + + + pFirstEntry + T_HashTableEntry + 32 + 3456 + + 0 + + + + conditionalshow + + + + + + FB_HashTableCtrl + Hash table control function block + 352 + + hTable + T_HHASHTABLE + Hash table handle variable + 32 + 32 + + + ItemType + InOut + + + + + key + DWORD + Entry key: 32 bit unsigned integer or pointer, used by A_Lookup, A_Remove method, the key.lookup variable is also used by A_Add method + 32 + 64 + + 0 + + + + ItemType + Input + + + + + putValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 96 + + 0 + + + + ItemType + Input + + + + + putPosPtr + T_HashTableEntry + Hash table entry position pointer, used by A_GetNext + 32 + 128 + + 0 + + + + ItemType + Input + + + + + bOk + BOOL + TRUE = success, FALSE = error + 8 + 160 + + 0 + + + + ItemType + Output + + + + + getValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 192 + + 0 + + + + ItemType + Output + + + + + getPosPtr + T_HashTableEntry + returned by A_GetFirstEntry, A_GetNextEntry, A_Add, A_Lookup and A_Remove method + 32 + 224 + + 0 + + + + ItemType + Output + + + + + p + T_HashTableEntry + 32 + 256 + + 0 + + + + conditionalshow + + + + + n + T_HashTableEntry + 32 + 288 + + 0 + + + + conditionalshow + + + + + nHash + DWORD + 32 + 320 + + 0 + + + + conditionalshow + + + + + A_Reset + + + A_RemoveAll + + + A_GetNext + + + A_GetIndexAtPosPtr + + + A_Add + + + A_Remove + + + A_GetFirst + + + A_RemoveFirst + + + A_Lookup + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_BeamParamAssertionPool + This function block implements simple database. Data element values are stored in the hash table. + 214336 + + key + DWORD + Entry key: used by A_Lookup, A_Remove method, the key variable is also used by A_Add method + 32 + 32 + + 0 + + + + ItemType + Input + + + + + putPosPtr + T_HashTableEntry + Hash table entry position pointer (used by A_Find, A_GetNext, A_GetPrev) + 32 + 64 + + 0 + + + + ItemType + Input + + + + + putValue + ST_BP_ArbInternal + Hash table entry value (used by A_AddHead, A_AddTail, A_Find ) + 2464 + 96 + + + ItemType + Input + + + + + bOk + BOOL + TRUE = Success, FALSE = Failed + 8 + 2560 + + 0 + + + + ItemType + Output + + + + + getPosPtr + T_HashTableEntry + Returned hash table entry position pointer + 32 + 2592 + + 0 + + + + ItemType + Output + + + + + getValue + ST_BP_ArbInternal + Returned hash table entry value + 2464 + 2624 + + + ItemType + Output + + + + + nCount + UDINT + Hash table size (number of used entries, used by A_Count) + 32 + 5088 + + 0 + + + + ItemType + Output + + + + + epicsDataPool + ST_BP_ArbInternal + + 1 + 20 + + Structured data element pool for display in EPICS + 49280 + 5120 + + + pytmc + pv: Entry io: i - dataPoolST_BP_ArbInternal06115030454400entriesT_HashTableEntry0613904204704fbTableFB_HashTableCtrl352208608hTableT_HHASHTABLE3488208960pRefPtrST_BP_ArbInternal322124480indexOfElemULINT32bit, x64=>64bit)]]>64212480cstSafeBeamST_BeamParams1760212544.nTran0.neVRange0.nRate0.nBCRange0A_ResetA_CountDataPoolToEpicsA_AddA_RemoveA_GetFirstA_GetNextA_LookupPouTypeFunctionBlockno_checkFB_Arbiter + + + + + dataPool + ST_BP_ArbInternal + + 0 + 61 + + Structured data element pool + 150304 + 54400 + + + entries + T_HashTableEntry + + 0 + 61 + + Max. number of hash table entries. The value of table entry = 32 bit integer (pointer to dataPool-array-entry) + 3904 + 204704 + + + fbTable + FB_HashTableCtrl + basic hash table control function block + 352 + 208608 + + + hTable + T_HHASHTABLE + hash table handle + 3488 + 208960 + + + pRefPtr + ST_BP_ArbInternal + 32 + 212448 + + 0 + + + + indexOfElem + ULINT + Integer value (max. size: x86=>32bit, x64=>64bit) + 64 + 212480 + + + cstSafeBeam + ST_BeamParams + MG + 1760 + 212544 + + + .nTran + 0 + + + .neVRange + 0 + + + .nRate + 0 + + + .nBCRange + 0 + + + + + A_Reset + + + A_Count + + + DataPoolToEpics + + + A_Add + + + A_Remove + + + A_GetFirst + + + A_GetNext + + + A_Lookup + + + + PouType + FunctionBlock + + + no_check + + + + + FB_Arbiter + FB Arbiter A. Wallace 2020-6-26 The arbiter primary objectives are: @@ -160,117 +14736,4488 @@ The hash table can be thought of as an array on steriods, they are worth reading the hash table will tell you when you reach the end of all the entries, and enables us to find entries quickly. These features efficiently address the addition, removal, and verification of beam parameter sets listed in the above requirements. -]]>474624I_HigherAuthorityI_LowerAuthoritynRequestsCountUDINT3296fbBPAssertionPoolFB_BeamParamAssertionPool214336128pytmc + + 474624 + I_HigherAuthority + I_LowerAuthority + + nRequestsCount + UDINT + How many requests are currently in the arbiter + 32 + 96 + + + fbBPAssertionPool + FB_BeamParamAssertionPool + Table of active beam parameter assertions + 214336 + 128 + + + pytmc + pv: AP io: i field: DESC Assertion Pool - xRequestMadeBOOL8214464nArbiterIDUDINT32214496pytmc + + + + + + xRequestMade + BOOL + Arbiter has confirmed its request has made it into the beam parameter request + 8 + 214464 + + + nArbiterID + UDINT + Arbiter ID, used for making higher-level BP requests + 32 + 214496 + + + pytmc + pv: ArbiterID io: i field: DESC Arbiter ID for elev. req. - nNextCohortUDINT322145281nAckInProgCohortUDINT322145600nActiveCohortUDINT322145920pytmc + + + + + + nNextCohort + UDINT + The cohort ID any new requests will adopt, will become ReqInProgCohort at the start of the next acknowledgement cycle + 32 + 214528 + + 1 + + + + nAckInProgCohort + UDINT + The cohort ID currently being acknowledged, will become nActiveCohort after acknowledgement from HA + 32 + 214560 + + 0 + + + + nActiveCohort + UDINT + Requests with cohorts <= to this value will be considered active in CheckRequest + 32 + 214592 + + 0 + + + + pytmc + pv: CohortCounter io: i field: DESC Intrnl cohort counter - bStartNewAckRequestBOOL8214624bAckInProgressBOOL8214632idTransmissionDWORD32214656idRateDWORD32214688sPathT_MaxString2048214720instance-pathnoinitsArbNameT_MaxString2048216768InfoStringFmtrFB_FormatString7840218816bVerboseBOOL82266560q_stBeamParamsST_BeamParams1760226688ItemTypeOutputpytmc + + + + + + bStartNewAckRequest + BOOL + Set by an add or remove method call, triggers an ack cycle + 8 + 214624 + + + bAckInProgress + BOOL + Set by ElevateReq when there is a new ack request and reset when the ack cycle is complete + 8 + 214632 + + + idTransmission + DWORD + ID of BP limiting transmission + 32 + 214656 + + + idRate + DWORD + ID of BP limiting rate + 32 + 214688 + + + sPath + T_MaxString + 2048 + 214720 + + + instance-path + + + noinit + + + + + sArbName + T_MaxString + 2048 + 216768 + + + InfoStringFmtr + FB_FormatString + 7840 + 218816 + + + bVerbose + BOOL + 8 + 226656 + + 0 + + + + q_stBeamParams + ST_BeamParams + Updated on each cycle of the arbiter FB with the current arbitrated beam parameter set + 1760 + 226688 + + + ItemType + Output + + + pytmc + pv: ArbitratedBP io: i field: DESC Arbitrated BP - q_xStateIDFoundBOOL8228448ItemTypeOutput__GETARBITRATEDBP__XFIRSTPASSBOOL82284561__GETARBITRATEDBP__FBGETCURTASKIDXGETCURTASKINDEX128228480__GETARBITRATEDBP__LASTCYCLECOUNTUDINT32228608__GETARBITRATEDBP__FBLOGMESSAGEFB_LogMessage81984228672__ADDREQUEST__FBLOGFB_LogMessage81984310656__REMOVEREQUEST__FBLOGFB_LogMessage81984392640__getnEntryCountUDINT32nEntryCountUDINT32propertyCheckRequestBOOL8nReqIDDWORD32BPST_BeamParams1760ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32GetArbitratedBPST_BeamParams1760getPosPtrT_HashTableEntry32getBPStructIntST_BP_ArbInternal2464stOutputBPST_BP_ArbInternal2464xFirstPassBOOL8uselocation__GETARBITRATEDBP__XFIRSTPASSfbGetCurTaskIdxGETCURTASKINDEX128uselocation__GETARBITRATEDBP__FBGETCURTASKIDXLastCycleCountUDINT32uselocation__GETARBITRATEDBP__LASTCYCLECOUNTfbLogMessageFB_LogMessage81984uselocation__GETARBITRATEDBP__FBLOGMESSAGEArbitrateBPST_BP_ArbInternal2464stBP1ST_BP_ArbInternal2464stBP2ST_BP_ArbInternal2464idxUINT16bcBitmaskWORD16no_check__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32propertyAddRequestBOOL8nReqIDDWORD32stReqBPST_BeamParams1760sDevNameSTRING(80)648BP_IntST_BP_ArbInternal2464fbLogFB_LogMessage81984uselocation__ADDREQUEST__FBLOGRemoveRequestBOOL8nReqIdDWORD32fbLogFB_LogMessage81984uselocation__REMOVEREQUEST__FBLOGBP_IntST_BP_ArbInternal2464CheckRequestInPoolBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760PouTypeFunctionBlockreflectionE_BPTMState16INTInit0NewTarget1000RequestBP1500WaitForBP2500WaitingForTransitionAssertion2000WaitingForFinalAssertion3000Transitioning4000WaitForFinalBP5000CleaningUp6000Idle10000Done8000Error9000FB_Index + + + + + q_xStateIDFound + BOOL + Set true if a state-id is found in the assertion pool after calling A_VerifyAssertion + 8 + 228448 + + + ItemType + Output + + + + + __GETARBITRATEDBP__XFIRSTPASS + BOOL + 8 + 228456 + + 1 + + + + __GETARBITRATEDBP__FBGETCURTASKIDX + GETCURTASKINDEX + 128 + 228480 + + + __GETARBITRATEDBP__LASTCYCLECOUNT + UDINT + 32 + 228608 + + + __GETARBITRATEDBP__FBLOGMESSAGE + FB_LogMessage + 81984 + 228672 + + + __ADDREQUEST__FBLOG + FB_LogMessage + 81984 + 310656 + + + __REMOVEREQUEST__FBLOG + FB_LogMessage + 81984 + 392640 + + + __getnEntryCount + UDINT + 32 + + nEntryCount + UDINT + 32 + + + + property + + + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + BP + ST_BeamParams + 1760 + + + + ElevateRequest + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + GetArbitratedBP + ST_BeamParams + 1760 + + getPosPtr + T_HashTableEntry + 32 + + + getBPStructInt + ST_BP_ArbInternal + 2464 + + + stOutputBP + Holding struct for arbitration process + ST_BP_ArbInternal + 2464 + + + xFirstPass + BOOL + 8 + + + uselocation + __GETARBITRATEDBP__XFIRSTPASS + + + + + fbGetCurTaskIdx + GETCURTASKINDEX + 128 + + + uselocation + __GETARBITRATEDBP__FBGETCURTASKIDX + + + + + LastCycleCount + UDINT + 32 + + + uselocation + __GETARBITRATEDBP__LASTCYCLECOUNT + + + + + fbLogMessage + FB_LogMessage + 81984 + + + uselocation + __GETARBITRATEDBP__FBLOGMESSAGE + + + + + + ArbitrateBP + ST_BP_ArbInternal + 2464 + + stBP1 + ST_BP_ArbInternal + 2464 + + + stBP2 + ST_BP_ArbInternal + 2464 + + + idx + UINT + 16 + + + bcBitmask + WORD + 16 + + + + no_check + + + + + __getnLowerAuthorityID + DWORD + 32 + + nLowerAuthorityID + DWORD + 32 + + + + property + + + + + AddRequest + BOOL + 8 + + nReqID + Unique ID within aribter for the request. Make sure this is unique for every device + state combination + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + sDevName + Name of the device making the request + STRING(80) + 648 + + + BP_Int + ST_BP_ArbInternal + 2464 + + + fbLog + FB_LogMessage + 81984 + + + uselocation + __ADDREQUEST__FBLOG + + + + + + RemoveRequest + BOOL + 8 + + nReqId + DWORD + 32 + + + fbLog + FB_LogMessage + 81984 + + + uselocation + __REMOVEREQUEST__FBLOG + + + + + BP_Int + ST_BP_ArbInternal + 2464 + + + + CheckRequestInPool + BOOL + 8 + + nReqID + DWORD + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + + PouType + FunctionBlock + + + reflection + + + + + E_BPTMState + 16 + INT + + Init + 0 + + + NewTarget + 1000 + + + RequestBP + 1500 + + + WaitForBP + 2500 + + + WaitingForTransitionAssertion + 2000 + + + WaitingForFinalAssertion + 3000 + + + Transitioning + 4000 + + + WaitForFinalBP + 5000 + + + CleaningUp + 6000 + + + Idle + 10000 + + + Done + 8000 + + + Error + 9000 + + + + FB_Index + Index FB A. Wallace 2016-9-3 Why doesn't beckhoff have this as a builtin type? Use this thing to have a simple indexer with rollover. -]]>96LowerLimitINT16321ItemTypeInputnamingoffValIncINT16481ItemTypeInputUpperLimitINT16641ItemTypeInputnValINT16801namingoffDecIncDecValINT16IncValINT16PouTypeFunctionBlockST_FFInfo6832sPathT_MaxString20480pytmc + + 96 + + LowerLimit + INT + Incrementer will rollver over to this value (and initialize to this value) + 16 + 32 + + 1 + + + + ItemType + Input + + + naming + off + + + + + ValInc + INT + Incrementer increments by this value + 16 + 48 + + 1 + + + + ItemType + Input + + + + + UpperLimit + INT + Incrementer will rollover at this value to lower limit + 16 + 64 + + 1 + + + + ItemType + Input + + + + + nVal + INT + Internal incrementer value, initialized to LowerLimit + 16 + 80 + + 1 + + + + naming + off + + + + + Dec + + + Inc + + + DecVal + INT + 16 + + + IncVal + INT + 16 + + + + PouType + FunctionBlock + + + + + ST_FFInfo + These elements should be set at init and never changed. + 6832 + + sPath + T_MaxString + Full PLC path to FF object + 2048 + 0 + + + pytmc + pv: Path io: i - DescT_MaxString20482048pytmc + + + + + + Desc + T_MaxString + Set at instantiation to a helpful description of the fast fault purpose + 2048 + 2048 + + + pytmc + pv: Desc io: i - DevNameT_MaxString20484096pytmc + + + + + + DevName + T_MaxString + Component name, used in diagnostic to help narrow down where beam faults are coming from + 2048 + 4096 + + + pytmc + pv: DevName io: i - TypeCodeUINT166144pytmc + + + + + + TypeCode + UINT + Set at instantiation to fault class code + 16 + 6144 + + + pytmc + pv: TypeCode io: i - InUseBOOL861600pytmc + + + + + + InUse + BOOL + //////////////////////////////////////// +//////////////////////////////////////// + 8 + 6160 + + 0 + + + + pytmc + pv: InUse io: i - AutoResetBOOL86168VetoableBOOL861761InfoStringSTRING(80)6486184pytmc + + + + + + AutoReset + BOOL + //////////////////////////////////////// + 8 + 6168 + + + Vetoable + BOOL + Can this fast fault be masked by the veto device input? + 8 + 6176 + + 1 + + + + InfoString + STRING(80) + 648 + 6184 + + + pytmc + pv: InfoString io: i - TP + + + + + + TP + Pulse Timer. Q produces a High-Signal with the length of PT on every rising edge on IN. -]]>192INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputStartTimeTIME32160PouTypeFunctionBlockST_FFOverride576DurationDINT320pytmc + + 192 + + IN + BOOL + Trigger for Start of the Signal + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + The length of the High-Signal in 10ms + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + The pulse + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + The current phase of the High-Signal + 32 + 128 + + + ItemType + Output + + + + + StartTime + TIME + 32 + 160 + + + + PouType + FunctionBlock + + + + + ST_FFOverride + 576 + + Duration + DINT + DINT to be compatible with EPICS + 32 + 0 + + + pytmc + pv: Duration io: o - ExpirationDINT3232pytmc + + + + + + Expiration + DINT + DINT to be compatible with EPICS + 32 + 32 + + + pytmc + pv: Expiration io: o - StartDTDINT3264pytmc + + + + + + StartDT + DINT + DINT to be compatible with EPICS + 32 + 64 + + + pytmc + pv: StartDT io: o - ActivateBOOL896pytmc + + + + + + Activate + BOOL + 8 + 96 + + + pytmc + pv: Activate io: o - DeactivateBOOL8104pytmc + + + + + + Deactivate + BOOL + 8 + 104 + + + pytmc + pv: Deactivate io: o - ElapsedTimeDINT32128pytmc + + + + + + ElapsedTime + DINT + DINT to be compatible with EPICS + 32 + 128 + + + pytmc + pv: ElapsedTime io: i - RemainingTimeDINT32160pytmc + + + + + + RemainingTime + DINT + DINT to be compatible with EPICS + 32 + 160 + + + pytmc + pv: RemainingTime io: i - ActiveBOOL8192pytmc + + + + + + Active + BOOL + 8 + 192 + + + pytmc + pv: Active io: i - TimerTP192224OvrdActLogAckBOOL8416OvrdExpLogAckBOOL8424tOvrdActivateR_TRIG64448tOvrdExpiringF_TRIG64512RS64SETBOOL832ItemTypeInputRESET1BOOL840ItemTypeInputQ1BOOL848ItemTypeOutputPouTypeFunctionBlockST_FF7680InfoST_FFInfo68320pytmc + + + + + + Timer + TP + 192 + 224 + + + OvrdActLogAck + BOOL + 8 + 416 + + + OvrdExpLogAck + BOOL + 8 + 424 + + + tOvrdActivate + R_TRIG + 64 + 448 + + + tOvrdExpiring + F_TRIG + 64 + 512 + + + + RS + 64 + + SET + BOOL + Input to set Q1 + 8 + 32 + + + ItemType + Input + + + + + RESET1 + BOOL + Input to reset Q1 (reset dominant) + 8 + 40 + + + ItemType + Input + + + + + Q1 + BOOL + 8 + 48 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + + + ST_FF + 7680 + + Info + ST_FFInfo + 6832 + 0 + + + pytmc + pv: Info - OvrdST_FFOverride5766848pytmc + + + + + + Ovrd + ST_FFOverride + 576 + 6848 + + + pytmc + pv: Ovrd - OKBOOL87424pytmc + + + + + + OK + BOOL + Fault logic state + 8 + 7424 + + + pytmc + pv: OK io: i - FaultAckBOOL87432ClearAckBOOL87440BeamPermittedBOOL87448pytmc + + + + + + FaultAck + BOOL + Set when faulted, reset by logger. + 8 + 7432 + + + ClearAck + BOOL + 8 + 7440 + + + BeamPermitted + BOOL + Result of reset, veto, and fault logic, true beam off boolean + 8 + 7448 + + + pytmc + pv: BeamPermitted io: i - ResetBOOL87456pytmc + + + + + + Reset + BOOL + 8 + 7456 + + + pytmc + pv: Reset io: o - bsFFRS647488rtResetR_TRIG647552ftCountFaultF_TRIG647616DWORD (1..86400)32DWORDLowerBorder1UpperBorder86400E_TimeZoneID16INTeTimeZoneID_Invalid-1eTimeZoneID_Unknown0eTimeZoneID_Standard1eTimeZoneID_Daylight2ADSREAD1248NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputDESTADDRPVOID32352ItemTypeInputTcIgnorePersistentREADBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsNT_GetTime1728NETIDT_AmsNetID19232ItemTypeInputSTARTBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputTIMESTRTIMESTRUCT128352ItemTypeOutputfbAdsReadADSREAD1248480.PORT10000.IDXGRP400.IDXOFFS1conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_AmsGetTimeZoneInformation896tzInfoST_TimeZoneInformation8640apiResultDWORD32864conditionalshowFB_GetTimeZoneInformation3488sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputtzIDE_TimeZoneID16352ItemTypeOutputtzInfoST_TimeZoneInformation864384ItemTypeOutputfbAdsReadADSREAD12481248.PORT10000.IDXGRP400.IDXOFFS6conditionalshowfbTriggerR_TRIG642496conditionalshowstateBYTE82560conditionalshowresST_AmsGetTimeZoneInformation8962592conditionalshowPouTypeFunctionBlockconditionalshow_all_localsADSWRITE1216NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputSRCADDRPVOID32352ItemTypeInputTcIgnorePersistentWRITEBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsADSRDWRTEX1440NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputWRITELENUDINT32320ItemTypeInputREADLENUDINT32352ItemTypeInputSRCADDRPVOID32384ItemTypeInputTcIgnorePersistentDESTADDRPVOID32416ItemTypeInputTcIgnorePersistentWRTRDBOOL8448ItemTypeInputTMOUTTIME324805000ItemTypeInputBUSYBOOL8512ItemTypeOutputERRBOOL8520ItemTypeOutputERRIDUDINT32544ItemTypeOutputCOUNT_RUDINT32576ItemTypeOutputPouTypeFunctionBlockhide_all_localsST_HKeySrvRead4096sSubT_MaxString20480sValT_MaxString20482048conditionalshowFB_RegQueryValue10304sNetIdT_AmsNetID19232ItemTypeInputsSubKeyT_MaxString2048224ItemTypeInputsValNameT_MaxString20482272ItemTypeInputcbDataUDINT324320ItemTypeInputpDataBYTE324352ItemTypeInputbExecuteBOOL84384ItemTypeInputtTimeOutTIME3244165000ItemTypeInputbBusyBOOL84448ItemTypeOutputbErrorBOOL84456ItemTypeOutputnErrIdUDINT324480ItemTypeOutputcbReadUDINT324512ItemTypeOutputfbAdsRdWrtExADSRDWRTEX14404544.PORT10000.IDXGRP200.IDXOFFS0conditionalshowfbTriggerR_TRIG645984conditionalshowstateBYTE86048conditionalshows1LenUDINT326080conditionalshows2LenUDINT326112conditionalshowptrBYTE326144conditionalshowcbBuffUDINT326176conditionalshowtmpBuffST_HKeySrvRead40966208conditionalshowPouTypeFunctionBlockconditionalshow_all_localsNT_SetTimeToRTCTime12032NETIDT_AmsNetID19232ItemTypeInputSETBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputfbAdsWriteADSWRITE1216352.PORT10000.IDXGRP4.IDXOFFS0conditionalshowfbRegQueryFB_RegQueryValue103041568.sSubKeySoftware\Beckhoff\TwinCAT3\System.sValNameNumOfCPUsconditionalshowfbTriggerR_TRIG6411872conditionalshowbTmpDWORD32119360conditionalshowstateBYTE8119680conditionalshowbInitBOOL8119761conditionalshownumOfCPUsDWORD32120000conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFW_GetCpuCounter96dwCpuCntLoUDINT3232ItemTypeOutputdwCpuCntHiUDINT3264ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCPUCOUNTER + + + + + bsFF + RS + 64 + 7488 + + + rtReset + R_TRIG + 64 + 7552 + + + ftCountFault + F_TRIG + 64 + 7616 + + + + DWORD (1..86400) + 32 + DWORD + + + LowerBorder + 1 + + + UpperBorder + 86400 + + + + + E_TimeZoneID + 16 + INT + + eTimeZoneID_Invalid + -1 + Invalid time zone + + + eTimeZoneID_Unknown + 0 + Unknown time zone + + + eTimeZoneID_Standard + 1 + Standard time (Winterzeit) + + + eTimeZoneID_Daylight + 2 + Daylight saving time (Sommerzeit) + + + + ADSREAD + ADS read command. + 1248 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + LEN + UDINT + Max. number of data bytes to read (LEN <= max. size of destination buffer) + 32 + 320 + + + ItemType + Input + + + + + DESTADDR + PVOID + Pointer to destination buffer + 32 + 352 + + + ItemType + Input + + + TcIgnorePersistent + + + + + READ + BOOL + Rising edge starts command execution + 8 + 384 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 448 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 456 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 480 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + NT_GetTime + Reads local windows system time (struct) + 1728 + + NETID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + START + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + TMOUT + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + 32 + 320 + + + ItemType + Output + + + + + TIMESTR + TIMESTRUCT + Local windows system time + 128 + 352 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 480 + + + .PORT + 10000 + + + .IDXGRP + 400 + + + .IDXOFFS + 1 + + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ST_AmsGetTimeZoneInformation + 896 + + tzInfo + ST_TimeZoneInformation + GetTimeZoneInformation return data + 864 + 0 + + + apiResult + DWORD + api call result + 32 + 864 + + + + conditionalshow + + + + + FB_GetTimeZoneInformation + Reads time zone information + 3488 + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + tTimeout + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 320 + + + ItemType + Output + + + + + tzID + E_TimeZoneID + 16 + 352 + + + ItemType + Output + + + + + tzInfo + ST_TimeZoneInformation + 864 + 384 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 1248 + + + .PORT + 10000 + + + .IDXGRP + 400 + + + .IDXOFFS + 6 + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 2496 + + + conditionalshow + + + + + state + BYTE + 8 + 2560 + + + conditionalshow + + + + + res + ST_AmsGetTimeZoneInformation + 896 + 2592 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ADSWRITE + ADS write command. + 1216 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + LEN + UDINT + Max. number of data bytes to write (LEN <= max. size of source buffer) + 32 + 320 + + + ItemType + Input + + + + + SRCADDR + PVOID + Pointer to source buffer + 32 + 352 + + + ItemType + Input + + + TcIgnorePersistent + + + + + WRITE + BOOL + Rising edge starts command execution + 8 + 384 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 448 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 456 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 480 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + ADSRDWRTEX + Extended ADS read/write command. + 1440 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + WRITELEN + UDINT + Max. number of data bytes to write (WRITELEN <= max. size of source buffer) + 32 + 320 + + + ItemType + Input + + + + + READLEN + UDINT + Max. number of data bytes to read (READLEN <= max. size of destination buffer) + 32 + 352 + + + ItemType + Input + + + + + SRCADDR + PVOID + Pointer to source buffer + 32 + 384 + + + ItemType + Input + + + TcIgnorePersistent + + + + + DESTADDR + PVOID + Pointer to destination buffer + 32 + 416 + + + ItemType + Input + + + TcIgnorePersistent + + + + + WRTRD + BOOL + Rising edge starts command execution + 8 + 448 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 480 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 512 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 520 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 544 + + + ItemType + Output + + + + + COUNT_R + UDINT + Count of bytes actually read + 32 + 576 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + ST_HKeySrvRead + 4096 + + sSub + T_MaxString + 2048 + 0 + + + sVal + T_MaxString + 2048 + 2048 + + + + conditionalshow + + + + + FB_RegQueryValue + Reads windows registry value + 10304 + + sNetId + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + sSubKey + T_MaxString + HKEY_LOCAL_MACHINE \ sub key name + 2048 + 224 + + + ItemType + Input + + + + + sValName + T_MaxString + Value name + 2048 + 2272 + + + ItemType + Input + + + + + cbData + UDINT + Number of data bytes to read + 32 + 4320 + + + ItemType + Input + + + + + pData + BYTE + Points to registry key data buffer + 32 + 4352 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 4384 + + + ItemType + Input + + + + + tTimeOut + TIME + Max fb execution time + 32 + 4416 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 4448 + + + ItemType + Output + + + + + bError + BOOL + 8 + 4456 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 4480 + + + ItemType + Output + + + + + cbRead + UDINT + Number of succesfully read data bytes + 32 + 4512 + + + ItemType + Output + + + + + fbAdsRdWrtEx + ADSRDWRTEX + 1440 + 4544 + + + .PORT + 10000 + + + .IDXGRP + 200 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 5984 + + + conditionalshow + + + + + state + BYTE + 8 + 6048 + + + conditionalshow + + + + + s1Len + UDINT + 32 + 6080 + + + conditionalshow + + + + + s2Len + UDINT + 32 + 6112 + + + conditionalshow + + + + + ptr + BYTE + 32 + 6144 + + + conditionalshow + + + + + cbBuff + UDINT + 32 + 6176 + + + conditionalshow + + + + + tmpBuff + ST_HKeySrvRead + 4096 + 6208 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + NT_SetTimeToRTCTime + 12032 + + NETID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + SET + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + TMOUT + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + 32 + 320 + + + ItemType + Output + + + + + fbAdsWrite + ADSWRITE + 1216 + 352 + + + .PORT + 10000 + + + .IDXGRP + 4 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + fbRegQuery + FB_RegQueryValue + 10304 + 1568 + + + .sSubKey + Software\Beckhoff\TwinCAT3\System + + + .sValName + NumOfCPUs + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 11872 + + + conditionalshow + + + + + bTmp + DWORD + 32 + 11936 + + 0 + + + + conditionalshow + + + + + state + BYTE + 8 + 11968 + + 0 + + + + conditionalshow + + + + + bInit + BOOL + 8 + 11976 + + 1 + + + + conditionalshow + + + + + numOfCPUs + DWORD + 32 + 12000 + + 0 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FW_GetCpuCounter + 96 + + dwCpuCntLo + UDINT + 32 + 32 + + + ItemType + Output + + + + + dwCpuCntHi + UDINT + 32 + 64 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + conditionalshow + + + + + GETCPUCOUNTER + The CPU cycle counter can be read with this function block. The numerical value is a relative 64 bit integer, which, independently of the CPUs internal clock rate, is output in a form converted into 100ns ticks. The number is refreshed to a precision of 100ns with every call by the PLC system, and can be used, for instance, for timing tasks. - One unit is equivalent to 100 ns. ]]>192cpuCntLoDWUDINT3232ItemTypeOutputcpuCntHiDWUDINT3264ItemTypeOutputfbGetCpuCounterFW_GetCpuCounter9696conditionalshowPouTypeFunctionBlockconditionalshow_all_localsRTC_EX2896ENBOOL832ItemTypeInputPDTTIMESTRUCT12848ItemTypeInputPMICRODWORD32192ItemTypeInputQBOOL Output time is valid, FALSE => Output time is invalid ]]>8224ItemTypeOutputCDTTIMESTRUCT128240.wYear1970.wMonth1.wDay1.wDayOfWeek4ItemTypeOutputCMICRODWORD32384ItemTypeOutputfbGetCpuCounterGETCPUCOUNTER192416conditionalshowrisingEdgeR_TRIG64608conditionalshowoldTickDWORD32672conditionalshowcurrTickDWORD32704conditionalshownanoDiffDWORD32736conditionalshownanoRestDWORD32768conditionalshowsecDiffDWORD32800conditionalshowdateTimeDATE_AND_TIME32832conditionalshowbInitializedBOOL8864conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LocalSystemTime19040sNetIDT_AmsNetID19232ItemTypeInputbEnableBOOL8224ItemTypeInputdwCycleDWORD (1..86400)322565ItemTypeInputdwOptDWORD Synchronize Windows Time to RTC time ]]>322881ItemTypeInputtTimeoutTIME323205000ItemTypeInputbValidBOOL The systemTime and tzID output is valid, FALSE => systemTime and tzID is not valid ]]>8352ItemTypeOutputsystemTimeTIMESTRUCT128368ItemTypeOutputtzIDE_TimeZoneID16496-1ItemTypeOutputrtrigR_TRIG64512conditionalshowstateBYTE8576conditionalshowfbNTNT_GetTime1728608conditionalshowfbTZFB_GetTimeZoneInformation34882336conditionalshowfbSETNT_SetTimeToRTCTime120325824conditionalshowfbRTCRTC_EX289617856conditionalshowtimerTON22418752conditionalshownSyncDWORD3218976conditionalshowbNotSupBOOL819008conditionalshowPouTypeFunctionBlockconditionalshow_all_localsT_FILETIME64dwLowDateTimeDWORD320dwHighDateTimeDWORD3232FB_TranslateLocalTimeToUtcByZoneID2400inT_FILETIME6432ItemTypeInputtzInfoST_TimeZoneInformation86496ItemTypeInputwDldYearWORD not used (default) else used only if tzInfo.daylightDate.wYear = 0. ]]>169600ItemTypeInputwStdYearWORD not used (default) else used only if tzInfo.standardDate.wYear = 0. ]]>169760ItemTypeInputoutT_FILETIME64992ItemTypeOutputeTzIDE_TimeZoneID1610560ItemTypeOutputbBBOOL A time, TRUE => B time]]>81072ItemTypeOutputbiasDINT321088ItemTypeOutputinLocalTIMESTRUCT1281120tziSommerTIMESTRUCT1281248tziWinterTIMESTRUCT1281376tziLocalSommerT_FILETIME641504tziLocalWinterT_FILETIME641568tziLocalSommerJumpT_FILETIME641632tziLocalWinterJumpT_FILETIME641696ui64LocalInT_ULARGE_INTEGER641760ui64LocalSommerT_ULARGE_INTEGER641824ui64LocalWinterT_ULARGE_INTEGER641888in_to_sDINT321952in_to_wDINT321984s_to_wDINT322016in_to_s_jumpDINT322048in_to_w_jumpDINT322080iStandardBiasDINT322112iDaylightBiasDINT322144ui64PreviousInT_ULARGE_INTEGER642176ui64FallDiffT_ULARGE_INTEGER642240bFallDiffBOOL82304dtSommerJumpDATE_AND_TIME322336dtWinterJumpDATE_AND_TIME322368A_ResetPouTypeFunctionBlockconditionalshowFB_TzSpecificLocalTimeToSystemTime3584inTIMESTRUCT12832ItemTypeInputtzInfoST_TimeZoneInformation864160ItemTypeInputoutTIMESTRUCT1281024ItemTypeOutputeTzIDE_TimeZoneID1611520ItemTypeOutputbBBOOL A time, TRUE => B time]]>81168ItemTypeOutputfbBaseFB_TranslateLocalTimeToUtcByZoneID24001184conditionalshowA_ResetPouTypeFunctionBlockconditionalshow_all_localsFB_JsonSaxWriter + 192 + + cpuCntLoDW + UDINT + Contains the low-value 4 bytes of the numerical value + 32 + 32 + + + ItemType + Output + + + + + cpuCntHiDW + UDINT + Contains the high-value 4 bytes of the numerical value + 32 + 64 + + + ItemType + Output + + + + + fbGetCpuCounter + FW_GetCpuCounter + 96 + 96 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + RTC_EX2 + Software RTC (real time clock), returns time in structured system time format + microseconds (microsecond resolution) + 896 + + EN + BOOL + Enable/set clock + 8 + 32 + + + ItemType + Input + + + + + PDT + TIMESTRUCT + Preset/set time in system time format (struct) + 128 + 48 + + + ItemType + Input + + + + + PMICRO + DWORD + Preset microseconds + 32 + 192 + + + ItemType + Input + + + + + Q + BOOL + TRUE => Output time is valid, FALSE => Output time is invalid + 8 + 224 + + + ItemType + Output + + + + + CDT + TIMESTRUCT + Current time in system time format (struct) + 128 + 240 + + + .wYear + 1970 + + + .wMonth + 1 + + + .wDay + 1 + + + .wDayOfWeek + 4 + + + + + ItemType + Output + + + + + CMICRO + DWORD + Current microseconds + 32 + 384 + + + ItemType + Output + + + + + fbGetCpuCounter + GETCPUCOUNTER + 192 + 416 + + + conditionalshow + + + + + risingEdge + R_TRIG + 64 + 608 + + + conditionalshow + + + + + oldTick + DWORD + 32 + 672 + + + conditionalshow + + + + + currTick + DWORD + 32 + 704 + + + conditionalshow + + + + + nanoDiff + DWORD + 32 + 736 + + + conditionalshow + + + + + nanoRest + DWORD + 32 + 768 + + + conditionalshow + + + + + secDiff + DWORD + 32 + 800 + + + conditionalshow + + + + + dateTime + DATE_AND_TIME + 32 + 832 + + + conditionalshow + + + + + bInitialized + BOOL + 8 + 864 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LocalSystemTime + This function block synchronizes cyclically to and returns the Local Windows System Time. + 19040 + + sNetID + T_AmsNetID + The target TwinCAT system network address + 192 + 32 + + + + + + ItemType + Input + + + + + bEnable + BOOL + Enable/start cyclic time synchronisation (output is synchronized to Local Windows System Time) + 8 + 224 + + + ItemType + Input + + + + + dwCycle + DWORD (1..86400) + Time synchronisation cycle (seconds) + 32 + 256 + + 5 + + + + ItemType + Input + + + + + dwOpt + DWORD + Additional option flags: If bit 0 is set => Synchronize Windows Time to RTC time + 32 + 288 + + 1 + + + + ItemType + Input + + + + + tTimeout + TIME + Max. ADS function block execution time (internal communication timeout). + 32 + 320 + + 5000 + + + + ItemType + Input + + + + + bValid + BOOL + TRUE => The systemTime and tzID output is valid, FALSE => systemTime and tzID is not valid + 8 + 352 + + + ItemType + Output + + + + + systemTime + TIMESTRUCT + Local Windows System Time struct + 128 + 368 + + + ItemType + Output + + + + + tzID + E_TimeZoneID + Daylight/standard time zone information + 16 + 496 + + -1 + + + + ItemType + Output + + + + + rtrig + R_TRIG + 64 + 512 + + + conditionalshow + + + + + state + BYTE + 8 + 576 + + + conditionalshow + + + + + fbNT + NT_GetTime + 1728 + 608 + + + conditionalshow + + + + + fbTZ + FB_GetTimeZoneInformation + 3488 + 2336 + + + conditionalshow + + + + + fbSET + NT_SetTimeToRTCTime + 12032 + 5824 + + + conditionalshow + + + + + fbRTC + RTC_EX2 + 896 + 17856 + + + conditionalshow + + + + + timer + TON + 224 + 18752 + + + conditionalshow + + + + + nSync + DWORD + 32 + 18976 + + + conditionalshow + + + + + bNotSup + BOOL + 8 + 19008 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + T_FILETIME + The FILETIME structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC). + 64 + + dwLowDateTime + DWORD + Specifies the low-order 32 bits of the file time. + 32 + 0 + + + dwHighDateTime + DWORD + Specifies the high-order 32 bits of the file time. + 32 + 32 + + + + FB_TranslateLocalTimeToUtcByZoneID + Internal helper function block. Detects time zone ID, bias and B time flag and translates the local file time to UTC file time time + 2400 + + in + T_FILETIME + Time to be converted (Local file time format) + 64 + 32 + + + ItemType + Input + + + + + tzInfo + ST_TimeZoneInformation + Time zone information + 864 + 96 + + + ItemType + Input + + + + + wDldYear + WORD + Optional daylightDate.wYear value. If 0 => not used (default) else used only if tzInfo.daylightDate.wYear = 0. + 16 + 960 + + 0 + + + + ItemType + Input + + + + + wStdYear + WORD + Optional standardDate.wYear value. If 0 => not used (default) else used only if tzInfo.standardDate.wYear = 0. + 16 + 976 + + 0 + + + + ItemType + Input + + + + + out + T_FILETIME + Converted time (UTC file time format) + 64 + 992 + + + ItemType + Output + + + + + eTzID + E_TimeZoneID + Detected daylight saving time information + 16 + 1056 + + 0 + + + + ItemType + Output + + + + + bB + BOOL + FALSE => A time, TRUE => B time + 8 + 1072 + + + ItemType + Output + + + + + bias + DINT + Bias value in minutes + 32 + 1088 + + + ItemType + Output + + + + + inLocal + TIMESTRUCT + 128 + 1120 + + + tziSommer + TIMESTRUCT + 128 + 1248 + + + tziWinter + TIMESTRUCT + 128 + 1376 + + + tziLocalSommer + T_FILETIME + 64 + 1504 + + + tziLocalWinter + T_FILETIME + 64 + 1568 + + + tziLocalSommerJump + T_FILETIME + 64 + 1632 + + + tziLocalWinterJump + T_FILETIME + 64 + 1696 + + + ui64LocalIn + T_ULARGE_INTEGER + 64 + 1760 + + + ui64LocalSommer + T_ULARGE_INTEGER + 64 + 1824 + + + ui64LocalWinter + T_ULARGE_INTEGER + 64 + 1888 + + + in_to_s + DINT + 32 + 1952 + + + in_to_w + DINT + 32 + 1984 + + + s_to_w + DINT + 32 + 2016 + + + in_to_s_jump + DINT + 32 + 2048 + + + in_to_w_jump + DINT + 32 + 2080 + + + iStandardBias + DINT + 32 + 2112 + + + iDaylightBias + DINT + 32 + 2144 + + + ui64PreviousIn + T_ULARGE_INTEGER + 64 + 2176 + + + ui64FallDiff + T_ULARGE_INTEGER + 64 + 2240 + + + bFallDiff + BOOL + 8 + 2304 + + + dtSommerJump + DATE_AND_TIME + 32 + 2336 + + + dtWinterJump + DATE_AND_TIME + 32 + 2368 + + + A_Reset + + + + PouType + FunctionBlock + + + conditionalshow + + + + + FB_TzSpecificLocalTimeToSystemTime + Converts time zone's specific local system time to Coordinated Universal Time (UTC) system time + 3584 + + in + TIMESTRUCT + Time zone's specific local system time. Structure that specifies the system time since January 1, 1601 + 128 + 32 + + + ItemType + Input + + + + + tzInfo + ST_TimeZoneInformation + Time zone settings + 864 + 160 + + + ItemType + Input + + + + + out + TIMESTRUCT + Coordinated Universal Time (UTC) in system time format + 128 + 1024 + + + ItemType + Output + + + + + eTzID + E_TimeZoneID + Daylight saving time information + 16 + 1152 + + 0 + + + + ItemType + Output + + + + + bB + BOOL + FALSE => A time, TRUE => B time + 8 + 1168 + + + ItemType + Output + + + + + fbBase + FB_TranslateLocalTimeToUtcByZoneID + 2400 + 1184 + + + conditionalshow + + + + + A_Reset + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_JsonSaxWriter + | Provides the functionality to create a JSON document. | Steps of documentation creation: | 1. StartObject() to start a new object in the document. | 2. Add several keys/values via AddKeyString() and the other methods. | 3. EndObject() to finish object. | 4. GetDocument() in order to get the full document as string. - | 5. ResetDocument() if a new document should be created with the same SaxWriter instance.]]>256initStatusHRESULT3232-1743714536ItemTypeOutputipWriterITcJsonSaxWriter3264ipWriter2ITcJsonSaxWriter23296CLSID_TcJsonSaxWriterCLSID128128.Data13870298264.Data256256.Data317669.Data4[0]158.Data4[1]60.Data4[2]93.Data4[3]248.Data4[4]70.Data4[5]150.Data4[6]7.Data4[7]196AddKeyNumberkeySTRING(80)32ItemTypeInOutvalueDINT32AddStringvalueSTRING(80)32ItemTypeInOutAddKeyFileTimekeySTRING(80)32ItemTypeInOutvalueFILETIME64IsCompleteBOOL8AddUdintvalueUDINT32AddHexBinarypBytesBYTE32nBytesDINT32AddLintvalueLINT64AddLrealvalueLREAL64AddKeykeySTRING(80)32ItemTypeInOutResetDocumentHRESULT32AddKeyLrealkeySTRING(80)32ItemTypeInOutvalueLREAL64StartObjectHRESULT32GetDocumentLengthUDINT32hrErrorCodeHRESULT32ItemTypeOutputnUDINT32pSTRING(80)32AddKeyDcTimekeySTRING(80)32ItemTypeInOutvalueDCTIME64AddDateTimevalueDATE_AND_TIME32AddRawObjectrawJsonSTRING(80)32ItemTypeInOutSetMaxDecimalPlacesHRESULT32decimalPlacesDINT32__get_ipWriterITcJsonSaxWriter32_ipWriterITcJsonSaxWriter32propertyAddKeyBoolkeySTRING(80)32ItemTypeInOutvalueBOOL8GetDocumentSTRING(255)2048hrErrorCodeHRESULT32ItemTypeOutputpSINT32nUDINT32AddDintvalueDINT32AddRawArrayBOOL8rawJsonSTRING(80)32ItemTypeInOutAddKeyStringkeySTRING(80)32ItemTypeInOutvalueSTRING(80)32ItemTypeInOutCopyDocumentUDINT32pDocSTRING(80)32ItemTypeInOutnDocUDINT32hrErrorCodeHRESULT32ItemTypeOutputAddUlintvalueULINT64GetMaxDecimalPlacesDINT32dpDINT32AddFileTimevalueFILETIME64AddNullAddKeyDateTimekeySTRING(80)32ItemTypeInOutvalueDATE_AND_TIME32AddBoolvalueBOOL8AddBase64pBytesBYTE32nBytesDINT32AddDcTimevalueDCTIME64AddKeyNullkeySTRING(80)32ItemTypeInOutEndArrayHRESULT32EndObjectHRESULT32StartArrayHRESULT32AddRealvalueREAL32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_HardwareFFOutput495296FF_ARRAY_UPPER_BOUNDUINT163250i_xResetBOOL848ItemTypeInputpytmc + | 5. ResetDocument() if a new document should be created with the same SaxWriter instance. + 256 + + initStatus + HRESULT + 32 + 32 + + -1743714536 + + + + ItemType + Output + + + + + ipWriter + ITcJsonSaxWriter + 32 + 64 + + + ipWriter2 + ITcJsonSaxWriter2 + 32 + 96 + + + CLSID_TcJsonSaxWriter + CLSID + 128 + 128 + + + .Data1 + 3870298264 + + + .Data2 + 56256 + + + .Data3 + 17669 + + + .Data4[0] + 158 + + + .Data4[1] + 60 + + + .Data4[2] + 93 + + + .Data4[3] + 248 + + + .Data4[4] + 70 + + + .Data4[5] + 150 + + + .Data4[6] + 7 + + + .Data4[7] + 196 + + + + + AddKeyNumber + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DINT + 32 + + + + AddString + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddKeyFileTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + FILETIME + 64 + + + + IsComplete + BOOL + 8 + + + AddUdint + + value + UDINT + 32 + + + + AddHexBinary + + pBytes + BYTE + 32 + + + nBytes + DINT + 32 + + + + AddLint + + value + LINT + 64 + + + + AddLreal + + value + LREAL + 64 + + + + AddKey + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + + ResetDocument + HRESULT + 32 + + + AddKeyLreal + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + LREAL + 64 + + + + StartObject + HRESULT + 32 + + + GetDocumentLength + UDINT + 32 + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + n + UDINT + 32 + + + p + STRING(80) + 32 + + + + AddKeyDcTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DCTIME + 64 + + + + AddDateTime + + value + DATE_AND_TIME + 32 + + + + AddRawObject + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + SetMaxDecimalPlaces + HRESULT + 32 + + decimalPlaces + DINT + 32 + + + + __get_ipWriter + ITcJsonSaxWriter + 32 + + _ipWriter + ITcJsonSaxWriter + 32 + + + + property + + + + + AddKeyBool + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + BOOL + 8 + + + + GetDocument + STRING(255) + 2048 + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + p + SINT + 32 + + + n + UDINT + 32 + + + + AddDint + + value + DINT + 32 + + + + AddRawArray + BOOL + 8 + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddKeyString + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + CopyDocument + UDINT + 32 + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of the target string buffer + UDINT + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + AddUlint + + value + ULINT + 64 + + + + GetMaxDecimalPlaces + DINT + 32 + + dp + DINT + 32 + + + + AddFileTime + + value + FILETIME + 64 + + + + AddNull + + + AddKeyDateTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DATE_AND_TIME + 32 + + + + AddBool + + value + BOOL + 8 + + + + AddBase64 + + pBytes + BYTE + 32 + + + nBytes + DINT + 32 + + + + AddDcTime + + value + DCTIME + 64 + + + + AddKeyNull + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + + EndArray + HRESULT + 32 + + + EndObject + HRESULT + 32 + + + StartArray + HRESULT + 32 + + + AddReal + + value + REAL + 32 + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + FB_HardwareFFOutput + 495296 + + FF_ARRAY_UPPER_BOUND + UINT + 16 + 32 + + 50 + + + + i_xReset + BOOL + 8 + 48 + + + ItemType + Input + + + pytmc + pv: ClearFault io: o field: DESC Might be overidden by PLC writes - i_xVetoBOOL856ItemTypeInputpytmc + + + + + + i_xVeto + BOOL + 8 + 56 + + + ItemType + Input + + + pytmc + pv: EnableVeto io: o - bAutoResetBOOL8640ItemTypeInputi_sNetIDT_AmsNetID19272ItemTypeInputq_xFastFaultOutBOOL8264ItemTypeOutputpytmc + + + + + + bAutoReset + BOOL + Set true for the FFO to automatically permit beam again after all fast faults are cleared + 8 + 64 + + 0 + + + + ItemType + Input + + + + + i_sNetID + T_AmsNetID + Set to the Arbiter AmsNetID to be used for the synchronisation. An empty string means the system will sue local time + 192 + 72 + + + + + + ItemType + Input + + + + + q_xFastFaultOut + BOOL + 8 + 264 + + + ItemType + Output + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutputq_xValidSyncTimeBOOL8272ItemTypeOutputastFFST_FF150384000288pytmc + + + + TcAddressType + Output + + + + + q_xValidSyncTime + BOOL + system time bValid output True when sync is successful + 8 + 272 + + + ItemType + Output + + + + + astFF + ST_FF + + 1 + 50 + + 384000 + 288 + + + pytmc + pv: FF - xFastFaultRegFailBOOL83842880pytmc + + + + + + xFastFaultRegFail + BOOL + Set true if a fast fault fails to register. Holds beam off. + 8 + 384288 + + 0 + + + + pytmc + pv: RegistrationFailure io: io - tFFRegFailF_TRIG64384320sPathT_MaxString2048384384instance-pathnoinitxOKBOOL83864321pytmc + + + + + + tFFRegFail + F_TRIG + 64 + 384320 + + + sPath + T_MaxString + 2048 + 384384 + + + instance-path + + + noinit + + + + + xOK + BOOL + Current internal state of FFO, indicates if FFO will accept a reset + 8 + 386432 + + 1 + + + + pytmc + pv: OK io: i - rtResetR_TRIG64386464rtResetandOKR_TRIG64386528nIndexUINT163865921IdxOKBOOL8386608fbTimeFB_LocalSystemTime19040386624.bEnable1.dwCycle1fbTime_to_UTCFB_TzSpecificLocalTimeToSystemTime3584405664fbGetTimeZoneFB_GetTimeZoneInformation3488409248fbJsonFB_JsonSaxWriter256412736pmpsTypeCodeUDINT324129920fbLoggerFB_LogMessage81984413056.eSevr4.eSubsystem2.nMinTimeViolationAcceptable50__EXECUTELOGGING__HELLOTIMERTOF224495040.PT86400000ExecuteNoLogEvaluateOutputExecuteEvaluateVetosBOOL8obsoleteUse EvaluateOverrides instead.EvaluateOverridesBOOL8FFST_FF32EvalIdxDINT32MaxTimeDINT32no_checkExecuteLoggingBOOL8FFST_FF32logIdxDINT32HelloTimerTOF224uselocation__EXECUTELOGGING__HELLOTIMERno_checkRegisterBOOL8stFFInfoST_FFInfo6832FFONameT_MaxString2048ItemTypeOutputIdxUINT16ItemTypeOutputno_checkIdxCheckInBOOL8IdxDINT32OKBOOL8ResetBOOL8stFFST_FF7680BeamPermittedBOOL8no_checkFormulateLogJsonSTRING(80)648FFST_FF7680PouTypeFunctionBlockreflectionno_checkFB_FastFault + + + + + rtReset + R_TRIG + 64 + 386464 + + + rtResetandOK + R_TRIG + 64 + 386528 + + + nIndex + UINT + 16 + 386592 + + 1 + + + + IdxOK + BOOL + 8 + 386608 + + + fbTime + FB_LocalSystemTime + Get current system time, used for override + 19040 + 386624 + + + .bEnable + 1 + + + .dwCycle + 1 + + + + + fbTime_to_UTC + FB_TzSpecificLocalTimeToSystemTime + 3584 + 405664 + + + fbGetTimeZone + FB_GetTimeZoneInformation + 3488 + 409248 + + + fbJson + FB_JsonSaxWriter + 256 + 412736 + + + pmpsTypeCode + UDINT + shows up in json as pmps_typecode + 32 + 412992 + + 0 + + + + fbLogger + FB_LogMessage + 81984 + 413056 + + + .eSevr + 4 + + + .eSubsystem + 2 + + + .nMinTimeViolationAcceptable + 50 + + + + + __EXECUTELOGGING__HELLOTIMER + TOF + 224 + 495040 + + + .PT + 86400000 + + + + + ExecuteNoLog + + + EvaluateOutput + + + Execute + + + EvaluateVetos + BOOL + 8 + + + obsolete + Use EvaluateOverrides instead. + + + + + EvaluateOverrides + BOOL + 8 + + FF + ST_FF + 32 + + + EvalIdx + DINT + 32 + + + MaxTime + 49.7 days + DINT + 32 + + + + no_check + + + + + ExecuteLogging + BOOL + 8 + + FF + ST_FF + 32 + + + logIdx + DINT + 32 + + + HelloTimer + TOF + 224 + + + uselocation + __EXECUTELOGGING__HELLOTIMER + + + + + + no_check + + + + + Register + BOOL + 8 + + stFFInfo + ST_FFInfo + 6832 + + + FFOName + T_MaxString + 2048 + + + ItemType + Output + + + + + Idx + UINT + 16 + + + ItemType + Output + + + + + + no_check + + + + + IdxCheckIn + BOOL + 8 + + Idx + DINT + 32 + + + OK + BOOL + 8 + + + Reset + BOOL + 8 + + + stFF + ST_FF + 7680 + + + BeamPermitted + BOOL + 8 + + + + no_check + + + + + FormulateLogJson + STRING(80) + 648 + + FF + ST_FF + 7680 + + + + + PouType + FunctionBlock + + + reflection + + + no_check + + + + + FB_FastFault + Fast Fault 2019-9-13 A. Wallace Use this block to generate a beam-off fault. Connects to a fast fault hardware output @@ -279,40 +19226,3714 @@ function block to contribute to the state of the fast fault output (FFO). If the i_xOK goes false, the associated FFO will go false, despite the state of any other contributing fast faults, unless the FFO is currently vetoed. -]]>25088i_xOKBOOL832ItemTypeInputi_xResetBOOL840ItemTypeInputi_xAutoResetBOOL8480ItemTypeInputi_xVetoableBOOL8561ItemTypeInputi_DevNameT_MaxString204864ItemTypeInputi_DescT_MaxString20482112ItemTypeInputi_TypeCodeUINT164160ItemTypeInputo_xFFLineBOOL84176ItemTypeOutputio_fbFFHWOFB_HardwareFFOutput324192ItemTypeInOutsPathT_MaxString20484224instance-pathnoinitFFInfoST_FFInfo68326272RegistrationIdxUINT16131041xInitBOOL8131201InfoStringFmtrFB_FormatString784013152InUseT_MaxString204820992AutoResetT_MaxString204823040PouTypeFunctionBlockreflectionBeamParameterTransitionManager + 25088 + + i_xOK + BOOL + Connect to fast-fault condition (false produces fault) + 8 + 32 + + + ItemType + Input + + + + + i_xReset + BOOL + Resets when i_xOK is true and this is true + 8 + 40 + + + ItemType + Input + + + + + i_xAutoReset + BOOL + Automatically clear fast fault (latching vs non-latching) + 8 + 48 + + 0 + + + + ItemType + Input + + + + + i_xVetoable + BOOL + Mask this fast fault if the FFO veto device is true + 8 + 56 + + 1 + + + + ItemType + Input + + + + + i_DevName + T_MaxString + Device name for diagnostic + 2048 + 64 + + + + + + ItemType + Input + + + + + i_Desc + T_MaxString + Description of fast fault (you should set at init) + 2048 + 2112 + + + + + + ItemType + Input + + + + + i_TypeCode + UINT + Error code for classifying fast faults + 16 + 4160 + + + ItemType + Input + + + + + o_xFFLine + BOOL + Connect to HW output or another FF input if you like (Optional) + 8 + 4176 + + + ItemType + Output + + + + + io_fbFFHWO + FB_HardwareFFOutput + Point to FB_HardwareFFOutput of your choice + 32 + 4192 + + + ItemType + InOut + + + + + sPath + T_MaxString + 2048 + 4224 + + + instance-path + + + noinit + + + + + FFInfo + ST_FFInfo + 6832 + 6272 + + + RegistrationIdx + UINT + The index this FF was registered in the FFO + 16 + 13104 + + 1 + + + + xInit + BOOL + 8 + 13120 + + 1 + + + + InfoStringFmtr + FB_FormatString + 7840 + 13152 + + + InUse + T_MaxString + 2048 + 20992 + + + AutoReset + T_MaxString + 2048 + 23040 + + + + PouType + FunctionBlock + + + reflection + + + + + BeamParameterTransitionManager + Implements the procedure for safely transitioning between device states. NOTE: The BPTM will throw an error if the arbiter does not have enough space for the transition and new final assertion. - ]]>60256fbArbiterFB_Arbiter3232ItemTypeInOuti_sDeviceNameSTRING(80)64864DeviceItemTypeInputi_TransitionAssertionIDUDINT327360ItemTypeInputi_stTransitionAssertionST_BeamParams1760768ItemTypeInputi_nRequestedAssertionIDUDINT3225280ItemTypeInputi_stRequestedAssertionST_BeamParams17602560.nTran0.neVRange0.nRate0.nBCRange0ItemTypeInputi_xMovingBOOL]]>843200ItemTypeInputi_xDoneMovingBOOL843280ItemTypeInputstCurrentBeamParametersST_BeamParams17604352ItemTypeInputbRetryBOOL861120ItemTypeInputq_xTransitionAuthorizedBOOL861200ItemTypeOutputbErrorBOOL86128ItemTypeOutputnErrIdUINT166144ItemTypeOutputbDoneBOOL86160ItemTypeOutputbBusyBOOL86168ItemTypeOutputnTargetAssertionIDUDINT3261760stTargetAssertionST_BeamParams17606208nCurrentAssertionIDUDINT3279680xNewBPBOOL88000xTranBPBOOL88008xFinalBPInArbBOOL88016xFinalBPBOOL88024eBPTMStateE_BPTMState1680320ePrevStateE_BPTMState1680480xEntryBOOL88064rTransitionR_TRIG648096xNewTargetBOOL88160bTransAssertionFailedBOOL88168bFinalAssertionFailedBOOL88176LogStrBufferSTRING(80)041265688184LogBuffIdxFB_Index9634752.LowerLimit0.UpperLimit40nAssrtAttemptINT1634848rtRetryR_TRIG6434880rtErrorR_TRIG6434944ffTimeoutFB_FastFault2508835008.i_DescPreemptive requests timed out in BPTM.i_TypeCode10.i_xAutoReset0rtDoneMovingR_TRIG6460096bLatchDoneMovingBOOL860160bFirstMoveBOOL8601681LogBuffSizeINT166017640cMaxAttemptsINT16601923cReqArbCapacityUDINT + 60256 + + fbArbiter + FB_Arbiter + Connect to local arbiter + 32 + 32 + + + ItemType + InOut + + + + + i_sDeviceName + STRING(80) + Name of the device requesting the transition + 648 + 64 + + Device + + + + ItemType + Input + + + + + i_TransitionAssertionID + UDINT + Must not be 0 or EXCLUDED_ID + 32 + 736 + + 0 + + + + ItemType + Input + + + + + i_stTransitionAssertion + ST_BeamParams + Assertion required during transition (always safer than anything inbetween) + 1760 + 768 + + + ItemType + Input + + + + + i_nRequestedAssertionID + UDINT + Must not be 0 or EXCLUDED_ID + 32 + 2528 + + 0 + + + + ItemType + Input + + + + + i_stRequestedAssertion + ST_BeamParams + PMPS_GVL.cstSafeBeam; //Requested assertion, change whenever + 1760 + 2560 + + + .nTran + 0 + + + .neVRange + 0 + + + .nRate + 0 + + + .nBCRange + 0 + + + + + ItemType + Input + + + + + i_xMoving + BOOL + Provide rising edge when device begins moving <remove> + 8 + 4320 + + 0 + + + + ItemType + Input + + + + + i_xDoneMoving + BOOL + Provide rising edge when device is done with a move + 8 + 4328 + + 0 + + + + ItemType + Input + + + + + stCurrentBeamParameters + ST_BeamParams + Connect to current beam parameters + 1760 + 4352 + + + ItemType + Input + + + + + bRetry + BOOL + Rising edge to cycle back through the BPTM process. Use if something in the process timed out or failed. This will interrupt a current process + 8 + 6112 + + 0 + + + + ItemType + Input + + + + + q_xTransitionAuthorized + BOOL + Rising edge indicating the device is safe to move, use as input to move execute (which requires a rising edge) + 8 + 6120 + + 0 + + + + ItemType + Output + + + + + bError + BOOL + Set if some issue occurs within the bptm + 8 + 6128 + + + ItemType + Output + + + + + nErrId + UINT + Set to non-zero to help understand the error. + 16 + 6144 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 6160 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 6168 + + + ItemType + Output + + + + + nTargetAssertionID + UDINT + 32 + 6176 + + 0 + + + + stTargetAssertion + ST_BeamParams + Target assertion + 1760 + 6208 + + + nCurrentAssertionID + UDINT + ID of last set state (zero until a state is reached) + 32 + 7968 + + 0 + + + + xNewBP + BOOL + 8 + 8000 + + + xTranBP + BOOL + 8 + 8008 + + + xFinalBPInArb + BOOL + 8 + 8016 + + + xFinalBP + BOOL + 8 + 8024 + + + eBPTMState + E_BPTMState + 16 + 8032 + + 0 + + + + ePrevState + E_BPTMState + 16 + 8048 + + 0 + + + + xEntry + BOOL + 8 + 8064 + + + rTransition + R_TRIG + 64 + 8096 + + + xNewTarget + BOOL + 8 + 8160 + + + bTransAssertionFailed + BOOL + 8 + 8168 + + + bFinalAssertionFailed + BOOL + 8 + 8176 + + + LogStrBuffer + STRING(80) + + 0 + 41 + + 26568 + 8184 + + + LogBuffIdx + FB_Index + 96 + 34752 + + + .LowerLimit + 0 + + + .UpperLimit + 40 + + + + + nAssrtAttempt + INT + Number of times we have tried asserting a BP set + 16 + 34848 + + + rtRetry + R_TRIG + 64 + 34880 + + + rtError + R_TRIG + 64 + 34944 + + + ffTimeout + FB_FastFault + 25088 + 35008 + + + .i_Desc + Preemptive requests timed out in BPTM + + + .i_TypeCode + 10 + + + .i_xAutoReset + 0 + + + + + rtDoneMoving + R_TRIG + 64 + 60096 + + + bLatchDoneMoving + BOOL + 8 + 60160 + + + bFirstMove + BOOL + 8 + 60168 + + 1 + + + + LogBuffSize + INT + 16 + 60176 + + 40 + + + + cMaxAttempts + INT + 16 + 60192 + + 3 + + + + cReqArbCapacity + UDINT + The thought here is, a BPTM needs at most 2 arbiter slots to complete a transition. If we're at capacity, it means some BPTM before this one has begun a transition, and will require at least one more arbiter spot to complete. - ]]>32602242AuthorizeTransitionWaitingForFinalAssertion_DONewTarget_ENTRYAssertTransitionBPAssertFinalBPWaitingForTransitionAssertion_DORemoveTransitionAssertionSetNewTargetRequestBP_DOWaitingForTransitionAssertion_EXITWaitingForFinalAssertion_EXITDeauthorizeTransitionLogActionsBOOL8LogStrSTRING(80)648no_checkPouTypeFunctionBlockno_checkFB_DummyArbIO8992I_HigherAuthorityI_LowerAuthorityLAI_LowerAuthority3296ItemTypeInputtRateDelayTIME32128ItemTypeInputtTransDelayTIME32160ItemTypeInputtPEDelayTIME32192ItemTypeInputtAptDelayTIME32224ItemTypeInputtSattDelayTIME32256ItemTypeInputq_stSimulatedBPReadbackST_BeamParams1760288ItemTypeOutputFFOFB_HardwareFFOutput322048ItemTypeInOutbAutoUpdateBPBOOL820800stNewReqBPST_BeamParams17602112stReqOutBPST_BeamParams17603872stSaveCurrentBPST_BeamParams17605632nSavedIDDWORD327392tonRateTON2247424tonTransTON2247648tonPETON2247872tonAptTON2248096tonSattTON2248320tonBCRangeTON2248544tonBCTON2248768__setAutoUpdateBPAutoUpdateBPBOOL8propertyRemoveRequestBOOL8nReqIDDWORD32ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32property__getAutoUpdateBPBOOL8AutoUpdateBPBOOL8propertyCheckRequestBOOL8nReqIDDWORD32ApplyBPReqbUpdateBPBOOL8BPST_BeamParams32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760PouTypeFunctionBlockE_BPTMTestStates16INTInit0WaitingForValidID50WaitingForTransitionAssertion100StalledAtTransition150WaitingForFinalAssertion200WaitingForBeam250Transitioning300CleaningUp400AnotherState500Retry1000Done8000Error9000FB_BPRequestor + 32 + 60224 + + 2 + + + + AuthorizeTransition + + + WaitingForFinalAssertion_DO + + + NewTarget_ENTRY + + + AssertTransitionBP + + + AssertFinalBP + + + WaitingForTransitionAssertion_DO + + + RemoveTransitionAssertion + + + SetNewTarget + + + RequestBP_DO + + + WaitingForTransitionAssertion_EXIT + + + WaitingForFinalAssertion_EXIT + + + DeauthorizeTransition + + + LogActions + BOOL + 8 + + LogStr + STRING(80) + 648 + + + + no_check + + + + + + PouType + FunctionBlock + + + no_check + + + + + FB_DummyArbIO + Use to test other library integrations of PMPS preemptive functionality + This block stands in for the FB_SubSysToArb_IO block. + 8992 + I_HigherAuthority + I_LowerAuthority + + LA + I_LowerAuthority + stCurrentBP : REFERENCE TO ST_BeamParams; //Set to something to redirect currentBP update + 32 + 96 + + + ItemType + Input + + + + + tRateDelay + TIME + Delay until rate is looped back into q_stSimulatedBPReadback + 32 + 128 + + + ItemType + Input + + + + + tTransDelay + TIME + Delay until transmission is looped back into q_stSimulatedBPReadback + 32 + 160 + + + ItemType + Input + + + + + tPEDelay + TIME + Delay until PE is looped back into q_stSimulatedBPReadback + 32 + 192 + + + ItemType + Input + + + + + tAptDelay + TIME + Delay until apertures are looped back into q_stSimulatedBPReadback + 32 + 224 + + + ItemType + Input + + + + + tSattDelay + TIME + Delay until apertures are looped back into q_stSimulatedBPReadback + 32 + 256 + + + ItemType + Input + + + + + q_stSimulatedBPReadback + ST_BeamParams + Updated to + 1760 + 288 + + + ItemType + Output + + + + + FFO + FB_HardwareFFOutput + 32 + 2048 + + + ItemType + InOut + + + + + bAutoUpdateBP + BOOL + Set by AutoUpdateBP property, if true causes this FB to update PMPS_GVL.stCurrentBP to the + 8 + 2080 + + 0 + + + + stNewReqBP + ST_BeamParams + requested value automatically within the RequestBP method and restore it within the RemoveRequest method + 1760 + 2112 + + + stReqOutBP + ST_BeamParams + To be written on next ApplyBPReq call + 1760 + 3872 + + + stSaveCurrentBP + ST_BeamParams + Will be restored after RemoveRequest then ApplyBPReq call + 1760 + 5632 + + + nSavedID + DWORD + Used to simulate CheckRequest method + 32 + 7392 + + + tonRate + TON + 224 + 7424 + + + tonTrans + TON + 224 + 7648 + + + tonPE + TON + 224 + 7872 + + + tonApt + TON + 224 + 8096 + + + tonSatt + TON + 224 + 8320 + + + tonBCRange + TON + 224 + 8544 + + + tonBC + TON + 224 + 8768 + + + __setAutoUpdateBP + + AutoUpdateBP + BOOL + 8 + + + + property + + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + ElevateRequest + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + __getnLowerAuthorityID + DWORD + 32 + + nLowerAuthorityID + DWORD + 32 + + + + property + + + + + __getAutoUpdateBP + BOOL + 8 + + AutoUpdateBP + BOOL + 8 + + + + property + + + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + + ApplyBPReq + + bUpdateBP + Set true and call this method to set q_stSimulatedBPReadback to the request + BOOL + 8 + + + BP + ST_BeamParams + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + + PouType + FunctionBlock + + + + + E_BPTMTestStates + 16 + INT + + Init + 0 + + + WaitingForValidID + 50 + + + WaitingForTransitionAssertion + 100 + + + StalledAtTransition + 150 + + + WaitingForFinalAssertion + 200 + + + WaitingForBeam + 250 + + + Transitioning + 300 + + + CleaningUp + 400 + + + AnotherState + 500 + + + Retry + 1000 + + + Done + 8000 + + + Error + 9000 + + + + FB_BPRequestor + BP Requestor Elevates the BP request from an arbiter to PMPS_GVL.stRequestedBP -]]>3904I_HigherAuthorityq_ReqBPST_BeamParams176064ItemTypeOutputArbiterFB_Arbiter321824ItemTypeInOutReqBPST_BeamParams17601856nCohortULINT643648nRequestCohortULINT643712__CHECKREQUEST__XFIRSTTIMEBOOL83776__CHECKREQUEST__NIDDWORD323808__REQUESTBP__REQIDDWORD323840__REQUESTBP__REGISTEREDBOOL838720CheckRequestBOOL8nReqIDDWORD32xFirstTimeBOOL8uselocation__CHECKREQUEST__XFIRSTTIMEnIdDWORD32uselocation__CHECKREQUEST__NIDRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760ReqIDDWORD32uselocation__REQUESTBP__REQIDRegisteredBOOL8uselocation__REQUESTBP__REGISTEREDRemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFW_DRand4224nSeedINT1632ItemTypeInputfRndNumLREAL6464ItemTypeOutputFirstCall_iBOOL8128HoldRand_iDINT32160R250_Buffer_iUINT02504000192R250_IndexINT164192PouTypeFunctionBlockconditionalshowDRAND4352SeedINT1632ItemTypeInputNumLREAL6464ItemTypeOutputfbDRandFW_DRand4224128conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_BPTM_Test38612160FB_TestSuiteBPTM_ARRUDINT323355174420cCycleUINT163355177620__BPTMBASICFUNCTION__FBBPTM_TESTBASICFUNCTIONBeamParameterTransitionManager6025633551808__BPTMBASICFUNCTION__FBARBITERFB_Arbiter47462433612096old_input_assignments__BPTMBASICFUNCTION__FFOFB_HardwareFFOutput49529634086720__BPTMBASICFUNCTION__FBSUBSYSIOFB_DummyArbIO899234582016__BPTMBASICFUNCTION__XFIRSTPASSBOOL8345910081__BPTMBASICFUNCTION__ETESTSTEPE_BPTMTestStates16345910240__FULLARBERROR__FBBPTM_TESTFULLARBBeamParameterTransitionManager6025634591040__FULLARBERROR__FBARBFULLERRFB_Arbiter47462434651328old_input_assignments__FULLARBERROR__FFOFB_HardwareFFOutput49529635125952__FULLARBERROR__FBSUBSYSIOFB_DummyArbIO899235621248__FULLARBERROR__FBBPRFB_BPRequestor390435630272__FULLARBERROR__XFIRSTPASSBOOL8356341761__FULLARBERROR__ETESTSTEPE_BPTMTestStates16356341920__FULLARBERROR__TONRETRYTIMEOUTTON22435634208.PT5000__FULLARBERROR__ENTRYTORETRYBOOL8356344321__FULLARBERROR__FBRANDDRAND435235634496.Seed1__INTERRUPTATALLSTEPS__FBBPTM_INTERRUPTIONTESTBeamParameterTransitionManager6025635638848__INTERRUPTATALLSTEPS__FFOFB_HardwareFFOutput49529635699136.bAutoReset1__INTERRUPTATALLSTEPS__FBSUBSYSIOFB_DummyArbIO899236194432__INTERRUPTATALLSTEPS__FBBPRFB_BPRequestor390436203456__INTERRUPTATALLSTEPS__XFIRSTPASSBOOL8362073601__INTERRUPTATALLSTEPS__ETESTSTEPE_BPTMTestStates16362073760__INTERRUPTATALLSTEPS__TONRETRYTIMEOUTTON22436207392.PT5000__INTERRUPTATALLSTEPS__FBBPTMDISCCYCLESBeamParameterTransitionManager6025636207616__INTERRUPTATALLSTEPS__FBSUBSYSIODISCFB_DummyArbIO899236267872__INTERRUPTATALLSTEPS__FBARBDISCFB_Arbiter47462436276864old_input_assignments__INTERRUPTATALLSTEPS__ICOUNTUINT1636751488__INTERRUPTATALLSTEPS__ABPTMBeamParameterTransitionManager120120512036751520__INTERRUPTATALLSTEPS__BPTMUNDERTESTBeamParameterTransitionManager3237956640__INTERRUPTATALLSTEPS__FBARBITERFB_Arbiter47462437956672old_input_assignments__INTERRUPTATALLSTEPS__AARBIOFB_DummyArbIO12017984038431296__INTERRUPTATALLSTEPS__ARBIOFB_DummyArbIO3238611136__INTERRUPTATALLSTEPS__NCYCLELIMUINT1638611168__INTERRUPTATALLSTEPS__NCYCLEUINT1638611184__INTERRUPTATALLSTEPS__SCURRENTTESTNAMESTRING(80)64838611200__INTERRUPTATALLSTEPS__BCYCLELIMHITBOOL838611848__INTERRUPTATALLSTEPS__NALLSTEPSDONEBYTE838611856__INTERRUPTATALLSTEPS__TTIMEOUTTON22438611872.PT20__INTERRUPTATALLSTEPS__BTESTEDONCEBOOL838612096BPTMBasicFunctionnTransitionIDUDINT32stTransitionAssertionST_BeamParams1760nReqIDUDINT32stReqAssertionST_BeamParams1760fbBPTM_TestBasicFunctionBeamParameterTransitionManager60256uselocation__BPTMBASICFUNCTION__FBBPTM_TESTBASICFUNCTIONfbArbiterFB_Arbiter474624old_input_assignmentsuselocation__BPTMBASICFUNCTION__FBARBITERffoFB_HardwareFFOutput495296uselocation__BPTMBASICFUNCTION__FFOfbSubSysIOFB_DummyArbIO8992uselocation__BPTMBASICFUNCTION__FBSUBSYSIOxFirstPassBOOL8uselocation__BPTMBASICFUNCTION__XFIRSTPASSeTestStepE_BPTMTestStates16uselocation__BPTMBASICFUNCTION__ETESTSTEPFullArbErrornTransitionIDUDINT32stTransitionAssertionST_BeamParams1760nReqIDUDINT32stReqAssertionST_BeamParams1760idxUDINT32nRandIDDWORD32testReqST_BeamParams1760fbBPTM_TestFullArbBeamParameterTransitionManager60256uselocation__FULLARBERROR__FBBPTM_TESTFULLARBfbArbFullErrFB_Arbiter474624old_input_assignmentsuselocation__FULLARBERROR__FBARBFULLERRffoFB_HardwareFFOutput495296uselocation__FULLARBERROR__FFOfbSubSysIOFB_DummyArbIO8992uselocation__FULLARBERROR__FBSUBSYSIOfbBPRFB_BPRequestor3904uselocation__FULLARBERROR__FBBPRxFirstPassBOOL8uselocation__FULLARBERROR__XFIRSTPASSeTestStepE_BPTMTestStates16uselocation__FULLARBERROR__ETESTSTEPtonRetryTimeoutTON224uselocation__FULLARBERROR__TONRETRYTIMEOUTentryToRetryBOOL8uselocation__FULLARBERROR__ENTRYTORETRYfbRandDRAND4352uselocation__FULLARBERROR__FBRANDInterruptAtAllStepsnTransitionIDUDINT32stTranReqST_BeamParams1760nFirstReqIDUDINT32stFirstReqST_BeamParams1760fbBPTM_InterruptionTestBeamParameterTransitionManager60256uselocation__INTERRUPTATALLSTEPS__FBBPTM_INTERRUPTIONTESTffoFB_HardwareFFOutput495296uselocation__INTERRUPTATALLSTEPS__FFOfbSubSysIOFB_DummyArbIO8992uselocation__INTERRUPTATALLSTEPS__FBSUBSYSIOfbBPRFB_BPRequestor3904uselocation__INTERRUPTATALLSTEPS__FBBPRxFirstPassBOOL8uselocation__INTERRUPTATALLSTEPS__XFIRSTPASSeTestStepE_BPTMTestStates16uselocation__INTERRUPTATALLSTEPS__ETESTSTEPtonRetryTimeoutTON224uselocation__INTERRUPTATALLSTEPS__TONRETRYTIMEOUTfbBPTMDiscCyclesBeamParameterTransitionManager60256uselocation__INTERRUPTATALLSTEPS__FBBPTMDISCCYCLESfbSubSysIODiscFB_DummyArbIO8992uselocation__INTERRUPTATALLSTEPS__FBSUBSYSIODISCfbArbDiscFB_Arbiter474624old_input_assignmentsuselocation__INTERRUPTATALLSTEPS__FBARBDISCiCountUINT16uselocation__INTERRUPTATALLSTEPS__ICOUNTaBPTMBeamParameterTransitionManager1201205120uselocation__INTERRUPTATALLSTEPS__ABPTMBPTMUnderTestBeamParameterTransitionManager32uselocation__INTERRUPTATALLSTEPS__BPTMUNDERTESTfbArbiterFB_Arbiter474624old_input_assignmentsuselocation__INTERRUPTATALLSTEPS__FBARBITERaArbIOFB_DummyArbIO120179840uselocation__INTERRUPTATALLSTEPS__AARBIOArbIOFB_DummyArbIO32uselocation__INTERRUPTATALLSTEPS__ARBIOnCycleLimUINT16uselocation__INTERRUPTATALLSTEPS__NCYCLELIMnCycleUINT16uselocation__INTERRUPTATALLSTEPS__NCYCLEsCurrentTestNameSTRING(80)648uselocation__INTERRUPTATALLSTEPS__SCURRENTTESTNAMEbCycleLimHitBOOL8uselocation__INTERRUPTATALLSTEPS__BCYCLELIMHITnAllStepsDoneBYTE8uselocation__INTERRUPTATALLSTEPS__NALLSTEPSDONEtTimeOutTON224uselocation__INTERRUPTATALLSTEPS__TTIMEOUTbTestedOnceBOOL8uselocation__INTERRUPTATALLSTEPS__BTESTEDONCEnNewTargetINT16nRequestBPINT16nWaitForBPINT16nTransitioningINT16nWaitForFinalBPINT16nCleaningUpINT16nDoneINT16nIdleINT16no_checkPouTypeFunctionBlockcall_after_initFB_BeamClassOutputs_BCD + 3904 + I_HigherAuthority + + q_ReqBP + ST_BeamParams + Arbitrated BP + 1760 + 64 + + + ItemType + Output + + + + + Arbiter + FB_Arbiter + 32 + 1824 + + + ItemType + InOut + + + + + ReqBP + ST_BeamParams + 1760 + 1856 + + + nCohort + ULINT + Current cohort, inc. 1 cycle after IO is updated + 64 + 3648 + + + nRequestCohort + ULINT + Cohort number recorded at the time of the request. + 64 + 3712 + + + __CHECKREQUEST__XFIRSTTIME + BOOL + 8 + 3776 + + + __CHECKREQUEST__NID + DWORD + 32 + 3808 + + + __REQUESTBP__REQID + DWORD + 32 + 3840 + + + __REQUESTBP__REGISTERED + BOOL + 8 + 3872 + + 0 + + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + xFirstTime + BOOL + 8 + + + uselocation + __CHECKREQUEST__XFIRSTTIME + + + + + nId + DWORD + 32 + + + uselocation + __CHECKREQUEST__NID + + + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + ReqID + DWORD + 32 + + + uselocation + __REQUESTBP__REQID + + + + + Registered + BOOL + 8 + + + uselocation + __REQUESTBP__REGISTERED + + + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + FW_DRand + 4224 + + nSeed + INT + 16 + 32 + + + ItemType + Input + + + + + fRndNum + LREAL + 64 + 64 + + + ItemType + Output + + + + + FirstCall_i + BOOL + 8 + 128 + + + HoldRand_i + DINT + 32 + 160 + + + R250_Buffer_i + UINT + + 0 + 250 + + 4000 + 192 + + + R250_Index + INT + 16 + 4192 + + + + PouType + FunctionBlock + + + conditionalshow + + + + + DRAND + Random number generator. + 4352 + + Seed + INT + Start value + 16 + 32 + + + ItemType + Input + + + + + Num + LREAL + Random value + 64 + 64 + + + ItemType + Output + + + + + fbDRand + FW_DRand + 4224 + 128 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_BPTM_Test + 38612160 + FB_TestSuite + + BPTM_ARR + UDINT + 32 + 33551744 + + 20 + + + + cCycle + UINT + How many cycles does it take to complete a BPTM + 16 + 33551776 + + 20 + + + + __BPTMBASICFUNCTION__FBBPTM_TESTBASICFUNCTION + BeamParameterTransitionManager + 60256 + 33551808 + + + __BPTMBASICFUNCTION__FBARBITER + FB_Arbiter + 474624 + 33612096 + + + old_input_assignments + + + + + __BPTMBASICFUNCTION__FFO + FB_HardwareFFOutput + 495296 + 34086720 + + + __BPTMBASICFUNCTION__FBSUBSYSIO + FB_DummyArbIO + 8992 + 34582016 + + + __BPTMBASICFUNCTION__XFIRSTPASS + BOOL + 8 + 34591008 + + 1 + + + + __BPTMBASICFUNCTION__ETESTSTEP + E_BPTMTestStates + 16 + 34591024 + + 0 + + + + __FULLARBERROR__FBBPTM_TESTFULLARB + BeamParameterTransitionManager + 60256 + 34591040 + + + __FULLARBERROR__FBARBFULLERR + FB_Arbiter + 474624 + 34651328 + + + old_input_assignments + + + + + __FULLARBERROR__FFO + FB_HardwareFFOutput + 495296 + 35125952 + + + __FULLARBERROR__FBSUBSYSIO + FB_DummyArbIO + 8992 + 35621248 + + + __FULLARBERROR__FBBPR + FB_BPRequestor + 3904 + 35630272 + + + __FULLARBERROR__XFIRSTPASS + BOOL + 8 + 35634176 + + 1 + + + + __FULLARBERROR__ETESTSTEP + E_BPTMTestStates + 16 + 35634192 + + 0 + + + + __FULLARBERROR__TONRETRYTIMEOUT + TON + 224 + 35634208 + + + .PT + 5000 + + + + + __FULLARBERROR__ENTRYTORETRY + BOOL + 8 + 35634432 + + 1 + + + + __FULLARBERROR__FBRAND + DRAND + 4352 + 35634496 + + + .Seed + 1 + + + + + __INTERRUPTATALLSTEPS__FBBPTM_INTERRUPTIONTEST + BeamParameterTransitionManager + 60256 + 35638848 + + + __INTERRUPTATALLSTEPS__FFO + FB_HardwareFFOutput + 495296 + 35699136 + + + .bAutoReset + 1 + + + + + __INTERRUPTATALLSTEPS__FBSUBSYSIO + FB_DummyArbIO + 8992 + 36194432 + + + __INTERRUPTATALLSTEPS__FBBPR + FB_BPRequestor + 3904 + 36203456 + + + __INTERRUPTATALLSTEPS__XFIRSTPASS + BOOL + 8 + 36207360 + + 1 + + + + __INTERRUPTATALLSTEPS__ETESTSTEP + E_BPTMTestStates + 16 + 36207376 + + 0 + + + + __INTERRUPTATALLSTEPS__TONRETRYTIMEOUT + TON + 224 + 36207392 + + + .PT + 5000 + + + + + __INTERRUPTATALLSTEPS__FBBPTMDISCCYCLES + BeamParameterTransitionManager + 60256 + 36207616 + + + __INTERRUPTATALLSTEPS__FBSUBSYSIODISC + FB_DummyArbIO + 8992 + 36267872 + + + __INTERRUPTATALLSTEPS__FBARBDISC + FB_Arbiter + 474624 + 36276864 + + + old_input_assignments + + + + + __INTERRUPTATALLSTEPS__ICOUNT + UINT + 16 + 36751488 + + + __INTERRUPTATALLSTEPS__ABPTM + BeamParameterTransitionManager + + 1 + 20 + + 1205120 + 36751520 + + + __INTERRUPTATALLSTEPS__BPTMUNDERTEST + BeamParameterTransitionManager + 32 + 37956640 + + + __INTERRUPTATALLSTEPS__FBARBITER + FB_Arbiter + 474624 + 37956672 + + + old_input_assignments + + + + + __INTERRUPTATALLSTEPS__AARBIO + FB_DummyArbIO + + 1 + 20 + + 179840 + 38431296 + + + __INTERRUPTATALLSTEPS__ARBIO + FB_DummyArbIO + 32 + 38611136 + + + __INTERRUPTATALLSTEPS__NCYCLELIM + UINT + 16 + 38611168 + + + __INTERRUPTATALLSTEPS__NCYCLE + UINT + 16 + 38611184 + + + __INTERRUPTATALLSTEPS__SCURRENTTESTNAME + STRING(80) + 648 + 38611200 + + + + + + __INTERRUPTATALLSTEPS__BCYCLELIMHIT + BOOL + 8 + 38611848 + + + __INTERRUPTATALLSTEPS__NALLSTEPSDONE + BYTE + 8 + 38611856 + + + __INTERRUPTATALLSTEPS__TTIMEOUT + TON + 224 + 38611872 + + + .PT + 20 + + + + + __INTERRUPTATALLSTEPS__BTESTEDONCE + BOOL + 8 + 38612096 + + + BPTMBasicFunction + + nTransitionID + Final and transition assertions + UDINT + 32 + + + stTransitionAssertion + ST_BeamParams + 1760 + + + nReqID + UDINT + 32 + + + stReqAssertion + ST_BeamParams + 1760 + + + fbBPTM_TestBasicFunction + BeamParameterTransitionManager + 60256 + + + uselocation + __BPTMBASICFUNCTION__FBBPTM_TESTBASICFUNCTION + + + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __BPTMBASICFUNCTION__FBARBITER + + + + + ffo + FB_HardwareFFOutput + 495296 + + + uselocation + __BPTMBASICFUNCTION__FFO + + + + + fbSubSysIO + FB_DummyArbIO + 8992 + + + uselocation + __BPTMBASICFUNCTION__FBSUBSYSIO + + + + + xFirstPass + BOOL + 8 + + + uselocation + __BPTMBASICFUNCTION__XFIRSTPASS + + + + + eTestStep + E_BPTMTestStates + 16 + + + uselocation + __BPTMBASICFUNCTION__ETESTSTEP + + + + + + FullArbError + + nTransitionID + Final and transition assertions + UDINT + 32 + + + stTransitionAssertion + PMPS_GVL.cstSafeBeam; + ST_BeamParams + 1760 + + + nReqID + UDINT + 32 + + + stReqAssertion + PMPS_GVL.cstSafeBeam; + ST_BeamParams + 1760 + + + idx + UDINT + 32 + + + nRandID + DWORD + 32 + + + testReq + ST_BeamParams + 1760 + + + fbBPTM_TestFullArb + BeamParameterTransitionManager + 60256 + + + uselocation + __FULLARBERROR__FBBPTM_TESTFULLARB + + + + + fbArbFullErr + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __FULLARBERROR__FBARBFULLERR + + + + + ffo + FB_HardwareFFOutput + 495296 + + + uselocation + __FULLARBERROR__FFO + + + + + fbSubSysIO + FB_DummyArbIO + 8992 + + + uselocation + __FULLARBERROR__FBSUBSYSIO + + + + + fbBPR + FB_BPRequestor + 3904 + + + uselocation + __FULLARBERROR__FBBPR + + + + + xFirstPass + BOOL + 8 + + + uselocation + __FULLARBERROR__XFIRSTPASS + + + + + eTestStep + E_BPTMTestStates + 16 + + + uselocation + __FULLARBERROR__ETESTSTEP + + + + + tonRetryTimeout + TON + 224 + + + uselocation + __FULLARBERROR__TONRETRYTIMEOUT + + + + + entryToRetry + BOOL + 8 + + + uselocation + __FULLARBERROR__ENTRYTORETRY + + + + + fbRand + DRAND + 4352 + + + uselocation + __FULLARBERROR__FBRAND + + + + + + InterruptAtAllSteps + + nTransitionID + Final and transition assertions + UDINT + 32 + + + stTranReq + ST_BeamParams + 1760 + + + nFirstReqID + UDINT + 32 + + + stFirstReq + ST_BeamParams + 1760 + + + fbBPTM_InterruptionTest + BeamParameterTransitionManager + 60256 + + + uselocation + __INTERRUPTATALLSTEPS__FBBPTM_INTERRUPTIONTEST + + + + + ffo + FB_HardwareFFOutput + 495296 + + + uselocation + __INTERRUPTATALLSTEPS__FFO + + + + + fbSubSysIO + FB_DummyArbIO + 8992 + + + uselocation + __INTERRUPTATALLSTEPS__FBSUBSYSIO + + + + + fbBPR + FB_BPRequestor + 3904 + + + uselocation + __INTERRUPTATALLSTEPS__FBBPR + + + + + xFirstPass + BOOL + 8 + + + uselocation + __INTERRUPTATALLSTEPS__XFIRSTPASS + + + + + eTestStep + E_BPTMTestStates + 16 + + + uselocation + __INTERRUPTATALLSTEPS__ETESTSTEP + + + + + tonRetryTimeout + TON + 224 + + + uselocation + __INTERRUPTATALLSTEPS__TONRETRYTIMEOUT + + + + + fbBPTMDiscCycles + BeamParameterTransitionManager + 60256 + + + uselocation + __INTERRUPTATALLSTEPS__FBBPTMDISCCYCLES + + + + + fbSubSysIODisc + FB_DummyArbIO + 8992 + + + uselocation + __INTERRUPTATALLSTEPS__FBSUBSYSIODISC + + + + + fbArbDisc + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __INTERRUPTATALLSTEPS__FBARBDISC + + + + + iCount + UINT + 16 + + + uselocation + __INTERRUPTATALLSTEPS__ICOUNT + + + + + aBPTM + BeamParameterTransitionManager + + 1 + 20 + + 1205120 + + + uselocation + __INTERRUPTATALLSTEPS__ABPTM + + + + + BPTMUnderTest + BeamParameterTransitionManager + 32 + + + uselocation + __INTERRUPTATALLSTEPS__BPTMUNDERTEST + + + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __INTERRUPTATALLSTEPS__FBARBITER + + + + + aArbIO + FB_DummyArbIO + + 1 + 20 + + 179840 + + + uselocation + __INTERRUPTATALLSTEPS__AARBIO + + + + + ArbIO + FB_DummyArbIO + 32 + + + uselocation + __INTERRUPTATALLSTEPS__ARBIO + + + + + nCycleLim + UINT + 16 + + + uselocation + __INTERRUPTATALLSTEPS__NCYCLELIM + + + + + nCycle + UINT + 16 + + + uselocation + __INTERRUPTATALLSTEPS__NCYCLE + + + + + sCurrentTestName + STRING(80) + 648 + + + uselocation + __INTERRUPTATALLSTEPS__SCURRENTTESTNAME + + + + + bCycleLimHit + BOOL + 8 + + + uselocation + __INTERRUPTATALLSTEPS__BCYCLELIMHIT + + + + + nAllStepsDone + BYTE + 8 + + + uselocation + __INTERRUPTATALLSTEPS__NALLSTEPSDONE + + + + + tTimeOut + TON + 224 + + + uselocation + __INTERRUPTATALLSTEPS__TTIMEOUT + + + + + bTestedOnce + BOOL + 8 + + + uselocation + __INTERRUPTATALLSTEPS__BTESTEDONCE + + + + + nNewTarget + INT + 16 + + + nRequestBP + INT + 16 + + + nWaitForBP + INT + 16 + + + nTransitioning + INT + 16 + + + nWaitForFinalBP + INT + 16 + + + nCleaningUp + INT + 16 + + + nDone + INT + 16 + + + nIdle + INT + 16 + + + + no_check + + + + + + PouType + FunctionBlock + + + call_after_init + + + + + FB_BeamClassOutputs_BCD + Sets the beam class assertion lines for a given beam class. -]]>1920BPST_BeamParams176032ItemTypeInputnBeamClassBYTE81792wBeamClassBYTE81800InitCounterBYTE81808counterINT161824epicsBitmapWORD + 1920 + + BP + ST_BeamParams + 1760 + 32 + + + ItemType + Input + + + + + nBeamClass + BYTE + 8 + 1792 + + + wBeamClass + BYTE + 8 + 1800 + + + InitCounter + BYTE + 8 + 1808 + + + counter + INT + 16 + 1824 + + + epicsBitmap + WORD + Beam class lines are restricted to 4 channels in the current design. There are 16 possible beamclasses with 0 -15 with 0 no beam. - First out put is the LSB and bit 4 is MSB]]>161840pytmcpv: BeamClassChannel + First out put is the LSB and bit 4 is MSB + 16 + 1840 + + + pytmc + pv: BeamClassChannel io: i - field: DESC Hardwire channel stateq_BC_ASSERTION_LINESBOOL14321856TcLinkTo[1] := TIIB[PMPS_Premp]^Channel 1^Output; + field: DESC Hardwire channel state + + + + + q_BC_ASSERTION_LINES + BOOL + + 1 + 4 + + 32 + 1856 + + + TcLinkTo + [1] := TIIB[PMPS_Premp]^Channel 1^Output; [2] := TIIB[PMPS_Premp]^Channel 2^Output; [3] := TIIB[PMPS_Premp]^Channel 3^Output; - [4] := TIIB[PMPS_Premp]^Channel 4^Output;TcAddressTypeOutputMAX_BEAM_CLASS_LINESBYTE818884PouTypeFunctionBlockno_checkFB_SafeBPCompare_Test33551744FB_TestSuiteBeamOffIsSafestBeamOn_MoreConservativeST_BeamParams1760stBeamOff_LessConservativeST_BeamParams1760stBeam0RateST_BeamParams1760stBeam0BCST_BeamParams1760fb_BeamClassOutputs_BCDFB_BeamClassOutputs_BCD1920BPComparisonCheckstSaferST_BeamParams1760stNotSoSafeST_BeamParams1760idxUINT16xResultBOOL8xFailedTestBOOL8no_checkPouTypeFunctionBlockcall_after_initFB_TzSpecificLocalTimeToFileTime3456inT_FILETIME6432ItemTypeInputtzInfoST_TimeZoneInformation86496ItemTypeInputoutT_FILETIME64960ItemTypeOutputeTzIDE_TimeZoneID1610240ItemTypeOutputbBBOOL A time, TRUE => B time]]>81040ItemTypeOutputfbBaseFB_TranslateLocalTimeToUtcByZoneID24001056.wStdYear0.wDldYear0conditionalshowA_ResetPouTypeFunctionBlockconditionalshow_all_localsFB_FastFault_Test35220288FB_TestSuitefbTimeFB_LocalSystemTime1904033551744.bEnable1.dwCycle1OvrdTimeTIME32335707842000__FFCOMBINEDFUNCTIONALITY__FBFFFB_FastFault2508833570816__FFCOMBINEDFUNCTIONALITY__FBFFOFB_HardwareFFOutput49529633595904__FFOVRDANDNEXTFAULT__FBFFFB_FastFault2508834091200.i_xAutoReset1__FFOVRDANDNEXTFAULT__FBFFOFB_HardwareFFOutput49529634116288.i_sNetID.bAutoReset1__FFOVRDANDNEXTFAULT__RFFST_FF3234611584__FFOVRDANDNEXTFAULT__FIRSTPASSBOOL8346116161__FFOVRDANDNEXTFAULT__FBTIMEPASSBOOL8346116241__FFOVRDANDNEXTFAULT__OVRDACTVTSTDONEBOOL8346116320__FFOVRDANDNEXTFAULT__TESTSDONEBOOL8346116400__FFOVRDANDNEXTFAULT__NOWDATE_AND_TIME3234611648__FFOVRDANDNEXTFAULT__EXPIRATIONDINT3234611680__FFOVRDANDNEXTFAULT__OVDTIMETIME3234611712__FFOVRDANDNEXTFAULT__EXPIRETIMESTRUCT12834611744__FFOVRDANDNEXTFAULT__SPECIFICLOCALTIMETOFILETIMEFB_TzSpecificLocalTimeToFileTime345634611872__FFOVRDANDNEXTFAULT__FILETIMET_FILETIME6434615328__FFREGISTRATION__FBFFFB_FastFault2508834615392__FFREGISTRATION__FBFFOFB_HardwareFFOutput49529634640512__FFREGISTRATION__ASTFFST_FF0118448035135808FFOvrdAndNextFaultfbFFFB_FastFault25088uselocation__FFOVRDANDNEXTFAULT__FBFFfbFFOFB_HardwareFFOutput495296uselocation__FFOVRDANDNEXTFAULT__FBFFOrFFST_FF32uselocation__FFOVRDANDNEXTFAULT__RFFFirstPassBOOL8uselocation__FFOVRDANDNEXTFAULT__FIRSTPASSfbTimePassBOOL8uselocation__FFOVRDANDNEXTFAULT__FBTIMEPASSOvrdActvTstDoneBOOL8uselocation__FFOVRDANDNEXTFAULT__OVRDACTVTSTDONETestsDoneBOOL8uselocation__FFOVRDANDNEXTFAULT__TESTSDONENowDATE_AND_TIME32uselocation__FFOVRDANDNEXTFAULT__NOWExpirationDINT32uselocation__FFOVRDANDNEXTFAULT__EXPIRATIONOvdTimeTIME32uselocation__FFOVRDANDNEXTFAULT__OVDTIMEExpireTIMESTRUCT128uselocation__FFOVRDANDNEXTFAULT__EXPIREspecificLocalTimeToFileTimeFB_TzSpecificLocalTimeToFileTime3456uselocation__FFOVRDANDNEXTFAULT__SPECIFICLOCALTIMETOFILETIMEfileTimeT_FILETIME64uselocation__FFOVRDANDNEXTFAULT__FILETIMEno_checkFFCombinedFunctionalityfbFFFB_FastFault25088uselocation__FFCOMBINEDFUNCTIONALITY__FBFFfbFFOFB_HardwareFFOutput495296uselocation__FFCOMBINEDFUNCTIONALITY__FBFFOFFRegistrationfbFFFB_FastFault25088uselocation__FFREGISTRATION__FBFFfbFFOFB_HardwareFFOutput495296uselocation__FFREGISTRATION__FBFFOastFFST_FF01184480uselocation__FFREGISTRATION__ASTFFno_checkPouTypeFunctionBlockcall_after_initno_checkFB_DummyHA128I_HigherAuthorityI_LowerAuthorityReqAcknowledgedBOOL8961ItemTypeInputCheckRequestBOOL8nReqIDDWORD32ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32propertyRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockST_BeamParams_IO1760nTranREAL320011plcAttribute_pytmcpv: Attenuation - io: inRateUDINT3232120plcAttribute_pytmcpv: Rate - io: ineVRangeDWORD32644294967295plcAttribute_pytmcpv: PhotonEnergy - io: iplcAttribute_displaymodebinaryneVREAL3296nBCRangeWORD161280655350nBeamClassUSINT814400nMachineModeUSINT8152astAttenuatorsST_PMPS_Attenuator_IO1161024160plcAttribute_pytmcpv: AuxAttenuator - io: iastAperturesST_PMPS_Aperture_IO143841184aVetoDevicesBOOL1161281568plcAttribute_pytmcpv: AuxAttenuator - io: ixValidToggleBOOL81696xValidBOOL81704plcAttribute_pytmcpv: Valid - io: inCohortIntUDINT321728plcAttribute_pytmcpv: Attenuation - io: iFB_VetoArbiter27168I_HigherAuthoritybVetoBOOL8640ItemTypeInputHigherAuthorityI_HigherAuthority3296ItemTypeInputLowerAuthorityI_LowerAuthority32128ItemTypeInputFFOFB_HardwareFFOutput32160ItemTypeInOutffKeepItSecretKeepItSafeFB_FastFault25088192.i_xAutoReset1.i_DescHolds beam off until request is back in arbitration.i_TypeCode200.i_xVetoable1stStandbyBPST_BeamParams176025280rtVetoR_TRIG6427040ftVetoF_TRIG6427104CheckRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFB_SubSysToArbiter_IO138752I_HigherAuthorityResetBOOL864ItemTypeInputsNameSTRING(80)64872SubSysToArbiterItemTypeInputi_bVetoBOOL8720ItemTypeInputArbiterFB_Arbiter32736ItemTypeInOutfbFFHWOFB_HardwareFFOutput32768ItemTypeInOuti_stCurrentBPST_BeamParams_IO1760800TcLinkToTIIB[PMPS_PRE]^IO Inputs^CurrentBPTcAddressTypeInputq_stRequestedBPST_BeamParams_IO17602560TcLinkToTIIB[PMPS_PRE]^IO Outputs^RequestedBPTcAddressTypeOutputxTxPDO_toggleBIT14320pytmcpv: TxPDO_toggle - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggleTcAddressTypeInputxTxPDO_stateBIT14321pytmcpv: TxPDO_state - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO stateTcAddressTypeInputffPMPSIO_DisconnectFB_FastFault250884352.i_DescArbiter network interface disconnected or not OP.i_DevNameSubSysToArbiternRequestCohortUDINT32294400pytmcpv: RequestCohort - io: inActiveCohortUDINT32294720pytmcpv: ActiveCohort - io: ifbVetoArbFB_VetoArbiter2716829504fbLogFB_LogMessage8198456704__CHECKREQUEST__XFIRSTTIMEBOOL81386881__CHECKREQUEST__NIDDWORD32138720CheckRequestBOOL8nReqIDDWORD32xFirstTimeBOOL8uselocation__CHECKREQUEST__XFIRSTTIMEnIdDWORD32uselocation__CHECKREQUEST__NIDRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFB_ArbiterToSubSys_IO + + + TcAddressType + Output + + + + + MAX_BEAM_CLASS_LINES + BYTE + Limited to total of 4 digital outputs + 8 + 1888 + + 4 + + + + + PouType + FunctionBlock + + + no_check + + + + + FB_SafeBPCompare_Test + 33551744 + FB_TestSuite + + BeamOffIsSafe + + stBeamOn_MoreConservative + ST_BeamParams + 1760 + + + stBeamOff_LessConservative + ST_BeamParams + 1760 + + + stBeam0Rate + ST_BeamParams + 1760 + + + stBeam0BC + ST_BeamParams + 1760 + + + fb_BeamClassOutputs_BCD + FB_BeamClassOutputs_BCD + 1920 + + + + BPComparisonCheck + + stSafer + ST_BeamParams + 1760 + + + stNotSoSafe + ST_BeamParams + 1760 + + + idx + UINT + 16 + + + xResult + BOOL + 8 + + + xFailedTest + To exit loops early + BOOL + 8 + + + + no_check + + + + + + PouType + FunctionBlock + + + call_after_init + + + + + FB_TzSpecificLocalTimeToFileTime + Converts time zone's specific local time to Coordinated Universal Time (UTC) in file time format + 3456 + + in + T_FILETIME + Time zone's specific local file time. 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 + 64 + 32 + + + ItemType + Input + + + + + tzInfo + ST_TimeZoneInformation + Time zone settings + 864 + 96 + + + ItemType + Input + + + + + out + T_FILETIME + Converted time in Coordinated Universal Time (UTC) file time format + 64 + 960 + + + ItemType + Output + + + + + eTzID + E_TimeZoneID + Daylight saving time information + 16 + 1024 + + 0 + + + + ItemType + Output + + + + + bB + BOOL + FALSE => A time, TRUE => B time + 8 + 1040 + + + ItemType + Output + + + + + fbBase + FB_TranslateLocalTimeToUtcByZoneID + 2400 + 1056 + + + .wStdYear + 0 + + + .wDldYear + 0 + + + + + conditionalshow + + + + + A_Reset + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_FastFault_Test + 35220288 + FB_TestSuite + + fbTime + FB_LocalSystemTime + Get current system time, used for override + 19040 + 33551744 + + + .bEnable + 1 + + + .dwCycle + 1 + + + + + OvrdTime + TIME + 32 + 33570784 + + 2000 + + + + __FFCOMBINEDFUNCTIONALITY__FBFF + FB_FastFault + 25088 + 33570816 + + + __FFCOMBINEDFUNCTIONALITY__FBFFO + FB_HardwareFFOutput + 495296 + 33595904 + + + __FFOVRDANDNEXTFAULT__FBFF + FB_FastFault + 25088 + 34091200 + + + .i_xAutoReset + 1 + + + + + __FFOVRDANDNEXTFAULT__FBFFO + FB_HardwareFFOutput + 495296 + 34116288 + + + .i_sNetID + + + + .bAutoReset + 1 + + + + + __FFOVRDANDNEXTFAULT__RFF + ST_FF + 32 + 34611584 + + + __FFOVRDANDNEXTFAULT__FIRSTPASS + BOOL + 8 + 34611616 + + 1 + + + + __FFOVRDANDNEXTFAULT__FBTIMEPASS + BOOL + 8 + 34611624 + + 1 + + + + __FFOVRDANDNEXTFAULT__OVRDACTVTSTDONE + BOOL + 8 + 34611632 + + 0 + + + + __FFOVRDANDNEXTFAULT__TESTSDONE + BOOL + 8 + 34611640 + + 0 + + + + __FFOVRDANDNEXTFAULT__NOW + DATE_AND_TIME + 32 + 34611648 + + + __FFOVRDANDNEXTFAULT__EXPIRATION + DINT + 32 + 34611680 + + + __FFOVRDANDNEXTFAULT__OVDTIME + TIME + 32 + 34611712 + + + __FFOVRDANDNEXTFAULT__EXPIRE + TIMESTRUCT + 128 + 34611744 + + + __FFOVRDANDNEXTFAULT__SPECIFICLOCALTIMETOFILETIME + FB_TzSpecificLocalTimeToFileTime + seconds:ULINT; + 3456 + 34611872 + + + __FFOVRDANDNEXTFAULT__FILETIME + T_FILETIME + 64 + 34615328 + + + __FFREGISTRATION__FBFF + FB_FastFault + 25088 + 34615392 + + + __FFREGISTRATION__FBFFO + FB_HardwareFFOutput + 495296 + 34640512 + + + __FFREGISTRATION__ASTFF + ST_FF + + 0 + 11 + + 84480 + 35135808 + + + FFOvrdAndNextFault + + fbFF + FB_FastFault + 25088 + + + uselocation + __FFOVRDANDNEXTFAULT__FBFF + + + + + fbFFO + FB_HardwareFFOutput + 495296 + + + uselocation + __FFOVRDANDNEXTFAULT__FBFFO + + + + + rFF + ST_FF + 32 + + + uselocation + __FFOVRDANDNEXTFAULT__RFF + + + + + FirstPass + BOOL + 8 + + + uselocation + __FFOVRDANDNEXTFAULT__FIRSTPASS + + + + + fbTimePass + BOOL + 8 + + + uselocation + __FFOVRDANDNEXTFAULT__FBTIMEPASS + + + + + OvrdActvTstDone + BOOL + 8 + + + uselocation + __FFOVRDANDNEXTFAULT__OVRDACTVTSTDONE + + + + + TestsDone + BOOL + 8 + + + uselocation + __FFOVRDANDNEXTFAULT__TESTSDONE + + + + + Now + DATE_AND_TIME + 32 + + + uselocation + __FFOVRDANDNEXTFAULT__NOW + + + + + Expiration + DINT + 32 + + + uselocation + __FFOVRDANDNEXTFAULT__EXPIRATION + + + + + OvdTime + TIME + 32 + + + uselocation + __FFOVRDANDNEXTFAULT__OVDTIME + + + + + Expire + TIMESTRUCT + 128 + + + uselocation + __FFOVRDANDNEXTFAULT__EXPIRE + + + + + specificLocalTimeToFileTime + seconds:ULINT; + FB_TzSpecificLocalTimeToFileTime + 3456 + + + uselocation + __FFOVRDANDNEXTFAULT__SPECIFICLOCALTIMETOFILETIME + + + + + fileTime + T_FILETIME + 64 + + + uselocation + __FFOVRDANDNEXTFAULT__FILETIME + + + + + + no_check + + + + + FFCombinedFunctionality + + fbFF + FB_FastFault + 25088 + + + uselocation + __FFCOMBINEDFUNCTIONALITY__FBFF + + + + + fbFFO + FB_HardwareFFOutput + 495296 + + + uselocation + __FFCOMBINEDFUNCTIONALITY__FBFFO + + + + + + FFRegistration + + fbFF + FB_FastFault + 25088 + + + uselocation + __FFREGISTRATION__FBFF + + + + + fbFFO + FB_HardwareFFOutput + 495296 + + + uselocation + __FFREGISTRATION__FBFFO + + + + + astFF + ST_FF + + 0 + 11 + + 84480 + + + uselocation + __FFREGISTRATION__ASTFF + + + + + + no_check + + + + + + PouType + FunctionBlock + + + call_after_init + + + no_check + + + + + FB_DummyHA + 128 + I_HigherAuthority + I_LowerAuthority + + ReqAcknowledged + BOOL + Use to control when the HA CHeckRequest Returns TRUE + 8 + 96 + + 1 + + + + ItemType + Input + + + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + + ElevateRequest + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + __getnLowerAuthorityID + DWORD + 32 + + nLowerAuthorityID + DWORD + 32 + + + + property + + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + ST_BeamParams_IO + 1760 + + nTran + REAL + Requested pre-optic attenuation - 1 is full transmission + 32 + 0 + + 0 + 1 + 1 + + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 120 + + + + plcAttribute_pytmc + pv: Rate + io: i + + + + + neVRange + DWORD + Photon energy ranges + 32 + 64 + + 4294967295 + + + + plcAttribute_pytmc + pv: PhotonEnergy + io: i + + + plcAttribute_displaymode + binary + + + + + neV + REAL + Current Photon energy as calculated by the arbiter + 32 + 96 + + + nBCRange + WORD + 16 + 128 + + 0 + 65535 + 0 + + + + nBeamClass + USINT + 8 + 144 + + 0 + 0 + + + + nMachineMode + USINT + 8 + 152 + + + astAttenuators + ST_PMPS_Attenuator_IO + + 1 + 16 + + Beamline attenuators + 1024 + 160 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + astApertures + ST_PMPS_Aperture_IO + + 1 + 4 + + 384 + 1184 + + + aVetoDevices + BOOL + + 1 + 16 + + Stopper statuses + 128 + 1568 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + xValidToggle + BOOL + Toggle for watchdog + 8 + 1696 + + + xValid + BOOL + Beam parameter set is valid (if readback), or acknowledged (if request) + 8 + 1704 + + + plcAttribute_pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + Cohort index. Identifies which cohort this BP set was included in arbitration + 32 + 1728 + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FB_VetoArbiter + 27168 + I_HigherAuthority + + bVeto + BOOL + Rising edge clears request, hold true to veto continuously, falling edge restores request + 8 + 64 + + 0 + + + + ItemType + Input + + + + + HigherAuthority + I_HigherAuthority + Typically connected to a higher-level arbiter. + 32 + 96 + + + ItemType + Input + + + + + LowerAuthority + I_LowerAuthority + Lower authority to be vetoed + 32 + 128 + + + ItemType + Input + + + + + FFO + FB_HardwareFFOutput + This should be the FFO upstream of the veto device + 32 + 160 + + + ItemType + InOut + + + + + ffKeepItSecretKeepItSafe + FB_FastFault + 25088 + 192 + + + .i_xAutoReset + 1 + + + .i_Desc + Holds beam off until request is back in arbitration + + + .i_TypeCode + 200 + + + .i_xVetoable + 1 + + + + + stStandbyBP + ST_BeamParams + 1760 + 25280 + + + rtVeto + R_TRIG + 64 + 27040 + + + ftVeto + F_TRIG + 64 + 27104 + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + FB_SubSysToArbiter_IO + Use on a subsystem PLC to request from the arbiter + Run at the top of your cycle to receive the latest BP + 138752 + I_HigherAuthority + + Reset + BOOL + Fast fault reset + 8 + 64 + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 72 + + SubSysToArbiter + + + + ItemType + Input + + + + + i_bVeto + BOOL + 8 + 720 + + + ItemType + Input + + + + + Arbiter + FB_Arbiter + 32 + 736 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 768 + + + ItemType + InOut + + + + + i_stCurrentBP + ST_BeamParams_IO + 1760 + 800 + + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + + + TcAddressType + Input + + + + + q_stRequestedBP + ST_BeamParams_IO + 1760 + 2560 + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + + + xTxPDO_toggle + BIT + 1 + 4320 + + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + + + TcAddressType + Input + + + + + xTxPDO_state + BIT + 1 + 4321 + + + pytmc + pv: TxPDO_state + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state + + + TcAddressType + Input + + + + + ffPMPSIO_Disconnect + FB_FastFault + Fast faults + 25088 + 4352 + + + .i_Desc + Arbiter network interface disconnected or not OP + + + .i_DevName + SubSysToArbiter + + + + + nRequestCohort + UDINT + Request cohort + 32 + 29440 + + 0 + + + + pytmc + pv: RequestCohort + io: i + + + + + nActiveCohort + UDINT + Active cohort, updated by incoming BP from arbiter PLC, in the ElevateRequest arbiter call + 32 + 29472 + + 0 + + + + pytmc + pv: ActiveCohort + io: i + + + + + fbVetoArb + FB_VetoArbiter + 27168 + 29504 + + + fbLog + FB_LogMessage + 81984 + 56704 + + + __CHECKREQUEST__XFIRSTTIME + BOOL + 8 + 138688 + + 1 + + + + __CHECKREQUEST__NID + DWORD + 32 + 138720 + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + xFirstTime + BOOL + 8 + + + uselocation + __CHECKREQUEST__XFIRSTTIME + + + + + nId + DWORD + 32 + + + uselocation + __CHECKREQUEST__NID + + + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + FB_ArbiterToSubSys_IO + Exchanges preemption requests and current beam state with subsystems in arbiter network. 2019-12-2, A. Wallace @@ -339,49 +22960,6619 @@ If a subsystem has any new or changed preemptive requests you should see the coh If the cohort number is incrementing out of control, it usually means the subsysetm has some preemptive request loop (two arbiters elevating to each other), or there is a RequestAdd, RequestRemove loop. -]]>31328RequestingSystemIDDWORD32324294967295ItemTypeInputsNameSTRING(80)64864ArbiterToSubSysItemTypeInputResetBOOL8712ItemTypeInputArbiterFB_Arbiter32736ItemTypeInOutfbFFHWOFB_HardwareFFOutput32768ItemTypeInOuti_RequestedBPST_BeamParams_IO1760800TcAddressTypeInputRequestedBPST_BeamParams17602560pytmc + + 31328 + + RequestingSystemID + DWORD + System ID for making requests to the supreme arbiter + 32 + 32 + + 4294967295 + + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 64 + + ArbiterToSubSys + + + + ItemType + Input + + + + + Reset + BOOL + 8 + 712 + + + ItemType + Input + + + + + Arbiter + FB_Arbiter + 32 + 736 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 768 + + + ItemType + InOut + + + + + i_RequestedBP + ST_BeamParams_IO + Requested BP from subsystem + 1760 + 800 + + + TcAddressType + Input + + + + + RequestedBP + ST_BeamParams + 1760 + 2560 + + + pytmc + pv: RequestedBP:FromSubSys - o_CurrentBPST_BeamParams_IO17604320TcAddressTypeOutputi_ConnectedBOOL86080TcAddressTypeInputi_WcStateBOOL860881pytmcpv: WcState + + + + + + o_CurrentBP + ST_BeamParams_IO + Current BP set + 1760 + 4320 + + + TcAddressType + Output + + + + + i_Connected + BOOL + SYNC Inputs^External device not connected !!! Doesn't really work. + 8 + 6080 + + + TcAddressType + Input + + + + + i_WcState + BOOL + WcState^WcState + 8 + 6088 + + 1 + + + + pytmc + pv: WcState io: i field: DESC Working counter state. field: ZNAM OK - field: ONAM ErrorTcAddressTypeInputi_TxPDOStateBOOL860961pytmcpv: TxPDO_state + field: ONAM Error + + + TcAddressType + Input + + + + + i_TxPDOState + BOOL + SYNC Inputs^TxPDO state + 8 + 6096 + + 1 + + + + pytmc + pv: TxPDO_state io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInputi_TxPDOToggleBOOL86104pytmcpv: TxPDO_toggle + field: ONAM Error + + + TcAddressType + Input + + + + + i_TxPDOToggle + BOOL + TxPDO toggle + 8 + 6104 + + + pytmc + pv: TxPDO_toggle io: i field: DESC PDO Transmission is OK field: ZNAM OK - field: ONAM ErrorTcAddressTypeInputffPMPSIO_DisconnectFB_FastFault250886112.i_DescIssue w/ arbiter interface to subsystem, verify subsystem is OK, or ethercat connection.nActiveCohortUDINT32312000nRequestedCohortUDINT32312320rtToggleR_TRIG6431264PouTypeFunctionBlockE_ArbDosTestStates16INTInit0SecondReq100WaitForAck200WaitFor2ndAck300RunAsserts8000FB_Arbiter_Test38020224FB_TestSuite__ARBITERCAPACITY__FBARBCAPACITYTESTFB_Arbiter47462433551744old_input_assignments__ARBITERCAPACITY__CYCLEINT16340263680__ARBITERCAPACITY__CYCLELIMITINT163402638420__ARBITRATION__FBARBITERFB_Arbiter47462434026432old_input_assignments__DOS__DOSARBFB_Arbiter47462434501056old_input_assignments__DOS__DUMMYHAFB_DummyHA12834975680.ReqAcknowledged0__DOS__NTIMEOUTCOUNTERUINT1634975808__DOS__BINITBOOL834975824__DOS__BSECONDBOOL834975832__DOS__EDOSTESTCASESE_ArbDosTestStates1634975840__FULLARBITRATIONSTACK__FBARBITERFB_Arbiter47462434975872old_input_assignments__FULLARBITRATIONSTACK__FBHIGHERARBFB_Arbiter47462435450496old_input_assignments__FULLARBITRATIONSTACK__FBSUBSYSTOARBFB_SubSysToArbiter_IO13875235925120__FULLARBITRATIONSTACK__PBPRST_BeamParams_IO3236063872__FULLARBITRATIONSTACK__FBARBTOSUBSYSFB_ArbiterToSubSys_IO3132836063904.RequestingSystemID42__FULLARBITRATIONSTACK__PBPCST_BeamParams_IO3236095232__FULLARBITRATIONSTACK__FBBPRFB_BPRequestor390436095296__FULLARBITRATIONSTACK__FFOFB_HardwareFFOutput49529636099200__FULLARBITRATIONSTACK__CYCLEINT16365944960__FULLARBITRATIONSTACK__CYCLELIMITINT163659451220__REQUESTCHECKREMOVEBP__FBARBITERFB_Arbiter47462436594560old_input_assignments__STACKARBITERS__FBARBITERFB_Arbiter47462437069184old_input_assignments__STACKARBITERS__FBHIGHERARBFB_Arbiter47462437543808old_input_assignments__STACKARBITERS__ARBBPST_BeamParams176038018432__STACKARBITERS__CYCLEINT16380201920__STACKARBITERS__CYCLELIMITINT163802020820RemoveReqArbFB_Arbiter474624old_input_assignmentsDummyHAFB_DummyHA128ResultBOOL8StackArbitersnIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__STACKARBITERS__FBARBITERfbHigherArbFB_Arbiter474624old_input_assignmentsuselocation__STACKARBITERS__FBHIGHERARBArbBPST_BeamParams1760uselocation__STACKARBITERS__ARBBPCycleINT16uselocation__STACKARBITERS__CYCLECycleLimitINT16uselocation__STACKARBITERS__CYCLELIMITSysIDDWORD32FullArbitrationStacknIdDWORD32stReqST_BeamParams1760nIdDoSDWORD32stDoSReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__FULLARBITRATIONSTACK__FBARBITERfbHigherArbFB_Arbiter474624old_input_assignmentsuselocation__FULLARBITRATIONSTACK__FBHIGHERARBfbSubSysToArbFB_SubSysToArbiter_IO138752uselocation__FULLARBITRATIONSTACK__FBSUBSYSTOARBpBPRST_BeamParams_IO32uselocation__FULLARBITRATIONSTACK__PBPRfbArbToSubSysFB_ArbiterToSubSys_IO31328uselocation__FULLARBITRATIONSTACK__FBARBTOSUBSYSpBPCST_BeamParams_IO32uselocation__FULLARBITRATIONSTACK__PBPCfbBPRFB_BPRequestor3904uselocation__FULLARBITRATIONSTACK__FBBPRFFOFB_HardwareFFOutput495296uselocation__FULLARBITRATIONSTACK__FFOCycleINT16uselocation__FULLARBITRATIONSTACK__CYCLECycleLimitINT16uselocation__FULLARBITRATIONSTACK__CYCLELIMITSysIDDWORD32no_checkArbitrationnTranReqIDUDINT32stAttReqBPST_BeamParams1760nPPEReqIDUDINT32stPPEReqBPST_BeamParams1760nEVReqIDUDINT32stEVReqBPST_BeamParams1760nRateReqIDUDINT32stRateReqBPST_BeamParams1760nBCRangeReqIDUDINT32stBCReqBPST_BeamParams1760stArbitratedBPST_BeamParams1760stExpectedBPST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__ARBITRATION__FBARBITERArbiterCapacitynIdDWORD32stReqST_BeamParams1760nRandIDDWORD32testReqST_BeamParams1760idxDWORD32fbArbCapacityTestFB_Arbiter474624old_input_assignmentsuselocation__ARBITERCAPACITY__FBARBCAPACITYTESTCycleINT16uselocation__ARBITERCAPACITY__CYCLECycleLimitINT16uselocation__ARBITERCAPACITY__CYCLELIMITSysIDDWORD32RequestCheckRemoveBPnIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__REQUESTCHECKREMOVEBP__FBARBITERDoSnOrigReqIDUDINT32nSecondReqIDUDINT32nPeskyReqIDUDINT32DosArbFB_Arbiter474624old_input_assignmentsuselocation__DOS__DOSARBDummyHAFB_DummyHA128uselocation__DOS__DUMMYHAnTimeoutCounterUINT16uselocation__DOS__NTIMEOUTCOUNTERbInitBOOL8uselocation__DOS__BINITbSecondBOOL8uselocation__DOS__BSECONDeDosTestCasesE_ArbDosTestStates16uselocation__DOS__EDOSTESTCASESnTimeoutCounterMAXUINT16nWaitCountUINT16nWait2ndCountUINT16PouTypeFunctionBlockcall_after_initFB_VetoArbiter_Test35025408FB_TestSuiteArbIDDWORD32335517441HigherArbIDDWORD32335517762__VETOARBITER__FBARBITERFB_Arbiter47462433551808old_input_assignments__VETOARBITER__FBHIGHERARBFB_Arbiter47462434026432old_input_assignments__VETOARBITER__ARBBPST_BeamParams176034501056.nTran1__VETOARBITER__VETOARBFB_VetoArbiter2716834502816__VETOARBITER__FFOFB_HardwareFFOutput49529634529984__VETOARBITER__FBHAFB_DummyHA12835025280VetoArbiternIdDWORD32nId2DWORD32stReqST_BeamParams1760stReq2ST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__VETOARBITER__FBARBITERfbHigherArbFB_Arbiter474624old_input_assignmentsuselocation__VETOARBITER__FBHIGHERARBArbBPST_BeamParams1760uselocation__VETOARBITER__ARBBPVetoArbFB_VetoArbiter27168uselocation__VETOARBITER__VETOARBFFOFB_HardwareFFOutput495296uselocation__VETOARBITER__FFOfbHAFB_DummyHA128uselocation__VETOARBITER__FBHAPouTypeFunctionBlockcall_after_initFB_evRangeCalculator_Test33551808FB_TestSuiteRandomBoundaryINT16335517442BasicFunctionLastWordDWORD32displaymodebinaryResultDWORD32displaymodebinaryTestEVDWORD32displaymodebinarytEvWDWORD32displaymodebinarytEvREAL32fbStrFB_FormatString7840MiscNumberINT16nLowerLimitBoundaryINT16RandomBoundaryINT16MNUINT16MNDINT16no_checkPouTypeFunctionBlockcall_after_initFB_SubsysToArb_Test35804096FB_TestSuite__BASICFUNCTION__FBARBITERFB_Arbiter47462433551744old_input_assignments__BASICFUNCTION__FBSUBSYSTOARBFB_SubSysToArbiter_IO13875234026368__BASICFUNCTION__PBPCST_BeamParams_IO3234165120__BASICFUNCTION__IOCURRENTBPST_BeamParams_IO176034165152__BASICFUNCTION__FFOFB_HardwareFFOutput49529634166912__BASICFUNCTION__NCOHORTSCRATCHUDINT3234662208__VETOFUNCTION__FBARBITERFB_Arbiter47462434662272old_input_assignments__VETOFUNCTION__FBSUBSYSTOARBFB_SubSysToArbiter_IO13875235136896__VETOFUNCTION__FBARBTOSUBSYSFB_ArbiterToSubSys_IO3132835275648__VETOFUNCTION__PBPCST_BeamParams_IO3235306976__VETOFUNCTION__PBPRST_BeamParams_IO3235307008__VETOFUNCTION__IOCURRENTBPST_BeamParams_IO176035307040__VETOFUNCTION__FFOFB_HardwareFFOutput49529635308800VetoFunctionnIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__VETOFUNCTION__FBARBITERfbSubSysToArbFB_SubSysToArbiter_IO138752uselocation__VETOFUNCTION__FBSUBSYSTOARBfbArbToSubSysFB_ArbiterToSubSys_IO31328uselocation__VETOFUNCTION__FBARBTOSUBSYSpBPCST_BeamParams_IO32uselocation__VETOFUNCTION__PBPCpBPRST_BeamParams_IO32uselocation__VETOFUNCTION__PBPRioCurrentBPST_BeamParams_IO1760uselocation__VETOFUNCTION__IOCURRENTBPFFOFB_HardwareFFOutput495296uselocation__VETOFUNCTION__FFOSysIDDWORD32BasicFunctionnIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__BASICFUNCTION__FBARBITERfbSubSysToArbFB_SubSysToArbiter_IO138752uselocation__BASICFUNCTION__FBSUBSYSTOARBpBPCST_BeamParams_IO32uselocation__BASICFUNCTION__PBPCioCurrentBPST_BeamParams_IO1760uselocation__BASICFUNCTION__IOCURRENTBPFFOFB_HardwareFFOutput495296uselocation__BASICFUNCTION__FFOnCohortScratchUDINT32uselocation__BASICFUNCTION__NCOHORTSCRATCHSysIDDWORD32no_checkPouTypeFunctionBlockcall_after_initFB_ArbToSubsys_Test34558784FB_TestSuite__BASICFUNCTION__FBARBITERFB_Arbiter47462433551744old_input_assignments__BASICFUNCTION__PBPRST_BeamParams_IO3234026368__BASICFUNCTION__STBPRIOST_BeamParams_IO176034026400.nCohortInt1.nTran35__BASICFUNCTION__FBARBTOSUBSYSFB_ArbiterToSubSys_IO3132834028160.RequestingSystemID42__BASICFUNCTION__PBPCST_BeamParams_IO3234059488__BASICFUNCTION__FBBPRFB_BPRequestor390434059520__BASICFUNCTION__FFOFB_HardwareFFOutput49529634063424__BASICFUNCTION__CYCLEINT16345587200__BASICFUNCTION__CYCLELIMITINT163455873620BasicFunctionSysIDDWORD32nIdDWORD32stReqST_BeamParams1760fbArbiterFB_Arbiter474624old_input_assignmentsuselocation__BASICFUNCTION__FBARBITERpBPRST_BeamParams_IO32uselocation__BASICFUNCTION__PBPRstBPRIOST_BeamParams_IO1760uselocation__BASICFUNCTION__STBPRIOfbArbToSubSysFB_ArbiterToSubSys_IO31328uselocation__BASICFUNCTION__FBARBTOSUBSYSpBPCST_BeamParams_IO32uselocation__BASICFUNCTION__PBPCfbBPRFB_BPRequestor3904uselocation__BASICFUNCTION__FBBPRFFOFB_HardwareFFOutput495296uselocation__BASICFUNCTION__FFOCycleINT16uselocation__BASICFUNCTION__CYCLECycleLimitINT16uselocation__BASICFUNCTION__CYCLELIMITno_checkPouTypeFunctionBlockcall_after_initVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512_Implicit_KindOfTask16INT_implicit_cyclic0_implicit_event1_implicit_external2_implicit_freewheeling3_Implicit_Jitter_Distribution48wRangeMaxWORD160wCountJitterNegWORD1616wCountJitterPosWORD1632hide_Implicit_Task_Info704dwVersionDWORD320pszNameSTRING(80)3232nPriorityINT1664KindOf_Implicit_KindOfTask1680bWatchdogBOOL896bProfilingTaskBOOL8104dwEventFunctionPointerBYTE32128pszExternalEventSTRING(80)32160dwTaskEntryFunctionPointerBYTE32192dwWatchdogSensitivityDWORD32224dwIntervalDWORD32256dwWatchdogTimeDWORD32288dwLastCycleTimeDWORD32320dwAverageCycleTimeDWORD32352dwMaxCycleTimeDWORD32384dwMinCycleTimeDWORD32416diJitterDINT32448diJitterMinDINT32480diJitterMaxDINT32512dwCycleCountDWORD32544wTaskStatusWORD16576wNumOfJitterDistributionsWORD16592pJitterDistribution_Implicit_Jitter_Distribution32608bWithinSPSTimeSlicingBOOL8640byDummyBYTE8648bShouldBlockBOOL8656bActiveBOOL8664dwIECCycleCountDWORD32672hideLCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerbosePMPS{08500001-0000-0000-F000-000000000064}0PlcTask#x020100303PlcTask Internal080805888GVL_Param_TcUnit.MaxNumberOfTestSuites16UINT500TcVarGlobal4096000GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite16UINT100TcVarGlobal4096016GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite16UINT1000TcVarGlobal4096032GVL_Param_TcUnit.LogExtendedResults + + + TcAddressType + Input + + + + + ffPMPSIO_Disconnect + FB_FastFault + Fast fault for ethercat issues + 25088 + 6112 + + + .i_Desc + Issue w/ arbiter interface to subsystem, verify subsystem is OK, or ethercat connection. + + + + + nActiveCohort + UDINT + Active cohort. Updated to the req. number from the sub system after request is confirmed. + 32 + 31200 + + 0 + + + + nRequestedCohort + UDINT + 32 + 31232 + + 0 + + + + rtToggle + R_TRIG + 64 + 31264 + + + + PouType + FunctionBlock + + + + + E_ArbDosTestStates + 16 + INT + + Init + 0 + + + SecondReq + 100 + + + WaitForAck + 200 + + + WaitFor2ndAck + 300 + + + RunAsserts + 8000 + + + + FB_Arbiter_Test + 38020224 + FB_TestSuite + + __ARBITERCAPACITY__FBARBCAPACITYTEST + FB_Arbiter + 474624 + 33551744 + + + old_input_assignments + + + + + __ARBITERCAPACITY__CYCLE + INT + 16 + 34026368 + + 0 + + + + __ARBITERCAPACITY__CYCLELIMIT + INT + 16 + 34026384 + + 20 + + + + __ARBITRATION__FBARBITER + FB_Arbiter + 474624 + 34026432 + + + old_input_assignments + + + + + __DOS__DOSARB + FB_Arbiter + 474624 + 34501056 + + + old_input_assignments + + + + + __DOS__DUMMYHA + FB_DummyHA + Set req ack false to start so we can control when it is verified + 128 + 34975680 + + + .ReqAcknowledged + 0 + + + + + __DOS__NTIMEOUTCOUNTER + UINT + 16 + 34975808 + + + __DOS__BINIT + BOOL + 8 + 34975824 + + + __DOS__BSECOND + BOOL + 8 + 34975832 + + + __DOS__EDOSTESTCASES + E_ArbDosTestStates + 16 + 34975840 + + + __FULLARBITRATIONSTACK__FBARBITER + FB_Arbiter + 474624 + 34975872 + + + old_input_assignments + + + + + __FULLARBITRATIONSTACK__FBHIGHERARB + FB_Arbiter + 474624 + 35450496 + + + old_input_assignments + + + + + __FULLARBITRATIONSTACK__FBSUBSYSTOARB + FB_SubSysToArbiter_IO + Subsystem interface with beamline arbiter PLC + 138752 + 35925120 + + + __FULLARBITRATIONSTACK__PBPR + ST_BeamParams_IO + 32 + 36063872 + + + __FULLARBITRATIONSTACK__FBARBTOSUBSYS + FB_ArbiterToSubSys_IO + Beamline arbiter PLC interface with subsystems + 31328 + 36063904 + + + .RequestingSystemID + 42 + + + + + __FULLARBITRATIONSTACK__PBPC + ST_BeamParams_IO + 32 + 36095232 + + + __FULLARBITRATIONSTACK__FBBPR + FB_BPRequestor + Use in the arbiter PLC to apply an arbitrated beam parameter set to the accelerator interface + 3904 + 36095296 + + + __FULLARBITRATIONSTACK__FFO + FB_HardwareFFOutput + Dummy FFO not important for these tests + 495296 + 36099200 + + + __FULLARBITRATIONSTACK__CYCLE + INT + 16 + 36594496 + + 0 + + + + __FULLARBITRATIONSTACK__CYCLELIMIT + INT + 16 + 36594512 + + 20 + + + + __REQUESTCHECKREMOVEBP__FBARBITER + FB_Arbiter + 474624 + 36594560 + + + old_input_assignments + + + + + __STACKARBITERS__FBARBITER + FB_Arbiter + 474624 + 37069184 + + + old_input_assignments + + + + + __STACKARBITERS__FBHIGHERARB + FB_Arbiter + 474624 + 37543808 + + + old_input_assignments + + + + + __STACKARBITERS__ARBBP + ST_BeamParams + 1760 + 38018432 + + + __STACKARBITERS__CYCLE + INT + 16 + 38020192 + + 0 + + + + __STACKARBITERS__CYCLELIMIT + INT + 16 + 38020208 + + 20 + + + + RemoveReq + + Arb + FB_Arbiter + 474624 + + + old_input_assignments + + + + + DummyHA + FB_DummyHA + 128 + + + Result + BOOL + 8 + + + + StackArbiters + + nId + DWORD + 32 + + + stReq + ST_BeamParams + 1760 + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __STACKARBITERS__FBARBITER + + + + + fbHigherArb + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __STACKARBITERS__FBHIGHERARB + + + + + ArbBP + ST_BeamParams + 1760 + + + uselocation + __STACKARBITERS__ARBBP + + + + + Cycle + INT + 16 + + + uselocation + __STACKARBITERS__CYCLE + + + + + CycleLimit + INT + 16 + + + uselocation + __STACKARBITERS__CYCLELIMIT + + + + + SysID + DWORD + 32 + + + + FullArbitrationStack + + nId + DWORD + 32 + + + stReq + ST_BeamParams + 1760 + + + nIdDoS + DWORD + 32 + + + stDoSReq + ST_BeamParams + 1760 + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __FULLARBITRATIONSTACK__FBARBITER + + + + + fbHigherArb + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __FULLARBITRATIONSTACK__FBHIGHERARB + + + + + fbSubSysToArb + Subsystem interface with beamline arbiter PLC + FB_SubSysToArbiter_IO + 138752 + + + uselocation + __FULLARBITRATIONSTACK__FBSUBSYSTOARB + + + + + pBPR + ST_BeamParams_IO + 32 + + + uselocation + __FULLARBITRATIONSTACK__PBPR + + + + + fbArbToSubSys + Beamline arbiter PLC interface with subsystems + FB_ArbiterToSubSys_IO + 31328 + + + uselocation + __FULLARBITRATIONSTACK__FBARBTOSUBSYS + + + + + pBPC + ST_BeamParams_IO + 32 + + + uselocation + __FULLARBITRATIONSTACK__PBPC + + + + + fbBPR + Use in the arbiter PLC to apply an arbitrated beam parameter set to the accelerator interface + FB_BPRequestor + 3904 + + + uselocation + __FULLARBITRATIONSTACK__FBBPR + + + + + FFO + Dummy FFO not important for these tests + FB_HardwareFFOutput + 495296 + + + uselocation + __FULLARBITRATIONSTACK__FFO + + + + + Cycle + INT + 16 + + + uselocation + __FULLARBITRATIONSTACK__CYCLE + + + + + CycleLimit + INT + 16 + + + uselocation + __FULLARBITRATIONSTACK__CYCLELIMIT + + + + + SysID + DWORD + 32 + + + + no_check + + + + + Arbitration + + nTranReqID + UDINT + 32 + + + stAttReqBP + ST_BeamParams + 1760 + + + nPPEReqID + UDINT + 32 + + + stPPEReqBP + ST_BeamParams + 1760 + + + nEVReqID + UDINT + 32 + + + stEVReqBP + ST_BeamParams + 1760 + + + nRateReqID + UDINT + 32 + + + stRateReqBP + ST_BeamParams + 1760 + + + nBCRangeReqID + UDINT + 32 + + + stBCReqBP + ST_BeamParams + 1760 + + + stArbitratedBP + := PMPS_GVL.cstFullBeam;; + ST_BeamParams + 1760 + + + stExpectedBP + ST_BeamParams + 1760 + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __ARBITRATION__FBARBITER + + + + + + ArbiterCapacity + + nId + DWORD + 32 + + + stReq + ST_BeamParams + 1760 + + + nRandID + DWORD + 32 + + + testReq + ST_BeamParams + 1760 + + + idx + DWORD + 32 + + + fbArbCapacityTest + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __ARBITERCAPACITY__FBARBCAPACITYTEST + + + + + Cycle + INT + 16 + + + uselocation + __ARBITERCAPACITY__CYCLE + + + + + CycleLimit + INT + 16 + + + uselocation + __ARBITERCAPACITY__CYCLELIMIT + + + + + SysID + DWORD + 32 + + + + RequestCheckRemoveBP + + nId + DWORD + 32 + + + stReq + ST_BeamParams + 1760 + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __REQUESTCHECKREMOVEBP__FBARBITER + + + + + + DoS + + nOrigReqID + UDINT + 32 + + + nSecondReqID + UDINT + 32 + + + nPeskyReqID + UDINT + 32 + + + DosArb + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __DOS__DOSARB + + + + + DummyHA + Set req ack false to start so we can control when it is verified + FB_DummyHA + 128 + + + uselocation + __DOS__DUMMYHA + + + + + nTimeoutCounter + UINT + 16 + + + uselocation + __DOS__NTIMEOUTCOUNTER + + + + + bInit + BOOL + 8 + + + uselocation + __DOS__BINIT + + + + + bSecond + BOOL + 8 + + + uselocation + __DOS__BSECOND + + + + + eDosTestCases + E_ArbDosTestStates + 16 + + + uselocation + __DOS__EDOSTESTCASES + + + + + nTimeoutCounterMAX + UINT + 16 + + + nWaitCount + UINT + 16 + + + nWait2ndCount + UINT + 16 + + + + + PouType + FunctionBlock + + + call_after_init + + + + + FB_VetoArbiter_Test + 35025408 + FB_TestSuite + + ArbID + DWORD + 32 + 33551744 + + 1 + + + + HigherArbID + DWORD + 32 + 33551776 + + 2 + + + + __VETOARBITER__FBARBITER + FB_Arbiter + 474624 + 33551808 + + + old_input_assignments + + + + + __VETOARBITER__FBHIGHERARB + FB_Arbiter + 474624 + 34026432 + + + old_input_assignments + + + + + __VETOARBITER__ARBBP + ST_BeamParams + 1760 + 34501056 + + + .nTran + 1 + + + + + __VETOARBITER__VETOARB + FB_VetoArbiter + 27168 + 34502816 + + + __VETOARBITER__FFO + FB_HardwareFFOutput + 495296 + 34529984 + + + __VETOARBITER__FBHA + FB_DummyHA + 128 + 35025280 + + + VetoArbiter + + nId + DWORD + 32 + + + nId2 + DWORD + 32 + + + stReq + ST_BeamParams + 1760 + + + stReq2 + ST_BeamParams + 1760 + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __VETOARBITER__FBARBITER + + + + + fbHigherArb + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __VETOARBITER__FBHIGHERARB + + + + + ArbBP + ST_BeamParams + 1760 + + + uselocation + __VETOARBITER__ARBBP + + + + + VetoArb + FB_VetoArbiter + 27168 + + + uselocation + __VETOARBITER__VETOARB + + + + + FFO + FB_HardwareFFOutput + 495296 + + + uselocation + __VETOARBITER__FFO + + + + + fbHA + FB_DummyHA + 128 + + + uselocation + __VETOARBITER__FBHA + + + + + + + PouType + FunctionBlock + + + call_after_init + + + + + FB_evRangeCalculator_Test + 33551808 + FB_TestSuite + + RandomBoundary + INT + 16 + 33551744 + + 2 + + + + BasicFunction + + LastWord + DWORD + 32 + + + displaymode + binary + + + + + Result + DWORD + 32 + + + displaymode + binary + + + + + TestEV + DWORD + 32 + + + displaymode + binary + + + + + tEvW + DWORD + 32 + + + displaymode + binary + + + + + tEv + REAL + 32 + + + fbStr + FB_FormatString + 7840 + + + MiscNumber + INT + 16 + + + nLowerLimitBoundary + INT + 16 + + + RandomBoundary + INT + 16 + + + MNU + RandomBoundary + 1 + INT + 16 + + + MND + RandomBoundary - 1 + INT + 16 + + + + no_check + + + + + + PouType + FunctionBlock + + + call_after_init + + + + + FB_SubsysToArb_Test + 35804096 + FB_TestSuite + + __BASICFUNCTION__FBARBITER + FB_Arbiter + 474624 + 33551744 + + + old_input_assignments + + + + + __BASICFUNCTION__FBSUBSYSTOARB + FB_SubSysToArbiter_IO + Subsystem interface with beamline arbiter PLC + 138752 + 34026368 + + + __BASICFUNCTION__PBPC + ST_BeamParams_IO + 32 + 34165120 + + + __BASICFUNCTION__IOCURRENTBP + ST_BeamParams_IO + 1760 + 34165152 + + + __BASICFUNCTION__FFO + FB_HardwareFFOutput + Dummy FFO not important for these tests + 495296 + 34166912 + + + __BASICFUNCTION__NCOHORTSCRATCH + UDINT + 32 + 34662208 + + + __VETOFUNCTION__FBARBITER + FB_Arbiter + 474624 + 34662272 + + + old_input_assignments + + + + + __VETOFUNCTION__FBSUBSYSTOARB + FB_SubSysToArbiter_IO + Subsystem interface with beamline arbiter PLC + 138752 + 35136896 + + + __VETOFUNCTION__FBARBTOSUBSYS + FB_ArbiterToSubSys_IO + 31328 + 35275648 + + + __VETOFUNCTION__PBPC + ST_BeamParams_IO + 32 + 35306976 + + + __VETOFUNCTION__PBPR + ST_BeamParams_IO + 32 + 35307008 + + + __VETOFUNCTION__IOCURRENTBP + ST_BeamParams_IO + 1760 + 35307040 + + + __VETOFUNCTION__FFO + FB_HardwareFFOutput + Dummy FFO not important for these tests + 495296 + 35308800 + + + VetoFunction + + nId + DWORD + 32 + + + stReq + ST_BeamParams + 1760 + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __VETOFUNCTION__FBARBITER + + + + + fbSubSysToArb + Subsystem interface with beamline arbiter PLC + FB_SubSysToArbiter_IO + 138752 + + + uselocation + __VETOFUNCTION__FBSUBSYSTOARB + + + + + fbArbToSubSys + FB_ArbiterToSubSys_IO + 31328 + + + uselocation + __VETOFUNCTION__FBARBTOSUBSYS + + + + + pBPC + ST_BeamParams_IO + 32 + + + uselocation + __VETOFUNCTION__PBPC + + + + + pBPR + ST_BeamParams_IO + 32 + + + uselocation + __VETOFUNCTION__PBPR + + + + + ioCurrentBP + ST_BeamParams_IO + 1760 + + + uselocation + __VETOFUNCTION__IOCURRENTBP + + + + + FFO + Dummy FFO not important for these tests + FB_HardwareFFOutput + 495296 + + + uselocation + __VETOFUNCTION__FFO + + + + + SysID + DWORD + 32 + + + + BasicFunction + + nId + DWORD + 32 + + + stReq + ST_BeamParams + 1760 + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __BASICFUNCTION__FBARBITER + + + + + fbSubSysToArb + Subsystem interface with beamline arbiter PLC + FB_SubSysToArbiter_IO + 138752 + + + uselocation + __BASICFUNCTION__FBSUBSYSTOARB + + + + + pBPC + ST_BeamParams_IO + 32 + + + uselocation + __BASICFUNCTION__PBPC + + + + + ioCurrentBP + ST_BeamParams_IO + 1760 + + + uselocation + __BASICFUNCTION__IOCURRENTBP + + + + + FFO + Dummy FFO not important for these tests + FB_HardwareFFOutput + 495296 + + + uselocation + __BASICFUNCTION__FFO + + + + + nCohortScratch + UDINT + 32 + + + uselocation + __BASICFUNCTION__NCOHORTSCRATCH + + + + + SysID + DWORD + 32 + + + + no_check + + + + + + PouType + FunctionBlock + + + call_after_init + + + + + FB_ArbToSubsys_Test + 34558784 + FB_TestSuite + + __BASICFUNCTION__FBARBITER + FB_Arbiter + 474624 + 33551744 + + + old_input_assignments + + + + + __BASICFUNCTION__PBPR + ST_BeamParams_IO + 32 + 34026368 + + + __BASICFUNCTION__STBPRIO + ST_BeamParams_IO + 1760 + 34026400 + + + .nCohortInt + 1 + + + .nTran + 35 + + + + + __BASICFUNCTION__FBARBTOSUBSYS + FB_ArbiterToSubSys_IO + Beamline arbiter PLC interface with subsystems + 31328 + 34028160 + + + .RequestingSystemID + 42 + + + + + __BASICFUNCTION__PBPC + ST_BeamParams_IO + 32 + 34059488 + + + __BASICFUNCTION__FBBPR + FB_BPRequestor + Use in the arbiter PLC to apply an arbitrated beam parameter set to the accelerator interface + 3904 + 34059520 + + + __BASICFUNCTION__FFO + FB_HardwareFFOutput + Dummy FFO not important for these tests + 495296 + 34063424 + + + __BASICFUNCTION__CYCLE + INT + 16 + 34558720 + + 0 + + + + __BASICFUNCTION__CYCLELIMIT + INT + 16 + 34558736 + + 20 + + + + BasicFunction + + SysID + DWORD + 32 + + + nId + DWORD + 32 + + + stReq + ST_BeamParams + 1760 + + + fbArbiter + FB_Arbiter + 474624 + + + old_input_assignments + + + uselocation + __BASICFUNCTION__FBARBITER + + + + + pBPR + ST_BeamParams_IO + 32 + + + uselocation + __BASICFUNCTION__PBPR + + + + + stBPRIO + ST_BeamParams_IO + 1760 + + + uselocation + __BASICFUNCTION__STBPRIO + + + + + fbArbToSubSys + Beamline arbiter PLC interface with subsystems + FB_ArbiterToSubSys_IO + 31328 + + + uselocation + __BASICFUNCTION__FBARBTOSUBSYS + + + + + pBPC + ST_BeamParams_IO + 32 + + + uselocation + __BASICFUNCTION__PBPC + + + + + fbBPR + Use in the arbiter PLC to apply an arbitrated beam parameter set to the accelerator interface + FB_BPRequestor + 3904 + + + uselocation + __BASICFUNCTION__FBBPR + + + + + FFO + Dummy FFO not important for these tests + FB_HardwareFFOutput + 495296 + + + uselocation + __BASICFUNCTION__FFO + + + + + Cycle + INT + 16 + + + uselocation + __BASICFUNCTION__CYCLE + + + + + CycleLimit + INT + 16 + + + uselocation + __BASICFUNCTION__CYCLELIMIT + + + + + + no_check + + + + + + PouType + FunctionBlock + + + call_after_init + + + + + VERSION + 64 + + uiMajor + UINT + 16 + 0 + + + uiMinor + UINT + 16 + 16 + + + uiServicePack + UINT + 16 + 32 + + + uiPatch + UINT + 16 + 48 + + + + PlcAppSystemInfo + 2048 + + ObjId + OTCID + 32 + 0 + + + TaskCnt + UDINT + 32 + 32 + + + OnlineChangeCnt + UDINT + 32 + 64 + + + Flags + DWORD + 32 + 96 + + + AdsPort + UINT + 16 + 128 + + + BootDataLoaded + BOOL + 8 + 144 + + + OldBootData + BOOL + 8 + 152 + + + AppTimestamp + DT + 32 + 160 + + + KeepOutputsOnBP + BOOL + 8 + 192 + + + ShutdownInProgress + BOOL + 8 + 200 + + + LicensesPending + BOOL + 8 + 208 + + + BSODOccured + BOOL + 8 + 216 + + + LoggedIn + BOOL + 8 + 224 + + + TComSrvPtr + ITComObjectServer + 32 + 256 + + + TcComInterface + + + + + AppName + STRING(63) + 512 + 512 + + + ProjectName + STRING(63) + 512 + 1024 + + + + + + + + + + PlcTaskSystemInfo + 1024 + + ObjId + OTCID + 32 + 0 + + + CycleTime + UDINT + 32 + 32 + + + Priority + UINT + 16 + 64 + + + AdsPort + UINT + 16 + 80 + + + CycleCount + UDINT + 32 + 96 + + + DcTaskTime + LINT + 64 + 128 + + + LastExecTime + UDINT + 32 + 192 + + + FirstCycle + BOOL + 8 + 224 + + + CycleTimeExceeded + BOOL + 8 + 232 + + + InCallAfterOutputUpdate + BOOL + 8 + 240 + + + RTViolation + BOOL + 8 + 248 + + + TaskName + STRING(63) + 512 + 512 + + + + + + + + _Implicit_KindOfTask + 16 + INT + + _implicit_cyclic + 0 + + + _implicit_event + 1 + + + _implicit_external + 2 + + + _implicit_freewheeling + 3 + + + + _Implicit_Jitter_Distribution + 48 + + wRangeMax + WORD + 16 + 0 + + + wCountJitterNeg + WORD + 16 + 16 + + + wCountJitterPos + WORD + 16 + 32 + + + + hide + + + + + _Implicit_Task_Info + 704 + + dwVersion + DWORD + 32 + 0 + + + pszName + STRING(80) + 32 + 32 + + + nPriority + INT + 16 + 64 + + + KindOf + _Implicit_KindOfTask + 16 + 80 + + + bWatchdog + BOOL + 8 + 96 + + + bProfilingTask + BOOL + 8 + 104 + + + dwEventFunctionPointer + BYTE + 32 + 128 + + + pszExternalEvent + STRING(80) + 32 + 160 + + + dwTaskEntryFunctionPointer + BYTE + 32 + 192 + + + dwWatchdogSensitivity + DWORD + 32 + 224 + + + dwInterval + DWORD + 32 + 256 + + + dwWatchdogTime + DWORD + 32 + 288 + + + dwLastCycleTime + DWORD + 32 + 320 + + + dwAverageCycleTime + DWORD + 32 + 352 + + + dwMaxCycleTime + DWORD + 32 + 384 + + + dwMinCycleTime + DWORD + 32 + 416 + + + diJitter + DINT + 32 + 448 + + + diJitterMin + DINT + 32 + 480 + + + diJitterMax + DINT + 32 + 512 + + + dwCycleCount + DWORD + 32 + 544 + + + wTaskStatus + WORD + 16 + 576 + + + wNumOfJitterDistributions + WORD + 16 + 592 + + + pJitterDistribution + _Implicit_Jitter_Distribution + 32 + 608 + + + bWithinSPSTimeSlicing + BOOL + 8 + 640 + + + byDummy + BYTE + 8 + 648 + + + bShouldBlock + BOOL + 8 + 656 + + + bActive + BOOL + 8 + 664 + + + dwIECCycleCount + DWORD + 32 + 672 + + + + hide + + + + + LCLSGeneralEventClass + Log event + + Critical + Critical + Critical + + + Error + Error + Error + + + Warning + Warning + Warning + + + Info + Info + Info + + + Verbose + Verbose + Verbose + + + + + + + + + + + + + + + PMPS + {08500001-0000-0000-F000-000000000064} + + + + 0 + PlcTask + + #x02010030 + + + + + + + 3 + PlcTask Internal + 0 + 80805888 + + GVL_Param_TcUnit.MaxNumberOfTestSuites + 16 + UINT + + 500 + + + + TcVarGlobal + + + 4096000 + + + GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite + 16 + UINT + + 100 + + + + TcVarGlobal + + + 4096016 + + + GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 4096032 + + + GVL_Param_TcUnit.LogExtendedResults + TcUnit logs complete test results. These include: - Number of test suites - Number of tests - Number of successful tests - Number of failed tests - - Any eventual failed assertion (with the expected & actual value plus an user defined message) + - Any eventual failed assertion (with the expected & actual value plus an user defined message) These are all printed to the ADS logger (Visual Studio error list) marked with ERROR criticality On top of this TcUnit also reports some statistics/extended information with HINT/INFO criticality. These statistics are more detailed results of the tests. This information is used when results are being collected by an external software (such as TcUnit-Runner) to do for example Jenkins integration. This extra information however takes time to print, so by setting the following parameter to FALSE - it will speed up TcUnit finishing. ]]>8BOOL1TcVarGlobal4096048GVL_Param_TcUnit.xUnitEnablePublish8BOOL0TcVarGlobal4096056GVL_Param_TcUnit.xUnitBufferSize32UDINT65535TcVarGlobal4096064GVL_Param_TcUnit.xUnitFilePath2048T_MaxStringC:\tcunit_xunit_testresults.xmlTcVarGlobal4096096GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 4096048 + + + GVL_Param_TcUnit.xUnitEnablePublish + Enable (TRUE) or disable (FALSE) publishing of the xUnit Xml report + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 4096056 + + + GVL_Param_TcUnit.xUnitBufferSize + Default reserved PLC memory buffer used for composition of the xUnit xml file (64 kb default) + 32 + UDINT + + 65535 + + + + TcVarGlobal + + + 4096064 + + + GVL_Param_TcUnit.xUnitFilePath + Default path and filename for the xunit testresults e.g.: for use with jenkins + 2048 + T_MaxString + + C:\tcunit_xunit_testresults.xml + + + + TcVarGlobal + + + 4096096 + + + GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + This is the maximum number of ADS-messages that can be stored for reporting at the same time. Having a size of 2000 means that it's possible to report up to ~400 test cases in one single PLC cycle. Each entry consumes around 500 bytes, so with an example of a ring buffer size of - 2000 it means that TcUnit will consume around 1 MB of router memory. ]]>16UINT2000TcVarGlobal4098144GVL_TcUnit.TestSuiteIsRegistered8BOOLTcVarGlobal4098160GVL_TcUnit.CurrentTestIsFinished8BOOLTcVarGlobal4098168GVL_Param_TcUnit.TimeBetweenTestSuitesExecution32TIME0TcVarGlobal4098176GVL_TcUnit.TcUnitRunner311179200FB_TcUnitRunnerTcVarGlobal4098208GVL_TcUnit.CurrentTestSuiteBeingCalled32FB_TestSuiteTcVarGlobal315277408GVL_TcUnit.CurrentTestNameBeingCalled2048T_MaxStringTcVarGlobal315277440GVL_TcUnit.IgnoreCurrentTest + 16 + UINT + + 2000 + + + + TcVarGlobal + + + 4098144 + + + GVL_TcUnit.TestSuiteIsRegistered + Indication of whether the last instantiated test suite has an assert instance created + 8 + BOOL + + + TcVarGlobal + + + 4098160 + + + GVL_TcUnit.CurrentTestIsFinished + Whether or not the current test being called has finished running + 8 + BOOL + + + TcVarGlobal + + + 4098168 + + + GVL_Param_TcUnit.TimeBetweenTestSuitesExecution + Time delay between a test suite is finished and the execution of the next test suite starts + if using RUN_IN_SEQUENCE() + 32 + TIME + + 0 + + + + TcVarGlobal + + + 4098176 + + + GVL_TcUnit.TcUnitRunner + 311179200 + FB_TcUnitRunner + + + TcVarGlobal + + + 4098208 + + + GVL_TcUnit.CurrentTestSuiteBeingCalled + Pointer to current test suite being called + 32 + FB_TestSuite + + + TcVarGlobal + + + 315277408 + + + GVL_TcUnit.CurrentTestNameBeingCalled + Current name of test being called + 2048 + T_MaxString + + + TcVarGlobal + + + 315277440 + + + GVL_TcUnit.IgnoreCurrentTest + This is a flag that indicates that the current test should be ignored, and thus that all assertions under it should be ignored as well. A test can be ignored either - because the user has requested so, or because the test is a duplicate name ]]>8BOOLTcVarGlobal315279488Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED8BYTE1TcVarGlobal315279496GVL_TcUnit.NumberOfInitializedTestSuites16UINT0TcVarGlobal315279504GVL_TcUnit.TestSuiteAddresses16000FB_TestSuite1500TcVarGlobal315279520GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite + 8 + BOOL + + + TcVarGlobal + + + 315279488 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED + Retain data loaded + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 315279496 + + + GVL_TcUnit.NumberOfInitializedTestSuites + The assert function block instance should be 1:1 mapped to + the test suite instance path. + 16 + UINT + + 0 + + + + TcVarGlobal + + + 315279504 + + + GVL_TcUnit.TestSuiteAddresses + 16000 + FB_TestSuite + + 1 + 500 + + + + TcVarGlobal + + + 315279520 + + + GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite + If the user is utilizing the TEST_ORDERED(), we need to keep track of which ordered test is currently running. We do this by defining an array, in where we can see which current TEST_ORDERED() is the one to be handled right now. - The below array is only used for TEST_ORDERED()-tests. ]]>8000UINT1500LowerBorder1UpperBorder100TcVarGlobal315295520GVL_TcUnit.AdsMessageQueue8320864FB_AdsLogStringMessageFifoQueueTcVarGlobal315303520Global_Version.stLibVersion_TcUnit288ST_LibVersion.iMajor1.iMinor2.iBuild0.iRevision0.sVersion1.2.0.0const_non_replacedTcVarGlobal323624384Global_Version.stLibVersion_Tc2_Standard288ST_LibVersion.iMajor3.iMinor3.iBuild3.iRevision0.nFlags0.sVersion3.3.3.0const_non_replacedTcVarGlobal323624672Global_Version.stLibVersion_Tc2_System288ST_LibVersion.iMajor3.iMinor4.iBuild26.iRevision0.nFlags1.sVersion3.4.26.0const_non_replacedTcVarGlobal323624960Global_Variables.AMSPORT_LOGGER16UINT100TcVarGlobal323625248Global_Variables.AMSPORT_EVENTLOG16UINT110TcVarGlobal323625264Global_Variables.AMSPORT_R0_RTIME16UINT200TcVarGlobal323625280Global_Variables.AMSPORT_R0_IO16UINT300TcVarGlobal323625296Global_Variables.AMSPORT_R0_NC16UINT500TcVarGlobal323625312Global_Variables.AMSPORT_R0_NCSAF16UINT501TcVarGlobal323625328Global_Variables.AMSPORT_R0_NCSVB16UINT511TcVarGlobal323625344Global_Variables.AMSPORT_R0_ISG16UINT550TcVarGlobal323625360Global_Variables.AMSPORT_R0_CNC16UINT600TcVarGlobal323625376Global_Variables.AMSPORT_R0_LINE16UINT700TcVarGlobal323625392Global_Variables.AMSPORT_R0_PLC16UINT800TcVarGlobal323625408Global_Variables.AMSPORT_R0_PLC_RTS116UINT801TcVarGlobal323625424Global_Variables.AMSPORT_R0_PLC_RTS216UINT811TcVarGlobal323625440Global_Variables.AMSPORT_R0_PLC_RTS316UINT821TcVarGlobal323625456Global_Variables.AMSPORT_R0_PLC_RTS416UINT831TcVarGlobal323625472Global_Variables.AMSPORT_R0_CAM16UINT900TcVarGlobal323625488Global_Variables.AMSPORT_R0_CAMTOOL16UINT950TcVarGlobal323625504Global_Variables.AMSPORT_R3_SYSSERV16UINT10000TcVarGlobal323625520Global_Variables.AMSPORT_R3_SCOPESERVER16UINT14001TcVarGlobal323625536Global_Variables.ADSSTATE_INVALID16UINT0TcVarGlobal323625552Global_Variables.ADSSTATE_IDLE16UINT1TcVarGlobal323625568Global_Variables.ADSSTATE_RESET16UINT2TcVarGlobal323625584Global_Variables.ADSSTATE_INIT16UINT3TcVarGlobal323625600Global_Variables.ADSSTATE_START16UINT4TcVarGlobal323625616Global_Variables.ADSSTATE_RUN16UINT5TcVarGlobal323625632Global_Variables.ADSSTATE_STOP16UINT6TcVarGlobal323625648Global_Variables.ADSSTATE_SAVECFG16UINT7TcVarGlobal323625664Global_Variables.ADSSTATE_LOADCFG16UINT8TcVarGlobal323625680Global_Variables.ADSSTATE_POWERFAILURE16UINT9TcVarGlobal323625696Global_Variables.ADSSTATE_POWERGOOD16UINT10TcVarGlobal323625712Global_Variables.ADSSTATE_ERROR16UINT11TcVarGlobal323625728Global_Variables.ADSSTATE_SHUTDOWN16UINT12TcVarGlobal323625744Global_Variables.ADSSTATE_SUSPEND16UINT13TcVarGlobal323625760Global_Variables.ADSSTATE_RESUME16UINT14TcVarGlobal323625776Global_Variables.ADSSTATE_CONFIG16UINT15TcVarGlobal323625792Global_Variables.ADSSTATE_RECONFIG16UINT16TcVarGlobal323625808Global_Variables.ADSSTATE_STOPPING16UINT17TcVarGlobal323625824Global_Variables.ADSSTATE_INCOMPATIBLE16UINT18TcVarGlobal323625840Global_Variables.ADSSTATE_EXCEPTION16UINT19TcVarGlobal323625856Global_Variables.ADSSTATE_MAXSTATES16UINT20TcVarGlobal323625872Global_Variables.ADSIGRP_SYMTAB32UDINT61440TcVarGlobal323625888Global_Variables.ADSIGRP_SYMNAME32UDINT61441TcVarGlobal323625920Global_Variables.ADSIGRP_SYMVAL32UDINT61442TcVarGlobal323625952Global_Variables.ADSIGRP_SYM_HNDBYNAME32UDINT61443TcVarGlobal323625984Global_Variables.ADSIGRP_SYM_VALBYNAME32UDINT61444TcVarGlobal323626016Global_Variables.ADSIGRP_SYM_VALBYHND32UDINT61445TcVarGlobal323626048Global_Variables.ADSIGRP_SYM_RELEASEHND32UDINT61446TcVarGlobal323626080Global_Variables.ADSIGRP_SYM_INFOBYNAME32UDINT61447TcVarGlobal323626112Global_Variables.ADSIGRP_SYM_VERSION32UDINT61448TcVarGlobal323626144Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX32UDINT61449TcVarGlobal323626176Global_Variables.ADSIGRP_SYM_DOWNLOAD32UDINT61450TcVarGlobal323626208Global_Variables.ADSIGRP_SYM_UPLOAD32UDINT61451TcVarGlobal323626240Global_Variables.ADSIGRP_SYM_UPLOADINFO32UDINT61452TcVarGlobal323626272Global_Variables.ADSIGRP_SYMNOTE32UDINT61456TcVarGlobal323626304Global_Variables.ADSIGRP_IOIMAGE_RWIB32UDINT61472TcVarGlobal323626336Global_Variables.ADSIGRP_IOIMAGE_RWIX32UDINT61473TcVarGlobal323626368Global_Variables.ADSIGRP_IOIMAGE_RISIZE32UDINT61477TcVarGlobal323626400Global_Variables.ADSIGRP_IOIMAGE_RWOB32UDINT61488TcVarGlobal323626432Global_Variables.ADSIGRP_IOIMAGE_RWOX32UDINT61489TcVarGlobal323626464Global_Variables.ADSIGRP_IOIMAGE_ROSIZE32UDINT61493TcVarGlobal323626496Global_Variables.ADSIGRP_IOIMAGE_CLEARI32UDINT61504TcVarGlobal323626528Global_Variables.ADSIGRP_IOIMAGE_CLEARO32UDINT61520TcVarGlobal323626560Global_Variables.ADSIGRP_IOIMAGE_RWIOB32UDINT61536TcVarGlobal323626592Global_Variables.ADSIGRP_DEVICE_DATA32UDINT61696TcVarGlobal323626624Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE32UDINT0TcVarGlobal323626656Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE32UDINT2TcVarGlobal323626688Global_Variables.SYSTEMSERVICE_OPENCREATE32UDINT100TcVarGlobal323626720Global_Variables.SYSTEMSERVICE_OPENREAD32UDINT101TcVarGlobal323626752Global_Variables.SYSTEMSERVICE_OPENWRITE32UDINT102TcVarGlobal323626784Global_Variables.SYSTEMSERVICE_CREATEFILE32UDINT110TcVarGlobal323626816Global_Variables.SYSTEMSERVICE_CLOSEHANDLE32UDINT111TcVarGlobal323626848Global_Variables.SYSTEMSERVICE_FOPEN32UDINT120TcVarGlobal323626880Global_Variables.SYSTEMSERVICE_FCLOSE32UDINT121TcVarGlobal323626912Global_Variables.SYSTEMSERVICE_FREAD32UDINT122TcVarGlobal323626944Global_Variables.SYSTEMSERVICE_FWRITE32UDINT123TcVarGlobal323626976Global_Variables.SYSTEMSERVICE_FSEEK32UDINT124TcVarGlobal323627008Global_Variables.SYSTEMSERVICE_FTELL32UDINT125TcVarGlobal323627040Global_Variables.SYSTEMSERVICE_FGETS32UDINT126TcVarGlobal323627072Global_Variables.SYSTEMSERVICE_FPUTS32UDINT127TcVarGlobal323627104Global_Variables.SYSTEMSERVICE_FSCANF32UDINT128TcVarGlobal323627136Global_Variables.SYSTEMSERVICE_FPRINTF32UDINT129TcVarGlobal323627168Global_Variables.SYSTEMSERVICE_FEOF32UDINT130TcVarGlobal323627200Global_Variables.SYSTEMSERVICE_FDELETE32UDINT131TcVarGlobal323627232Global_Variables.SYSTEMSERVICE_FRENAME32UDINT132TcVarGlobal323627264Global_Variables.SYSTEMSERVICE_MKDIR32UDINT138TcVarGlobal323627296Global_Variables.SYSTEMSERVICE_RMDIR32UDINT139TcVarGlobal323627328Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE32UDINT200TcVarGlobal323627360Global_Variables.SYSTEMSERVICE_SENDEMAIL32UDINT300TcVarGlobal323627392Global_Variables.SYSTEMSERVICE_TIMESERVICES32UDINT400TcVarGlobal323627424Global_Variables.SYSTEMSERVICE_STARTPROCESS32UDINT500TcVarGlobal323627456Global_Variables.SYSTEMSERVICE_CHANGENETID32UDINT600TcVarGlobal323627488Global_Variables.TIMESERVICE_DATEANDTIME32UDINT1TcVarGlobal323627520Global_Variables.TIMESERVICE_SYSTEMTIMES32UDINT2TcVarGlobal323627552Global_Variables.TIMESERVICE_RTCTIMEDIFF32UDINT3TcVarGlobal323627584Global_Variables.TIMESERVICE_ADJUSTTIMETORTC32UDINT4TcVarGlobal323627616Global_Variables.TIMESERVICE_TIMEZONINFORMATION32UDINT6TcVarGlobal323627648Global_Variables.ADSLOG_MSGTYPE_HINT32DWORD1TcVarGlobal323627680Global_Variables.ADSLOG_MSGTYPE_WARN32DWORD2TcVarGlobal323627712Global_Variables.ADSLOG_MSGTYPE_ERROR32DWORD4TcVarGlobal323627744Global_Variables.ADSLOG_MSGTYPE_LOG32DWORD16TcVarGlobal323627776Global_Variables.ADSLOG_MSGTYPE_MSGBOX32DWORD32TcVarGlobal323627808Global_Variables.ADSLOG_MSGTYPE_RESOURCE32DWORD64TcVarGlobal323627840Global_Variables.ADSLOG_MSGTYPE_STRING32DWORD128TcVarGlobal323627872Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID8BYTE2TcVarGlobal323627904Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED8BYTE4TcVarGlobal323627912Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED8BYTE16TcVarGlobal323627920Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID8BYTE32TcVarGlobal323627928Global_Variables.SYSTEMSTATEFLAGS_BSOD8BYTE1TcVarGlobal323627936Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION8BYTE2TcVarGlobal323627944Global_Variables.TCEVENTFLAG_PRIOCLASS16WORD16TcVarGlobal323627952Global_Variables.FOPEN_MODEREAD32DWORD1TcVarGlobal323627968Global_Variables.FOPEN_MODEWRITE32DWORD2TcVarGlobal323628000Global_Variables.FOPEN_MODEAPPEND32DWORD4TcVarGlobal323628032Global_Variables.FOPEN_MODEPLUS32DWORD8TcVarGlobal323628064Global_Variables.FOPEN_MODEBINARY32DWORD16TcVarGlobal323628096Global_Variables.FOPEN_MODETEXT32DWORD32TcVarGlobal323628128Global_Variables.TCEVENTFLAG_FMTSELF16WORD32TcVarGlobal323628384Global_Variables.TCEVENTFLAG_LOG16WORD64TcVarGlobal323628400Global_Variables.TCEVENTFLAG_MSGBOX16WORD128TcVarGlobal323628416Global_Variables.TCEVENTFLAG_SRCID16WORD256TcVarGlobal323628432Global_Variables.TCEVENTFLAG_AUTOFMTALL16WORD4096TcVarGlobal323628448Global_Variables.TCEVENTSTATE_INVALID16WORD0TcVarGlobal323628464Global_Variables.TCEVENTSTATE_SIGNALED16WORD1TcVarGlobal323628480Global_Variables.TCEVENTSTATE_RESET16WORD2TcVarGlobal323628496Global_Variables.TCEVENTSTATE_CONFIRMED16WORD16TcVarGlobal323628512Global_Variables.TCEVENTSTATE_RESETCON16WORD18TcVarGlobal323628528Global_Variables.TCEVENT_SRCNAMESIZE16INT15TcVarGlobal323628544Global_Variables.TCEVENT_FMTPRGSIZE16INT31TcVarGlobal323628560Global_Variables.DEFAULT_ADS_TIMEOUT32TIME5000TcVarGlobal323628576Global_Variables.PI64LREAL3.14159265358979TcVarGlobal323628608Global_Variables.MAX_STRING_LENGTH32UDINT255TcVarGlobal323628672Global_Variables.eWatchdogConfig16E_WATCHDOG_TIME_CONFIG0TcVarGlobal323629216Global_Variables.nWatchdogTime8BYTETcVarGlobal323629232Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK8BOOL0TcVarGlobal323629240Global_Version.stLibVersion_Tc3_Module288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.sVersion3.3.21.0const_non_replacedTcVarGlobal323629248Global_Version.stLibVersion_Tc2_Utilities288ST_LibVersion.iMajor3.iMinor3.iBuild54.iRevision0.nFlags1.sVersion3.3.54.0const_non_replacedTcVarGlobal323629856Global_Variables.MAX_AVERAGE_MEASURES16INT10LowerBorder2UpperBorder100TcVarGlobal323630144Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE16E_HashPrefixTypes0TcVarGlobal323630160Global_Variables.GLOBAL_SBCS_TABLE16E_SBCSType1TcVarGlobal323630176Global_Variables.DEFAULT_CSV_FIELD_SEP german field separator, comma (,) := 16#2C => US field separator ]]>8BYTE59TcVarGlobal323630192Global_Variables.MAX_ROUTE_NAME_LEN8BYTE31TcVarGlobal323630200Global_Variables.GLOBAL_DCF77_PULSE_SPLIT pulse < 140ms, Bit == 1 => pulse >= 140ms ]]>32TIME140TcVarGlobal323630208Global_Variables.MAX_ADAPTER_NAME_LENGTH32UDINT259TcVarGlobal323691712Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH32UDINT131TcVarGlobal323691744Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH32UDINT7TcVarGlobal323691776Global_Variables.SYSTEMSERVICE_IPHELPERAPI32UDINT701TcVarGlobal323691808Global_Variables.SYSTEMSERVICE_IPHOSTNAME32UDINT702TcVarGlobal323691840Global_Variables.IPHELPERAPI_ADAPTERSINFO32UDINT1TcVarGlobal323691872Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME32UDINT4TcVarGlobal323691904Global_Variables.MAX_LOCAL_ADAPTERS32UDINT5TcVarGlobal323691936Global_Variables.SYSTEMSERVICE_ADDREMOTE32UDINT801TcVarGlobal323691968Global_Variables.SYSTEMSERVICE_DELREMOTE32UDINT802TcVarGlobal323692000Global_Variables.SYSTEMSERVICE_ENUMREMOTE32UDINT803TcVarGlobal323692032Global_Variables.MAX_REMOTE_PCS16INT99TcVarGlobal323692064Global_Variables.MAX_ROUTE_ADDR_LEN8BYTE79TcVarGlobal323692080Global_Variables.MIN_ROUTE_TRANSPORT8BYTE0TcVarGlobal323692088Global_Variables.ROUTE_FLAG_TEMPORARY32DWORD1TcVarGlobal323692096Global_Variables.ROUTE_FLAG_DYNAMIC32DWORD2TcVarGlobal323692128Global_Variables.ROUTE_FLAG_NOOVERRIDE32DWORD4TcVarGlobal323692160Global_Variables.MAX_ROUTE_TRANSPORT8BYTE12TcVarGlobal323692192Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE used to enclose special characters like line breaks, double-quotes, commas... ]]>8BYTE34TcVarGlobal323692200Global_Variables.AMSPORT_AMSLOGGER16UINT10502TcVarGlobal323692208Global_Variables.EMPTY_ROUTE_ENTRY1184ST_AmsRouteEntry.sName.sNetID.sAddress.tTimeout0.dwFlags0TcVarGlobal323692224Global_Variables.SYSTEMSERVICE_FFILEFIND32UDINT133TcVarGlobal323693408Global_Variables.HKEY_MAX_BINARY_DATA_SIZE32UDINT500TcVarGlobal323693440Global_Variables.AMSLOGGER_IGR_GENERAL32UDINT4096TcVarGlobal323693472Global_Variables.AMSLOGGER_IOF_MODE32UDINT1TcVarGlobal323693504Global_Variables.FORMAT_MAX_ARGS16INT10TcVarGlobal323693536Global_Variables.FLOATREC_EXP_IS_NAN16INT-32768TcVarGlobal323693552Global_Variables.FLOATREC_EXP_IS_INF16INT32767TcVarGlobal323693568Global_Variables.FLOATREC_MAX_DIGITS16INT20TcVarGlobal323693584Global_Variables.FLOATREC_MAX_PRECISION16INT307TcVarGlobal323693600Global_Variables.FLOATREC_MIN_PRECISION16INT0TcVarGlobal323693616Global_Variables.FMTERR_NOERROR32DWORD0TcVarGlobal323693632Global_Variables.FMTERR_PERCENTSIGNPOSITION32DWORD16TcVarGlobal323693664Global_Variables.FMTERR_ASTERISKPOSITION32DWORD32TcVarGlobal323693696Global_Variables.FMTERR_WIDTHVALUE32DWORD64TcVarGlobal323693728Global_Variables.FMTERR_PRECISIONVALUE32DWORD128TcVarGlobal323693760Global_Variables.FMTERR_FLAGPOSITION32DWORD256TcVarGlobal323693792Global_Variables.FMTERR_WIDTHPRECISIONVALPOS32DWORD512TcVarGlobal323693824Global_Variables.FMTERR_PRECISIONDOTPOSITION32DWORD1024TcVarGlobal323693856Global_Variables.FMTERR_TYPEFIELDVALUE32DWORD2048TcVarGlobal323693888Global_Variables.FMTERR_ARGTYPEINVALID32DWORD4096TcVarGlobal323693920Global_Variables.FMTERR_UNACCEPTEDPARAMETER32DWORD8192TcVarGlobal323693952Global_Variables.FMTERR_INSUFFICIENTARGS32DWORD16384TcVarGlobal323693984Global_Variables.FMTERR_DESTBUFFOVERFLOW32DWORD32768TcVarGlobal323694016Global_Variables.FMTERR_INVALIDPOINTERINPUT32DWORD65536TcVarGlobal323694048Global_Variables.EMPTY_ARG_VALUE96T_Arg.eType0.cbLen0.pData0TcVarGlobal323694080Global_Variables.FORMAT_HEXASC_CODES256BYTE02016[0,0]48[0,1]49[0,2]50[0,3]51[0,4]52[0,5]53[0,6]54[0,7]55[0,8]56[0,9]57[0,10]97[0,11]98[0,12]99[0,13]100[0,14]101[0,15]102[1,0]48[1,1]49[1,2]50[1,3]51[1,4]52[1,5]53[1,6]54[1,7]55[1,8]56[1,9]57[1,10]65[1,11]66[1,12]67[1,13]68[1,14]69[1,15]70TcVarGlobal323694176Global_Variables.FORMAT_DECASC_CODES80BYTE010[0]48[1]49[2]50[3]51[4]52[5]53[6]54[7]55[8]56[9]57TcVarGlobal323694432Global_Variables.SYSTEMTIME_MAX_MONTHDAYS384WORD02112[0,1]31[0,2]28[0,3]31[0,4]30[0,5]31[0,6]30[0,7]31[0,8]31[0,9]30[0,10]31[0,11]30[0,12]31[1,1]31[1,2]29[1,3]31[1,4]30[1,5]31[1,6]30[1,7]31[1,8]31[1,9]30[1,10]31[1,11]30[1,12]31TcVarGlobal323699920Global_Variables.SYSTEMTIME_MAX_YEARSDAY448WORD02014[0,0]0[0,1]31[0,2]59[0,3]90[0,4]120[0,5]151[0,6]181[0,7]212[0,8]243[0,9]273[0,10]304[0,11]334[0,12]365[0,13]396[1,0]0[1,1]31[1,2]60[1,3]91[1,4]121[1,5]152[1,6]182[1,7]213[1,8]244[1,9]274[1,10]305[1,11]335[1,12]366[1,13]397TcVarGlobal323700304Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET32DWORD584389TcVarGlobal323700768Global_Variables.SYSTEMTIME_TICKSPERMSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000TcVarGlobal323700800Global_Variables.SYSTEMTIME_TICKSPERSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000000TcVarGlobal323700864Global_Variables.SYSTEMTIME_TICKSPERDAY64T_ULARGE_INTEGER.dwHighPart201.dwLowPart711573504TcVarGlobal323700928Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64T_ULARGE_INTEGER.dwHighPart27111902.dwLowPart3577643008TcVarGlobal323700992Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64T_ULARGE_INTEGER.dwHighPart37111701.dwLowPart2856069504TcVarGlobal323701056Global_Variables.SYSTEMTIME_TICKSPERMSEC6464ULINT10000TcVarGlobal323701120Global_Variables.SYSTEMTIME_TICKSPERSEC6464ULINT10000000TcVarGlobal323701184Global_Variables.SYSTEMTIME_TICKSPERDAY6464ULINT864000000000TcVarGlobal323701248Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN6464ULINT116444736000000000TcVarGlobal323701312Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX6464ULINT159393544950000000TcVarGlobal323701376Global_Variables.WEST_EUROPE_TZI864ST_TimeZoneInformation.bias-60.standardNameW. Europe Standard Time.standardDate.wYear0.standardDate.wMonth10.standardDate.wDayOfWeek0.standardDate.wDay5.standardDate.wHour3.standardBias0.daylightNameW. Europe Daylight Time.daylightDate.wYear0.daylightDate.wMonth3.daylightDate.wDayOfWeek0.daylightDate.wDay5.daylightDate.wHour2.daylightBias-60TcVarGlobal323701440Global_Variables.DATE_AND_TIME_SECPERDAY32DWORD86400TcVarGlobal323706432Global_Variables.DATE_AND_TIME_SECPERWEEK32DWORD604800TcVarGlobal323706464Global_Variables.DBG_OUTPUT_NONE32DWORD0TcVarGlobal323712672Global_Variables.DBG_OUTPUT_LOG32DWORD1TcVarGlobal323712704Global_Variables.DBG_OUTPUT_FILE32DWORD2TcVarGlobal323712736Global_Variables.DBG_OUTPUT_VISU32DWORD4TcVarGlobal323712768Global_Variables.DEFAULT_CSV_RECORD_SEP_CR record separator (first character) ]]>8BYTE13TcVarGlobal323829936Global_Variables.DEFAULT_CSV_RECORD_SEP_LF record separator (second character) ]]>8BYTE10TcVarGlobal323829944Global_Variables.EMPTY_GUID_STRUCT128GUID.Data10.Data20.Data30.Data4[0]0.Data4[1]0.Data4[2]0.Data4[3]0.Data4[4]0.Data4[5]0.Data4[6]0.Data4[7]0TcVarGlobal323831680Global_Variables.EMPTY_GUID_STRING296STRING(36)00000000-0000-0000-0000-000000000000TcVarGlobal323831808Global_Variables.EMPTY_GUID_REGSTRING312STRING(38){00000000-0000-0000-0000-000000000000}TcVarGlobal323832104DefaultGlobals.stSys40ST_SystemTcVarGlobal323832512GVL_Logger.bTrickleTripped8BOOLpytmc + The below array is only used for TEST_ORDERED()-tests. + 8000 + UINT + + 1 + 500 + + + + LowerBorder + 1 + + + UpperBorder + 100 + + + TcVarGlobal + + + 315295520 + + + GVL_TcUnit.AdsMessageQueue + Buffered ADS message queue for output to the error list + 8320864 + FB_AdsLogStringMessageFifoQueue + + + TcVarGlobal + + + 315303520 + + + Global_Version.stLibVersion_TcUnit + 288 + ST_LibVersion + + + .iMajor + 1 + + + .iMinor + 2 + + + .iBuild + 0 + + + .iRevision + 0 + + + .sVersion + 1.2.0.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323624384 + + + Global_Version.stLibVersion_Tc2_Standard + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 3 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.3.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323624672 + + + Global_Version.stLibVersion_Tc2_System + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 4 + + + .iBuild + 26 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.4.26.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323624960 + + + Global_Variables.AMSPORT_LOGGER + Logger + 16 + UINT + + 100 + + + + TcVarGlobal + + + 323625248 + + + Global_Variables.AMSPORT_EVENTLOG + Event logger + 16 + UINT + + 110 + + + + TcVarGlobal + + + 323625264 + + + Global_Variables.AMSPORT_R0_RTIME + R0 Real time + 16 + UINT + + 200 + + + + TcVarGlobal + + + 323625280 + + + Global_Variables.AMSPORT_R0_IO + I/O Driver + 16 + UINT + + 300 + + + + TcVarGlobal + + + 323625296 + + + Global_Variables.AMSPORT_R0_NC + 16 + UINT + + 500 + + + + TcVarGlobal + + + 323625312 + + + Global_Variables.AMSPORT_R0_NCSAF + 16 + UINT + + 501 + + + + TcVarGlobal + + + 323625328 + + + Global_Variables.AMSPORT_R0_NCSVB + 16 + UINT + + 511 + + + + TcVarGlobal + + + 323625344 + + + Global_Variables.AMSPORT_R0_ISG + 16 + UINT + + 550 + + + + TcVarGlobal + + + 323625360 + + + Global_Variables.AMSPORT_R0_CNC + 16 + UINT + + 600 + + + + TcVarGlobal + + + 323625376 + + + Global_Variables.AMSPORT_R0_LINE + 16 + UINT + + 700 + + + + TcVarGlobal + + + 323625392 + + + Global_Variables.AMSPORT_R0_PLC + 16 + UINT + + 800 + + + + TcVarGlobal + + + 323625408 + + + Global_Variables.AMSPORT_R0_PLC_RTS1 + TwinCAT v2.xx first PLC runtime system + 16 + UINT + + 801 + + + + TcVarGlobal + + + 323625424 + + + Global_Variables.AMSPORT_R0_PLC_RTS2 + TwinCAT v2.xx second PLC runtime system + 16 + UINT + + 811 + + + + TcVarGlobal + + + 323625440 + + + Global_Variables.AMSPORT_R0_PLC_RTS3 + TwinCAT v2.xx third PLC runtime system + 16 + UINT + + 821 + + + + TcVarGlobal + + + 323625456 + + + Global_Variables.AMSPORT_R0_PLC_RTS4 + TwinCAT v2.xx fourth PLC runtime system + 16 + UINT + + 831 + + + + TcVarGlobal + + + 323625472 + + + Global_Variables.AMSPORT_R0_CAM + 16 + UINT + + 900 + + + + TcVarGlobal + + + 323625488 + + + Global_Variables.AMSPORT_R0_CAMTOOL + Camming tool + 16 + UINT + + 950 + + + + TcVarGlobal + + + 323625504 + + + Global_Variables.AMSPORT_R3_SYSSERV + TwinCAT System Service + 16 + UINT + + 10000 + + + + TcVarGlobal + + + 323625520 + + + Global_Variables.AMSPORT_R3_SCOPESERVER + TwinCAT Scope Server + 16 + UINT + + 14001 + + + + TcVarGlobal + + + 323625536 + + + Global_Variables.ADSSTATE_INVALID + Invalid ADS state + 16 + UINT + + 0 + + + + TcVarGlobal + + + 323625552 + + + Global_Variables.ADSSTATE_IDLE + 16 + UINT + + 1 + + + + TcVarGlobal + + + 323625568 + + + Global_Variables.ADSSTATE_RESET + 16 + UINT + + 2 + + + + TcVarGlobal + + + 323625584 + + + Global_Variables.ADSSTATE_INIT + 16 + UINT + + 3 + + + + TcVarGlobal + + + 323625600 + + + Global_Variables.ADSSTATE_START + 16 + UINT + + 4 + + + + TcVarGlobal + + + 323625616 + + + Global_Variables.ADSSTATE_RUN + 16 + UINT + + 5 + + + + TcVarGlobal + + + 323625632 + + + Global_Variables.ADSSTATE_STOP + 16 + UINT + + 6 + + + + TcVarGlobal + + + 323625648 + + + Global_Variables.ADSSTATE_SAVECFG + 16 + UINT + + 7 + + + + TcVarGlobal + + + 323625664 + + + Global_Variables.ADSSTATE_LOADCFG + 16 + UINT + + 8 + + + + TcVarGlobal + + + 323625680 + + + Global_Variables.ADSSTATE_POWERFAILURE + 16 + UINT + + 9 + + + + TcVarGlobal + + + 323625696 + + + Global_Variables.ADSSTATE_POWERGOOD + 16 + UINT + + 10 + + + + TcVarGlobal + + + 323625712 + + + Global_Variables.ADSSTATE_ERROR + 16 + UINT + + 11 + + + + TcVarGlobal + + + 323625728 + + + Global_Variables.ADSSTATE_SHUTDOWN + 16 + UINT + + 12 + + + + TcVarGlobal + + + 323625744 + + + Global_Variables.ADSSTATE_SUSPEND + 16 + UINT + + 13 + + + + TcVarGlobal + + + 323625760 + + + Global_Variables.ADSSTATE_RESUME + 16 + UINT + + 14 + + + + TcVarGlobal + + + 323625776 + + + Global_Variables.ADSSTATE_CONFIG + System is in config mode + 16 + UINT + + 15 + + + + TcVarGlobal + + + 323625792 + + + Global_Variables.ADSSTATE_RECONFIG + System should restart in config mode + 16 + UINT + + 16 + + + + TcVarGlobal + + + 323625808 + + + Global_Variables.ADSSTATE_STOPPING + 16 + UINT + + 17 + + + + TcVarGlobal + + + 323625824 + + + Global_Variables.ADSSTATE_INCOMPATIBLE + 16 + UINT + + 18 + + + + TcVarGlobal + + + 323625840 + + + Global_Variables.ADSSTATE_EXCEPTION + 16 + UINT + + 19 + + + + TcVarGlobal + + + 323625856 + + + Global_Variables.ADSSTATE_MAXSTATES + Max. number of available ads states + 16 + UINT + + 20 + + + + TcVarGlobal + + + 323625872 + + + Global_Variables.ADSIGRP_SYMTAB + Symbol table + 32 + UDINT + + 61440 + + + + TcVarGlobal + + + 323625888 + + + Global_Variables.ADSIGRP_SYMNAME + Symbol name + 32 + UDINT + + 61441 + + + + TcVarGlobal + + + 323625920 + + + Global_Variables.ADSIGRP_SYMVAL + Symbol value + 32 + UDINT + + 61442 + + + + TcVarGlobal + + + 323625952 + + + Global_Variables.ADSIGRP_SYM_HNDBYNAME + 32 + UDINT + + 61443 + + + + TcVarGlobal + + + 323625984 + + + Global_Variables.ADSIGRP_SYM_VALBYNAME + 32 + UDINT + + 61444 + + + + TcVarGlobal + + + 323626016 + + + Global_Variables.ADSIGRP_SYM_VALBYHND + 32 + UDINT + + 61445 + + + + TcVarGlobal + + + 323626048 + + + Global_Variables.ADSIGRP_SYM_RELEASEHND + 32 + UDINT + + 61446 + + + + TcVarGlobal + + + 323626080 + + + Global_Variables.ADSIGRP_SYM_INFOBYNAME + 32 + UDINT + + 61447 + + + + TcVarGlobal + + + 323626112 + + + Global_Variables.ADSIGRP_SYM_VERSION + 32 + UDINT + + 61448 + + + + TcVarGlobal + + + 323626144 + + + Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX + 32 + UDINT + + 61449 + + + + TcVarGlobal + + + 323626176 + + + Global_Variables.ADSIGRP_SYM_DOWNLOAD + 32 + UDINT + + 61450 + + + + TcVarGlobal + + + 323626208 + + + Global_Variables.ADSIGRP_SYM_UPLOAD + 32 + UDINT + + 61451 + + + + TcVarGlobal + + + 323626240 + + + Global_Variables.ADSIGRP_SYM_UPLOADINFO + 32 + UDINT + + 61452 + + + + TcVarGlobal + + + 323626272 + + + Global_Variables.ADSIGRP_SYMNOTE + Notification of named handle + 32 + UDINT + + 61456 + + + + TcVarGlobal + + + 323626304 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIB + Read/write input BYTE(S) + 32 + UDINT + + 61472 + + + + TcVarGlobal + + + 323626336 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIX + Read/write input bit + 32 + UDINT + + 61473 + + + + TcVarGlobal + + + 323626368 + + + Global_Variables.ADSIGRP_IOIMAGE_RISIZE + Read input size (in BYTE) + 32 + UDINT + + 61477 + + + + TcVarGlobal + + + 323626400 + + + Global_Variables.ADSIGRP_IOIMAGE_RWOB + Read/write output BYTE(S) + 32 + UDINT + + 61488 + + + + TcVarGlobal + + + 323626432 + + + Global_Variables.ADSIGRP_IOIMAGE_RWOX + Read/write output bit + 32 + UDINT + + 61489 + + + + TcVarGlobal + + + 323626464 + + + Global_Variables.ADSIGRP_IOIMAGE_ROSIZE + Read/write output bit + 32 + UDINT + + 61493 + + + + TcVarGlobal + + + 323626496 + + + Global_Variables.ADSIGRP_IOIMAGE_CLEARI + Write inputs TO null + 32 + UDINT + + 61504 + + + + TcVarGlobal + + + 323626528 + + + Global_Variables.ADSIGRP_IOIMAGE_CLEARO + Write outputs TO null + 32 + UDINT + + 61520 + + + + TcVarGlobal + + + 323626560 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIOB + Read input AND write output BYTE(S) ADS-READWRITE + 32 + UDINT + + 61536 + + + + TcVarGlobal + + + 323626592 + + + Global_Variables.ADSIGRP_DEVICE_DATA + State, name, etc... + 32 + UDINT + + 61696 + + + + TcVarGlobal + + + 323626624 + + + Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE + Ads state OF device + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 323626656 + + + Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE + Device state + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 323626688 + + + Global_Variables.SYSTEMSERVICE_OPENCREATE + Open and if not existing create + 32 + UDINT + + 100 + + + + TcVarGlobal + + + 323626720 + + + Global_Variables.SYSTEMSERVICE_OPENREAD + Open existing for read access + 32 + UDINT + + 101 + + + + TcVarGlobal + + + 323626752 + + + Global_Variables.SYSTEMSERVICE_OPENWRITE + Open existing for write access + 32 + UDINT + + 102 + + + + TcVarGlobal + + + 323626784 + + + Global_Variables.SYSTEMSERVICE_CREATEFILE + Create + 32 + UDINT + + 110 + + + + TcVarGlobal + + + 323626816 + + + Global_Variables.SYSTEMSERVICE_CLOSEHANDLE + Close + 32 + UDINT + + 111 + + + + TcVarGlobal + + + 323626848 + + + Global_Variables.SYSTEMSERVICE_FOPEN + 32 + UDINT + + 120 + + + + TcVarGlobal + + + 323626880 + + + Global_Variables.SYSTEMSERVICE_FCLOSE + 32 + UDINT + + 121 + + + + TcVarGlobal + + + 323626912 + + + Global_Variables.SYSTEMSERVICE_FREAD + 32 + UDINT + + 122 + + + + TcVarGlobal + + + 323626944 + + + Global_Variables.SYSTEMSERVICE_FWRITE + 32 + UDINT + + 123 + + + + TcVarGlobal + + + 323626976 + + + Global_Variables.SYSTEMSERVICE_FSEEK + 32 + UDINT + + 124 + + + + TcVarGlobal + + + 323627008 + + + Global_Variables.SYSTEMSERVICE_FTELL + 32 + UDINT + + 125 + + + + TcVarGlobal + + + 323627040 + + + Global_Variables.SYSTEMSERVICE_FGETS + 32 + UDINT + + 126 + + + + TcVarGlobal + + + 323627072 + + + Global_Variables.SYSTEMSERVICE_FPUTS + 32 + UDINT + + 127 + + + + TcVarGlobal + + + 323627104 + + + Global_Variables.SYSTEMSERVICE_FSCANF + 32 + UDINT + + 128 + + + + TcVarGlobal + + + 323627136 + + + Global_Variables.SYSTEMSERVICE_FPRINTF + 32 + UDINT + + 129 + + + + TcVarGlobal + + + 323627168 + + + Global_Variables.SYSTEMSERVICE_FEOF + 32 + UDINT + + 130 + + + + TcVarGlobal + + + 323627200 + + + Global_Variables.SYSTEMSERVICE_FDELETE + 32 + UDINT + + 131 + + + + TcVarGlobal + + + 323627232 + + + Global_Variables.SYSTEMSERVICE_FRENAME + 32 + UDINT + + 132 + + + + TcVarGlobal + + + 323627264 + + + Global_Variables.SYSTEMSERVICE_MKDIR + 32 + UDINT + + 138 + + + + TcVarGlobal + + + 323627296 + + + Global_Variables.SYSTEMSERVICE_RMDIR + 32 + UDINT + + 139 + + + + TcVarGlobal + + + 323627328 + + + Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE + 32 + UDINT + + 200 + + + + TcVarGlobal + + + 323627360 + + + Global_Variables.SYSTEMSERVICE_SENDEMAIL + 32 + UDINT + + 300 + + + + TcVarGlobal + + + 323627392 + + + Global_Variables.SYSTEMSERVICE_TIMESERVICES + 32 + UDINT + + 400 + + + + TcVarGlobal + + + 323627424 + + + Global_Variables.SYSTEMSERVICE_STARTPROCESS + 32 + UDINT + + 500 + + + + TcVarGlobal + + + 323627456 + + + Global_Variables.SYSTEMSERVICE_CHANGENETID + 32 + UDINT + + 600 + + + + TcVarGlobal + + + 323627488 + + + Global_Variables.TIMESERVICE_DATEANDTIME + Date/time + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 323627520 + + + Global_Variables.TIMESERVICE_SYSTEMTIMES + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 323627552 + + + Global_Variables.TIMESERVICE_RTCTIMEDIFF + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 323627584 + + + Global_Variables.TIMESERVICE_ADJUSTTIMETORTC + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 323627616 + + + Global_Variables.TIMESERVICE_TIMEZONINFORMATION + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 323627648 + + + Global_Variables.ADSLOG_MSGTYPE_HINT + Hint icon + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 323627680 + + + Global_Variables.ADSLOG_MSGTYPE_WARN + Warning icon + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 323627712 + + + Global_Variables.ADSLOG_MSGTYPE_ERROR + Error icon + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 323627744 + + + Global_Variables.ADSLOG_MSGTYPE_LOG + Write message to log file + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 323627776 + + + Global_Variables.ADSLOG_MSGTYPE_MSGBOX + View message in message box + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 323627808 + + + Global_Variables.ADSLOG_MSGTYPE_RESOURCE + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 323627840 + + + Global_Variables.ADSLOG_MSGTYPE_STRING + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 323627872 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID + Retain data is invalid + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 323627904 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED + 8 + BYTE + + 4 + + + + TcVarGlobal + + + 323627912 + + + Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED + Persistent data loaded + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 323627920 + + + Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID + Persistent data is invalid + 8 + BYTE + + 32 + + + + TcVarGlobal + + + 323627928 + + + Global_Variables.SYSTEMSTATEFLAGS_BSOD + Blue screen of death + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 323627936 + + + Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION + Realtime violation - latency time + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 323627944 + + + Global_Variables.TCEVENTFLAG_PRIOCLASS + Event class/priority through textformatter + 16 + WORD + + 16 + + + + TcVarGlobal + + + 323627952 + + + Global_Variables.FOPEN_MODEREAD + "r": Opens for reading. If the file does not exist or cannot be found, the call fails. + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 323627968 + + + Global_Variables.FOPEN_MODEWRITE + "w": Opens an empty file for writing. If the given file exists, its contents are destroyed. + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 323628000 + + + Global_Variables.FOPEN_MODEAPPEND + "a": Opens for writing at the end of the file (appending) without removing the EOF marker before writing new data to the file; creates the file first if it doesnot exist. + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 323628032 + + + Global_Variables.FOPEN_MODEPLUS + "+": Opens for reading and writing + 32 + DWORD + + 8 + + + + TcVarGlobal + + + 323628064 + + + Global_Variables.FOPEN_MODEBINARY + "b": Open in binary (untranslated) mode. + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 323628096 + + + Global_Variables.FOPEN_MODETEXT + "t": Open in text (translated) mode. + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 323628128 + + + Global_Variables.TCEVENTFLAG_FMTSELF + Format in message + 16 + WORD + + 32 + + + + TcVarGlobal + + + 323628384 + + + Global_Variables.TCEVENTFLAG_LOG + Write to log file + 16 + WORD + + 64 + + + + TcVarGlobal + + + 323628400 + + + Global_Variables.TCEVENTFLAG_MSGBOX + Display message box + 16 + WORD + + 128 + + + + TcVarGlobal + + + 323628416 + + + Global_Variables.TCEVENTFLAG_SRCID + Src id instead of source name + 16 + WORD + + 256 + + + + TcVarGlobal + + + 323628432 + + + Global_Variables.TCEVENTFLAG_AUTOFMTALL + 16 + WORD + + 4096 + + + + TcVarGlobal + + + 323628448 + + + Global_Variables.TCEVENTSTATE_INVALID + Event object is not initialized + 16 + WORD + + 0 + + + + TcVarGlobal + + + 323628464 + + + Global_Variables.TCEVENTSTATE_SIGNALED + Event object is in a signaled state + 16 + WORD + + 1 + + + + TcVarGlobal + + + 323628480 + + + Global_Variables.TCEVENTSTATE_RESET + Event object is in a reset state + 16 + WORD + + 2 + + + + TcVarGlobal + + + 323628496 + + + Global_Variables.TCEVENTSTATE_CONFIRMED + Event object is confirmed but not reset + 16 + WORD + + 16 + + + + TcVarGlobal + + + 323628512 + + + Global_Variables.TCEVENTSTATE_RESETCON + Event object is confirmed and reset + 16 + WORD + + 18 + + + + TcVarGlobal + + + 323628528 + + + Global_Variables.TCEVENT_SRCNAMESIZE + 16 + INT + + 15 + + + + TcVarGlobal + + + 323628544 + + + Global_Variables.TCEVENT_FMTPRGSIZE + 16 + INT + + 31 + + + + TcVarGlobal + + + 323628560 + + + Global_Variables.DEFAULT_ADS_TIMEOUT + Default ADS timeout value + 32 + TIME + + 5000 + + + + TcVarGlobal + + + 323628576 + + + Global_Variables.PI + 64 + LREAL + + 3.14159265358979 + + + + TcVarGlobal + + + 323628608 + + + Global_Variables.MAX_STRING_LENGTH + Max. length of T_MaxString (inclusive null delimiter) + 32 + UDINT + + 255 + + + + TcVarGlobal + + + 323628672 + + + Global_Variables.eWatchdogConfig + 16 + E_WATCHDOG_TIME_CONFIG + + 0 + + + + TcVarGlobal + + + 323629216 + + + Global_Variables.nWatchdogTime + Watchdog time. Depending of g_WatchdogConfig : seconds or minutes + 8 + BYTE + + + TcVarGlobal + + + 323629232 + + + Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK + TRUE = Enable DCF77 telegram plausibility check (two telegrams are checked), FALSE = Disable check + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 323629240 + + + Global_Version.stLibVersion_Tc3_Module + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 21 + + + .iRevision + 0 + + + .sVersion + 3.3.21.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323629248 + + + Global_Version.stLibVersion_Tc2_Utilities + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 54 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.54.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323629856 + + + Global_Variables.MAX_AVERAGE_MEASURES + Max. number of measures used in the profiler function block: 2..100 + 16 + INT + + 10 + + + + LowerBorder + 2 + + + UpperBorder + 100 + + + TcVarGlobal + + + 323630144 + + + Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE + Global hash prefix type constant used for binary, octal or hexadecimal string format type + 16 + E_HashPrefixTypes + + 0 + + + + TcVarGlobal + + + 323630160 + + + Global_Variables.GLOBAL_SBCS_TABLE + Windows SBCS (Single Byte Character Set) Code Page Table + 16 + E_SBCSType + + 1 + + + + TcVarGlobal + + + 323630176 + + + Global_Variables.DEFAULT_CSV_FIELD_SEP + Default CSV-file field separator character. Semicolon (;) := 16#3B => german field separator, comma (,) := 16#2C => US field separator + 8 + BYTE + + 59 + + + + TcVarGlobal + + + 323630192 + + + Global_Variables.MAX_ROUTE_NAME_LEN + Max. TwinCAT router route name length + 8 + BYTE + + 31 + + + + TcVarGlobal + + + 323630200 + + + Global_Variables.GLOBAL_DCF77_PULSE_SPLIT + Default DCF77 short/long pulse split time value. Bit == 0 => pulse < 140ms, Bit == 1 => pulse >= 140ms + 32 + TIME + + 140 + + + + TcVarGlobal + + + 323630208 + + + Global_Variables.MAX_ADAPTER_NAME_LENGTH + Max. System Service local adapter name length (256 + 4 inkl. \0) + 32 + UDINT + + 259 + + + + TcVarGlobal + + + 323691712 + + + Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH + Max. System Service local adapter descirpion length (128 + 4 inkl. \0) + 32 + UDINT + + 131 + + + + TcVarGlobal + + + 323691744 + + + Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH + Max. System Service local adapter physical address length (bytes[0..7]) + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 323691776 + + + Global_Variables.SYSTEMSERVICE_IPHELPERAPI + IPHELPERAPI index group + 32 + UDINT + + 701 + + + + TcVarGlobal + + + 323691808 + + + Global_Variables.SYSTEMSERVICE_IPHOSTNAME + IPHOSTNAME index group + 32 + UDINT + + 702 + + + + TcVarGlobal + + + 323691840 + + + Global_Variables.IPHELPERAPI_ADAPTERSINFO + IPHELPERAPI index offset + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 323691872 + + + Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME + IPHELPERAPI index offset + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 323691904 + + + Global_Variables.MAX_LOCAL_ADAPTERS + Max. number of local network adapters + 32 + UDINT + + 5 + + + + TcVarGlobal + + + 323691936 + + + Global_Variables.SYSTEMSERVICE_ADDREMOTE + System Service route function: Add route + 32 + UDINT + + 801 + + + + TcVarGlobal + + + 323691968 + + + Global_Variables.SYSTEMSERVICE_DELREMOTE + System Service route function: Delete route + 32 + UDINT + + 802 + + + + TcVarGlobal + + + 323692000 + + + Global_Variables.SYSTEMSERVICE_ENUMREMOTE + System Service route function: Enumerater route + 32 + UDINT + + 803 + + + + TcVarGlobal + + + 323692032 + + + Global_Variables.MAX_REMOTE_PCS + Max. number of TwinCAT remote systems/PC's + 16 + INT + + 99 + + + + TcVarGlobal + + + 323692064 + + + Global_Variables.MAX_ROUTE_ADDR_LEN + Max. TwinCAT router route address length + 8 + BYTE + + 79 + + + + TcVarGlobal + + + 323692080 + + + Global_Variables.MIN_ROUTE_TRANSPORT + Min. route type: eRouteTransport_None + 8 + BYTE + + 0 + + + + TcVarGlobal + + + 323692088 + + + Global_Variables.ROUTE_FLAG_TEMPORARY + TwinCAT route flag: Temporary + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 323692096 + + + Global_Variables.ROUTE_FLAG_DYNAMIC + TwinCAT route flag: Hostname instead OF IP address + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 323692128 + + + Global_Variables.ROUTE_FLAG_NOOVERRIDE + TwinCAT route flag: No override + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 323692160 + + + Global_Variables.MAX_ROUTE_TRANSPORT + Max. route type: eRouteTransport_SOAP + 8 + BYTE + + 12 + + + + TcVarGlobal + + + 323692192 + + + Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE + CSV separator constant: double-quote (") => used to enclose special characters like line breaks, double-quotes, commas... + 8 + BYTE + + 34 + + + + TcVarGlobal + + + 323692200 + + + Global_Variables.AMSPORT_AMSLOGGER + TwinCAT Ams Logger port number + 16 + UINT + + 10502 + + + + TcVarGlobal + + + 323692208 + + + Global_Variables.EMPTY_ROUTE_ENTRY + eTransport := eRouteTransport_None see Workitem 7547 + 1184 + ST_AmsRouteEntry + + + .sName + + + + .sNetID + + + + .sAddress + + + + .tTimeout + 0 + + + .dwFlags + 0 + + + + + TcVarGlobal + + + 323692224 + + + Global_Variables.SYSTEMSERVICE_FFILEFIND + System Service file find function number + 32 + UDINT + + 133 + + + + TcVarGlobal + + + 323693408 + + + Global_Variables.HKEY_MAX_BINARY_DATA_SIZE + Max. byte size of binary registry value data + 32 + UDINT + + 500 + + + + TcVarGlobal + + + 323693440 + + + Global_Variables.AMSLOGGER_IGR_GENERAL + TwinCAT Ams Logger general index group + 32 + UDINT + + 4096 + + + + TcVarGlobal + + + 323693472 + + + Global_Variables.AMSLOGGER_IOF_MODE + TwinCAT Ams Logger mode + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 323693504 + + + Global_Variables.FORMAT_MAX_ARGS + Format string constant: Max. number of format arguments in FB_FormatString + 16 + INT + + 10 + + + + TcVarGlobal + + + 323693536 + + + Global_Variables.FLOATREC_EXP_IS_NAN + T_FloatRec type and F_GetFloatRec function constant: The value is #NAN or -#NAN + 16 + INT + + -32768 + + + + TcVarGlobal + + + 323693552 + + + Global_Variables.FLOATREC_EXP_IS_INF + T_FloatRec type and F_GetFloatRec function constant: The value is #INF or -#INF + 16 + INT + + 32767 + + + + TcVarGlobal + + + 323693568 + + + Global_Variables.FLOATREC_MAX_DIGITS + T_FloatRec type and F_GetFloatRec function constant: Max. number of significant digits. Note: double precision floats have max. 15 significant digits + 16 + INT + + 20 + + + + TcVarGlobal + + + 323693584 + + + Global_Variables.FLOATREC_MAX_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Max. floating point precision (1e-307) + 16 + INT + + 307 + + + + TcVarGlobal + + + 323693600 + + + Global_Variables.FLOATREC_MIN_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Min. floating point precision + 16 + INT + + 0 + + + + TcVarGlobal + + + 323693616 + + + Global_Variables.FMTERR_NOERROR + FB_FormatString function block error code: No error + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 323693632 + + + Global_Variables.FMTERR_PERCENTSIGNPOSITION + FB_FormatString function block error code: Percent sign (%) at invalid position + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 323693664 + + + Global_Variables.FMTERR_ASTERISKPOSITION + FB_FormatString function block error code: Asterisk parameter at invalid position + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 323693696 + + + Global_Variables.FMTERR_WIDTHVALUE + FB_FormatString function block error code: Invalid width field value + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 323693728 + + + Global_Variables.FMTERR_PRECISIONVALUE + FB_FormatString function block error code: Invalid precision field value + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 323693760 + + + Global_Variables.FMTERR_FLAGPOSITION + FB_FormatString function block error code: One of the flags at invalid position + 32 + DWORD + + 256 + + + + TcVarGlobal + + + 323693792 + + + Global_Variables.FMTERR_WIDTHPRECISIONVALPOS + FB_FormatString function block error code: The width or precision field value at invalid position + 32 + DWORD + + 512 + + + + TcVarGlobal + + + 323693824 + + + Global_Variables.FMTERR_PRECISIONDOTPOSITION + FB_FormatString function block error code: Dot "." sign of precision field at invalid position + 32 + DWORD + + 1024 + + + + TcVarGlobal + + + 323693856 + + + Global_Variables.FMTERR_TYPEFIELDVALUE + FB_FormatString function block error code: Invalid (unsupported) type field value + 32 + DWORD + + 2048 + + + + TcVarGlobal + + + 323693888 + + + Global_Variables.FMTERR_ARGTYPEINVALID + FB_FormatString function block error code: Different type field and argument parameter + 32 + DWORD + + 4096 + + + + TcVarGlobal + + + 323693920 + + + Global_Variables.FMTERR_UNACCEPTEDPARAMETER + FB_FormatString function block error code: Invalid format string parameters + 32 + DWORD + + 8192 + + + + TcVarGlobal + + + 323693952 + + + Global_Variables.FMTERR_INSUFFICIENTARGS + FB_FormatString function block error code: To much arguments in format string + 32 + DWORD + + 16384 + + + + TcVarGlobal + + + 323693984 + + + Global_Variables.FMTERR_DESTBUFFOVERFLOW + FB_FormatString function block error code: Destination string buffer overflow (formatted string is to long ) + 32 + DWORD + + 32768 + + + + TcVarGlobal + + + 323694016 + + + Global_Variables.FMTERR_INVALIDPOINTERINPUT + FB_FormatString function block error code: Invalid pointer input + 32 + DWORD + + 65536 + + + + TcVarGlobal + + + 323694048 + + + Global_Variables.EMPTY_ARG_VALUE + T_Arg empty value + 96 + T_Arg + + + .eType + 0 + + + .cbLen + 0 + + + .pData + 0 + + + + + TcVarGlobal + + + 323694080 + + + Global_Variables.FORMAT_HEXASC_CODES + 256 + BYTE + + 0 + 2 + + + 0 + 16 + + + + [0,0] + 48 + + + [0,1] + 49 + + + [0,2] + 50 + + + [0,3] + 51 + + + [0,4] + 52 + + + [0,5] + 53 + + + [0,6] + 54 + + + [0,7] + 55 + + + [0,8] + 56 + + + [0,9] + 57 + + + [0,10] + 97 + + + [0,11] + 98 + + + [0,12] + 99 + + + [0,13] + 100 + + + [0,14] + 101 + + + [0,15] + 102 + + + [1,0] + 48 + + + [1,1] + 49 + + + [1,2] + 50 + + + [1,3] + 51 + + + [1,4] + 52 + + + [1,5] + 53 + + + [1,6] + 54 + + + [1,7] + 55 + + + [1,8] + 56 + + + [1,9] + 57 + + + [1,10] + 65 + + + [1,11] + 66 + + + [1,12] + 67 + + + [1,13] + 68 + + + [1,14] + 69 + + + [1,15] + 70 + + + + + TcVarGlobal + + + 323694176 + + + Global_Variables.FORMAT_DECASC_CODES + ASCII to decimal and decimal digits to ASCII codes + 80 + BYTE + + 0 + 10 + + + + [0] + 48 + + + [1] + 49 + + + [2] + 50 + + + [3] + 51 + + + [4] + 52 + + + [5] + 53 + + + [6] + 54 + + + [7] + 55 + + + [8] + 56 + + + [9] + 57 + + + + + TcVarGlobal + + + 323694432 + + + Global_Variables.SYSTEMTIME_MAX_MONTHDAYS + 384 + WORD + + 0 + 2 + + + 1 + 12 + + + + [0,1] + 31 + + + [0,2] + 28 + + + [0,3] + 31 + + + [0,4] + 30 + + + [0,5] + 31 + + + [0,6] + 30 + + + [0,7] + 31 + + + [0,8] + 31 + + + [0,9] + 30 + + + [0,10] + 31 + + + [0,11] + 30 + + + [0,12] + 31 + + + [1,1] + 31 + + + [1,2] + 29 + + + [1,3] + 31 + + + [1,4] + 30 + + + [1,5] + 31 + + + [1,6] + 30 + + + [1,7] + 31 + + + [1,8] + 31 + + + [1,9] + 30 + + + [1,10] + 31 + + + [1,11] + 30 + + + [1,12] + 31 + + + + + TcVarGlobal + + + 323699920 + + + Global_Variables.SYSTEMTIME_MAX_YEARSDAY + 448 + WORD + + 0 + 2 + + + 0 + 14 + + + + [0,0] + 0 + + + [0,1] + 31 + + + [0,2] + 59 + + + [0,3] + 90 + + + [0,4] + 120 + + + [0,5] + 151 + + + [0,6] + 181 + + + [0,7] + 212 + + + [0,8] + 243 + + + [0,9] + 273 + + + [0,10] + 304 + + + [0,11] + 334 + + + [0,12] + 365 + + + [0,13] + 396 + + + [1,0] + 0 + + + [1,1] + 31 + + + [1,2] + 60 + + + [1,3] + 91 + + + [1,4] + 121 + + + [1,5] + 152 + + + [1,6] + 182 + + + [1,7] + 213 + + + [1,8] + 244 + + + [1,9] + 274 + + + [1,10] + 305 + + + [1,11] + 335 + + + [1,12] + 366 + + + [1,13] + 397 + + + + + TcVarGlobal + + + 323700304 + + + Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET + Number of past days since year zero until 1 January 1601 + 32 + DWORD + + 584389 + + + + TcVarGlobal + + + 323700768 + + + Global_Variables.SYSTEMTIME_TICKSPERMSEC + Number of 100ns ticks per millisecond + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 10000 + + + + + TcVarGlobal + + + 323700800 + + + Global_Variables.SYSTEMTIME_TICKSPERSEC + Number of 100ns ticks per second + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 10000000 + + + + + TcVarGlobal + + + 323700864 + + + Global_Variables.SYSTEMTIME_TICKSPERDAY + Number of 100ns ticks per day + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 201 + + + .dwLowPart + 711573504 + + + + + TcVarGlobal + + + 323700928 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN + Min. DT value as file time DT#1970-01-01-00:00:00 + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 27111902 + + + .dwLowPart + 3577643008 + + + + + TcVarGlobal + + + 323700992 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX + Max. DT value as file time DT#2106-02-06-06:28:15 + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 37111701 + + + .dwLowPart + 2856069504 + + + + + TcVarGlobal + + + 323701056 + + + Global_Variables.SYSTEMTIME_TICKSPERMSEC64 + Number of 100ns ticks per millisecond + 64 + ULINT + + 10000 + + + + TcVarGlobal + + + 323701120 + + + Global_Variables.SYSTEMTIME_TICKSPERSEC64 + Number of 100ns ticks per second + 64 + ULINT + + 10000000 + + + + TcVarGlobal + + + 323701184 + + + Global_Variables.SYSTEMTIME_TICKSPERDAY64 + Number of 100ns ticks per day + 64 + ULINT + + 864000000000 + + + + TcVarGlobal + + + 323701248 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64 + Min. DT value as file time DT#1970-01-01-00:00:00 + 64 + ULINT + + 116444736000000000 + + + + TcVarGlobal + + + 323701312 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64 + Max. DT value as file time DT#2106-02-06-06:28:15 + 64 + ULINT + + 159393544950000000 + + + + TcVarGlobal + + + 323701376 + + + Global_Variables.WEST_EUROPE_TZI + 864 + ST_TimeZoneInformation + + + .bias + -60 + + + .standardName + W. Europe Standard Time + + + .standardDate.wYear + 0 + + + .standardDate.wMonth + 10 + + + .standardDate.wDayOfWeek + 0 + + + .standardDate.wDay + 5 + + + .standardDate.wHour + 3 + + + .standardBias + 0 + + + .daylightName + W. Europe Daylight Time + + + .daylightDate.wYear + 0 + + + .daylightDate.wMonth + 3 + + + .daylightDate.wDayOfWeek + 0 + + + .daylightDate.wDay + 5 + + + .daylightDate.wHour + 2 + + + .daylightBias + -60 + + + + + TcVarGlobal + + + 323701440 + + + Global_Variables.DATE_AND_TIME_SECPERDAY + Number of seconds per day + 32 + DWORD + + 86400 + + + + TcVarGlobal + + + 323706432 + + + Global_Variables.DATE_AND_TIME_SECPERWEEK + Number of seconds per week + 32 + DWORD + + 604800 + + + + TcVarGlobal + + + 323706464 + + + Global_Variables.DBG_OUTPUT_NONE + Disabled (no debug oputput) + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 323712672 + + + Global_Variables.DBG_OUTPUT_LOG + Enabled, TwinCAT System Manager Log + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 323712704 + + + Global_Variables.DBG_OUTPUT_FILE + Enabled, text file + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 323712736 + + + Global_Variables.DBG_OUTPUT_VISU + reserved + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 323712768 + + + Global_Variables.DEFAULT_CSV_RECORD_SEP_CR + CSV separator constant: cariage return => record separator (first character) + 8 + BYTE + + 13 + + + + TcVarGlobal + + + 323829936 + + + Global_Variables.DEFAULT_CSV_RECORD_SEP_LF + CSV separator constant: line feed => record separator (second character) + 8 + BYTE + + 10 + + + + TcVarGlobal + + + 323829944 + + + Global_Variables.EMPTY_GUID_STRUCT + 128 + GUID + + + .Data1 + 0 + + + .Data2 + 0 + + + .Data3 + 0 + + + .Data4[0] + 0 + + + .Data4[1] + 0 + + + .Data4[2] + 0 + + + .Data4[3] + 0 + + + .Data4[4] + 0 + + + .Data4[5] + 0 + + + .Data4[6] + 0 + + + .Data4[7] + 0 + + + + + TcVarGlobal + + + 323831680 + + + Global_Variables.EMPTY_GUID_STRING + 296 + STRING(36) + + 00000000-0000-0000-0000-000000000000 + + + + TcVarGlobal + + + 323831808 + + + Global_Variables.EMPTY_GUID_REGSTRING + 312 + STRING(38) + + {00000000-0000-0000-0000-000000000000} + + + + TcVarGlobal + + + 323832104 + + + DefaultGlobals.stSys + Included for you + 40 + ST_System + + + TcVarGlobal + + + 323832512 + + + GVL_Logger.bTrickleTripped + Global trickle trip flag + 8 + BOOL + + + pytmc + pv: @(PREFIX)LCLSGeneral:GlobalLogTrickleTrip io: i field: DESC Tripped by overall log count - TcVarGlobal323832552GeneralConstants.MAX_STATES + + + TcVarGlobal + + + 323832552 + + + GeneralConstants.MAX_STATES + 16 including "Unknown" is the max for an EPICS MBBI/MBBO This is the max number of user-defined states (OUT, TARGET1, YAG...) You can make this smaller if you want to use less memory in your program in exchange for limiting your max state count - You can make this larger if you want to use states-based FBs sized beyond the EPICS enum limit]]>16UINT15TcVarGlobal323832560DefaultGlobals.fTimeStamp64LREALTcVarGlobal323832576GVL_Logger.cLogHost + 16 + UINT + + 15 + + + + TcVarGlobal + + + 323832560 + + + DefaultGlobals.fTimeStamp + 64 + LREAL + + + TcVarGlobal + + + 323832576 + + + GVL_Logger.cLogHost + Using the IP address directly avoids DNS configuration issues. While we may want to address this in the future, for now the static IP will suffice: @@ -389,37 +29580,1060 @@ request loop (two arbiters elevating to each other), or there is a RequestAdd, R $ nslookup ctl-logsrv01 Name: ctl-logsrv01.pcdsn Address: 172.21.32.36 - ]]>128STRING(15)172.21.32.36pytmc + + 128 + STRING(15) + + 172.21.32.36 + + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogHost io: io field: DESC The log host IP address - TcVarGlobal323832640GVL_Logger.iLogPort16UINT54321pytmc + + + + TcVarGlobal + + + 323832640 + + + GVL_Logger.iLogPort + 16 + UINT + + 54321 + + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogPort io: io field: DESC The log host UDP port - TcVarGlobal323832768GVL_Logger.sIpTidbit56STRING(6)172.21TcVarGlobal323832784GVL_Logger.nMinTimeViolationAcceptable16INT5TcVarGlobal323832848GVL_Logger.nLocalTripThreshold32TIME1TcVarGlobal323832864GVL_Logger.nLocalTrickleTripThreshold32TIME100TcVarGlobal323832896GVL_Logger.nTrickleTripTime32TIME10000TcVarGlobal323832928GVL_Logger.nTripResetPeriod32TIME600000TcVarGlobal323832960GVL_Logger.sPlcHostname648STRING(80)unknownTcVarGlobal323832992Global_Constants.EMPTY_SEVERITY16TcEventSeverity0TcVarGlobal323833648GVL_Logger.TCPADS_MAXUDP_BUFFSIZE + + + TcVarGlobal + + + 323832768 + + + GVL_Logger.sIpTidbit + 56 + STRING(6) + + 172.21 + + + + TcVarGlobal + + + 323832784 + + + GVL_Logger.nMinTimeViolationAcceptable + Trip if `nLocalTripThreshold` exceeded `nMinTimeViolationAcceptable` times + 16 + INT + + 5 + + + + TcVarGlobal + + + 323832848 + + + GVL_Logger.nLocalTripThreshold + Minimum time between log messages + 32 + TIME + + 1 + + + + TcVarGlobal + + + 323832864 + + + GVL_Logger.nLocalTrickleTripThreshold + Default trickle trip, activated by global threshold + 32 + TIME + + 100 + + + + TcVarGlobal + + + 323832896 + + + GVL_Logger.nTrickleTripTime + Default time for log-handler to recognize a trickle overload condition, many log-message FB occasionally creating a message + 32 + TIME + + 10000 + + + + TcVarGlobal + + + 323832928 + + + GVL_Logger.nTripResetPeriod + Default time for CB auto-reset + 32 + TIME + + 600000 + + + + TcVarGlobal + + + 323832960 + + + GVL_Logger.sPlcHostname + 648 + STRING(80) + + unknown + + + + TcVarGlobal + + + 323832992 + + + Global_Constants.EMPTY_SEVERITY + 16 + TcEventSeverity + + 0 + + + + TcVarGlobal + + + 323833648 + + + GVL_Logger.TCPADS_MAXUDP_BUFFSIZE + Ref: https://infosys.beckhoff.com/english.php?content=../content/1033/tcpipserver/html/TcPlcLibTcpIp_FB_SocketUdpSendTo.htm TODO: Activate the "Replace constants" option in the - TwinCAT PLC Control->"Project->Options...->Build" dialog window. - ]]>32UDINT10000analysis-33TcVarGlobal323833664GVL_Logger.nGlobAccEvents32UDINTpytmc + TwinCAT PLC Control->"Project->Options...->Build" dialog window. + + 32 + UDINT + + 10000 + + + + analysis + -33 + + + TcVarGlobal + + + 323833664 + + + GVL_Logger.nGlobAccEvents + Global log message count + 32 + UDINT + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogMessageCount io: i field: DESC Total log messages on the last cycle - TcVarGlobal323833696GVL_Logger.fbRootLogger81984FB_LogMessageTcVarGlobal323833728Global_Version.stLibVersion_Tc2_EtherCAT288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.nFlags1.sVersion3.3.21.0const_non_replacedTcVarGlobal323915712Global_Version.stLibVersion_Tc2_IoFunctions288ST_LibVersion.iMajor3.iMinor3.iBuild13.iRevision0.nFlags0.sVersion3.3.13.0const_non_replacedTcVarGlobal323916000Global_Version.stLibVersion_Tc2_ModbusSrv288ST_LibVersion.iMajor3.iMinor3.iBuild2.iRevision0.sVersion3.3.2.0const_non_replacedTcVarGlobal323916288Global_Version.stLibVersion_Tc2_SerialCom288ST_LibVersion.iMajor3.iMinor3.iBuild10.iRevision0.nFlags0.sVersion3.3.10.0const_non_replacedTcVarGlobal323916576Global_Constants.EMPTY_EVENT_CLASS128GUID.Data10.Data20.Data30.Data4[0]0.Data4[1]0.Data4[2]0.Data4[3]0.Data4[4]0.Data4[5]0.Data4[6]0.Data4[7]0TcVarGlobal323916864Global_Constants.EMPTY_EVENT_ID32UDINT0TcVarGlobal323916992Global_Constants.SUCCESS_EVENT192TcEventEntry.uuidEventClass.Data10.uuidEventClass.Data20.uuidEventClass.Data30.uuidEventClass.Data4[0]0.uuidEventClass.Data4[1]0.uuidEventClass.Data4[2]0.uuidEventClass.Data4[3]0.uuidEventClass.Data4[4]0.uuidEventClass.Data4[5]0.uuidEventClass.Data4[6]0.uuidEventClass.Data4[7]0.nEventID0.eSeverity0TcVarGlobal323917024GVL.nLangId_OnlineMonitoring32DINT1033TcVarGlobal323917216ParameterList.cSourceNameSize32UDINT256LowerBorder81UpperBorder10000TcVarGlobal323917248Global_Version.stLibVersion_Tc3_EventLogger288ST_LibVersion.iMajor3.iMinor1.iBuild33.iRevision0.nFlags1.sVersion3.1.33.0const_non_replacedTcVarGlobal323917280GVL_INTERNAL.UNINITIALIZED_CLASS_GUID128GUID.Data13886330336.Data262671.Data318227.Data4[0]149.Data4[1]213.Data4[2]115.Data4[3]223.Data4[4]8.Data4[5]75.Data4[6]96.Data4[7]248TcVarGlobal323917568.TCPADS_MAXUDP_BUFFSIZE32UDINT8192TcVarGlobal323917696Global_Version.stLibVersion_Tc3_JsonXml288ST_LibVersion.iMajor3.iMinor3.iBuild18.iRevision0.nFlags1.sVersion3.3.18.0const_non_replacedTcVarGlobal323917728Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild48.iRevision0.nFlags1.sVersion3.3.48.0const_non_replacedTcVarGlobal323918016Global_Variables.TcMcGlobal6976_TCMCGLOBALTcVarGlobal323918304Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal323925312Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal323925376Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal323925440MAIN.fbSetPERanges32PE_Ranges323976608MAIN.fbDiffBPTest33551744FB_DiffBP_Test323976640MAIN.fbBPTMTest38612160FB_BPTM_Test357528384MAIN.fbSafeBPCompareTest33551744FB_SafeBPCompare_Test396140544MAIN.fbFFTest35220288FB_FastFault_Test429692288MAIN.fbArbiterTest38020224FB_Arbiter_Test464912576MAIN.fbVetoArbiterTest35025408FB_VetoArbiter_Test502932800MAIN.fbevRangeCalcTest33551808FB_evRangeCalculator_Test537958208MAIN.fbSubSysToArbTest35804096FB_SubsysToArb_Test571510016MAIN.fbArbToSubSysTest34558784FB_ArbToSubsys_Test607314112PMPS_GVL.AUX_ATTENUATORS16UINT16TcVarGlobal641872912PMPS_GVL.stRequestedBeamParameters1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 323833696 + + + GVL_Logger.fbRootLogger + Instantiated here to be used everywhere + 81984 + FB_LogMessage + + + TcVarGlobal + + + 323833728 + + + Global_Version.stLibVersion_Tc2_EtherCAT + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 21 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.21.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323915712 + + + Global_Version.stLibVersion_Tc2_IoFunctions + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 13 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.13.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323916000 + + + Global_Version.stLibVersion_Tc2_ModbusSrv + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 2 + + + .iRevision + 0 + + + .sVersion + 3.3.2.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323916288 + + + Global_Version.stLibVersion_Tc2_SerialCom + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 10 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.10.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323916576 + + + Global_Constants.EMPTY_EVENT_CLASS + 128 + GUID + + + .Data1 + 0 + + + .Data2 + 0 + + + .Data3 + 0 + + + .Data4[0] + 0 + + + .Data4[1] + 0 + + + .Data4[2] + 0 + + + .Data4[3] + 0 + + + .Data4[4] + 0 + + + .Data4[5] + 0 + + + .Data4[6] + 0 + + + .Data4[7] + 0 + + + + + TcVarGlobal + + + 323916864 + + + Global_Constants.EMPTY_EVENT_ID + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 323916992 + + + Global_Constants.SUCCESS_EVENT + 192 + TcEventEntry + + + .uuidEventClass.Data1 + 0 + + + .uuidEventClass.Data2 + 0 + + + .uuidEventClass.Data3 + 0 + + + .uuidEventClass.Data4[0] + 0 + + + .uuidEventClass.Data4[1] + 0 + + + .uuidEventClass.Data4[2] + 0 + + + .uuidEventClass.Data4[3] + 0 + + + .uuidEventClass.Data4[4] + 0 + + + .uuidEventClass.Data4[5] + 0 + + + .uuidEventClass.Data4[6] + 0 + + + .uuidEventClass.Data4[7] + 0 + + + .nEventID + 0 + + + .eSeverity + 0 + + + + + TcVarGlobal + + + 323917024 + + + GVL.nLangId_OnlineMonitoring + language id for online monitoring; English(US)=1033 ; German(Germany)=1031 + 32 + DINT + + 1033 + + + + TcVarGlobal + + + 323917216 + + + ParameterList.cSourceNameSize + size [bytes] for source names (recommended is a size between 128 and 512) + 32 + UDINT + + 256 + + + + LowerBorder + 81 + + + UpperBorder + 10000 + + + TcVarGlobal + + + 323917248 + + + Global_Version.stLibVersion_Tc3_EventLogger + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 1 + + + .iBuild + 33 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.1.33.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323917280 + + + GVL_INTERNAL.UNINITIALIZED_CLASS_GUID + {E7A4B1E0-F4CF-4733-95D5-73DF084B60F8} + 128 + GUID + + + .Data1 + 3886330336 + + + .Data2 + 62671 + + + .Data3 + 18227 + + + .Data4[0] + 149 + + + .Data4[1] + 213 + + + .Data4[2] + 115 + + + .Data4[3] + 223 + + + .Data4[4] + 8 + + + .Data4[5] + 75 + + + .Data4[6] + 96 + + + .Data4[7] + 248 + + + + + TcVarGlobal + + + 323917568 + + + .TCPADS_MAXUDP_BUFFSIZE + 32 + UDINT + + 8192 + + + + TcVarGlobal + + + 323917696 + + + Global_Version.stLibVersion_Tc3_JsonXml + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 18 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.18.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323917728 + + + Global_Version.stLibVersion_Tc2_MC2 + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 48 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.48.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323918016 + + + Global_Variables.TcMcGlobal + 6976 + _TCMCGLOBAL + + + TcVarGlobal + + + 323918304 + + + Global_Variables.DEFAULT_HOME_POSITION + 64 + LREAL + + 1E+307 + + + + TcVarGlobal + + + 323925312 + + + Global_Variables.DEFAULT_BACKLASHVALUE + 64 + LREAL + + 1E+307 + + + + TcVarGlobal + + + 323925376 + + + Global_Version.stLibVersion_Tc2_Math + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 1 + + + .iRevision + 0 + + + .sVersion + 3.3.1.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 323925440 + + + MAIN.fbSetPERanges + 32 + PE_Ranges + 323976608 + + + MAIN.fbDiffBPTest + 33551744 + FB_DiffBP_Test + 323976640 + + + MAIN.fbBPTMTest + 38612160 + FB_BPTM_Test + 357528384 + + + MAIN.fbSafeBPCompareTest + 33551744 + FB_SafeBPCompare_Test + 396140544 + + + MAIN.fbFFTest + /fbevWithinSpecTest : FB_evWithinSpec_Test;--- +/fbPEWTest : FB_PhotonEnergyWatcher_Test;--- + 35220288 + FB_FastFault_Test + 429692288 + + + MAIN.fbArbiterTest + 38020224 + FB_Arbiter_Test + 464912576 + + + MAIN.fbVetoArbiterTest + 35025408 + FB_VetoArbiter_Test + 502932800 + + + MAIN.fbevRangeCalcTest + 33551808 + FB_evRangeCalculator_Test + 537958208 + + + MAIN.fbSubSysToArbTest + 35804096 + FB_SubsysToArb_Test + 571510016 + + + MAIN.fbArbToSubSysTest + 34558784 + FB_ArbToSubsys_Test + 607314112 + + + PMPS_GVL.AUX_ATTENUATORS + Maximum # of attenuators in the PMPS + 16 + UINT + + 16 + + + + TcVarGlobal + + + 641872912 + + + PMPS_GVL.stRequestedBeamParameters + Summarized request for the line, as recognized by the line arbiter PLC + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)RequestedBP io: i archive: 1Hz monitor - TcVarGlobal641873440PMPS_GVL.stCurrentBeamParameters1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 641873440 + + + PMPS_GVL.stCurrentBeamParameters + Currently active BP set, broadcast by the line arbiter PLC + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)CurrentBP io: i archive: 1Hz monitor - TcVarGlobal641875200PMPS_GVL.g_areVBoundaries1024REAL032pytmc + + + + TcVarGlobal + + + 641875200 + + + PMPS_GVL.g_areVBoundaries + 1024 + REAL + + 0 + 32 + + + + pytmc + pv: @(PREFIX)eVRangeCnst io: i archive: 1Hz monitor field: DESC Active eV Range constants field: EGU eV - TcVarGlobal641876960PMPS_GVL.PERange32PE_RangesTcVarGlobal641877984PMPS_GVL.EXCLUDED_ASSERTION_ID32UDINT4294967295TcVarGlobal641878016PMPS_GVL.MAX_DEVICE_STATES32UDINT300TcVarGlobal641878048PMPS_GVL.VISIBLE_TEST_VELOCITY64LREAL10TcVarGlobal641878080PMPS_GVL.FAST_TEST_VELOCITY64LREAL100TcVarGlobal641878144PMPS_GVL.TRANS_SCALING_FACTOR32REAL1TcVarGlobal641878208PMPS_GVL.MAX_VETO_DEVICES16UINT16TcVarGlobal641878240PMPS_GVL.cnMaxStateArrayLen + + + TcVarGlobal + + + 641876960 + + + PMPS_GVL.PERange + Included to place the ev ranges properly + 32 + PE_Ranges + + + TcVarGlobal + + + 641877984 + + + PMPS_GVL.EXCLUDED_ASSERTION_ID + An assertion ID that should always return "not found" in the assertion pool + 32 + UDINT + + 4294967295 + + + + TcVarGlobal + + + 641878016 + + + PMPS_GVL.MAX_DEVICE_STATES + 32 + UDINT + + 300 + + + + TcVarGlobal + + + 641878048 + + + PMPS_GVL.VISIBLE_TEST_VELOCITY + 64 + LREAL + + 10 + + + + TcVarGlobal + + + 641878080 + + + PMPS_GVL.FAST_TEST_VELOCITY + 64 + LREAL + + 100 + + + + TcVarGlobal + + + 641878144 + + + PMPS_GVL.TRANS_SCALING_FACTOR + Scaling factor for fixed-point transmission + 32 + REAL + + 1 + + + + TcVarGlobal + + + 641878208 + + + PMPS_GVL.MAX_VETO_DEVICES + 16 + UINT + + 16 + + + + TcVarGlobal + + + 641878240 + + + PMPS_GVL.cnMaxStateArrayLen + {attribute 'pytmc' := ' pv: @(PREFIX)SafeBeamCnst io: i archive: 1Hz monitor @@ -429,40 +30643,868 @@ request loop (two arbiters elevating to each other), or there is a RequestAdd, R nTran := 0, neVRange := 0, nRate := 0 - );]]>16INT20TcVarGlobal641878256PMPS_GVL.stAttenuators64ST_PMPS_Attenuator.nTran1.xAttOK1TcVarGlobal641878272PMPS_GVL.cstFullBeam1760ST_BeamParamspytmc + ); + 16 + INT + + 20 + + + + TcVarGlobal + + + 641878256 + + + PMPS_GVL.stAttenuators + 64 + ST_PMPS_Attenuator + + + .nTran + 1 + + + .xAttOK + 1 + + + + + TcVarGlobal + + + 641878272 + + + PMPS_GVL.cstFullBeam + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)FullBeamCnst io: i archive: 1Hz monitor field: DESC Full beam constant - TcVarGlobal641878336PMPS_GVL.cst0RateBeam1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 641878336 + + + PMPS_GVL.cst0RateBeam + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)0RateBeamCnst io: i archive: 1Hz monitor field: DESC 0-rate beam constant - TcVarGlobal641880096PMPS_GVL.MAX_APERTURES16UINT4TcVarGlobal641881856PMPS_GVL.g_cBoundaries16INT31TcVarGlobal641881872PMPS_GVL.DUMMY_AUX_ATT_ARRAY1024ST_PMPS_Attenuator116suppress_warning_0C0228TcVarGlobal641881888PMPS_GVL.reVHyst + + + TcVarGlobal + + + 641880096 + + + PMPS_GVL.MAX_APERTURES + Maximum # of power slits in the PMPS + 16 + UINT + + 4 + + + + TcVarGlobal + + + 641881856 + + + PMPS_GVL.g_cBoundaries + 16 + INT + + 31 + + + + TcVarGlobal + + + 641881872 + + + PMPS_GVL.DUMMY_AUX_ATT_ARRAY + 1024 + ST_PMPS_Attenuator + + 1 + 16 + + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 641881888 + + + PMPS_GVL.reVHyst + /////////////////////// /////////////////////// -////////////////////////////////////]]>32REAL5pytmc +//////////////////////////////////// + 32 + REAL + + 5 + + + + pytmc + pv: @(PREFIX)eVRangeHyst io: i archive: 1Hz monitor field: DESC eV Range hystersis field: EGU eV - TcVarGlobal641882912PMPS_GVL.g_areVBoundariesL1024REAL032[0]1000[1]1700[2]2100[3]2500[4]3800[5]4000[6]5000[7]7000[8]7500[9]7700[10]8900[11]10000[12]11100[13]12000[14]13000[15]13500[16]14000[17]16900[18]18000[19]20000[20]22000[21]24000[22]25000[23]25500[24]26000[25]27000[26]28000[27]28500[28]29000[29]30000[30]60000[31]90000pytmc + + + + TcVarGlobal + + + 641882912 + + + PMPS_GVL.g_areVBoundariesL + 1024 + REAL + + 0 + 32 + + + + [0] + 1000 + + + [1] + 1700 + + + [2] + 2100 + + + [3] + 2500 + + + [4] + 3800 + + + [5] + 4000 + + + [6] + 5000 + + + [7] + 7000 + + + [8] + 7500 + + + [9] + 7700 + + + [10] + 8900 + + + [11] + 10000 + + + [12] + 11100 + + + [13] + 12000 + + + [14] + 13000 + + + [15] + 13500 + + + [16] + 14000 + + + [17] + 16900 + + + [18] + 18000 + + + [19] + 20000 + + + [20] + 22000 + + + [21] + 24000 + + + [22] + 25000 + + + [23] + 25500 + + + [24] + 26000 + + + [25] + 27000 + + + [26] + 28000 + + + [27] + 28500 + + + [28] + 29000 + + + [29] + 30000 + + + [30] + 60000 + + + [31] + 90000 + + + + + pytmc + pv: @(PREFIX)L:eVRangeCnst io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - TcVarGlobal641882944PMPS_GVL.g_areVBoundariesK1024REAL032[0]100[1]250[2]270[3]350[4]400[5]450[6]480[7]530[8]680[9]730[10]850[11]1100[12]1150[13]1250[14]1450[15]1500[16]1550[17]1650[18]1700[19]1750[20]1820[21]1850[22]2000[23]2200[24]2500[25]2800[26]3000[27]3150[28]3500[29]4000[30]5300[31]7000pytmc + + + + TcVarGlobal + + + 641882944 + + + PMPS_GVL.g_areVBoundariesK + 1024 + REAL + + 0 + 32 + + + + [0] + 100 + + + [1] + 250 + + + [2] + 270 + + + [3] + 350 + + + [4] + 400 + + + [5] + 450 + + + [6] + 480 + + + [7] + 530 + + + [8] + 680 + + + [9] + 730 + + + [10] + 850 + + + [11] + 1100 + + + [12] + 1150 + + + [13] + 1250 + + + [14] + 1450 + + + [15] + 1500 + + + [16] + 1550 + + + [17] + 1650 + + + [18] + 1700 + + + [19] + 1750 + + + [20] + 1820 + + + [21] + 1850 + + + [22] + 2000 + + + [23] + 2200 + + + [24] + 2500 + + + [25] + 2800 + + + [26] + 3000 + + + [27] + 3150 + + + [28] + 3500 + + + [29] + 4000 + + + [30] + 5300 + + + [31] + 7000 + + + + + pytmc + pv: @(PREFIX)K:eVRangeCnst io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - TcVarGlobal641883968PMPS_PARAM.MAX_FAST_FAULTS16UINT50TcVarGlobal641884992Constants.bLittleEndian8BOOL1TcVarGlobal641885008Constants.bSimulationMode8BOOL0TcVarGlobal641885016PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal641885024PMPS_PARAM.TRANS_MARGIN32REAL0.05TcVarGlobal641885056PMPS_TOOLS.fbJson256FB_JsonSaxWriterTcVarGlobal641885088Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal641885344Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal641885408Constants.nRegisterSize16WORD32TcVarGlobal641885472Constants.nPackMode16UINT8TcVarGlobal641885488Constants.bFPUSupport8BOOL1TcVarGlobal641885504Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal641885536Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal641885568TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal641885600TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal641887648TwinCAT_SystemInfoVarList._TaskInfo1024PlcTaskSystemInfo11no_initTcVarGlobal641887680TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal641888704TwinCAT_SystemInfoVarList.__PlcTask704_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal641888736TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal6419360324PlcTask Retains080805888PMPS_GVL.SuccessfulPreemption32UDINTpytmc + + + + TcVarGlobal + + + 641883968 + + + PMPS_PARAM.MAX_FAST_FAULTS + Max fast faults for an FFO + 16 + UINT + + 50 + + + + TcVarGlobal + + + 641884992 + + + Constants.bLittleEndian + Does the target support an FPU + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 641885008 + + + Constants.bSimulationMode + Does the target support an FPU + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 641885016 + + + PMPS_PARAM.MAX_ASSERTIONS + Maximum number of BP requests in the arbiter + 32 + UDINT + + 20 + + + + TcVarGlobal + + + 641885024 + + + PMPS_PARAM.TRANS_MARGIN + Allowed % margin above requested transmission level in SafeBPCompare (0.0500 = 5deci% default). Note: change this value if scaling factor changes. + 32 + REAL + + 0.05 + + + + TcVarGlobal + + + 641885056 + + + PMPS_TOOLS.fbJson + 256 + FB_JsonSaxWriter + + + TcVarGlobal + + + 641885088 + + + Constants.RuntimeVersion + Does the target support an FPU + 64 + VERSION + + + .uiMajor + 3 + + + .uiMinor + 5 + + + .uiServicePack + 6 + + + .uiPatch + 0 + + + + + TcVarGlobal + + + 641885344 + + + Constants.CompilerVersion + Does the target support an FPU + 64 + VERSION + + + .uiMajor + 3 + + + .uiMinor + 5 + + + .uiServicePack + 10 + + + .uiPatch + 100 + + + + + TcVarGlobal + + + 641885408 + + + Constants.nRegisterSize + Does the target support an FPU + 16 + WORD + + 32 + + + + TcVarGlobal + + + 641885472 + + + Constants.nPackMode + Does the target support an FPU + 16 + UINT + + 8 + + + + TcVarGlobal + + + 641885488 + + + Constants.bFPUSupport + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 641885504 + + + Constants.RuntimeVersionNumeric + 32 + DWORD + + 50660864 + + + + TcVarGlobal + + + 641885536 + + + Constants.CompilerVersionNumeric + 32 + DWORD + + 50661988 + + + + TcVarGlobal + + + 641885568 + + + TwinCAT_SystemInfoVarList._AppInfo + 2048 + PlcAppSystemInfo + + + no_init + + + TcVarGlobal + + + 641885600 + + + TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 641887648 + + + TwinCAT_SystemInfoVarList._TaskInfo + 1024 + PlcTaskSystemInfo + + 1 + 1 + + + + no_init + + + TcVarGlobal + + + 641887680 + + + TwinCAT_SystemInfoVarList._TaskOid_PlcTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 641888704 + + + TwinCAT_SystemInfoVarList.__PlcTask + 704 + _Implicit_Task_Info + + + .dwVersion + 2 + + + + + TcContextName + PlcTask + + + TcVarGlobal + + + 641888736 + + + TC_EVENTS.LCLSGeneralEventClass + ST_LCLSGeneralEventClass + 960 + ST_LCLSGeneralEventClass + + + tc_no_symbol + unused + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 641936032 + + + + 4 + PlcTask Retains + 0 + 80805888 + + PMPS_GVL.SuccessfulPreemption + Any time BPTM applies a new BP request which is confirmed + 32 + UDINT + + + pytmc + pv: @(PREFIX)SuccessfulPreemptions io: i - TcVarGlobal3072000PMPS_GVL.AccumulatedFF32UDINTpytmc + + + + TcVarGlobal + + + 3072000 + + + PMPS_GVL.AccumulatedFF + Any time a FF occurs + 32 + UDINT + + + pytmc + pv: @(PREFIX)AccumulatedFastFaults io: i - TcVarGlobal3072032PMPS_GVL.BP_jsonDoc32SJsonValueTcVarGlobal3072064LCLSGeneralEventClassApplicationNamePort_851ChangeDate2025-02-21T10:58:03GeneratedCodeSize512000GlobalDataSize79794176 \ No newline at end of file + + + + TcVarGlobal + + + 3072032 + + + PMPS_GVL.BP_jsonDoc + 32 + SJsonValue + + + TcVarGlobal + + + 3072064 + + + + + + + LCLSGeneralEventClass + + + + + ApplicationName + Port_851 + + + ChangeDate + 2025-02-21T10:58:03 + + + GeneratedCodeSize + 512000 + + + GlobalDataSize + 79794176 + + + + + From aa8057135a76a676d47d1d2108e2ef9dd7aebfce Mon Sep 17 00:00:00 2001 From: ghalym Date: Fri, 21 Feb 2025 16:00:33 -0800 Subject: [PATCH 3/3] DEV: And now there is yet another additional cell --- .../PhotonEnergyInterface/FB_SXU.TcPOU | 5 ++- lcls-twincat-pmps/PMPS/PMPS.tmc | 38 +++++++++---------- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU b/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU index e3bc665..fa241bf 100644 --- a/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU +++ b/lcls-twincat-pmps/PMPS/MajorComponents/PhotonEnergyInterface/FB_SXU.TcPOU @@ -42,6 +42,9 @@ END_VAR VAR // From lcls-srv01: grep -e KDes /u1/lcls/epics/ioc/data/sioc-unds-uc*/iocInfo/IOC.pvlist |sort + {attribute 'pytmc' := 'pv: 22; link: 2250:'} + fbSegment_22 : FB_UndulatorSegment; + {attribute 'pytmc' := 'pv: 23; link: 2350:'} fbSegment_23 : FB_UndulatorSegment; @@ -129,7 +132,7 @@ VAR CONSTANT {attribute 'pytmc' := ' pv: FirstSegment io: i'} - iLowBound : UDINT := 23; + iLowBound : UDINT := 22; {attribute 'pytmc' := ' pv: LastSegment io: i'} diff --git a/lcls-twincat-pmps/PMPS/PMPS.tmc b/lcls-twincat-pmps/PMPS/PMPS.tmc index 22c3d84..f64fd9d 100644 --- a/lcls-twincat-pmps/PMPS/PMPS.tmc +++ b/lcls-twincat-pmps/PMPS/PMPS.tmc @@ -1,5 +1,5 @@ - + T_MaxString @@ -8831,31 +8831,31 @@ bBusy BOOL 8 - 80255500 + 80255332 bError BOOL 8 - 80255536 + 80255368 hrErrorCode HRESULT 32 - 80255544 + 80255376 nStringSize UDINT 32 - 80255524 + 80255356 sResult STRING(255) 2048 - 80255540 + 80255372 __getbBusy @@ -10094,15 +10094,15 @@ nId UDINT 32 - 80255440 - 80255464 + 80255272 + 80255296 sName STRING(255) 2048 - 80255480 - 80255492 + 80255312 + 80255324 ExtendName @@ -10348,37 +10348,37 @@ eSeverity TcEventSeverity 16 - 80255592 + 80255424 ipSourceInfo I_TcSourceInfo 32 - 80255572 + 80255404 nEventId UDINT 32 - 80255660 + 80255492 nUniqueId UDINT 32 - 80255664 + 80255496 sEventClassName STRING(255) 2048 - 80255620 + 80255452 sEventText STRING(255) 2048 - 80255668 + 80255500 EqualsToEventClass @@ -10977,7 +10977,7 @@ nTimeSent ULINT 64 - 80255692 + 80255524 SetJsonAttribute @@ -30466,7 +30466,7 @@ request loop (two arbiters elevating to each other), or there is a RequestAdd, R TcVarGlobal - 641872912 + 641873424 PMPS_GVL.stRequestedBeamParameters @@ -31494,7 +31494,7 @@ request loop (two arbiters elevating to each other), or there is a RequestAdd, R ChangeDate - 2025-02-21T10:58:03 + 2025-02-21T15:58:47 GeneratedCodeSize