Allen Bradley PLC2 Ladder Logic

PRPAtern

Member
Join Date
Feb 2008
Location
Colorado
Posts
3
My mentor has me looking over some ladder logic from an old PLC program we have. Its apparently older then I am, and since the install we've lost almost all documentation to it (I've heard it might have been thrown out) thus leaving me more then slightly confused.

Looking at the program I seem to understand most of it. But occasionlly I find an output with a "g" in it. I know the L is latch, U is unlatch, and all the other symbols used, but I can't seem to come up with anything for it. It doesn't seem to make a lot of sense to be "ground" but I can't think of anything else.

Can anyone offer me some insight?
thanks
 
PUT & GET instuctions may be used as a set as well
GET data from, PUT data to, similar to a COP command in a way from what i've seen.
I don't think GET will be used to drive an output
GLOBAL maybe?
 
looking more into it, I've found an output with an = sign right next to it later in the program. Would the arithmetic compareter > be represented as a g? greater then? That might make sense as an ouput and something I hadn't noticed before it does have a value immediately below the output to compare it to.
 
Yes, ]G[ means Get but it would be inside of a contact, not an output. A (P) inside an output means Put. A Get/Put pair in a rung is the same as a Move (MOV) meaning get a value at a word address and put it in another word address. A Get instruction in a rung has no control over the false/true condition, it is always true. If you see two Gets they will be followed by an arithmetic instruction such as Add, Sub, etc. This means get the 2 values stored at the Get instruction addresses, do the arithmetic, and store the result at the arithmetic instruction address. There are also comparison instructions like ]<[, ]>[, ]=[ etc. which are used immediately after a Get to form a rung condition based on a number comparison. PLC-2 math can get really ugly if there is a lot of it.


I was a PLC-2 guru 25 years ago, let me know if you need any more help.
 
In PLC2, ]<[ = comparator "less than", and ]=[ comparator "equal to".

To compare two values required first a "GET" to get the first value from memory, then the comparator instruction with the second value. Thus the statement "If the value in 020 (which is 005) is less than or equal to Timer 030, turn on Solenoid B" could be represented by:

 
| 020 030 Sol. B |
|-----]G[--+--]<[---+--( )----|
| 005 | | |
| | 030 | |
+--]=[---+ |

 
Last edited:
A small point

steve708 said:
There are also comparison instructions like ]<[, ]>[, ]=[ etc. which are used immediately after a Get to form a rung condition based on a number comparison.
As I remember there is no -]>[- (GREATER THAN) operator. There is only -]<[-. This is one of the troublesome things about PLC-2 math, one has to jiggle the operands to make things work.
 
We still have 5 models of the PLC2 still in service our plant.

If you do some Googling, there is a free PLC2 simulator available on the web. I think it is made by the same people who make LogixPro (a RSLogix 500 simulator).
 

Similar Topics

Hi Guys, I have an application to convert an Allen Bradley PLC2 program to Compactlogix. Has anyone experiance in the conversion. I have read...
Replies
12
Views
7,483
Hi, Our company has an ABAR Vacuum Furnace from the 1980's, it uses an Allen Bradley 1772 PLC 2/20 Plc, serial 4455. We currently input the...
Replies
9
Views
7,738
Hello All, I am working with an old PLC2 and we had some kind of power surge that screwed our program up. I have gone back with an old hardcopy...
Replies
5
Views
4,789
I am working with a company that wants to change some things in the program of a PLC2/16 Ser:B 1771-XLP. I do not know if this is even possible. I...
Replies
8
Views
4,090
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
38
Back
Top Bottom