Allen Bradley Binary Bit (B3)

PERSPOLIS

Member
Join Date
Jun 2002
Location
ontario
Posts
295
HI EXPERTS
WHAT IS THE PURPOSE OF TOGGLE BIT IN RELATION TO INTERNAL BIT , WHEN YOU TOGGLE APPROPRIATE BIT DOES IT MEAN TO FORCE ON OR OFF THAT BIT

THANKS EXPERT
 
Last edited:
When you say 'toggle bit' I assume you mean the RSLogix toggle bit function in the drop-down menu you see when you right-click a bit. This function will change the state of the bit to its opposite state when the function is selected. It will only write the bit state to the plc once when the function is selected. It is not a force. If the bit is used in an output instruction somewhere in the plc logic, the rung containing the output will determine the state of the bit when the plc scan reaches it.
This function is useful for setting or resetting latch/unlatch bits or for setting or resetting logical latches. But it is not a force. The other possible use is to put a conditional bit in a rung but do not use the bit as an output anywhere. You can then use the toggle bit function to change the state of that bit. It will also change the state of bits written to from HMIs that do direct bit access as opposed to I/O mapping.

I hope this helps.
Keith
 
..and also

remember, even though you're not technically 'forcing' I/O,
manipulating a bit in this fashion MIGHT have the same
'unexpected' results, depending on the logic.

Re: A thread a few days ago regarding 'old logic' If
old logic uses a bit, and you 'toggle' it, the old logic
could start doing things you do not expect to happen.
 

Similar Topics

im really confuse about these Binary, Control, status, Integer in the allen bradley program, i just dont see the point why they have to use it, im...
Replies
3
Views
6,381
Hi, I have a ControlLogix system with 1756-IF16 analogue inputs. I can't scale the inputs at the card as there is a requirement to facilitate...
Replies
10
Views
226
Dear community, I am trying to find a tool for Allen-Bradley PLCs similar to SiVArch for Siemens PLCs to automatically generate faceplates and...
Replies
0
Views
78
Hi everyone, new to forum. Since very long time i having issue with 1734-AENT module, after some period of time its keep stuck in error (simmilar...
Replies
13
Views
418
Hello, I am new here. I am trying to find good places to sell some surplus items that I have that isnt through ebay. Does anyone have any sources...
Replies
5
Views
351
Back
Top Bottom