From 4cc703a222cb1723152a8519a67937272734ca93 Mon Sep 17 00:00:00 2001 From: tongju12 Date: Tue, 13 Aug 2024 15:10:05 -0700 Subject: [PATCH] modifying li2k4 parameters for new mirror --- .../_Config/NC/Axes/Axis 46 LI2K4-MMS-X.xti | 4 +- plc-tmo-motion/_Config/PLC/tmo_motion.xti | 2 +- plc-tmo-motion/plc-tmo-motion.tsproj | 2 +- .../tmo_motion/POUs/PRG_LI2K4_IP1.TcPOU | 7 +- plc-tmo-motion/tmo_motion/tmo_motion.tmc | 5329 ++++++++--------- 5 files changed, 2672 insertions(+), 2672 deletions(-) diff --git a/plc-tmo-motion/_Config/NC/Axes/Axis 46 LI2K4-MMS-X.xti b/plc-tmo-motion/_Config/NC/Axes/Axis 46 LI2K4-MMS-X.xti index 7bc032a..e5074d1 100644 --- a/plc-tmo-motion/_Config/NC/Axes/Axis 46 LI2K4-MMS-X.xti +++ b/plc-tmo-motion/_Config/NC/Axes/Axis 46 LI2K4-MMS-X.xti @@ -1324,8 +1324,8 @@ External Setpoint Generation: - - + + diff --git a/plc-tmo-motion/_Config/PLC/tmo_motion.xti b/plc-tmo-motion/_Config/PLC/tmo_motion.xti index 5e12037..ac1eb8c 100644 --- a/plc-tmo-motion/_Config/PLC/tmo_motion.xti +++ b/plc-tmo-motion/_Config/PLC/tmo_motion.xti @@ -1260,7 +1260,7 @@ External Setpoint Generation: - + tmo_motion Instance {08500001-0000-0000-F000-000000000064} diff --git a/plc-tmo-motion/plc-tmo-motion.tsproj b/plc-tmo-motion/plc-tmo-motion.tsproj index b1419ed..c6086b4 100644 --- a/plc-tmo-motion/plc-tmo-motion.tsproj +++ b/plc-tmo-motion/plc-tmo-motion.tsproj @@ -9,8 +9,8 @@ {57BD9670-089D-434A-85CF-90A857EE0EFF} {66689887-CCBD-452C-AC9A-039D997C6E66} {3EBB9639-5FF3-42B6-8847-35C70DC013C8} - {E008E3C8-6BD9-491C-B673-DC45CC7AA4F1} {520DE751-9DB6-47CB-8240-BD5C466E7E64} + {E008E3C8-6BD9-491C-B673-DC45CC7AA4F1} diff --git a/plc-tmo-motion/tmo_motion/POUs/PRG_LI2K4_IP1.TcPOU b/plc-tmo-motion/tmo_motion/POUs/PRG_LI2K4_IP1.TcPOU index af04bcf..9daa3ad 100644 --- a/plc-tmo-motion/tmo_motion/POUs/PRG_LI2K4_IP1.TcPOU +++ b/plc-tmo-motion/tmo_motion/POUs/PRG_LI2K4_IP1.TcPOU @@ -63,8 +63,8 @@ fbStateSetup(stPositionState:=stDefault, bSetDefault:=TRUE); fbStateSetup(stPositionState:=aLI2K4XStates[ENUM_LaserCoupling_States.OUT], fDelta := 0.5, sName := 'OUT', fPosition:=-0.75); fbStateSetup(stPositionState:=aLI2K4YStates[ENUM_LaserCoupling_States.OUT], fDelta := 0.5, sName := 'OUT', fPosition:=133.0); -fbStateSetup(stPositionState:=aLI2K4XStates[ENUM_LaserCoupling_States.Mirror1],fDelta := 1.5, sName := 'MIRROR1', fPosition:=-3.375); -fbStateSetup(stPositionState:=aLI2K4YStates[ENUM_LaserCoupling_States.Mirror1],fDelta := 0.5, sName := 'MIRROR1', fPosition:=84.5); +fbStateSetup(stPositionState:=aLI2K4XStates[ENUM_LaserCoupling_States.Mirror1],fDelta := 5.0, sName := 'MIRROR1', fPosition:=-3.375); +fbStateSetup(stPositionState:=aLI2K4YStates[ENUM_LaserCoupling_States.Mirror1],fDelta := 5.0, sName := 'MIRROR1', fPosition:=84.5); aLI2K4YStates[ENUM_LaserCoupling_States.OUT].stPMPS.sPmpsState := 'LI2K4:IP1-OUT'; aLI2K4YStates[ENUM_LaserCoupling_States.Mirror1].stPMPS.sPmpsState := 'LI2K4:IP1-MIRROR1'; @@ -73,6 +73,7 @@ aLI2K4XStates[ENUM_LaserCoupling_States.Mirror1].stPMPS.sPmpsState := 'LI2K4:IP1 //LI2K4 EPS condition: OUT->In move Y then move X + IN->OUT move X thenm move Y //Y only can move up and down when X is OUT +{* EPS_LI2K4Y_Positive(eps:=Main.M45.stEPSForwardEnable); EPS_LI2K4Y_Positive.setBit(nBits := 0, bValue:= Main.M46.stAxisStatus.fActPosition > -0.8 OR Main.M45.stAxisStatus.fActPosition < 85); EPS_LI2K4Y_Negative(eps:=Main.M45.stEPSBackwardEnable); @@ -83,7 +84,7 @@ EPS_LI2K4X_Positive.setBit(nBits := 0, bValue:= Main.M45.stAxisStatus.fActPositi EPS_LI2K4X_Negative(eps:=Main.M46.stEPSBackwardEnable); EPS_LI2K4X_Negative.setBit(nBits := 0, bValue:= Main.M45.stAxisStatus.fActPosition < 85 OR Main.M46.stAxisStatus.fActPosition > -0.85); - +*} //LI2K4 sequenct move : OUT->IN Y move first and then X moves IN->OUT X moves first then Y diff --git a/plc-tmo-motion/tmo_motion/tmo_motion.tmc b/plc-tmo-motion/tmo_motion/tmo_motion.tmc index 9c23d1b..73ffb1f 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 @@ -1456,9 +1456,6 @@ - - Clear - ExtendName extends the source name on the right side of the string by the given extension. @@ -1515,19 +1512,7 @@ - __getguid - GUID - 128 - - guid - GUID - 128 - - - - property - - + Clear __setnId @@ -1572,6 +1557,21 @@ 64 + + __getguid + GUID + 128 + + guid + GUID + 128 + + + + property + + + __getsName STRING(255) @@ -1795,7 +1795,7 @@ 32 - UpdateLangId + OnArgumentsChanged __getipSourceInfo @@ -1993,9 +1993,6 @@ - - OnArgumentsChanged - __getsEventClassName STRING(255) @@ -2158,6 +2155,9 @@ + + UpdateLangId + EqualsToEventEntryEx returns TRUE if equal. @@ -2680,7 +2680,7 @@ 32 58176 - T#1ms + T @@ -2696,7 +2696,7 @@ 32 58208 - T#100ms + T @@ -2712,7 +2712,7 @@ 32 58240 - T#10m + T @@ -3633,7 +3633,7 @@ .PT - T#300MS + T @@ -4131,6 +4131,69 @@ + + FW_GetCurTaskIndex + 128 + + nIndex + BYTE + 8 + 64 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + conditionalshow + + + + + GETCURTASKINDEX + This function block GETCURTASKINDEX finds the task index of the task from which it is called. + 256 + + index + BYTE + Returns the current task index of the calling task. + 8 + 64 + + + ItemType + Output + + + + + fbGetCurTaskIndex + FW_GetCurTaskIndex + 128 + 128 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + E_TypeFieldParam String format argument types @@ -4613,69 +4676,6 @@ - - FW_GetCurTaskIndex - 128 - - nIndex - BYTE - 8 - 64 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - conditionalshow - - - - - GETCURTASKINDEX - This function block GETCURTASKINDEX finds the task index of the task from which it is called. - 256 - - index - BYTE - Returns the current task index of the calling task. - 8 - 64 - - - ItemType - Output - - - - - fbGetCurTaskIndex - FW_GetCurTaskIndex - 128 - 128 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - FB_Test @@ -4706,6 +4706,9 @@ BOOL 8 + + SetFailed + SetName @@ -4714,9 +4717,6 @@ 2048 - - SetFailed - IsFailed BOOL @@ -5000,60 +5000,7 @@ 8224416 - CopyDetectionCountAndResetDetectionCountInThisCycle - - IteratorCounter - UINT - 16 - - - - IncreaseDetectionCountThisCycleByOne - - Expected - AnyType - 128 - - - anytypeclass - ANY - - - - - Actual - AnyType - 128 - - - anytypeclass - ANY - - - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - - - hasanytype - - - - - CreateAssertResultInstance + AddAssertResult Expected AnyType @@ -5086,11 +5033,6 @@ T_MaxString 2048 - - IteratorCounter - UINT - 16 - hasanytype @@ -5145,9 +5087,7 @@ - GetDetectionCount - UINT - 16 + IncreaseDetectionCountThisCycleByOne Expected AnyType @@ -5192,34 +5132,126 @@ - ReportResult - - This method is called in every assert and returns whether this particular assert has already been called. - The reason one would like to know whether this assert has already been reported or not is to not report it several - times to any logging service. Because a test-suite can consist of several tests, and certain tests can require the - test to run over several cycles it means that certain asserts could be called several times and thus we need to - keep track of which asserts we've already reported. The user of the framework should not need to care for any of - this and he/she should be able to call the asserts in any way they find suitable. - - To know what assert this is we need to check for the total combination of: - - Test message - - Test instance path - - Expected value - - Actual value - Theoretically we can have a situation where a test has three different asserts, each and one with the same test - message/test instance path/actual value/expected value but called within the same or different cycles. In order for - us to handle all situations we need a simple algorithm that works according to: - - Keep track of how many instances the combination of test message/test instance path/expected value/actual value - we have. So for example, if we have called Assert(Exp := 5, Act := 5, 'Hello there', 'PRG.InstanceTestSuite.Test') - two times in one cycle, we have two instances of that combination. This is done according to: - - Iterate all existing reports. - - If we have a new PLC-cycle, set the current detection-count to zero. - - If new report does not match in any of the above fields, create it (together with current PLC-cycle). - Also store the information that we have one instance of this combination and +1 on the detection-count. - - If new report matches in all of the above, +1 in the detection-count. If this detection-count is larger than - the stored detection-count for this combination, create a new report and add +1 to the storage of - the detection-count. - + CreateAssertResultInstance + + Expected + AnyType + 128 + + + anytypeclass + ANY + + + + + Actual + AnyType + 128 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + hasanytype + + + + + GetDetectionCount + UINT + 16 + + Expected + AnyType + 128 + + + anytypeclass + ANY + + + + + Actual + AnyType + 128 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + hasanytype + + + + + ReportResult + + This method is called in every assert and returns whether this particular assert has already been called. + The reason one would like to know whether this assert has already been reported or not is to not report it several + times to any logging service. Because a test-suite can consist of several tests, and certain tests can require the + test to run over several cycles it means that certain asserts could be called several times and thus we need to + keep track of which asserts we've already reported. The user of the framework should not need to care for any of + this and he/she should be able to call the asserts in any way they find suitable. + + To know what assert this is we need to check for the total combination of: + - Test message + - Test instance path + - Expected value + - Actual value + Theoretically we can have a situation where a test has three different asserts, each and one with the same test + message/test instance path/actual value/expected value but called within the same or different cycles. In order for + us to handle all situations we need a simple algorithm that works according to: + - Keep track of how many instances the combination of test message/test instance path/expected value/actual value + we have. So for example, if we have called Assert(Exp := 5, Act := 5, 'Hello there', 'PRG.InstanceTestSuite.Test') + two times in one cycle, we have two instances of that combination. This is done according to: + - Iterate all existing reports. + - If we have a new PLC-cycle, set the current detection-count to zero. + - If new report does not match in any of the above fields, create it (together with current PLC-cycle). + Also store the information that we have one instance of this combination and +1 on the detection-count. + - If new report matches in all of the above, +1 in the detection-count. If this detection-count is larger than + the stored detection-count for this combination, create a new report and add +1 to the storage of + the detection-count. + Expected AnyType @@ -5315,44 +5347,12 @@ - AddAssertResult - - Expected - AnyType - 128 - - - anytypeclass - ANY - - - - - Actual - AnyType - 128 - - - anytypeclass - ANY - - - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - - hasanytype - - + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + @@ -5669,37 +5669,7 @@ 4240416 - IncreaseDetectionCountThisCycleByOne - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - + CopyDetectionCountAndResetDetectionCountInThisCycle IteratorCounter UINT @@ -5707,7 +5677,7 @@ - CreateAssertResultInstance + IncreaseDetectionCountThisCycleByOne ExpectedsSize UDINT @@ -5745,9 +5715,7 @@ - GetDetectionCountThisCycle - UINT - 16 + CreateAssertResultInstance ExpectedsSize UDINT @@ -5944,7 +5912,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 @@ -6288,11 +6288,14 @@ 12701056 - AssertArrayEquals_REAL + AssertArrayEquals_DINT + + Asserts that two DINT arrays are equal. If they are not, an assertion error is created. + Expecteds - REAL array with expected values - REAL + DINT array with expected values + DINT 64 @@ -6306,8 +6309,8 @@ Actuals - REAL array with actual values - REAL + DINT array with actual values + DINT 64 @@ -6319,12 +6322,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 - REAL - 32 - Message The identifying message for the assertion error @@ -6388,48 +6385,11 @@ - AssertEquals_BOOL - - Asserts that two BOOLs are equal. If they are not, an assertion error is created. - - - 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 - - - - AssertArrayEquals_WORD - - Asserts that two WORD arrays are equal. If they are not, an assertion error is created. - + AssertArrayEquals_REAL Expecteds - WORD array with expected values - WORD + REAL array with expected values + REAL 64 @@ -6443,8 +6403,8 @@ Actuals - WORD array with actual values - WORD + REAL array with actual values + REAL 64 @@ -6456,6 +6416,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 + REAL + 32 + Message The identifying message for the assertion error @@ -6507,16 +6473,6 @@ DINT 32 - - ExpectedDWordString - STRING(80) - 648 - - - ActualDWordString - STRING(80) - 648 - ExpectedsIndex DINT @@ -6529,21 +6485,21 @@ - AssertEquals_STRING + AssertEquals_BOOL - Asserts that two STRINGs are equal. If they are not, an assertion error is created. + Asserts that two BOOLs are equal. If they are not, an assertion error is created. Expected - STRING expected value - T_MaxString - 2048 + BOOL expected value + BOOL + 8 Actual - STRING actual value - T_MaxString - 2048 + BOOL actual value + BOOL + 8 Message @@ -6551,60 +6507,26 @@ T_MaxString 2048 - - TestInstancePath - T_MaxString - 2048 - AlreadyReported BOOL 8 - - - AssertEquals_ULINT - - Asserts that two ULINTs are equal. If they are not, an assertion error is created. - - - 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 - - AssertArrayEquals_USINT + AssertArrayEquals_WORD - Asserts that two USINT arrays are equal. If they are not, an assertion error is created. + Asserts that two WORD arrays are equal. If they are not, an assertion error is created. Expecteds - USINT array with expected values - USINT + WORD array with expected values + WORD 64 @@ -6618,8 +6540,8 @@ Actuals - USINT array with actual values - USINT + WORD array with actual values + WORD 64 @@ -6682,6 +6604,16 @@ DINT 32 + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + ExpectedsIndex DINT @@ -6694,19 +6626,82 @@ - GetNumberOfSuccessfulTests - UINT - 16 + AssertEquals_UINT + + Asserts that two UINTs are equal. If they are not, an assertion error is created. + + + 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 + - AssertArrayEquals_BYTE + AssertEquals_ULINT - Asserts that two BYTE arrays are equal. If they are not, an assertion error is created. + Asserts that two ULINTs are equal. If they are not, an assertion error is created. + + + 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 + + + + AssertArrayEquals_USINT + + Asserts that two USINT arrays are equal. If they are not, an assertion error is created. Expecteds - BYTE array with expected values - BYTE + USINT array with expected values + USINT 64 @@ -6720,8 +6715,8 @@ Actuals - BYTE array with actual values - BYTE + USINT array with actual values + USINT 64 @@ -6784,16 +6779,6 @@ DINT 32 - - ExpectedByteString - STRING(80) - 648 - - - ActualByteString - STRING(80) - 648 - ExpectedsIndex DINT @@ -6805,6 +6790,11 @@ 32 + + GetNumberOfSuccessfulTests + UINT + 16 + SetTestFailed @@ -6944,21 +6934,6 @@ 32 - - IsTestFinished - BOOL - 8 - - TestName - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - AssertEquals_LINT @@ -7345,14 +7320,29 @@ - AssertArrayEquals_DINT + AreAllTestsFinished + BOOL + 8 + + Counter + UINT + 16 + + + GetCurTaskIndex + GETCURTASKINDEX + 256 + + + + AssertArrayEquals_BYTE - Asserts that two DINT arrays are equal. If they are not, an assertion error is created. + Asserts that two BYTE arrays are equal. If they are not, an assertion error is created. Expecteds - DINT array with expected values - DINT + BYTE array with expected values + BYTE 64 @@ -7366,8 +7356,8 @@ Actuals - DINT array with actual values - DINT + BYTE array with actual values + BYTE 64 @@ -7430,6 +7420,16 @@ DINT 32 + + ExpectedByteString + STRING(80) + 648 + + + ActualByteString + STRING(80) + 648 + ExpectedsIndex DINT @@ -7441,45 +7441,6 @@ 32 - - AssertEquals_SINT - - Asserts that two SINTs are equal. If they are not, an assertion error is created. - - - 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 - - - - GetNumberOfTests - UINT - 16 - AssertEquals_LREAL @@ -7520,6 +7481,210 @@ 8 + + AssertArray3dEquals_REAL + + Expecteds + REAL 3d array with expected values + REAL + 64 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + REAL 3d array with actual values + REAL + 64 + + + 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 + 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 + 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 + 8576 + + + __Index__0 + DINT + 32 + + AssertArray2dEquals_REAL @@ -7724,14 +7889,20 @@ - AssertTrue + AssertEquals_BYTE - Asserts that a condition is true. If it is not, an assertion error is created. + Asserts that two BYTEs are equal. If they are not, an assertion error is created. - Condition - Condition to be checked - BOOL + Expected + BYTE expected value + BYTE + 8 + + + Actual + BYTE actual value + BYTE 8 @@ -7740,6 +7911,16 @@ T_MaxString 2048 + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + AssertArray3dEquals_LREAL @@ -7997,40 +8178,6 @@ 8 - - AssertEquals_DWORD - - Asserts that two DWORDs are equal. If they are not, an assertion error is created. - - - 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 @@ -8106,37 +8253,18 @@ - AssertEquals_LTIME - - Asserts that two LTIMEs are equal. If they are not, an assertion error is created. - - - 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 @@ -8305,11 +8433,14 @@ - AssertArray3dEquals_REAL + AssertArrayEquals_INT + + Asserts that two INT arrays are equal. If they are not, an assertion error is created. + Expecteds - REAL 3d array with expected values - REAL + INT array with expected values + INT 64 @@ -8317,14 +8448,14 @@ Dimensions - 3 + 1 Actuals - REAL 3d array with actual values - REAL + INT array with actual values + INT 64 @@ -8332,16 +8463,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 @@ -8358,6 +8483,11 @@ BOOL 8 + + Index + DINT + 32 + ExpectedString STRING(80) @@ -8378,179 +8508,33 @@ 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 - - - 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 - 8576 - - - __Index__0 + ExpectedsIndex DINT 32 - - - AssertEquals_DINT - - Asserts that two DINTs are equal. If they are not, an assertion error is created. - - - Expected - DINT expected value - DINT - 32 - - - Actual - DINT actual value + + ActualsIndex DINT 32 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - - - AlreadyReported - BOOL - 8 - AssertArrayEquals_UDINT - - Asserts that two UDINT arrays are equal. If they are not, an assertion error is created. - + AssertArrayEquals_LREAL Expecteds - UDINT array with expected values - UDINT + LREAL array with expected values + LREAL 64 @@ -8564,8 +8548,8 @@ Actuals - UDINT array with actual values - UDINT + LREAL array with actual values + LREAL 64 @@ -8577,6 +8561,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 @@ -8640,39 +8630,21 @@ - AssertArrayEquals_INT + AssertEquals_DWORD - Asserts that two INT arrays are equal. If they are not, an assertion error is created. + Asserts that two DWORDs are equal. If they are not, an assertion error is created. - Expecteds - INT array with expected values - INT - 64 - - - variable_length_array - - - Dimensions - 1 - - + Expected + DWORD expected value + DWORD + 32 - Actuals - INT array with actual values - INT - 64 - - - variable_length_array - - - Dimensions - 1 - - + Actual + DWORD actual value + DWORD + 32 Message @@ -8681,59 +8653,82 @@ 2048 - Equals - BOOL - 8 + TestInstancePath + T_MaxString + 2048 - SizeEquals + AlreadyReported BOOL 8 - - Index + + + AssertEquals_DINT + + Asserts that two DINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two STRINGs are equal. If they are not, an assertion error is created. + + + 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 @@ -8770,14 +8765,14 @@ - AssertArrayEquals_LINT + AssertArrayEquals_UDINT - Asserts that two LINT arrays are equal. If they are not, an assertion error is created. + Asserts that two UDINT arrays are equal. If they are not, an assertion error is created. Expecteds - LINT array with expected values - LINT + UDINT array with expected values + UDINT 64 @@ -8791,8 +8786,8 @@ Actuals - LINT array with actual values - LINT + UDINT array with actual values + UDINT 64 @@ -9293,19 +9288,22 @@ - AreAllTestsFinished - BOOL - 8 - - Counter - UINT - 16 - - - GetCurTaskIndex - GETCURTASKINDEX - 256 - + AssertTrue + + Asserts that a condition is true. If it is not, an assertion error is created. + + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + AddTest @@ -9355,6 +9353,40 @@ 2048 + + AssertEquals_LTIME + + Asserts that two LTIMEs are equal. If they are not, an assertion error is created. + + + 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 @@ -9462,103 +9494,6 @@ 32 - - FindTestSuiteInstancePath - Searches for the instance path of the calling function block - T_MaxString - 2048 - - - AssertEquals_BYTE - - Asserts that two BYTEs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two UINTs are equal. If they are not, an assertion error is created. - - - 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 - Marks the test as finished in this testsuite. - Returns TRUE if test was found, and FALSE if a test with this name was not found in this testsuite - - BOOL - 8 - - TestName - T_MaxString - 2048 - - - IteratorCounter - UINT - 16 - - AssertArrayEquals_UINT @@ -9657,11 +9592,48 @@ - AssertArrayEquals_LREAL + FindTestSuiteInstancePath + Searches for the instance path of the calling function block + T_MaxString + 2048 + + + GetNumberOfTests + UINT + 16 + + + GetInstancePath + T_MaxString + 2048 + + + SetTestFinished + Marks the test as finished in this testsuite. + Returns TRUE if test was found, and FALSE if a test with this name was not found in this testsuite + + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + AssertArrayEquals_LINT + + Asserts that two LINT arrays are equal. If they are not, an assertion error is created. + Expecteds - LREAL array with expected values - LREAL + LINT array with expected values + LINT 64 @@ -9675,8 +9647,8 @@ Actuals - LREAL array with actual values - LREAL + LINT array with actual values + LINT 64 @@ -9688,12 +9660,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 @@ -9756,6 +9722,40 @@ 32 + + AssertEquals_SINT + + Asserts that two SINTs are equal. If they are not, an assertion error is created. + + + 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 + + PouType @@ -10067,7 +10067,7 @@ .PT - T#50MS + T @@ -10095,7 +10095,7 @@ 32 4129120 - T#50MS + T @@ -13139,6 +13139,14 @@ + + AddUlint + + value + ULINT + 64 + + AddKeyNumber @@ -13191,6 +13199,20 @@ 64 + + AddKeyNull + + key + STRING(80) + 64 + + + ItemType + InOut + + + + IsComplete BOOL @@ -13204,19 +13226,6 @@ 32 - - AddHexBinary - - pBytes - BYTE - 64 - - - nBytes - DINT - 32 - - AddLint @@ -13225,6 +13234,9 @@ 64 + + StartObject + AddLreal @@ -13247,10 +13259,6 @@ - - ResetDocument - | Resets the internal JSON document if a new document should be created with the same SaxWriter instance. - AddKeyLreal @@ -13271,23 +13279,36 @@ - StartObject + AddFileTime + + value + FILETIME + 64 + - GetDocumentLength - | Returns the size of the JSON document in bytes (including the null termination). - UDINT - 32 - - n - UDINT + AddNull + + + AddReal + + value + REAL 32 - - - p - STRING(80) + + + + AddHexBinary + + pBytes + BYTE 64 - + + + nBytes + DINT + 32 + AddKeyDcTime @@ -13316,20 +13337,6 @@ 32 - - AddRawObject - - rawJson - STRING(80) - 64 - - - ItemType - InOut - - - - SetMaxDecimalPlaces @@ -13372,22 +13379,6 @@ 8 - - GetDocument - | Returns the JSON document. If its size is more than 255 bytes the method CopyDocument() has to be used. - STRING(255) - 2048 - - p - SINT - 64 - - - n - UDINT - 32 - - AddDint @@ -13438,36 +13429,8 @@ - CopyDocument - | Copies the JSON document and returns its size in bytes (including the null termination). - UDINT - 32 - - pDoc - target string buffer where the document should be copied to - STRING(80) - 64 - - - ItemType - InOut - - - - - nDoc - size in bytes of the target string buffer - UDINT - 32 - - - - AddUlint - - value - ULINT - 64 - + ResetDocument + | Resets the internal JSON document if a new document should be created with the same SaxWriter instance. GetMaxDecimalPlaces @@ -13480,20 +13443,9 @@ - AddFileTime - - value - FILETIME - 64 - - - - AddNull - - - AddKeyDateTime + AddRawObject - key + rawJson STRING(80) 64 @@ -13503,11 +13455,22 @@ - - value - DATE_AND_TIME + + + GetDocumentLength + | Returns the size of the JSON document in bytes (including the null termination). + UDINT + 32 + + n + UDINT 32 - + + + p + STRING(80) + 64 + AddBool @@ -13517,6 +13480,22 @@ 8 + + GetDocument + | Returns the JSON document. If its size is more than 255 bytes the method CopyDocument() has to be used. + STRING(255) + 2048 + + p + SINT + 64 + + + n + UDINT + 32 + + AddBase64 @@ -13539,7 +13518,7 @@ - AddKeyNull + AddKeyDateTime key STRING(80) @@ -13551,6 +13530,11 @@ + + value + DATE_AND_TIME + 32 + EndArray @@ -13562,10 +13546,26 @@ StartArray - AddReal + CopyDocument + | Copies the JSON document and returns its size in bytes (including the null termination). + UDINT + 32 - value - REAL + pDoc + target string buffer where the document should be copied to + STRING(80) + 64 + + + ItemType + InOut + + + + + nDoc + size in bytes of the target string buffer + UDINT 32 @@ -13884,22 +13884,11 @@ ExecuteNoLog - EvaluateOutput + Execute - Execute + EvaluateOutput - - EvaluateVetos - BOOL - 8 - - - obsolete - Use EvaluateOverrides instead. - - - EvaluateOverrides BOOL @@ -13957,6 +13946,51 @@ + + FormulateLogJson + STRING(80) + 648 + + FF + ST_FF + 8128 + + + + IdxCheckIn + BOOL + 8 + + Idx + DINT + 32 + + + OK + BOOL + 8 + + + Reset + BOOL + 8 + + + stFF + ST_FF + 8128 + + + BeamPermitted + BOOL + 8 + + + + no_check + + + Register BOOL @@ -13995,50 +14029,16 @@ - IdxCheckIn + EvaluateVetos BOOL 8 - - Idx - DINT - 32 - - - OK - BOOL - 8 - - - Reset - BOOL - 8 - - - stFF - ST_FF - 8128 - - - BeamPermitted - BOOL - 8 - - no_check + obsolete + Use EvaluateOverrides instead. - - FormulateLogJson - STRING(80) - 648 - - FF - ST_FF - 8128 - - PouType @@ -14305,24 +14305,14 @@ - GetHexBinary - DINT - 32 + PopbackValue + BOOL + 8 v SJsonValue 64 - - p - PVOID - 64 - - - n - DINT - 32 - HasMember @@ -14407,19 +14397,15 @@ - PushbackFileTimeValue - SJsonValue - 64 - - v - SJsonValue - 64 - - - value - FILETIME + GetDocumentLength + | Returns the size of the DOM document in bytes (including the null termination). + UDINT + 32 + + p + STRING(80) 64 - + PushbackIntValue @@ -14462,32 +14448,6 @@ 64 - - RemoveMemberByName - BOOL - 8 - - v - SJsonValue - 64 - - - member - STRING(80) - 64 - - - ItemType - InOut - - - - - keepOrder - BOOL - 8 - - AddArrayMember SJsonValue @@ -14514,16 +14474,6 @@ 32 - - SetNull - SJsonValue - 64 - - v - SJsonValue - 64 - - SetString SJsonValue @@ -14556,34 +14506,23 @@ - PushbackUintValue - SJsonValue - 64 - - v - SJsonValue - 64 - + SetAdsProvider + BOOL + 8 - value - UDINT + oid + OTCID 32 - ParseDocument - SJsonValue - 64 + IsDouble + BOOL + 8 - sJson - STRING(80) + v + SJsonValue 64 - - - ItemType - InOut - - @@ -14622,6 +14561,16 @@ 64 + + RemoveAllMembers + BOOL + 8 + + v + SJsonValue + 64 + + SetDouble SJsonValue @@ -14638,7 +14587,7 @@ - PushbackBoolValue + SetDcTime SJsonValue 64 @@ -14648,8 +14597,8 @@ value - BOOL - 8 + DCTIME + 64 @@ -14713,16 +14662,6 @@ 64 - - SetObject - SJsonValue - 64 - - v - SJsonValue - 64 - - AddDateTimeMember SJsonValue @@ -14760,7 +14699,28 @@ - PushbackUint64Value + GetStringLength + | Returns the size in bytes (including the null termination). + UDINT + 32 + + v + SJsonValue + 64 + + + p + BYTE + 64 + + + l + UDINT + 32 + + + + AddJsonMember SJsonValue 64 @@ -14769,9 +14729,41 @@ 64 - value - ULINT + member + STRING(80) + 64 + + + ItemType + InOut + + + + + rawJson + STRING(80) 64 + + + ItemType + InOut + + + + + + SetUint + SJsonValue + 64 + + v + SJsonValue + 64 + + + value + UDINT + 32 @@ -14790,9 +14782,9 @@ - RemoveAllMembers - BOOL - 8 + SetObject + SJsonValue + 64 v SJsonValue @@ -14804,6 +14796,16 @@ BOOL 8 + + GetArraySize + UDINT + 32 + + v + SJsonValue + 64 + + IsISO8601TimeFormat BOOL @@ -14815,14 +14817,19 @@ - GetArraySize - UDINT - 32 + PushbackUint64Value + SJsonValue + 64 v SJsonValue 64 + + value + ULINT + 64 + GetInt64 @@ -14893,65 +14900,29 @@ - SetDcTime - SJsonValue - 64 - - v - SJsonValue - 64 - - - value - DCTIME - 64 - - - - SetArray - SJsonValue + GetFileTime + FILETIME 64 v SJsonValue 64 - - reserve - UDINT - 32 - - GetFileTime - FILETIME - 64 + Swap + BOOL + 8 v SJsonValue 64 - - - GetStringLength - | Returns the size in bytes (including the null termination). - UDINT - 32 - v + w SJsonValue 64 - - p - BYTE - 64 - - - l - UDINT - 32 - SaveDocumentToFile @@ -15004,9 +14975,9 @@ - IsBase64 - BOOL - 8 + GetUint64 + ULINT + 64 v SJsonValue @@ -15014,7 +14985,7 @@ - IsTrue + IsBase64 BOOL 8 @@ -15113,7 +15084,7 @@ - AddObjectMember + SetArray SJsonValue 64 @@ -15122,15 +15093,9 @@ 64 - member - STRING(80) - 64 - - - ItemType - InOut - - + reserve + UDINT + 32 @@ -15153,21 +15118,6 @@ 64 - - SetFileTime - SJsonValue - 64 - - v - SJsonValue - 64 - - - value - FILETIME - 64 - - CopyString | The function copies a string to the given buffer if the given buffer size is big enough. @@ -15211,6 +15161,38 @@ 32 + + AddStringMember + SJsonValue + 64 + + v + SJsonValue + 64 + + + member + STRING(80) + 64 + + + ItemType + InOut + + + + + value + STRING(80) + 64 + + + ItemType + InOut + + + + SetBase64 SJsonValue @@ -15248,39 +15230,46 @@ - Swap - BOOL - 8 - - v - SJsonValue + GetDocument + | Returns the full DOM document. + | If its size is more than 255 bytes an empty string is returned and the method CopyDocument() has to be used. + STRING(255) + 2048 + + p + BYTE 64 - - - w - SJsonValue + + + q + BYTE 64 - + + + t + STRING(255) + 64 + + + length + UDINT + 32 + - SetUint64 - SJsonValue - 64 + IsHexBinary + BOOL + 8 v SJsonValue 64 - - value - ULINT - 64 - - IsHexBinary - BOOL - 8 + GetUint + UDINT + 32 v SJsonValue @@ -15314,34 +15303,9 @@ - IsFalse - BOOL - 8 - - v - SJsonValue - 64 - - - - SetAdsProvider - BOOL - 8 - - oid - OTCID - 32 - - - - MemberBegin - SJsonIterator - 64 - - v - SJsonValue - 64 - + GetMaxDecimalPlaces + DINT + 32 NewDocument @@ -15404,9 +15368,9 @@ - PopbackValue - BOOL - 8 + SetNull + SJsonValue + 64 v SJsonValue @@ -15414,35 +15378,28 @@ - AddJsonMember - SJsonValue - 64 + GetDateTime + DATE_AND_TIME + 32 v SJsonValue 64 + + + PushbackFileTimeValue + SJsonValue + 64 - member - STRING(80) + v + SJsonValue 64 - - - ItemType - InOut - - - rawJson - STRING(80) + value + FILETIME 64 - - - ItemType - InOut - - @@ -15476,9 +15433,9 @@ - GetDateTime - DATE_AND_TIME - 32 + IsTrue + BOOL + 8 v SJsonValue @@ -15577,14 +15534,6 @@ 64 - - SetMaxDecimalPlaces - - dp - DINT - 32 - - FindMember SJsonValue @@ -15668,24 +15617,17 @@ - SetUint - SJsonValue - 64 - - v - SJsonValue - 64 - + SetMaxDecimalPlaces - value - UDINT + dp + DINT 32 - SetHexBinary - SJsonValue - 64 + GetHexBinary + DINT + 32 v SJsonValue @@ -15703,7 +15645,7 @@ - GetArrayValueByIdx + AddDoubleMember SJsonValue 64 @@ -15712,13 +15654,24 @@ 64 - idx - UDINT - 32 + member + STRING(80) + 64 + + + ItemType + InOut + + + + + value + LREAL + 64 - PushbackHexBinaryValue + PushbackNullValue SJsonValue 64 @@ -15726,19 +15679,9 @@ SJsonValue 64 - - p - PVOID - 64 - - - n - DINT - 32 - - AddDoubleMember + AddObjectMember SJsonValue 64 @@ -15757,14 +15700,9 @@ - - value - LREAL - 64 - - PushbackNullValue + PushbackBoolValue SJsonValue 64 @@ -15772,6 +15710,11 @@ SJsonValue 64 + + value + BOOL + 8 + AddBoolMember @@ -15800,14 +15743,24 @@ - GetDcTime - DCTIME + SetHexBinary + SJsonValue 64 v SJsonValue 64 + + p + PVOID + 64 + + + n + DINT + 32 + AddUintMember @@ -15895,9 +15848,9 @@ - AddStringMember - SJsonValue - 64 + RemoveMemberByName + BOOL + 8 v SJsonValue @@ -15915,7 +15868,22 @@ - value + keepOrder + BOOL + 8 + + + + PushbackJsonValue + SJsonValue + 64 + + v + SJsonValue + 64 + + + rawJson STRING(80) 64 @@ -15947,17 +15915,28 @@ - GetMaxDecimalPlaces - DINT - 32 - - - GetArrayValue + ParseDocument SJsonValue 64 - i - SJsonAIterator + sJson + STRING(80) + 64 + + + ItemType + InOut + + + + + + IsFalse + BOOL + 8 + + v + SJsonValue 64 @@ -15972,34 +15951,17 @@ - GetDocument - | Returns the full DOM document. - | If its size is more than 255 bytes an empty string is returned and the method CopyDocument() has to be used. - STRING(255) - 2048 - - p - BYTE - 64 - - - q - BYTE - 64 - - - t - STRING(255) + GetArrayValue + SJsonValue + 64 + + i + SJsonAIterator 64 - - - length - UDINT - 32 - + - SetInt + SetFileTime SJsonValue 64 @@ -16009,8 +15971,8 @@ value - DINT - 32 + FILETIME + 64 @@ -16029,18 +15991,28 @@ - GetUint - UDINT - 32 + PushbackHexBinaryValue + SJsonValue + 64 v SJsonValue 64 + + p + PVOID + 64 + + + n + DINT + 32 + - GetUint64 - ULINT + MemberBegin + SJsonIterator 64 v @@ -16049,15 +16021,54 @@ - GetDocumentLength - | Returns the size of the DOM document in bytes (including the null termination). - UDINT - 32 - - p - STRING(80) + GetArrayValueByIdx + SJsonValue + 64 + + v + SJsonValue 64 - + + + idx + UDINT + 32 + + + + SetUint64 + SJsonValue + 64 + + v + SJsonValue + 64 + + + value + ULINT + 64 + + + + GetDcTime + DCTIME + 64 + + v + SJsonValue + 64 + + + + IsArray + BOOL + 8 + + v + SJsonValue + 64 + GetJson @@ -16092,17 +16103,7 @@ - IsArray - BOOL - 8 - - v - SJsonValue - 64 - - - - PushbackJsonValue + SetInt SJsonValue 64 @@ -16111,26 +16112,25 @@ 64 - rawJson - STRING(80) - 64 - - - ItemType - InOut - - + value + DINT + 32 - IsDouble - BOOL - 8 + PushbackUintValue + SJsonValue + 64 v SJsonValue 64 + + value + UDINT + 32 + AddNullMember @@ -19526,12 +19526,6 @@ contributing fast faults, unless the FFO is currently vetoed. BYTE 8 - - GetMDPTableID - returns the MDP table id (part of MDP address) - BYTE - 8 - GetMDPSubIndex BYTE @@ -19557,6 +19551,11 @@ contributing fast faults, unless the FFO is currently vetoed. BYTE 8 + + GetMDPModuleType + E_IPCDiag_ModuleType + 16 + IsListParam BOOL @@ -19573,9 +19572,10 @@ contributing fast faults, unless the FFO is currently vetoed. - GetMDPModuleType - E_IPCDiag_ModuleType - 16 + GetMDPTableID + returns the MDP table id (part of MDP address) + BYTE + 8 SetKey @@ -21405,9 +21405,73 @@ contributing fast faults, unless the FFO is currently vetoed. 87236888 - Clear - HRESULT - 32 + ReadFreeSpaceOfVol + + nState + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NSTATE + + + + + nNoVolumes + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NNOVOLUMES + + + + + sDriveLetter + STRING(7) + 64 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__SDRIVELETTER + + + + + nFoundIdx + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NFOUNDIDX + + + + + hr + HRESULT + 32 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__HR + + + + + i + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__I + + + GetFreeSpaceOfVol @@ -21426,21 +21490,6 @@ contributing fast faults, unless the FFO is currently vetoed. 32 - - __getipMemMan - I_DynMem_Manager - 64 - - ipMemMan - I_DynMem_Manager - 64 - - - - property - - - GetMDPVersion HRESULT @@ -21463,6 +21512,11 @@ contributing fast faults, unless the FFO is currently vetoed. 16 + + Clear + HRESULT + 32 + GetTCVersion HRESULT @@ -21511,73 +21565,19 @@ contributing fast faults, unless the FFO is currently vetoed. - ReadFreeSpaceOfVol - - nState - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NSTATE - - - - - nNoVolumes - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NNOVOLUMES - - - + __getipMemMan + I_DynMem_Manager + 64 - sDriveLetter - STRING(7) + ipMemMan + I_DynMem_Manager 64 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__SDRIVELETTER - - - - - nFoundIdx - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NFOUNDIDX - - - - - hr - HRESULT - 32 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__HR - - - - - i - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__I - - + + + property + + ReadMDPVersion @@ -24978,21 +24978,22 @@ contributing fast faults, unless the FFO is currently vetoed. 32 - Open + Write - Opens a file + Writes the contents of the buffer into a file. 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 + 64 - FileAccessMode - ACCESS_MODE + Size + Call with SIZEOF(); + UDINT 32 @@ -25011,22 +25012,21 @@ contributing fast faults, unless the FFO is currently vetoed. - Write + Open - Writes the contents of the buffer into a file. + Opens a file RTS_IEC_RESULT 32 - BufferPointer - Call with ADR(); - BYTE - 64 + 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 @@ -25225,62 +25225,75 @@ contributing fast faults, unless the FFO is currently vetoed. - Clear + Copy - Clears the buffer and sets the length to 0 + Copies a string from the character buffer - - Count + T_MaxString + 2048 + + StartPos UDINT 32 - - - - __setAppend - - Appends a string to the buffer - + - 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 64 - ByteBuffer + PointerToBuffer BYTE 64 - - - property - - + + CurPos + UDINT + 32 + - __getBufferSize + Clear - Read current Buffersize + Clears the buffer and sets the length to 0 - UDINT - 32 - BufferSize + Count UDINT 32 - - - property - - __setLength @@ -25301,6 +25314,24 @@ contributing fast faults, unless the FFO is currently vetoed. + + __getBufferSize + + Read current Buffersize + + UDINT + 32 + + BufferSize + UDINT + 32 + + + + property + + + SetBuffer BOOL @@ -25319,64 +25350,33 @@ contributing fast faults, unless the FFO is currently vetoed. - Copy + __setAppend - Copies a string from the character buffer + Appends a string to the buffer - T_MaxString - 2048 - - StartPos - UDINT - 32 - - - EndPos - UDINT - 32 - - - CopyLen - UDINT - 32 - - - ItemType - Output - - - - XmlError - E_XmlError - 8 - - - ItemType - Output - - + Append + + Appends a string to the buffer + + T_MaxString + 2048 - Loop - UDINT - 32 - - - PointerToByteToCopy + ByteIn BYTE 64 - PointerToBuffer + ByteBuffer BYTE 64 - - CurPos - UDINT - 32 - + + + property + + @@ -25579,6 +25579,13 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 + + ToStartBuffer + + Jump to the beginning of the XML data + XML.ToStartBuffer(); + + NewTag @@ -25609,36 +25616,6 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 - - WriteDocumentHeader - - Add your own preffered fileheader like: - XML: <?xml version="1.0" encoding="UTF-8"?> - - Start with calling this method before appending any other tags! - - XML.WriteDocumentHeader('<?xml version="1.0" encoding="UTF-8"?>'); - - - Header - T_MaxString - 2048 - - - - NewComment - - Adds a comment - XML: <!-- MyComment --> - - XML.NewComment(Comment: = 'MyComment'); - - - Comment - T_MaxString - 2048 - - __getLength UDINT @@ -25654,6 +25631,12 @@ contributing fast faults, unless the FFO is currently vetoed. + + ClearBuffer + + Clears the contents of the entire buffer. + + NewTagData @@ -25662,6 +25645,20 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 + + NewComment + + Adds a comment + XML: <!-- MyComment --> + + XML.NewComment(Comment: = 'MyComment'); + + + Comment + T_MaxString + 2048 + + SetBuffer @@ -25678,17 +25675,20 @@ contributing fast faults, unless the FFO is currently vetoed. - ClearBuffer - - Clears the contents of the entire buffer. - - - - ToStartBuffer + WriteDocumentHeader - Jump to the beginning of the XML data - XML.ToStartBuffer(); + Add your own preffered fileheader like: + XML: <?xml version="1.0" encoding="UTF-8"?> + + Start with calling this method before appending any other tags! + + XML.WriteDocumentHeader('<?xml version="1.0" encoding="UTF-8"?>'); + + Header + T_MaxString + 2048 + @@ -26061,6 +26061,12 @@ contributing fast faults, unless the FFO is currently vetoed. SetFailed + + GetTestOrder + Gets in which order/sequence relative to the order tests should this test be executed/evaluated. + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + SetName @@ -26074,14 +26080,6 @@ contributing fast faults, unless the FFO is currently vetoed. T_MaxString 2048 - - SetNumberOfAssertions - - NoOfAssertions - UINT - 16 - - SetTestOrder Sets in which order/sequence relative to the order tests should this test be executed/evaluated. @@ -26097,9 +26095,9 @@ contributing fast faults, unless the FFO is currently vetoed. 8 - GetNumberOfAssertions - UINT - 16 + IsFailed + BOOL + 8 SetFinished @@ -26139,15 +26137,17 @@ contributing fast faults, unless the FFO is currently vetoed. 8 - GetTestOrder - Gets in which order/sequence relative to the order tests should this test be executed/evaluated. - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + GetNumberOfAssertions + UINT 16 - IsFailed - BOOL - 8 + SetNumberOfAssertions + + NoOfAssertions + UINT + 16 + @@ -26432,35 +26432,52 @@ contributing fast faults, unless the FFO is currently vetoed. 24640416 - CopyDetectionCountAndResetDetectionCountInThisCycle - - IteratorCounter - UINT + AddAssertResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass 16 - - - - GetNumberOfAssertsForTest - UINT - 16 + - CompleteTestInstancePath + ExpectedValue + BYTE + 64 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 64 + + + Message + T_MaxString + 2048 + + + TestInstancePath T_MaxString 2048 - - Counter - UINT - 16 - - - NumberOfAsserts - UINT - 16 - - CreateAssertResultInstance + GetDetectionCountThisCycle + UINT + 16 ExpectedSize UDINT @@ -26508,9 +26525,27 @@ contributing fast faults, unless the FFO is currently vetoed. - GetDetectionCountThisCycle + GetNumberOfAssertsForTest UINT 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + + CreateAssertResultInstance ExpectedSize UDINT @@ -26734,47 +26769,12 @@ contributing fast faults, unless the FFO is currently vetoed. - AddAssertResult - - ExpectedSize - UDINT - 32 - - - ExpectedTypeClass - TypeClass - 16 - - - ExpectedValue - BYTE - 64 - - - ActualSize - UDINT - 32 - - - ActualTypeClass - TypeClass + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT 16 - - - ActualValue - BYTE - 64 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - + @@ -26920,37 +26920,7 @@ contributing fast faults, unless the FFO is currently vetoed. 8480416 - CreateAssertResultInstance - - ExpectedsSize - UDINT - 32 - - - ExpectedsTypeClass - TypeClass - 16 - - - ActualsSize - UDINT - 32 - - - ActualsTypeClass - TypeClass - 16 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - + CopyDetectionCountAndResetDetectionCountInThisCycle IteratorCounter UINT @@ -26958,9 +26928,7 @@ contributing fast faults, unless the FFO is currently vetoed. - GetDetectionCountThisCycle - UINT - 16 + CreateAssertResultInstance ExpectedsSize UDINT @@ -27177,7 +27145,39 @@ contributing fast faults, unless the FFO is currently vetoed. - 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 @@ -27745,21 +27745,21 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertEquals_BYTE + AssertEquals_DWORD - Asserts that two BYTEs are equal. If they are not, an assertion error is created. + Asserts that two DWORDs are equal. If they are not, an assertion error is created. Expected - BYTE expected value - BYTE - 8 + DWORD expected value + DWORD + 32 Actual - BYTE actual value - BYTE - 8 + DWORD actual value + DWORD + 32 Message @@ -28496,36 +28496,64 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertEquals + AssertFalse - Asserts that two objects (of any type) are equal. If they are not, an assertion error is created. - For REAL and LREAL it's recommended to use the AssertEquals_REAL or AssertEquals_LREAL respectively - as these give the possibility to specify a delta between the expected and actual value. + Asserts that a condition is false. If it is not, an assertion error is created. - Expected - Expected value - AnyType - 128 + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertArray2dEquals_LREAL + + Asserts that two LREAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. + + + Expecteds + LREAL 2d array with expected values + LREAL + 64 - anytypeclass - ANY + variable_length_array + + + Dimensions + 2 - Actual - The value to check against expected - AnyType - 128 + Actuals + LREAL 2d array with actual values + LREAL + 64 - 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 @@ -28533,22 +28561,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 @@ -28558,258 +28586,196 @@ 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 + + Asserts that two ULINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two BOOLs are equal. If they are not, an assertion error is created. + + + 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 - Asserts that a condition is false. If it is not, an assertion error is created. + Asserts that a condition is true. If it is not, an assertion error is created. Condition @@ -28825,20 +28791,20 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertEquals_SINT + AssertEquals_USINT - Asserts that two SINTs are equal. If they are not, an assertion error is created. + Asserts that two USINTs are equal. If they are not, an assertion error is created. Expected - SINT expected value - SINT + USINT expected value + USINT 8 Actual - SINT actual value - SINT + USINT actual value + USINT 8 @@ -28847,26 +28813,26 @@ 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 - Asserts that two LREAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. + Asserts that two REAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. Expecteds - LREAL 2d array with expected values - LREAL + REAL 2d array with expected values + REAL 64 @@ -28880,8 +28846,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 64 @@ -28896,8 +28862,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 @@ -29034,14 +29000,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 @@ -29050,123 +29016,21 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertEquals_ULINT - - Asserts that two ULINTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two BOOLs are equal. If they are not, an assertion error is created. - - - 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 - Asserts that two USINTs are equal. If they are not, an assertion error is created. + Asserts that two BYTEs are equal. If they are not, an assertion error is created. 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 - - Asserts that two LWORDs are equal. If they are not, an assertion error is created. - - - Expected - LWORD expected value - LWORD - 64 - - - Actual - LWORD actual value - LWORD - 64 Message @@ -29314,24 +29178,315 @@ contributing fast faults, unless the FFO is currently vetoed. 2048 - GetTestOrderNumber - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 + AssertEquals + + Asserts that two objects (of any type) are equal. If they are not, an assertion error is created. + For REAL and LREAL it's recommended to use the AssertEquals_REAL or AssertEquals_LREAL respectively + as these give the possibility to specify a delta between the expected and actual value. + - TestName + Expected + Expected value + AnyType + 128 + + + anytypeclass + ANY + + + + + Actual + The value to check against expected + AnyType + 128 + + + 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 @@ -29875,6 +30030,21 @@ contributing fast faults, unless the FFO is currently vetoed. 8 + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + SetTestFinished Marks the test as finished in this testsuite. @@ -30367,57 +30537,25 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertEquals_DWORD - - Asserts that two DWORDs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that a condition is true. If it is not, an assertion error is created. - - - Condition - Condition to be checked - BOOL - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - AssertEquals_INT @@ -30487,45 +30625,21 @@ contributing fast faults, unless the FFO is currently vetoed. - AssertArray2dEquals_REAL + AssertEquals_SINT - Asserts that two REAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. + Asserts that two SINTs are equal. If they are not, an assertion error is created. - Expecteds - REAL 2d array with expected values - REAL - 64 - - - variable_length_array - - - Dimensions - 2 - - - - - Actuals - REAL 2d array with actual values - REAL - 64 - - - 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 @@ -30534,22 +30648,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 @@ -30558,124 +30657,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 @@ -30948,19 +30929,38 @@ contributing fast faults, unless the FFO is currently vetoed. - AddTestNameToInstancePath - T_MaxString - 2048 + AssertEquals_LWORD + + Asserts that two LWORDs are equal. If they are not, an assertion error is created. + - 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 @@ -31306,7 +31306,7 @@ contributing fast faults, unless the FFO is currently vetoed. .PT - T#10MS + T @@ -31325,7 +31325,7 @@ contributing fast faults, unless the FFO is currently vetoed. 32 8321120 - T#10MS + T @@ -31333,6 +31333,33 @@ contributing fast faults, unless the FFO is currently vetoed. UDINT 32 + + GetAndRemoveLogFromQueue + Reads and removes the oldest message + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + WriteLog Writes a new data set into the ring buffer @@ -31369,33 +31396,6 @@ contributing fast faults, unless the FFO is currently vetoed. 4128 - - GetAndRemoveLogFromQueue - Reads and removes the oldest message - - AdsLogStringMessage - ST_AdsLogStringMessage - 4128 - - - ItemType - Output - - - - - Error - Buffer empty - BOOL - 8 - - - ItemType - Output - - - - PouType @@ -35572,37 +35572,6 @@ External Setpoint Generation: - - T_HashTableEntry - 128 - - key - DWORD - 32 - 0 - - 0 - - - - pytmc - - pv: Key - io: i - - - - - - value - PVOID - 64 - 64 - - 0 - - - ST_BP_ArbInternal 2464 @@ -35650,6 +35619,37 @@ External Setpoint Generation: + + T_HashTableEntry + 128 + + key + DWORD + 32 + 0 + + 0 + + + + pytmc + + pv: Key + io: i + + + + + + value + PVOID + 64 + 64 + + 0 + + + T_HashTableEntry Hash table entry @@ -36262,9 +36262,6 @@ External Setpoint Generation: - - A_Reset - A_Count @@ -36272,19 +36269,22 @@ External Setpoint Generation: DataPoolToEpics - A_Add + A_Lookup A_Remove + + A_Reset + A_GetFirst - A_GetNext + A_Add - A_Lookup + A_GetNext @@ -36511,7 +36511,7 @@ These features efficiently address the addition, removal, and verification of be 8 339528 - : u + true @@ -36545,42 +36545,30 @@ These features efficiently address the addition, removal, and verification of be 511296 - __getnEntryCount - How many entries are in the arbiter now - UDINT - 32 - - nEntryCount - UDINT - 32 - - - - property - - - - - CheckRequest - Checks request ID is included in arbitration all the way to the accelerator interface -Use like so: -IF fbArbiter.CheckRequest(nStateIDAssertionToCheck) AND (other logic) THEN: - Request is found and active in arbitration,. Do something. -ELSE: - Request was not found, or is not yet included in arbitration. Don't do something/ wait. - - + RemoveRequest + Removes request from abritration. BOOL 8 - nReqID + nReqId DWORD 32 - BP - ST_BeamParams - 1760 + fbLog + FB_LogMessage + 85696 + + + uselocation + __FB_ARBITER__REMOVEREQUEST__FBLOG + + + + + BP_Int + ST_BP_ArbInternal + 2464 @@ -36710,6 +36698,42 @@ ELSE: + + CheckRequestInPool + Verify request is at least in the local arbiter + Does not verify request has been included in arbitration. + Use CheckRequest instead. + BOOL + 8 + + nReqID + DWORD + 32 + + + + CheckRequest + Checks request ID is included in arbitration all the way to the accelerator interface +Use like so: +IF fbArbiter.CheckRequest(nStateIDAssertionToCheck) AND (other logic) THEN: + Request is found and active in arbitration,. Do something. +ELSE: + Request was not found, or is not yet included in arbitration. Don't do something/ wait. + + + BOOL + 8 + + nReqID + DWORD + 32 + + + BP + ST_BeamParams + 1760 + + AddRequest Adds a request to the arbiter pool. @@ -36752,44 +36776,20 @@ ELSE: - RemoveRequest - Removes request from abritration. - BOOL - 8 - - nReqId - DWORD - 32 - - - fbLog - FB_LogMessage - 85696 - - - uselocation - __FB_ARBITER__REMOVEREQUEST__FBLOG - - - + __getnEntryCount + How many entries are in the arbiter now + UDINT + 32 - BP_Int - ST_BP_ArbInternal - 2464 - - - - CheckRequestInPool - Verify request is at least in the local arbiter - Does not verify request has been included in arbitration. - Use CheckRequest instead. - BOOL - 8 - - nReqID - DWORD + nEntryCount + UDINT 32 - + + + + property + + RequestBP @@ -44606,7 +44606,7 @@ ELSE: 32 2784 - T#1s + T @@ -48369,13 +48369,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 @@ -48396,7 +48396,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t WaitingForFinalAssertion_EXIT - DeauthorizeTransition + AssertFinalBP LogActions @@ -48554,7 +48554,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 32 1088 - T#1s + T @@ -49388,7 +49388,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 32 2720 - T#1s + T @@ -55654,9 +55654,6 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - - ACT_Motion - ACT_Zero @@ -55664,10 +55661,13 @@ The BPTM will throw an error if the arbiter does not have enough space for the t ACT_Home - ACT_CalculatePositions + ACT_BLOCK - ACT_BLOCK + ACT_Motion + + + ACT_CalculatePositions ACT_Init @@ -56307,7 +56307,7 @@ Digital outputs 32 27200 - T#10S + T @@ -56329,7 +56329,7 @@ Digital outputs 32 27776 - T#1S + T @@ -56426,10 +56426,10 @@ Digital outputs - ACT_Logger + ACT_IO - ACT_IO + ACT_Logger @@ -58595,7 +58595,7 @@ second version of targets paddle 2 32 8768 - T#5s + T @@ -58646,6 +58646,26 @@ second version of targets paddle 2 + + setDescription + BOOL + 8 + + desciption + STRING(80) + 648 + + + + setMessage + BOOL + 8 + + message + STRING(80) + 648 + + setBit BOOL @@ -58671,26 +58691,6 @@ second version of targets paddle 2 32 - - setMessage - BOOL - 8 - - message - STRING(80) - 648 - - - - setDescription - BOOL - 8 - - desciption - STRING(80) - 648 - - PouType @@ -59259,8 +59259,7 @@ second version of targets paddle 2 8 144576 - , - + , @@ -59780,47 +59779,6 @@ second version of targets paddle 2 - - TcQueryInterface - HRESULT - 32 - - iid - IID - 64 - - - pipItf - PVOID - 64 - - - ipMessageListener - ITcMessageListener - 64 - - - ipAlarmListener - ITcAlarmListener - 64 - - - - c++_compatible - - - pack_mode - 4 - - - show - - - minimal_input_size - 4 - - - OnMessageSent HRESULT @@ -59877,6 +59835,21 @@ second version of targets paddle 2 32 + + Execute + HRESULT + 32 + + ipListener + I_Listener + 64 + + + hr + HRESULT + 32 + + TcRelease UDINT @@ -59971,19 +59944,45 @@ second version of targets paddle 2 - Execute + TcQueryInterface HRESULT 32 - ipListener - I_Listener + iid + IID + 64 + + + pipItf + PVOID 64 - hr - HRESULT - 32 + ipMessageListener + ITcMessageListener + 64 + + ipAlarmListener + ITcAlarmListener + 64 + + + + c++_compatible + + + pack_mode + 4 + + + show + + + minimal_input_size + 4 + + @@ -60691,6 +60690,26 @@ second version of targets paddle 2 + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + GetString BOOL @@ -60742,26 +60761,6 @@ second version of targets paddle 2 - - __gethrErrorCode - HRESULT - 32 - - hrErrorCode - HRESULT - 32 - - - hrError - HRESULT - 32 - - - - property - - - Request HRESULT @@ -60881,10 +60880,11 @@ second version of targets paddle 2 128 - GetJsonFromSymbol - generates a JSON string from a given symbol (via address/size) - BOOL - 8 + GetJsonStringFromSymbolProperties + | Returns the JSON string. +| If its size is more than 255 bytes an empty string is returned and the method CopyJsonStringFromSymbolProperties() has to be used. + STRING(255) + 2048 sDatatype data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() @@ -60898,29 +60898,27 @@ second version of targets paddle 2 - nData - size of symbol - UDINT - 32 - - - pData - address of sxmbol - PVOID - 64 - - - nJson - size of json buffer - UDINT + sProperties + multiple Properties separated by '|' + STRING(80) 64 + + + ItemType + InOut + + - - pJson - json buffer + + nSize + UDINT + 32 + + + pTmp STRING(80) 64 - + CopyJsonStringFromSymbolProperties @@ -61015,47 +61013,6 @@ second version of targets paddle 2 64 - - GetJsonStringFromSymbolProperties - | Returns the JSON string. -| If its size is more than 255 bytes an empty string is returned and the method CopyJsonStringFromSymbolProperties() has to be used. - STRING(255) - 2048 - - sDatatype - data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() - STRING(80) - 64 - - - ItemType - InOut - - - - - sProperties - multiple Properties separated by '|' - STRING(80) - 64 - - - ItemType - InOut - - - - - nSize - UDINT - 32 - - - pTmp - STRING(80) - 64 - - AddJsonKeyPropertiesFromSymbol BOOL @@ -61182,6 +61139,48 @@ second version of targets paddle 2 64 + + GetJsonFromSymbol + generates a JSON string from a given symbol (via address/size) + BOOL + 8 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 64 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of sxmbol + PVOID + 64 + + + nJson + size of json buffer + UDINT + 64 + + + pJson + json buffer + STRING(80) + 64 + + GetSizeJsonStringFromSymbolProperties Returns size in bytes of the full DOM document (including the null termination). @@ -61881,25 +61880,6 @@ second version of targets paddle 2 64 - - __getLogToVisualStudio - BOOL - 8 - - LogToVisualStudio - BOOL - 8 - - - - property - - - analysis - -33 - - - OnAlarmCleared @@ -61908,21 +61888,6 @@ second version of targets paddle 2 64 - - SendMessage - HRESULT - 32 - - sMessage - STRING(80) - 64 - - - sLogStr - T_MaxString - 2048 - - OnMessageSent @@ -62053,6 +62018,40 @@ second version of targets paddle 2 + + __getLogToVisualStudio + BOOL + 8 + + LogToVisualStudio + BOOL + 8 + + + + property + + + analysis + -33 + + + + + SendMessage + HRESULT + 32 + + sMessage + STRING(80) + 64 + + + sLogStr + T_MaxString + 2048 + + __setLogToVisualStudio @@ -62261,7 +62260,7 @@ second version of targets paddle 2 32 96 - T#10s + T @@ -63018,7 +63017,7 @@ second version of targets paddle 2 32 96 - T#10s + T @@ -63440,7 +63439,7 @@ second version of targets paddle 2 .PT - T#1h + T @@ -63452,7 +63451,7 @@ second version of targets paddle 2 .PT - T#1s + T @@ -63464,7 +63463,7 @@ second version of targets paddle 2 .PT - T#10s + T @@ -93851,7 +93850,7 @@ second version of targets paddle 2 32 TIME - T#1ms + T @@ -93866,7 +93865,7 @@ second version of targets paddle 2 32 TIME - T#100ms + T @@ -93881,7 +93880,7 @@ second version of targets paddle 2 32 TIME - T#10s + T @@ -93896,7 +93895,7 @@ second version of targets paddle 2 32 TIME - T#10m + T @@ -100140,7 +100139,7 @@ second version of targets paddle 2 32 TIME - T#0MS + T @@ -104347,11 +104346,11 @@ second version of targets paddle 2 ChangeDate - 2024-08-08T09:41:45 + 2024-08-13T14:54:07 GeneratedCodeSize - 1282048 + 1216512 GlobalDataSize