bit toggle

gatfu

Member
Join Date
Jan 2013
Location
kansas city
Posts
62
I am fairly new to the plc world so please forgive my rookie questions. I have programmed in rslogix starter lite a basic routine. this routine has a few basic acctuators that i turn on and run through basic timing on off functions. works great. my question is I am turning them on with an internal Binary bit. It works to power up the acctuator however when I toggle the bit back off the accutator stays on. What am i doing wrong? The binary is not completing the circuit according to the latter logic why is the acctuator still staying energized?
 
When you turn the internal bit off B3:0/0 the subroutines are not scanned.

Run your subroutines unconditionally.
 
In addition to Mickey's advice, use your B3:0/0 INSIDE your subroutines in line with any output or anything else you don't want to run (e.g. Timers).
 
I added it to the inside of one of my subroutines thinking that would fix it however it does not. the bit within the subroutine goes off but the acctuator stays on.
 
Thanks guys i just got it.. removed the binary from the main routine and only put it in the subroutines.....unconditionally....makes sense now. thanks again
 

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
546
EDIT: I suppose i should mention, RSLogix 500 V8.40, SLC 5/04 (1747-L542C) Is there is a way to use the FFL instruction in a way that doesn't...
Replies
4
Views
864
I have a printout of some Control Logix code that I am trying to implement in Emerson Rx3i. The code involves resetting the Master node of an...
Replies
0
Views
1,157
We have PLCs on the line and I am using Logix Emulate. No matter which one I am connected to I can not toggle or force anything.
Replies
22
Views
12,491
Hello everyone. I'm trying to write a program in ST which would toggle a bit with one button. So when the button is pushed the bool sets to 1 and...
Replies
15
Views
3,637
Back
Top Bottom