rslogix 5000 use of compare instruction to add-on-instrunction

md.abdullah

Member
Join Date
Sep 2011
Location
motihari
Posts
168
can i include some compare instructions or any instruction to the my add on instruction or in the udt in rslogix5000.i know this may be possibly not happen but
any suggest..to use the compare instructions in the add-on-instruction
 
Yes you can use a COMpare instruction in an Add On Instruction, an Add On Instruction can use nearly all of the instructions available in ladder.

A UDT however is basically a bunch of tags in a structure, and as there is no logic in the UDT a COMpare instruction can't be used.

Mark
 
You use the instructions the same as you would in ladder logic.

Go to the AOI, open the logic and program away!!!

Mark

Edit. Without sounding too harsh if you don't understand how the AOI's work I would read the manual before using them.

EasyAs123.jpg
 
thanks to all
but i have made a AOI for scaling and its working
but there is certain condition in which i have to made a AOI
which will work in my ladder for the reusable way so i was trying
to find the solution. as i made ladder logic but it got very big so for the optimization i was just asking about it...for the suggest
 
Ten Easy Steps.

1)Open your add on instruction in the project tree.
2)Open Logic.
3)Navigate to where you want to insert the add on instruction.
4)Press insert.
5)Pick Insert Rung
6)Double click the rung number to the right of the rung.
8)A input box with a cursor in it will appear at the top of your ladder window - this is the mnemonic editor.
7)Type CMP in the mnemonic editor.
8)Press enter.
9)The CMP instruction will be inserted on your new rung.
10)Fill in the comparison statement.

A09151101.jpg
 

Similar Topics

Hello, Currently on my laptop have rslogix 5000 v16_20 and I'm not able to see the compare sheet of parameter for vfd powerflex 40p over comm e...
Replies
0
Views
1,287
Hey there, I'm trying to compare the amount of counts in any 5 minute period. What I'm doing so far is when each count is made true, a binary...
Replies
3
Views
2,673
when I use rslogix 5000 compare tool for two particular ACD files, I get an error "an entry with the same key already exists." It happens onlly...
Replies
4
Views
14,081
Does anyone use the Compare Utility from RSLogix? I would like to use it in a batch mode if possible. Can it be run from the command line with...
Replies
3
Views
5,479
What does "mv" mean on the side of the comparison windows in RSLogix 5000?
Replies
2
Views
2,667
Back
Top Bottom