Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing breakpoint action does not change behavior

I am enabling modulo breakpoints in an onboard program that makes an axis move back and forth, generating breakpoints every N encoder counts. I am mapping the breakpoint output to RTSI6. The program works, the output is asserted at each breakpoint (goes up to about 3.3 volts on a scope). Then it resets. This is good if the breakpoint action is to SET the breakpoint. However, I change the breakpoint action to RESET or TOGGLE and the behavior is exactly the same. Has anyone seen this before? (I am using VC++ FlexMotion library version 5.2 on WinXP).
0 Kudos
Message 1 of 2
(2,988 Views)
Hello,

This might happen when the breakpoint is in the state specified in the breakpoint action and then the breakpoint is enabled. This will force the breakpoint into the opposite position. So if your program enables the breakpoint immediately the SET breakpoint would have the same effect as the reset or toggle breakpoint. Hopefully this makes sense. Have a good one.
0 Kudos
Message 2 of 2
(2,988 Views)