These errors occur when the Test Manager waits for or requests data from the PLC.
NotMonitoredYet = No value has been received up to now
NoBP = The variable can only be monitored when the application is halted on an (appropriate) breakpoint, e.g. for stack variables
Which version of CODESYS and CODESYS Test Manager do you use?
What command or element of the test script report theses errors?
BR
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The next software is used: Codesys V3.5 SP7 Patch 2 and Test Manager 4.0.1.1.
I try to test an FB_TestThis and set some values on the inputs and check the output. Setting of the input is not a problem.
For checking the output, Is use the command: TestManager.Monitoring and CompareVariable
Variable name is: Device.Application.FB_TestThis.q_iResult
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the timeout for reading the variable is too small for the case with NotMonitoredYet. The timeout specifies the maximal time which the Test Manager waits for receiving the value of the variable.
The minimal value for the timeout depends on the monitoring cycle of the PLC. Normally you use <monitoring cycle=""> x 2.5. For the WinV3 SoftPLC you use 500ms because the monitoring cycle is 200ms.</monitoring>
BR
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When the Test Manager run I have the next failure message: State mismatch. Expected Good but current is NotMonitoredYet
And on an other row: State mismatch. Expected Good but current is NoBP
Where can I found an explanation of the messages from the Test Manager?
What will this mean?
Hi Bakkertje.
These errors occur when the Test Manager waits for or requests data from the PLC.
NotMonitoredYet = No value has been received up to now
NoBP = The variable can only be monitored when the application is halted on an (appropriate) breakpoint, e.g. for stack variables
Which version of CODESYS and CODESYS Test Manager do you use?
What command or element of the test script report theses errors?
BR
Martin
Hi Keller,
Thanks for your reply.
The next software is used: Codesys V3.5 SP7 Patch 2 and Test Manager 4.0.1.1.
I try to test an FB_TestThis and set some values on the inputs and check the output. Setting of the input is not a problem.
For checking the output, Is use the command: TestManager.Monitoring and CompareVariable
Variable name is: Device.Application.FB_TestThis.q_iResult
Hi Bakkertje.
I think the timeout for reading the variable is too small for the case with NotMonitoredYet. The timeout specifies the maximal time which the Test Manager waits for receiving the value of the variable.
The minimal value for the timeout depends on the monitoring cycle of the PLC. Normally you use <monitoring cycle=""> x 2.5. For the WinV3 SoftPLC you use 500ms because the monitoring cycle is 200ms.</monitoring>
BR
Martin
I found the problem. I must check the instance of the FB not the definition.