Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-09 09:40 AM
What happens if breakpoints are set on a real target (not on simulation)? Does the PLC freeze, stopping all control or it only allows us to use the debugger while timed and background tasks are still run?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-10 12:58 AM
Hello,
both Timed and Background tasks are paused in case of breakpoint.
You can use trigger if you want to debug a variable on a specific point of the code without stopping it.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-10 12:58 AM
Hello,
both Timed and Background tasks are paused in case of breakpoint.
You can use trigger if you want to debug a variable on a specific point of the code without stopping it.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-10 02:56 AM
Thanks. I am not familiar with triggers actually; I will take a look. I want to check if a Boolean variable set at HMI which is almost inmediately reset at PLC after some action actually changes it´s state. Is a trigger the right way to check that?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-11-10 02:58 AM
I would suggest for this use case is the oscilloscope the best tool
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.