Member Login
Search
Past & Future Posts
Sponsored Communities
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Cool stuff
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
Quick, sing me the BUDAPEST NATIONAL ANTHEM!!
RSS Feed
www.control.com/rss
from the Instrument department...
Forcing and Toggle Bit in RSLogix500I 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.
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.
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.
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.
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.
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
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- OPC: Painless migration, classic OPC DA to OPC UA, partership
- Easier: panel designs, short-circuit current rating compliance
- MechatronicsZone road show kicks off
- Partnership: Advanced, interoperable motion control, machine tools
- Protect intellectual property: Encrypt firmware, control code
- Portable computing: Operators can be mobile with rugged HMI
- Whitepaper: Small form factor HMIs evolve
- Remote control: Get behind firewalls—securely
- Report asks: Will DIN-rail PCs with I/O revolutionize industrial PCs?
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.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!



