Toggle Button on a ML1500

madohman

Member
Join Date
Jan 2007
Location
Illinois
Posts
10
Previously I have used a OSR to do my toggle button on the 1000's, but now I have a 1500 and the OSR is not a valid command. Does anybody have a sample chunk of logix using 1 button to turn something on and the press the same button again to turn it off?

Thanks
 
In the ML1500, substitute the OSR instruction in rung 0 below for an ONS instruction. See help in RSLogix 500 for information.


flipflop823.GIF


The ML1100, 1200 and 1500 have three one shot instructions, an ONS input instruction and OSR, and OSF outputs instructions; similar to the instructions in the PLC5 and ControlLogix families, while the SLC500 and ML1K had only a single one shot instruction, OSR.

Like Jez, one of my personal favorites is to just use the .ACC/0 bit from a counter. Each time the counter upcounts the bit changes state. No need to worry about counter PRE, /DN, or counter roll over. Counter.ACC/0 is retentive on power failure and the example above is not retentive.
 
Last edited:

Similar Topics

Hi, I'm just looking for a simple way to make a button in excel (via VBA I presume) to toggle a bit in RSLogix 5000. I just got FactoyTalkLinx...
Replies
9
Views
528
I don't have any prior experience with MicroLogix so the Communication Toggle Button is new to me. We currently have a few MicroLogix that are...
Replies
4
Views
2,195
Hello, maybe someone can give me an advice.... Why in omron PLC /cx-programmer/ ladder program in attachement works like an one button toggle...
Replies
15
Views
4,972
The new button has been added and logic is all set for it. It is conveyor on/ off button and working properly but I was not able to make it...
Replies
6
Views
2,344
I am using the following: PLC - Panasonic FP-x Touchscreen- HMI Kinco ET070 The touchscreen intermittently flashes "[5]Socket COMM Error" yet...
Replies
10
Views
2,492
Back
Top Bottom