Industry Online Support
Technical Forum
11/26/2012 10:17 AM | |
Posts: 20 Rating: (0) |
I made a program with CPU 1214 firmware 3.1. I have a problem with MC_halt instruction in interrupt function.The motor is stopped only the first time that the interrupt is activated, the second and the other time the motor is not stopped. I try to move the function MC_halt outside the interrupt and set the stop activating a bit and it works. This is not a good solution becouse the motor stops is subjected at PLC cycle time. What can I do to solve the problem? Domenico Attached the pdf file of interrupt instructions AttachmentInterrupt fotocellula (OB200).pdf (794 Downloads) |
Follow us on