Member Login
member
passwd
remember me on this computer.

- join now -

Search

Neat Stuff

Visit our shop for nerds in control lifestyle products.

Cool stuff
Select a topic of interest:
...and press:
Fortune
Quick, sing me the BUDAPEST NATIONAL ANTHEM!!
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
from the Instrument department...
Forcing and Toggle Bit in RSLogix500
PLCs topic
advertisement
Posted by yash verma on 19 January, 2008 - 8:06 pm
I am using Allen-Bradley plc with RSLogix 500 as ladder logic software. For forcing any Digital XIC/XIO (i.e, DI/DO) on any rung to ON/OFF, i have to use 'FORCE ON or FORCE OFF' function.

but when i check the Data table, i am able to change the state of that DI/DO by using 'TOGGLE BIT' functions also,as i do for forcing any 'BIT (eg-B9:0/1)'ON/OFF. if i FORCE ON any D/O and then change it's binary state by using TOGGLE BIT,what will be the effect on my actual output.

can some one clear me about what's the difference in using 'TOGGLE BIT' and 'FORCE ON/OFF'function.

Posted by Trevor Ousey \(list\) on 20 January, 2008 - 5:52 pm
Forcing only works for digital inputs and outputs, and set the state to ON or OFF no matter what is happening in your logic while Toggle will change the state of any bit/bool (I/O or internal) but the logic will still be able to change the state as processed.

Posted by Mihir Ramkrishna on 20 January, 2008 - 5:52 pm
Toggle bit: Output bit is switched momentarily from its current state to the complementary state and then the bit is back to the current state.

FORCE ON: Bit is forced ON (1) condition till the time forcing is removed.

FORCED OFF: Bit is forced OFF (0) condition till the time forcing is removed.

Posted by Jeremy Pollard on 21 January, 2008 - 12:53 pm
PLC has force tables.. When you force an Input address, you are 'or'ing' with the normal Input scan and affecting the data tale.. when you force an output you are writing to the output scan and not the data table so the output address in the data table is not affected by the force

The output data table bit responds to the logic in the PLC always!!

I/O needs forcing. Data table bits you can toggle

Cheers from: Jeremy Pollard, CET The Caring Canuckian! www[.]tsuonline.com

Control Design www[.]controldesign.com Manufacturing Automation www[.]automationmag.com

3 Red Pine Court, RR# 2 Shanty Bay, Ontario L0L 2L0 705.739.7155 Cell # 705.725.3579

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!