Dummy Bit?

I am still new to PLCs and am being self taught by taking a A/B course and buying many, many A/B products off of Ebay and buying a RSLogic 500 program and PV600 which I find very self rewarding.

I use my work SLC 500 PLC programs to help me get a better understanding as to what is actually going on.

In several of the programs I am seeing what is labeled a "dummy bit". They are mainly in the first few rungs.

Can any one give me some insight as to what this is and what it is used for?

Thank you.
 
Some PLC platforms include special system bits that fulfill functions like "first scan" or "always false" or "always true".

Others don't, and programmers who use many platforms often choose to roll their own and you see them defined at the beginning of their programs.

I usually create an "Always False", an "Always True", an "Always Zero Integer", and a special "KEN" bit that is always true.

When I put in temporary logic, I include an XIC instruction addressed to the KEN bit. When I'm done with a project, I search for the KEN bit to see if I left any temporary logic in place. It helps keep me honest to know that if I leave behind temporary or workaround logic that it's literally got my name on it.
 
you normally have two bits
always on and always off
this is used to block / bypass code for testing or if a modification is made.

I always use the same bits
(U) b3/0 - always off
(L) b3/1 always on

if I have a multi station machine, I use b13/0, b23/0 and so on.

a bad habit that I have seen was when an oem is under the gun and rushing to get the job done. he uses the on and off bits like there was no tomorrow. got the machine running and left.

bubba got in the program and turned on some of the off bits and turned off some on bits. what a mess. I had to clean the program up, took weeks to get the machine running correctly.

that's why I use b3/0 and b3/1

regards,
james
 
I am an Omron user and use Always On in front of every rung regardless. When I have to insert some code after the Always On I just shift the lot right and insert the bit. Without the Always On I have a heap of code to re-draw - PITA! The other advantage is if I wish to disable the rung temporarily I just put a slash through the bit and it is off - oh so easy!
 
I often wondered why people used bits instead of AFI, when it's available. Now I understand.

I recently found a program someone wrote with an always true bit, then used elsewhere in the program as an XIO (but still labeled always true) as an always false bit. Lazy.

afi.jpg
 
This doesn't answer the OP's question but we create a UDT (user defined data type - available on some PLC platforms) and name it programmer.

The udt contains an always on bit, an always off bit, and several arrays of booleans, dints, reals, timers, and counters.

We define tags of type programmer, with each of the programmers having one named after them. Then when a programmer needs to insert a jumper or a debugging instruction he chooses one from his own programmer tag.

For example, I would insert XIC Connolly.AlwaysOff if I wanted to temporarily disable a rung. If I need a temporary timer I use Connolly.timers[#] from the timer array.

The advantage is that when I am done I can search for all instances of the Connolly tag and easily clean up. Also, if I see Otis.AlwaysOff somewhere in the program then I know who to ask about it.
 
Always_On/Off bits have strong logical meaning and have nothing with Dummy bit.
Dummy bit is typically for an output instruction when the latter must exist but nothing has to be done. It should not be used as a logic condition.
It may be used as an output on a rung created only to visualize a collection of bits for monitoring.
Also, if a rung is created only for a comment to be attached, unconditional dummy output is a minimum necessary placeholder.
 
What I am seeing is that we all have variations of the definition of "dummy". This is not surprising. I have seen many of these in use, and I always try to eliminate them. I don't have a problem with using the XIO of "Always False" I naturally learned to read that as "not always false" meaning always true to my ladder logic brain.

I use my first name or 3 initials sometimes temporarily for easy search and replace... my last name has ten characters. I can't use two initials because someone will think it means "PhotoCell".

In my opinion, I think Sergei may technically have the most correct answer as far as I have understood dummy bits to be used... I label them Comment Placeholders if that is how they are used...
 
...
In my opinion, I think Sergei may technically have the most correct answer as far as I have understood dummy bits to be used... I label them Comment Placeholders if that is how they are used...
Little more clarifications.
A dummy bit must be free for any manipulations, without worrying about consequences. Therefore, there is no need in more than one dummy bit through the entire project.
If a comment is attached to an output bit, the bit is a comment anchor, and I would not call it a dummy anymore. Also, a comment anchor almost never repeats in a program, but only when a duplicate comment is required, while a dummy may be used elsewhere on demand.
If a comment is attached to an empty rung, unconditional dummy output may be used as a minimum required placeholder.
 
Right on Sergie. I appear to have left out a sentence or three. I meant to distinguish the different types as you have done. Guess I was being a dummy ;)
 

Similar Topics

Greetings, I have several control cabinets distributed across a plant and they all need to be interconnected in a ring type topology. The...
2
Replies
2,018
Views
Hello, I'm learning TC3 and try to make a traffic light as training. But, I'm stuck, I don't know why it doesn't work, The sequence is really...
6
Replies
4,812
Views
We typically have used temposonic probes in dummy cylinders for step feeder position and control in log handling. I'm considering using an MTS...
2
Replies
2,409
Views
Ok, any help would be great. I am looking for a device to activate a speed warning sign for semi trucks. I have a device that has two 12V dc...
4
Replies
4,083
Views
Hi all, I'm starting learning Siemens from scratch. I have to use a S7-300 Siemens PLC in a project. There's a change more pieces of equipment...
7
Replies
7,660
Views
Top