Ask the Community
Ask questions, get advice from experts and peers on Digital Automation & Energy Management.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-01-07 11:31 PM
Hello, I have an issue and I cannot figure it out. The program I created has a memory bit %Mx that stores the state of the Automatic mode of the program: when 0, it is off; when 1, it is in automatic mode. I hooked up a Safety Stop to input %IO23 and set it up as RUN/STOP logic.
Now the question: How can I change %Mx to 0 every time the program changes state from STOP to RUN( basacly wen emergency stop is lifted)? I do not want the machine to start on its own when coming back from an emergency stop.
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: 2025-01-08 04:00 AM
What type of Schneider Electric device are you using?
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: 2025-01-08 10:38 PM
Sory I did not mention that . Modicon M221(TM221CE40T)
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: 2025-01-09 02:51 AM
I figured out how to do it i use the RESETE COIL function wen %IO23 is activated and it resets the Memmory bits to 0 and all functions are off.
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: 2025-01-09 07:56 AM
I really wish that Machine Expert Basic supported arrays better. Then you could just iterate through all the %M bits on startup and reset them.
That's what I would try however, see if you can get an array to work in a for loop.
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.