diff --git a/plc-tmo-motion/_Config/IO/Device 1 (EtherCAT)/Power (EK1200)/PLC Junction 2 (EK1122)/PLC Coupler 2 (EK1100)/PLC Junction 9 (EK1122)/SP1K4 Top Rail (EK1100).xti b/plc-tmo-motion/_Config/IO/Device 1 (EtherCAT)/Power (EK1200)/PLC Junction 2 (EK1122)/PLC Coupler 2 (EK1100)/PLC Junction 9 (EK1122)/SP1K4 Top Rail (EK1100).xti index 4b04e31..d53835b 100644 --- a/plc-tmo-motion/_Config/IO/Device 1 (EtherCAT)/Power (EK1200)/PLC Junction 2 (EK1122)/PLC Coupler 2 (EK1100)/PLC Junction 9 (EK1122)/SP1K4 Top Rail (EK1100).xti +++ b/plc-tmo-motion/_Config/IO/Device 1 (EtherCAT)/Power (EK1200)/PLC Junction 2 (EK1122)/PLC Coupler 2 (EK1100)/PLC Junction 9 (EK1122)/SP1K4 Top Rail (EK1100).xti @@ -46,7 +46,7 @@ - + diff --git a/plc-tmo-motion/_Config/IO/Device 1 (EtherCAT)/Power (EK1200)/PLC Junction 2 (EK1122)/PLC Coupler 2 (EK1100)/PLC Junction 9 (EK1122)/SP1K4 Top Rail (EK1100)/SP1K4- EL3202-E9A.xti b/plc-tmo-motion/_Config/IO/Device 1 (EtherCAT)/Power (EK1200)/PLC Junction 2 (EK1122)/PLC Coupler 2 (EK1100)/PLC Junction 9 (EK1122)/SP1K4 Top Rail (EK1100)/SP1K4-EL3202-E9A.xti similarity index 100% rename from plc-tmo-motion/_Config/IO/Device 1 (EtherCAT)/Power (EK1200)/PLC Junction 2 (EK1122)/PLC Coupler 2 (EK1100)/PLC Junction 9 (EK1122)/SP1K4 Top Rail (EK1100)/SP1K4- EL3202-E9A.xti rename to plc-tmo-motion/_Config/IO/Device 1 (EtherCAT)/Power (EK1200)/PLC Junction 2 (EK1122)/PLC Coupler 2 (EK1100)/PLC Junction 9 (EK1122)/SP1K4 Top Rail (EK1100)/SP1K4-EL3202-E9A.xti diff --git a/plc-tmo-motion/_Config/PLC/tmo_motion.xti b/plc-tmo-motion/_Config/PLC/tmo_motion.xti index 670fe34..26398a7 100644 --- a/plc-tmo-motion/_Config/PLC/tmo_motion.xti +++ b/plc-tmo-motion/_Config/PLC/tmo_motion.xti @@ -12765,6 +12765,16 @@ External Setpoint Generation: + + + + + + + + + + diff --git a/plc-tmo-motion/tmo_motion/POUs/PRG_SP1K4.TcPOU b/plc-tmo-motion/tmo_motion/POUs/PRG_SP1K4.TcPOU index 9de016c..d09154d 100644 --- a/plc-tmo-motion/tmo_motion/POUs/PRG_SP1K4.TcPOU +++ b/plc-tmo-motion/tmo_motion/POUs/PRG_SP1K4.TcPOU @@ -1,7 +1,7 @@  - diff --git a/plc-tmo-motion/tmo_motion/tmo_motion.tmc b/plc-tmo-motion/tmo_motion/tmo_motion.tmc index f0ade15..4b6b859 100644 --- a/plc-tmo-motion/tmo_motion/tmo_motion.tmc +++ b/plc-tmo-motion/tmo_motion/tmo_motion.tmc @@ -1,5 +1,5 @@ - + ST_System @@ -1436,9 +1436,6 @@ - - Clear - ExtendName BOOL @@ -1495,19 +1492,7 @@ - __getguid - GUID - 128 - - guid - GUID - 128 - - - - property - - + Clear __setnId @@ -1555,6 +1540,21 @@ 32 + + __getguid + GUID + 128 + + guid + GUID + 128 + + + + property + + + __getsName STRING(255) @@ -1773,7 +1773,7 @@ 32 - UpdateLangId + OnArgumentsChanged __getipSourceInfo @@ -1973,9 +1973,6 @@ - - OnArgumentsChanged - __getsEventClassName STRING(255) @@ -2138,6 +2135,9 @@ + + UpdateLangId + EqualsToEventEntryEx BOOL @@ -4065,6 +4065,69 @@ + + 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_TypeFieldParam 16 @@ -4546,69 +4609,6 @@ - - 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 - - - FB_Test @@ -4639,6 +4639,9 @@ BOOL 8 + + SetFailed + SetName @@ -4647,9 +4650,6 @@ 2048 - - SetFailed - IsFailed BOOL @@ -4933,12 +4933,91 @@ 8224288 - CopyDetectionCountAndResetDetectionCountInThisCycle + AddAssertResult + + Expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + hasanytype + + + + + GetDetectionCountThisCycle + UINT + 16 + + Expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + IteratorCounter UINT 16 + + + hasanytype + + IncreaseDetectionCountThisCycleByOne @@ -5031,7 +5110,7 @@ - GetDetectionCountThisCycle + GetDetectionCount UINT 16 @@ -5078,54 +5157,7 @@ - GetDetectionCount - UINT - 16 - - Expected - AnyType - 96 - - - anytypeclass - ANY - - - - - Actual - AnyType - 96 - - - anytypeclass - ANY - - - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - - hasanytype - - - - - ReportResult + ReportResult Expected AnyType @@ -5221,44 +5253,12 @@ - AddAssertResult - - Expected - AnyType - 96 - - - anytypeclass - ANY - - - - - Actual - AnyType - 96 - - - anytypeclass - ANY - - - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - - hasanytype - - + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + @@ -5569,37 +5569,7 @@ 4240224 - IncreaseDetectionCountThisCycleByOne - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - + CopyDetectionCountAndResetDetectionCountInThisCycle IteratorCounter UINT @@ -5607,7 +5577,7 @@ - CreateAssertResultInstance + IncreaseDetectionCountThisCycleByOne ExpectedsSize UDINT @@ -5645,9 +5615,7 @@ - GetDetectionCountThisCycle - UINT - 16 + CreateAssertResultInstance ExpectedsSize UDINT @@ -5814,7 +5782,39 @@ - CopyDetectionCountAndResetDetectionCountInThisCycle + 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 @@ -6157,6 +6157,105 @@ 32 12687680 + + 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 + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + __Index__0 + DINT + 32 + + AssertArrayEquals_REAL @@ -6256,6 +6355,11 @@ DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_BOOL @@ -6391,20 +6495,25 @@ DINT 32 + + __Index__0 + DINT + 32 + - AssertEquals_STRING + AssertEquals_UINT Expected - STRING expected value - T_MaxString - 2048 + UINT expected value + UINT + 16 Actual - STRING actual value - T_MaxString - 2048 + UINT actual value + UINT + 16 Message @@ -6547,116 +6656,17 @@ DINT 32 + + __Index__0 + DINT + 32 + GetNumberOfSuccessfulTests UINT 16 - - 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 - STRING(80) - 648 - - - ActualString - STRING(80) - 648 - - - 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 - - SetTestFailed @@ -6789,20 +6799,10 @@ DINT 32 - - - IsTestFinished - BOOL - 8 - - TestName - T_MaxString - 2048 - - IteratorCounter - UINT - 16 + __Index__0 + DINT + 32 @@ -7177,11 +7177,26 @@ - AssertArrayEquals_DINT + AreAllTestsFinished + BOOL + 8 + + Counter + UINT + 16 + + + GetCurTaskIndex + GETCURTASKINDEX + 128 + + + + AssertArrayEquals_BYTE Expecteds - DINT array with expected values - DINT + BYTE array with expected values + BYTE 32 @@ -7195,8 +7210,8 @@ Actuals - DINT array with actual values - DINT + BYTE array with actual values + BYTE 32 @@ -7259,6 +7274,16 @@ DINT 32 + + ExpectedByteString + STRING(80) + 648 + + + ActualByteString + STRING(80) + 648 + ExpectedsIndex DINT @@ -7269,43 +7294,12 @@ DINT 32 - - - 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 + __Index__0 + DINT + 32 - - GetNumberOfTests - UINT - 16 - AssertEquals_LREAL @@ -7344,11 +7338,11 @@ - AssertArray2dEquals_REAL + AssertArray3dEquals_REAL Expecteds - REAL 2d array with expected values - REAL + REAL 3d array with expected values + REAL 32 @@ -7356,14 +7350,14 @@ Dimensions - 2 + 3 Actuals - REAL 2d array with actual values - REAL + REAL 3d array with actual values + REAL 32 @@ -7371,7 +7365,7 @@ Dimensions - 2 + 3 @@ -7429,9 +7423,9 @@ DINT 1 - 2 + 3 - 64 + 96 UpperBoundExpecteds @@ -7439,9 +7433,9 @@ DINT 1 - 2 + 3 - 64 + 96 LowerBoundActuals @@ -7449,9 +7443,9 @@ DINT 1 - 2 + 3 - 64 + 96 UpperBoundActuals @@ -7459,9 +7453,9 @@ DINT 1 - 2 + 3 - 64 + 96 SizeOfExpecteds @@ -7469,9 +7463,9 @@ DINT 1 - 2 + 3 - 64 + 96 SizeOfActuals @@ -7479,9 +7473,9 @@ DINT 1 - 2 + 3 - 64 + 96 Offset @@ -7489,9 +7483,9 @@ DINT 1 - 2 + 3 - 64 + 96 ExpectedArrayIndex @@ -7499,9 +7493,9 @@ DINT 1 - 2 + 3 - 64 + 96 ActualArrayIndex @@ -7509,9 +7503,9 @@ DINT 1 - 2 + 3 - 64 + 96 Expected @@ -7526,47 +7520,33 @@ 32 - __Index__0 - DINT - 32 - - - - AddTestNameToInstancePath - T_MaxString - 2048 - - TestInstancePath + ExpectedValueString T_MaxString 2048 - + - CompleteTestInstancePath + ActualValueString T_MaxString 2048 + + FormatString + String formatter for output messages + FB_FormatString + 7840 + + + __Index__0 + DINT + 32 + - AssertTrue - - Condition - Condition to be checked - BOOL - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - - AssertArray3dEquals_LREAL + AssertArray2dEquals_REAL Expecteds - LREAL 3d array with expected values - LREAL + REAL 2d array with expected values + REAL 32 @@ -7574,14 +7554,14 @@ Dimensions - 3 + 2 Actuals - LREAL 3d array with actual values - LREAL + REAL 2d array with actual values + REAL 32 @@ -7589,15 +7569,249 @@ Dimensions - 3 + 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 + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + 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 + + + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + + + 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 + + + + 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 @@ -7811,37 +8025,6 @@ 8 - - 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 - - AssertEquals_REAL @@ -7911,34 +8094,18 @@ - AssertEquals_LTIME - - Expected - LTIME expected value - LTIME - 64 - - - Actual - LTIME actual value - LTIME - 64 - + IsTestFinished + BOOL + 8 - Message - The identifying message for the assertion error + TestName T_MaxString 2048 - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 + IteratorCounter + UINT + 16 @@ -8034,6 +8201,11 @@ DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_TIME @@ -8098,11 +8270,11 @@ - AssertArray3dEquals_REAL + AssertArrayEquals_INT Expecteds - REAL 3d array with expected values - REAL + INT array with expected values + INT 32 @@ -8110,14 +8282,14 @@ Dimensions - 3 + 1 Actuals - REAL 3d array with actual values - REAL + INT array with actual values + INT 32 @@ -8125,16 +8297,10 @@ Dimensions - 3 + 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 @@ -8151,6 +8317,11 @@ BOOL 8 + + Index + DINT + 32 + ExpectedString STRING(80) @@ -8171,130 +8342,26 @@ 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 + 32 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 + 32 - ActualArrayIndex - Array of current Actual array indexes when looping through arrays + ExpectedsIndex DINT - - 1 - 3 - - 96 - - - Expected - Single expected value - REAL 32 - Actual - Single actual value - REAL + ActualsIndex + DINT 32 - - ExpectedValueString - T_MaxString - 2048 - - - ActualValueString - T_MaxString - 2048 - - - FormatString - String formatter for output messages - FB_FormatString - 7840 - __Index__0 DINT @@ -8302,42 +8369,11 @@ - 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_UDINT + AssertArrayEquals_LREAL Expecteds - UDINT array with expected values - UDINT + LREAL array with expected values + LREAL 32 @@ -8351,8 +8387,8 @@ Actuals - UDINT array with actual values - UDINT + LREAL array with actual values + LREAL 32 @@ -8364,6 +8400,12 @@ + + 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 @@ -8425,38 +8467,25 @@ DINT 32 + + __Index__0 + DINT + 32 + - AssertArrayEquals_INT + AssertEquals_DWORD - Expecteds - INT array with expected values - INT + Expected + DWORD expected value + DWORD 32 - - - variable_length_array - - - Dimensions - 1 - - - Actuals - INT array with actual values - INT - 32 - - - variable_length_array - - - Dimensions - 1 - - + Actual + DWORD actual value + DWORD + 32 Message @@ -8465,59 +8494,76 @@ 2048 - Equals - BOOL - 8 + TestInstancePath + T_MaxString + 2048 - SizeEquals + AlreadyReported BOOL 8 - - Index + + + AssertEquals_DINT + + Expected + DINT expected value DINT 32 - - - ExpectedString - STRING(80) - 648 - + + + Actual + DINT actual value + DINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + - ActualString - STRING(80) - 648 + TestInstancePath + T_MaxString + 2048 AlreadyReported BOOL 8 + + + 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 - SizeOfExpecteds - DINT - 32 - - - SizeOfActuals - DINT - 32 - - - ExpectedsIndex - DINT - 32 - - - ActualsIndex - DINT - 32 + AlreadyReported + BOOL + 8 @@ -8551,11 +8597,11 @@ - AssertArrayEquals_LINT + AssertArrayEquals_UDINT Expecteds - LINT array with expected values - LINT + UDINT array with expected values + UDINT 32 @@ -8569,8 +8615,8 @@ Actuals - LINT array with actual values - LINT + UDINT array with actual values + UDINT 32 @@ -8643,6 +8689,11 @@ DINT 32 + + __Index__0 + DINT + 32 + AssertArrayEquals_LWORD @@ -8747,6 +8798,11 @@ DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_LWORD @@ -9060,22 +9116,27 @@ DINT 32 - - - AreAllTestsFinished - BOOL - 8 - - Counter - UINT - 16 - - GetCurTaskIndex - GETCURTASKINDEX - 128 + __Index__0 + DINT + 32 + + AssertTrue + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + AddTest @@ -9124,6 +9185,37 @@ 2048 + + 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_DWORD @@ -9227,92 +9319,10 @@ DINT 32 - - - FindTestSuiteInstancePath - T_MaxString - 2048 - - - 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 - - - - 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 - - - - GetInstancePath - T_MaxString - 2048 - - - SetTestFinished - BOOL - 8 - - TestName - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 + __Index__0 + DINT + 32 @@ -9408,13 +9418,48 @@ DINT 32 + + __Index__0 + DINT + 32 + - AssertArrayEquals_LREAL + FindTestSuiteInstancePath + T_MaxString + 2048 + + + GetNumberOfTests + UINT + 16 + + + GetInstancePath + T_MaxString + 2048 + + + SetTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + AssertArrayEquals_LINT Expecteds - LREAL array with expected values - LREAL + LINT array with expected values + LINT 32 @@ -9428,8 +9473,8 @@ Actuals - LREAL array with actual values - LREAL + LINT array with actual values + LINT 32 @@ -9441,12 +9486,6 @@ - - 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 @@ -9508,6 +9547,42 @@ DINT 32 + + __Index__0 + DINT + 32 + + + + 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 + @@ -12889,6 +12964,14 @@ + + AddUlint + + value + ULINT + 64 + + AddKeyNumber @@ -12941,6 +13024,20 @@ 64 + + AddKeyNull + + key + STRING(80) + 32 + + + ItemType + InOut + + + + IsComplete BOOL @@ -12954,19 +13051,6 @@ 32 - - AddHexBinary - - pBytes - BYTE - 32 - - - nBytes - DINT - 32 - - AddLint @@ -12975,6 +13059,9 @@ 64 + + StartObject + AddLreal @@ -12997,9 +13084,6 @@ - - ResetDocument - AddKeyLreal @@ -13020,22 +13104,36 @@ - StartObject + AddFileTime + + value + FILETIME + 64 + - GetDocumentLength - UDINT - 32 - - n - UDINT + AddNull + + + AddReal + + value + REAL 32 - - - p - STRING(80) + + + + AddHexBinary + + pBytes + BYTE 32 - + + + nBytes + DINT + 32 + AddKeyDcTime @@ -13064,20 +13162,6 @@ 32 - - AddRawObject - - rawJson - STRING(80) - 32 - - - ItemType - InOut - - - - SetMaxDecimalPlaces @@ -13120,21 +13204,6 @@ 8 - - GetDocument - STRING(255) - 2048 - - p - SINT - 32 - - - n - UDINT - 32 - - AddDint @@ -13185,35 +13254,7 @@ - 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 - - - - AddUlint - - value - ULINT - 64 - + ResetDocument GetMaxDecimalPlaces @@ -13226,20 +13267,9 @@ - AddFileTime - - value - FILETIME - 64 - - - - AddNull - - - AddKeyDateTime + AddRawObject - key + rawJson STRING(80) 32 @@ -13249,11 +13279,21 @@ - - value - DATE_AND_TIME + + + GetDocumentLength + UDINT + 32 + + n + UDINT 32 - + + + p + STRING(80) + 32 + AddBool @@ -13263,6 +13303,21 @@ 8 + + GetDocument + STRING(255) + 2048 + + p + SINT + 32 + + + n + UDINT + 32 + + AddBase64 @@ -13285,7 +13340,7 @@ - AddKeyNull + AddKeyDateTime key STRING(80) @@ -13297,6 +13352,11 @@ + + value + DATE_AND_TIME + 32 + EndArray @@ -13308,10 +13368,25 @@ StartArray - AddReal + CopyDocument + UDINT + 32 - value - REAL + 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 @@ -13630,22 +13705,11 @@ ExecuteNoLog - EvaluateOutput + Execute - Execute + EvaluateOutput - - EvaluateVetos - BOOL - 8 - - - obsolete - Use EvaluateOverrides instead. - - - EvaluateOverrides BOOL @@ -13703,6 +13767,51 @@ + + FormulateLogJson + STRING(80) + 648 + + FF + ST_FF + 7680 + + + + IdxCheckIn + BOOL + 8 + + Idx + DINT + 32 + + + OK + BOOL + 8 + + + Reset + BOOL + 8 + + + stFF + ST_FF + 7680 + + + BeamPermitted + BOOL + 8 + + + + no_check + + + Register BOOL @@ -13741,50 +13850,16 @@ - IdxCheckIn + EvaluateVetos BOOL 8 - - Idx - DINT - 32 - - - OK - BOOL - 8 - - - Reset - BOOL - 8 - - - stFF - ST_FF - 7680 - - - BeamPermitted - BOOL - 8 - - no_check + obsolete + Use EvaluateOverrides instead. - - FormulateLogJson - STRING(80) - 648 - - FF - ST_FF - 7680 - - PouType @@ -14051,24 +14126,14 @@ - GetHexBinary - DINT - 32 + PopbackValue + BOOL + 8 v SJsonValue 32 - - p - PVOID - 32 - - - n - DINT - 32 - HasMember @@ -14153,19 +14218,14 @@ - PushbackFileTimeValue - SJsonValue + GetDocumentLength + UDINT 32 - - v - SJsonValue + + p + STRING(80) 32 - - - value - FILETIME - 64 - + PushbackIntValue @@ -14208,32 +14268,6 @@ 64 - - RemoveMemberByName - BOOL - 8 - - v - SJsonValue - 32 - - - member - STRING(80) - 32 - - - ItemType - InOut - - - - - keepOrder - BOOL - 8 - - AddArrayMember SJsonValue @@ -14260,16 +14294,6 @@ 32 - - SetNull - SJsonValue - 32 - - v - SJsonValue - 32 - - SetString SJsonValue @@ -14302,34 +14326,23 @@ - PushbackUintValue - SJsonValue - 32 - - v - SJsonValue - 32 - + SetAdsProvider + BOOL + 8 - value - UDINT + oid + OTCID 32 - ParseDocument - SJsonValue - 32 + IsDouble + BOOL + 8 - sJson - STRING(80) + v + SJsonValue 32 - - - ItemType - InOut - - @@ -14368,6 +14381,16 @@ 32 + + RemoveAllMembers + BOOL + 8 + + v + SJsonValue + 32 + + SetDouble SJsonValue @@ -14384,7 +14407,7 @@ - PushbackBoolValue + SetDcTime SJsonValue 32 @@ -14394,8 +14417,8 @@ value - BOOL - 8 + DCTIME + 64 @@ -14459,16 +14482,6 @@ 32 - - SetObject - SJsonValue - 32 - - v - SJsonValue - 32 - - AddDateTimeMember SJsonValue @@ -14506,7 +14519,59 @@ - PushbackUint64Value + GetStringLength + UDINT + 32 + + v + SJsonValue + 32 + + + p + BYTE + 32 + + + l + UDINT + 32 + + + + AddJsonMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + SetUint SJsonValue 32 @@ -14516,8 +14581,8 @@ value - ULINT - 64 + UDINT + 32 @@ -14536,9 +14601,9 @@ - RemoveAllMembers - BOOL - 8 + SetObject + SJsonValue + 32 v SJsonValue @@ -14550,6 +14615,16 @@ BOOL 8 + + GetArraySize + UDINT + 32 + + v + SJsonValue + 32 + + IsISO8601TimeFormat BOOL @@ -14561,14 +14636,19 @@ - GetArraySize - UDINT + PushbackUint64Value + SJsonValue 32 v SJsonValue 32 + + value + ULINT + 64 + GetInt64 @@ -14638,36 +14718,6 @@ - - SetDcTime - SJsonValue - 32 - - v - SJsonValue - 32 - - - value - DCTIME - 64 - - - - SetArray - SJsonValue - 32 - - v - SJsonValue - 32 - - - reserve - UDINT - 32 - - GetFileTime FILETIME @@ -14679,24 +14729,19 @@ - GetStringLength - UDINT - 32 + Swap + BOOL + 8 v SJsonValue 32 - - p - BYTE - 32 - - - l - UDINT + + w + SJsonValue 32 - + SaveDocumentToFile @@ -14747,9 +14792,9 @@ - IsBase64 - BOOL - 8 + GetUint64 + ULINT + 64 v SJsonValue @@ -14757,7 +14802,7 @@ - IsTrue + IsBase64 BOOL 8 @@ -14855,7 +14900,7 @@ - AddObjectMember + SetArray SJsonValue 32 @@ -14864,15 +14909,9 @@ 32 - member - STRING(80) + reserve + UDINT 32 - - - ItemType - InOut - - @@ -14895,21 +14934,6 @@ 32 - - SetFileTime - SJsonValue - 32 - - v - SJsonValue - 32 - - - value - FILETIME - 64 - - CopyString UDINT @@ -14951,6 +14975,38 @@ 32 + + AddStringMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + STRING(80) + 32 + + + ItemType + InOut + + + + SetBase64 SJsonValue @@ -14987,39 +15043,44 @@ - Swap - BOOL - 8 - - v - SJsonValue + GetDocument + STRING(255) + 2048 + + p + BYTE 32 - - - w - SJsonValue + + + q + BYTE 32 - + + + t + STRING(255) + 32 + + + length + UDINT + 32 + - SetUint64 - SJsonValue - 32 + IsHexBinary + BOOL + 8 v SJsonValue 32 - - value - ULINT - 64 - - IsHexBinary - BOOL - 8 + GetUint + UDINT + 32 v SJsonValue @@ -15053,34 +15114,9 @@ - IsFalse - BOOL - 8 - - v - SJsonValue - 32 - - - - SetAdsProvider - BOOL - 8 - - oid - OTCID - 32 - - - - MemberBegin - SJsonIterator + GetMaxDecimalPlaces + DINT 32 - - v - SJsonValue - 32 - NewDocument @@ -15143,9 +15179,9 @@ - PopbackValue - BOOL - 8 + SetNull + SJsonValue + 32 v SJsonValue @@ -15153,35 +15189,28 @@ - AddJsonMember - SJsonValue + GetDateTime + DATE_AND_TIME 32 v SJsonValue 32 + + + PushbackFileTimeValue + SJsonValue + 32 - member - STRING(80) + v + SJsonValue 32 - - - ItemType - InOut - - - rawJson - STRING(80) - 32 - - - ItemType - InOut - - + value + FILETIME + 64 @@ -15213,9 +15242,9 @@ - GetDateTime - DATE_AND_TIME - 32 + IsTrue + BOOL + 8 v SJsonValue @@ -15314,14 +15343,6 @@ 64 - - SetMaxDecimalPlaces - - dp - DINT - 32 - - FindMember SJsonValue @@ -15405,58 +15426,16 @@ - SetUint - SJsonValue - 32 - - v - SJsonValue - 32 - - - value - UDINT - 32 - - - - SetHexBinary - SJsonValue - 32 - - v - SJsonValue - 32 - - - p - PVOID - 32 - + SetMaxDecimalPlaces - n + dp DINT 32 - GetArrayValueByIdx - SJsonValue - 32 - - v - SJsonValue - 32 - - - idx - UDINT - 32 - - - - PushbackHexBinaryValue - SJsonValue + GetHexBinary + DINT 32 v @@ -15510,6 +15489,42 @@ 32 + + AddObjectMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + + PushbackBoolValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + BOOL + 8 + + AddBoolMember SJsonValue @@ -15537,14 +15552,24 @@ - GetDcTime - DCTIME - 64 + SetHexBinary + SJsonValue + 32 v SJsonValue 32 + + p + PVOID + 32 + + + n + DINT + 32 + AddUintMember @@ -15631,9 +15656,9 @@ - AddStringMember - SJsonValue - 32 + RemoveMemberByName + BOOL + 8 v SJsonValue @@ -15651,7 +15676,22 @@ - value + keepOrder + BOOL + 8 + + + + PushbackJsonValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + rawJson STRING(80) 32 @@ -15683,17 +15723,28 @@ - GetMaxDecimalPlaces - DINT + ParseDocument + SJsonValue 32 + + sJson + STRING(80) + 32 + + + ItemType + InOut + + + - GetArrayValue - SJsonValue - 32 + IsFalse + BOOL + 8 - i - SJsonAIterator + v + SJsonValue 32 @@ -15708,32 +15759,17 @@ - GetDocument - STRING(255) - 2048 - - p - BYTE - 32 - - - q - BYTE - 32 - - - t - STRING(255) - 32 - - - length - UDINT + GetArrayValue + SJsonValue + 32 + + i + SJsonAIterator 32 - + - SetInt + SetFileTime SJsonValue 32 @@ -15743,8 +15779,8 @@ value - DINT - 32 + FILETIME + 64 @@ -15763,19 +15799,29 @@ - GetUint - UDINT + PushbackHexBinaryValue + SJsonValue 32 v SJsonValue 32 + + p + PVOID + 32 + + + n + DINT + 32 + - GetUint64 - ULINT - 64 + MemberBegin + SJsonIterator + 32 v SJsonValue @@ -15783,14 +15829,54 @@ - GetDocumentLength - UDINT + GetArrayValueByIdx + SJsonValue 32 - - p - STRING(80) + + v + SJsonValue 32 - + + + idx + UDINT + 32 + + + + SetUint64 + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + ULINT + 64 + + + + GetDcTime + DCTIME + 64 + + v + SJsonValue + 32 + + + + IsArray + BOOL + 8 + + v + SJsonValue + 32 + GetJson @@ -15823,17 +15909,7 @@ - IsArray - BOOL - 8 - - v - SJsonValue - 32 - - - - PushbackJsonValue + SetInt SJsonValue 32 @@ -15842,26 +15918,25 @@ 32 - rawJson - STRING(80) + value + DINT 32 - - - ItemType - InOut - - - IsDouble - BOOL - 8 + PushbackUintValue + SJsonValue + 32 v SJsonValue 32 + + value + UDINT + 32 + AddNullMember @@ -18162,18 +18237,19 @@ contributing fast faults, unless the FFO is currently vetoed. 32 - Open + Write 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 + BufferPointer + Call with ADR(); + BYTE + 32 - FileAccessMode - ACCESS_MODE + Size + Call with SIZEOF(); + UDINT 32 @@ -18189,19 +18265,18 @@ contributing fast faults, unless the FFO is currently vetoed. - Write + Open RTS_IEC_RESULT 32 - BufferPointer - Call with ADR(); - BYTE - 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 - Size - Call with SIZEOF(); - UDINT + FileAccessMode + ACCESS_MODE 32 @@ -18385,53 +18460,69 @@ contributing fast faults, unless the FFO is currently vetoed. - Clear - - Count + Copy + T_MaxString + 2048 + + StartPos UDINT 32 - - - - __setAppend + - Append - - Appends a string to the buffer - - T_MaxString - 2048 + EndPos + UDINT + 32 + + + CopyLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + - ByteIn + Loop + UDINT + 32 + + + PointerToByteToCopy BYTE 32 - ByteBuffer + PointerToBuffer BYTE 32 - - - property - - + + CurPos + UDINT + 32 + - __getBufferSize - UDINT - 32 + Clear - BufferSize + Count UDINT 32 - - - property - - __setLength @@ -18449,6 +18540,21 @@ contributing fast faults, unless the FFO is currently vetoed. + + __getBufferSize + UDINT + 32 + + BufferSize + UDINT + 32 + + + + property + + + SetBuffer BOOL @@ -18467,61 +18573,30 @@ contributing fast faults, unless the FFO is currently vetoed. - Copy - T_MaxString - 2048 - - StartPos - UDINT - 32 - - - EndPos - UDINT - 32 - - - CopyLen - UDINT - 32 - - - ItemType - Output - - - + __setAppend - XmlError - E_XmlError - 8 - - - ItemType - Output - - + Append + + Appends a string to the buffer + + T_MaxString + 2048 - Loop - UDINT - 32 - - - PointerToByteToCopy + ByteIn BYTE 32 - PointerToBuffer + ByteBuffer BYTE 32 - - CurPos - UDINT - 32 - + + + property + + @@ -18719,6 +18794,9 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 + + ToStartBuffer + NewTag @@ -18737,22 +18815,6 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 - - WriteDocumentHeader - - Header - T_MaxString - 2048 - - - - NewComment - - Comment - T_MaxString - 2048 - - __getLength UDINT @@ -18768,6 +18830,9 @@ contributing fast faults, unless the FFO is currently vetoed. + + ClearBuffer + NewTagData @@ -18776,6 +18841,14 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 + + NewComment + + Comment + T_MaxString + 2048 + + SetBuffer @@ -18792,10 +18865,12 @@ contributing fast faults, unless the FFO is currently vetoed. - ClearBuffer - - - ToStartBuffer + WriteDocumentHeader + + Header + T_MaxString + 2048 + @@ -19154,6 +19229,11 @@ contributing fast faults, unless the FFO is currently vetoed. SetFailed + + GetTestOrder + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + SetName @@ -19167,14 +19247,6 @@ contributing fast faults, unless the FFO is currently vetoed. T_MaxString 2048 - - SetNumberOfAssertions - - NoOfAssertions - UINT - 16 - - SetTestOrder @@ -19189,9 +19261,9 @@ contributing fast faults, unless the FFO is currently vetoed. 8 - GetNumberOfAssertions - UINT - 16 + IsFailed + BOOL + 8 SetFinished @@ -19228,14 +19300,17 @@ contributing fast faults, unless the FFO is currently vetoed. 8 - GetTestOrder - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + GetNumberOfAssertions + UINT 16 - IsFailed - BOOL - 8 + SetNumberOfAssertions + + NoOfAssertions + UINT + 16 + @@ -19520,35 +19595,7 @@ contributing fast faults, unless the FFO is currently vetoed. 24640288 - CopyDetectionCountAndResetDetectionCountInThisCycle - - IteratorCounter - UINT - 16 - - - - GetNumberOfAssertsForTest - UINT - 16 - - CompleteTestInstancePath - T_MaxString - 2048 - - - Counter - UINT - 16 - - - NumberOfAsserts - UINT - 16 - - - - CreateAssertResultInstance + AddAssertResult ExpectedSize UDINT @@ -19589,11 +19636,6 @@ contributing fast faults, unless the FFO is currently vetoed. T_MaxString 2048 - - IteratorCounter - UINT - 16 - GetDetectionCountThisCycle @@ -19646,7 +19688,75 @@ contributing fast faults, unless the FFO is currently vetoed. - GetDetectionCount + 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 + + + + GetDetectionCount UINT 16 @@ -19795,47 +19905,12 @@ contributing fast faults, unless the FFO is currently vetoed. - AddAssertResult - - ExpectedSize - UDINT - 32 - - - ExpectedTypeClass - TypeClass - 16 - - - ExpectedValue - BYTE - 32 - - - ActualSize - UDINT - 32 - - - ActualTypeClass - TypeClass + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT 16 - - - ActualValue - BYTE - 32 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - + @@ -19981,37 +20056,7 @@ contributing fast faults, unless the FFO is currently vetoed. 8480224 - CreateAssertResultInstance - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - + CopyDetectionCountAndResetDetectionCountInThisCycle IteratorCounter UINT @@ -20019,9 +20064,7 @@ contributing fast faults, unless the FFO is currently vetoed. - GetDetectionCountThisCycle - UINT - 16 + CreateAssertResultInstance ExpectedsSize UDINT @@ -20208,15 +20251,9 @@ contributing fast faults, unless the FFO is currently vetoed. - CopyDetectionCountAndResetDetectionCountInThisCycle - - IteratorCounter - UINT - 16 - - - - AddAssertArrayResult + GetDetectionCountThisCycle + UINT + 16 ExpectedsSize UDINT @@ -20247,29 +20284,33 @@ contributing fast faults, unless the FFO is currently vetoed. T_MaxString 2048 + + IteratorCounter + UINT + 16 + - - - PouType - FunctionBlock - - - - - I_AssertMessageFormatter - 32 - PVOID - LogAssertFailure + AddAssertArrayResult - Expected - T_MaxString - 2048 + ExpectedsSize + UDINT + 32 - Actual - T_MaxString - 2048 + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 Message @@ -20282,98 +20323,6 @@ contributing fast faults, unless the FFO is currently vetoed. 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. - - 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 @@ -20382,14 +20331,140 @@ contributing fast faults, unless the FFO is currently vetoed. - 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. - - 64 - I_AssertMessageFormatter + 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. + + 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. + + 64 + I_AssertMessageFormatter LogAssertFailure @@ -20694,6 +20769,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + FindTestSuiteInstancePath @@ -20763,18 +20843,18 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertEquals_BYTE + AssertEquals_DWORD Expected - BYTE expected value - BYTE - 8 + DWORD expected value + DWORD + 32 Actual - BYTE actual value - BYTE - 8 + DWORD actual value + DWORD + 32 Message @@ -20952,6 +21032,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + AssertArrayEquals_BYTE @@ -21056,6 +21141,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_DATE @@ -21212,6 +21302,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_LTIME @@ -21337,6 +21432,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_LREAL @@ -21478,33 +21578,65 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + - AssertEquals + AssertFalse - Expected - Expected value - AnyType - 96 + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertArray2dEquals_LREAL + + Expecteds + LREAL 2d array with expected values + LREAL + 32 - anytypeclass - ANY + variable_length_array + + + Dimensions + 2 - Actual - The value to check against expected - AnyType - 96 + Actuals + LREAL 2d array with actual values + LREAL + 32 - anytypeclass - ANY + 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 @@ -21512,22 +21644,22 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 - Count - DINT - 32 + Equals + BOOL + 8 - ExpectedDataString - T_MaxString - 2048 + SizeEquals + BOOL + 8 - ActualDataString + ExpectedString T_MaxString 2048 - TestInstancePath + ActualString T_MaxString 2048 @@ -21537,256 +21669,188 @@ contributing fast faults, unless the FFO is currently vetoed. 8 - boolExpected - BOOL - 8 - - - boolActual - BOOL - 8 - - - byteExpected - BYTE - 8 + TestInstancePath + T_MaxString + 2048 - byteActual - BYTE + DimensionIndex + Index when looping through Dimensions + USINT 8 - dateExpected - DATE - 32 - - - dateActual - DATE - 32 - - - dateAndTimeExpected - DATE_AND_TIME - 32 - - - dateAndTimeActual - DATE_AND_TIME - 32 - - - dintExpected + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension DINT - 32 + + 1 + 2 + + 64 - dintActual + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension DINT - 32 - - - dwordExpected - DWORD - 32 - - - dwordActual - DWORD - 32 - - - intExpected - INT - 16 - - - intActual - INT - 16 - - - lintExpected - LINT + + 1 + 2 + 64 - lintActual - LINT + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + 64 - lrealExpected - LREAL + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + 64 - lrealActual - LREAL + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + 64 - ltimeExpected - LTIME + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + 64 - ltimeActual - LTIME + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + 64 - lwordExpected - LWORD + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + 64 - lwordActual - LWORD + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + 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 + Expected + Single expected value + LREAL + 64 - udintExpected - UDINT - 32 + Actual + Single actual value + LREAL + 64 - udintActual - UDINT + __Index__0 + DINT 32 - - uintExpected - UINT - 16 - - - uintActual - UINT - 16 - - - ulintExpected + + + AssertEquals_ULINT + + Expected + ULINT expected value ULINT 64 - - - ulintActual + + + Actual + ULINT actual value ULINT 64 - + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + - usintExpected - USINT - 8 + TestInstancePath + T_MaxString + 2048 - usintActual - USINT + AlreadyReported + BOOL 8 - - wordExpected - WORD - 16 - - - wordActual - WORD - 16 - - - DataTypesNotEquals - The data type of the two ANY input parameters are not equal + + + AssertEquals_BOOL + + Expected + BOOL expected value BOOL 8 - - - DataSizeNotEquals - The data size of the two ANY input parameters are not equal + + + Actual + BOOL actual value BOOL 8 - + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + - DataContentNotEquals - The data content of the two ANY input parameters are not equal + AlreadyReported BOOL 8 - IteratorCounter - DINT - 32 + TestInstancePath + T_MaxString + 2048 - - - hasanytype - - - AssertFalse + AssertTrue Condition Condition to be checked @@ -21801,17 +21865,17 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertEquals_SINT + AssertEquals_USINT Expected - SINT expected value - SINT + USINT expected value + USINT 8 Actual - SINT actual value - SINT + USINT actual value + USINT 8 @@ -21820,23 +21884,23 @@ contributing fast faults, unless the FFO is currently vetoed. T_MaxString 2048 - - TestInstancePath - T_MaxString - 2048 - AlreadyReported BOOL 8 + + TestInstancePath + T_MaxString + 2048 + - AssertArray2dEquals_LREAL + AssertArray2dEquals_REAL Expecteds - LREAL 2d array with expected values - LREAL + REAL 2d array with expected values + REAL 32 @@ -21850,8 +21914,8 @@ contributing fast faults, unless the FFO is currently vetoed. Actuals - LREAL 2d array with actual values - LREAL + REAL 2d array with actual values + REAL 32 @@ -21866,8 +21930,8 @@ contributing fast faults, unless the FFO is currently vetoed. 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 + REAL + 32 Message @@ -22004,14 +22068,14 @@ contributing fast faults, unless the FFO is currently vetoed. Expected Single expected value - LREAL - 64 + REAL + 32 Actual Single actual value - LREAL - 64 + REAL + 32 __Index__0 @@ -22020,111 +22084,18 @@ contributing fast faults, unless the FFO is currently vetoed. - 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 + AssertEquals_BYTE Expected - USINT expected value - USINT + BYTE expected value + BYTE 8 Actual - USINT actual value - USINT - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - AlreadyReported - BOOL + BYTE actual value + BYTE 8 - - - TestInstancePath - T_MaxString - 2048 - - - - AssertEquals_LWORD - - Expected - LWORD expected value - LWORD - 64 - - - Actual - LWORD actual value - LWORD - 64 Message @@ -22236,6 +22207,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + SetHasStartedRunning @@ -22269,24 +22245,310 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 - GetTestOrderNumber - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 + AssertEquals - TestName + 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 - IteratorCounter + 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 - NumberOfTestsToAnalyse - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 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 + + GetNumberOfTests @@ -22396,6 +22658,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + GetHasStartedRunning @@ -22501,6 +22768,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_WSTRING @@ -22652,6 +22924,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_DINT @@ -22777,6 +23054,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + AssertEquals_STRING @@ -22809,6 +23091,21 @@ contributing fast faults, unless the FFO is currently vetoed. 8 + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + SetTestFinished BOOL @@ -22952,6 +23249,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + AssertArray3dEquals_LREAL @@ -23234,6 +23536,11 @@ contributing fast faults, unless the FFO is currently vetoed. DINT 32 + + __Index__0 + DINT + 32 + CalculateAndSetNumberOfAssertsForTest @@ -23289,51 +23596,25 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertEquals_DWORD - - Expected - DWORD expected value - DWORD - 32 - - - Actual - DWORD actual value - DWORD - 32 - + GetTestOrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 - Message - The identifying message for the assertion error + TestName T_MaxString 2048 - TestInstancePath - T_MaxString - 2048 + IteratorCounter + UINT + 16 - AlreadyReported - BOOL - 8 + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 - - AssertTrue - - Condition - Condition to be checked - BOOL - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - AssertEquals_INT @@ -23397,42 +23678,18 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertArray2dEquals_REAL - - Expecteds - REAL 2d array with expected values - REAL - 32 - - - variable_length_array - - - Dimensions - 2 - - - + AssertEquals_SINT - Actuals - REAL 2d array with actual values - REAL - 32 - - - variable_length_array - - - Dimensions - 2 - - + Expected + SINT expected value + SINT + 8 - 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 + Actual + SINT actual value + SINT + 8 Message @@ -23441,22 +23698,7 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - ExpectedString - T_MaxString - 2048 - - - ActualString + TestInstancePath T_MaxString 2048 @@ -23465,124 +23707,6 @@ contributing fast faults, unless the FFO is currently vetoed. 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 @@ -23852,19 +23976,35 @@ contributing fast faults, unless the FFO is currently vetoed. - AddTestNameToInstancePath - T_MaxString - 2048 + AssertEquals_LWORD - TestInstancePath + Expected + LWORD expected value + LWORD + 64 + + + Actual + LWORD actual value + LWORD + 64 + + + Message + The identifying message for the assertion error T_MaxString 2048 - CompleteTestInstancePath + TestInstancePath T_MaxString 2048 + + AlreadyReported + BOOL + 8 + AssertEquals_UDINT @@ -24027,97 +24167,107 @@ contributing fast faults, unless the FFO is currently vetoed. 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 + __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 @@ -24225,6 +24375,32 @@ contributing fast faults, unless the FFO is currently vetoed. UDINT 32 + + GetAndRemoveLogFromQueue + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + WriteLog @@ -24260,32 +24436,6 @@ contributing fast faults, unless the FFO is currently vetoed. 4128 - - GetAndRemoveLogFromQueue - - AdsLogStringMessage - ST_AdsLogStringMessage - 4128 - - - ItemType - Output - - - - - Error - Buffer empty - BOOL - 8 - - - ItemType - Output - - - - PouType @@ -30060,37 +30210,6 @@ External Setpoint Generation: - - T_HashTableEntry - 64 - - key - DWORD - 32 - 0 - - 0 - - - - pytmc - - pv: Key - io: i - - - - - - value - PVOID - 32 - 32 - - 0 - - - ST_BP_ArbInternal 2464 @@ -30138,6 +30257,37 @@ External Setpoint Generation: + + T_HashTableEntry + 64 + + key + DWORD + 32 + 0 + + 0 + + + + pytmc + + pv: Key + io: i + + + + + + value + PVOID + 32 + 32 + + 0 + + + T_HashTableEntry Hash table entry @@ -30750,9 +30900,6 @@ External Setpoint Generation: - - A_Reset - A_Count @@ -30760,19 +30907,22 @@ External Setpoint Generation: DataPoolToEpics - A_Add + A_Lookup A_Remove + + A_Reset + A_GetFirst - A_GetNext + A_Add - A_Lookup + A_GetNext @@ -31033,33 +31183,29 @@ These features efficiently address the addition, removal, and verification of be 391872 - __getnEntryCount - UDINT - 32 - - nEntryCount - UDINT - 32 - - - - property - - - - - CheckRequest + RemoveRequest BOOL 8 - nReqID + nReqId DWORD 32 - BP - ST_BeamParams - 1760 + fbLog + FB_LogMessage + 81600 + + + uselocation + __REMOVEREQUEST__FBLOG + + + + + BP_Int + ST_BP_ArbInternal + 2464 @@ -31182,6 +31328,31 @@ These features efficiently address the addition, removal, and verification of be + + CheckRequestInPool + BOOL + 8 + + nReqID + DWORD + 32 + + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + BP + ST_BeamParams + 1760 + + AddRequest BOOL @@ -31222,40 +31393,19 @@ These features efficiently address the addition, removal, and verification of be - RemoveRequest - BOOL - 8 - - nReqId - DWORD - 32 - - - fbLog - FB_LogMessage - 81600 - - - uselocation - __REMOVEREQUEST__FBLOG - - - + __getnEntryCount + UDINT + 32 - BP_Int - ST_BP_ArbInternal - 2464 - - - - CheckRequestInPool - BOOL - 8 - - nReqID - DWORD + nEntryCount + UDINT 32 - + + + + property + + RequestBP @@ -42713,13 +42863,13 @@ The BPTM will throw an error if the arbiter does not have enough space for the t WaitingForFinalAssertion_DO - NewTarget_ENTRY + DeauthorizeTransition - AssertTransitionBP + NewTarget_ENTRY - AssertFinalBP + AssertTransitionBP WaitingForTransitionAssertion_DO @@ -42740,7 +42890,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t WaitingForFinalAssertion_EXIT - DeauthorizeTransition + AssertFinalBP LogActions @@ -49752,9 +49902,6 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - - ACT_Motion - ACT_Zero @@ -49762,11 +49909,14 @@ The BPTM will throw an error if the arbiter does not have enough space for the t ACT_Home - ACT_CalculatePositions + ACT_Motion ACT_BLOCK + + ACT_CalculatePositions + ACT_Init @@ -50515,10 +50665,10 @@ Digital outputs - ACT_Logger + ACT_IO - ACT_IO + ACT_Logger @@ -50797,10 +50947,10 @@ Digital outputs 253760 - Exec + StateHandler - StateHandler + Exec @@ -51187,15 +51337,15 @@ Digital outputs HandleBPTM - - HandleFFO - ClearAsserts Exec + + HandleFFO + HandlePmpsDb @@ -51467,10 +51617,10 @@ Digital outputs HandleFFO - AssertHere + ClearAsserts - ClearAsserts + AssertHere HandleBPTM @@ -54587,47 +54737,6 @@ Digital outputs - - TcQueryInterface - HRESULT - 32 - - iid - IID - 32 - - - pipItf - PVOID - 32 - - - ipMessageListener - ITcMessageListener - 32 - - - ipAlarmListener - ITcAlarmListener - 32 - - - - c++_compatible - - - pack_mode - 4 - - - show - - - minimal_input_size - 4 - - - OnMessageSent HRESULT @@ -54684,6 +54793,21 @@ Digital outputs 32 + + Execute + HRESULT + 32 + + ipListener + I_Listener + 32 + + + hr + HRESULT + 32 + + TcRelease UDINT @@ -54778,19 +54902,45 @@ Digital outputs - Execute + TcQueryInterface HRESULT 32 - ipListener - I_Listener + iid + IID + 32 + + + pipItf + PVOID 32 - hr - HRESULT + ipMessageListener + ITcMessageListener + 32 + + + ipAlarmListener + ITcAlarmListener 32 + + + c++_compatible + + + pack_mode + 4 + + + show + + + minimal_input_size + 4 + + @@ -55496,6 +55646,30 @@ Digital outputs + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + monitoring + call + + + GetString BOOL @@ -55555,30 +55729,6 @@ Digital outputs - - __gethrErrorCode - HRESULT - 32 - - hrErrorCode - HRESULT - 32 - - - hrError - HRESULT - 32 - - - - property - - - monitoring - call - - - Request HRESULT @@ -55702,9 +55852,9 @@ Digital outputs 64 - GetJsonFromSymbol - BOOL - 8 + GetJsonStringFromSymbolProperties + STRING(255) + 2048 sDatatype data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() @@ -55718,29 +55868,27 @@ Digital outputs - nData - size of symbol - UDINT - 32 - - - pData - address of sxmbol - PVOID + sProperties + multiple Properties separated by '|' + STRING(80) 32 + + + ItemType + InOut + + - - nJson - size of json buffer - UDINT + + nSize + UDINT 32 - - - pJson - json buffer + + + pTmp STRING(80) 32 - + CopyJsonStringFromSymbolProperties @@ -55833,45 +55981,6 @@ Digital outputs 32 - - GetJsonStringFromSymbolProperties - STRING(255) - 2048 - - sDatatype - data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() - STRING(80) - 32 - - - ItemType - InOut - - - - - sProperties - multiple Properties separated by '|' - STRING(80) - 32 - - - ItemType - InOut - - - - - nSize - UDINT - 32 - - - pTmp - STRING(80) - 32 - - AddJsonKeyPropertiesFromSymbol BOOL @@ -55996,6 +56105,47 @@ Digital outputs 32 + + GetJsonFromSymbol + BOOL + 8 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of sxmbol + PVOID + 32 + + + nJson + size of json buffer + UDINT + 32 + + + pJson + json buffer + STRING(80) + 32 + + GetSizeJsonStringFromSymbolProperties UDINT @@ -56687,25 +56837,6 @@ Digital outputs 32 - - __getLogToVisualStudio - BOOL - 8 - - LogToVisualStudio - BOOL - 8 - - - - property - - - analysis - -33 - - - OnAlarmCleared @@ -56714,21 +56845,6 @@ Digital outputs 32 - - SendMessage - HRESULT - 32 - - sMessage - STRING(80) - 32 - - - sLogStr - T_MaxString - 2048 - - OnMessageSent @@ -56856,6 +56972,40 @@ Digital outputs + + __getLogToVisualStudio + BOOL + 8 + + LogToVisualStudio + BOOL + 8 + + + + property + + + analysis + -33 + + + + + SendMessage + HRESULT + 32 + + sMessage + STRING(80) + 32 + + + sLogStr + T_MaxString + 2048 + + __setLogToVisualStudio @@ -58739,44 +58889,6 @@ Digital outputs - - LCLSGeneralEventClass - Log event - - Critical - Critical - Critical - - - Error - Error - Error - - - Warning - Warning - Warning - - - Info - Info - Info - - - Verbose - Verbose - Verbose - - - - - - - - - - - TcSystemEventClass TcSystemEventClass @@ -59583,6 +59695,44 @@ Digital outputs + + LCLSGeneralEventClass + Log event + + Critical + Critical + Critical + + + Error + Error + Error + + + Warning + Warning + Warning + + + Info + Info + Info + + + Verbose + Verbose + Verbose + + + + + + + + + + + @@ -59604,7 +59754,7 @@ Digital outputs 0 PlcTask Inputs 0 - 87097344 + 86966272 PRG_AL1K4_L2SI.fbAL1K4.fbYStage.fbDriveVirtual.MasterAxis.NcToPlc 2048 @@ -70244,7 +70394,7 @@ Digital outputs 1 PlcTask Outputs 0 - 87097344 + 86966272 PRG_AL1K4_L2SI.fbAL1K4.fbYStage.fbDriveVirtual.MasterAxis.PlcToNc 1024 @@ -73011,7 +73161,7 @@ Digital outputs 3 PlcTask Internal 0 - 87097344 + 86966272 DefaultGlobals.stSys Included for you @@ -82386,29 +82536,6 @@ Digital outputs 686175008 - - TC_EVENTS.LCLSGeneralEventClass - ST_LCLSGeneralEventClass - 960 - ST_LCLSGeneralEventClass - - - tc_no_symbol - unused - - - const_non_replaced - - - suppress_warning_0 - C0228 - - - TcVarGlobal - - - 686218336 - TC_EVENT_CLASSES.TcSystemEventClass 11F7FC20-DBF4-4DAF-96C7-1FD6B6156B31 @@ -82476,7 +82603,7 @@ Digital outputs TcVarGlobal - 686227360 + 686188384 TC_EVENT_CLASSES.TcGeneralAdsEventClass @@ -82545,7 +82672,7 @@ Digital outputs TcVarGlobal - 686227488 + 686188512 TC_EVENT_CLASSES.TcRouterEventClass @@ -82614,7 +82741,7 @@ Digital outputs TcVarGlobal - 686227616 + 686188640 TC_EVENT_CLASSES.TcRTimeEventClass @@ -82683,7 +82810,7 @@ Digital outputs TcVarGlobal - 686227744 + 686188768 TC_EVENT_CLASSES.Win32EventClass @@ -82752,7 +82879,7 @@ Digital outputs TcVarGlobal - 686227872 + 686188896 TC_EVENT_CLASSES.LCLSGeneralEventClass @@ -82821,14 +82948,37 @@ Digital outputs TcVarGlobal - 686228000 + 686189024 + + + TC_EVENTS.LCLSGeneralEventClass + ST_LCLSGeneralEventClass + 960 + ST_LCLSGeneralEventClass + + + tc_no_symbol + unused + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 686219360 4 PlcTask Retains 0 - 87097344 + 86966272 PMPS_GVL.SuccessfulPreemption Any time BPTM applies a new BP request which is confirmed @@ -82882,9 +83032,6 @@ Digital outputs - - LCLSGeneralEventClass - TcSystemEventClass @@ -82900,6 +83047,9 @@ Digital outputs Win32EventClass + + LCLSGeneralEventClass + @@ -82908,15 +83058,15 @@ Digital outputs ChangeDate - 2023-10-24T14:48:02 + 2023-11-02T13:56:27 GeneratedCodeSize - 1077248 + 1003520 GlobalDataSize - 85364736 + 85286912