4/17/2012 2:08 AM | |
Posts: 89 Rating:
|
Ok, I am not going to argueso here is a sample program. Just set up I0.0(channel 0) in your device configuration and one network in OB 200 will do the job. There is no need to ATTACH or DETACH any interrupt. I have added the network in OB1 so you can monitorthe counter value when you go online. Attachmentincrement on interrupt.zip (592 Downloads) |
4/18/2012 6:38 AM | |
Posts: 13 Rating:
|
Thanks Gorp. I ran the application on two PLCs. (S71212C-AC/DC/Rly). Both did not work. I wonder has it anything to do with any vesion or firmware number. Attached is a screen shot of the running application. The Main and the Interrupt OB200 are seen along with a watch table which shows the Input I0.0 as "TRUE", but no count update on MW100 or MW102. The interrupt configured on channel 0 (for rising edge) is also seen at the screen shot. Can anyone else also join with testing the program from Gorp?
AttachmentScreen_Shot_of_running_HWINterrupt_Counter.pdf (592 Downloads) |
Follow us on