Replies: 1 comment
-
|
My question is; does MC_MoveRelative need to be part of the SUT? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to test code containing an MC_MoveRelative from the TC2_MC2 library. I was wondering what the recommended way to do this is.
Currently, I have a successfully running test that tests code containing MC_Reset with the following setup:
When attempting a similar test of code containing MC_MoveRelative, the MC_MoveRelative function block goes into an error state after two cycles (Error 0x701). There are no axis errors or MC_Power errors. I'm unable to figure out what causes this error, especially since the test containing MC_Reset completes correctly.
I am not asking for debug help specifically (though if you have experience with this or have some suggestions, feel free to comment). My question is: Am I testing the code containing the MC_MoveRelative block correctly? What are your recommendations? I'm thinking of adding a testing flag in the implementation so all TC2_MC2 related code is bypassed during test execution but I would rather test the complete code.
Beta Was this translation helpful? Give feedback.
All reactions