define digital rung in RSLogix5000

shaarawi1984

Member
Join Date
Aug 2006
Location
Amman
Posts
38
Hi;
When I write a digital rung in RSLogix5000, I define the tag style as binary, and data type as bool, is this correct? or there is another opinion.

Thank you
 
when setting up a BOOL tag, many (most?) people would prefer to set the “style” for “decimal” rather than for “binary” ... the “style” setting basically just determines how the tag is displayed on the screen ... think of it as something like the “radix” setting on RSLogix5 and RSLogix500 if you’re already familiar with those software packages ...



here are examples of two BOOL tags ...



STYLE_A.JPG




notice that tag “X” has its “style” set for “binary” ... the “2#” notation in the value column just means that the data is being displayed in “binary” notation ... all of those extra (unused) positions are usually quite confusing to a technician who is just looking for a simple indication of the BOOL tag’s “1” or “0” status ...



notice that tag “Y” has its “style” set for “decimal” ... since “decimal” is the default style, there is no special notation shown in the value column - just the simple “1” or “0” status that most technicians are expecting to see when they monitor this BOOL tag’s value ...



finally ... you can easily change a tag’s “style” setting even after the tag has been defined and used ... just click the appropriate cell in the tag’s style column and you’ll get a pull-down list of choices ... note that changing the “style” this way will not change how the controller functions ... it only changes the way that the data is displayed on your screen ...
 
shaarawi1984 said:
Other option:

using DINT data type.

e.g. Process_Run_Current_State.0

The dint method is an option. It will conserve processor memory, also, as you get 32 internal digital points for the cost of one tag.

There is a downside, however. You would have to describe each bit individually in the program for your documentation purposes. These descriptions do not get saved to and uploaded from the processor, as the tag names do.

Example: "Main_Motor_Running" as a boolean tag name comes back from the processor as "Main_Motor_Running", when uploaded by someone without your source code. The tag name says it all.

"Main_Motor_Status.0" with the description "Running" attached comes back as "Main_Motor_Status.0"---no description attached---when uploaded.

It's a trade off. If I have all the memory I need, I use boolean data types whenever possible. And if I can't describe the tag function in a 42 character tag name, I need help. I never like to use descriptions in logix 5000 just for this reason--the tagname goes in the processor--the description doesn't.
 

Similar Topics

Hello, I'm new with Beckhoff technology and I'm learning twincat 3. I use a CX2030 for the PLC and I plugged 2 modules for the I/O, EL1008 and...
Replies
6
Views
9,244
hello dear forum, About DELTA DIAView SCADA I defined a variable in Timescript VBscript I want access this variable from within a window For...
Replies
0
Views
585
Hello PLCS.Net! I have the EDS Hardware Installation Tool installed on my PC. When I try to install a file, It says it's successful, the...
Replies
2
Views
2,026
Hi all, I want access a Mitsubishi PLC Q series to SMC. I am using Archestra DASMTEthernet as my server in SMC to connect with PLC. After I...
Replies
0
Views
1,396
Hi, I was wondering if anybody can help me with this issue. I have *.cab backup created from a lower version (Dev Studio 2012R2) and I loaded it...
Replies
8
Views
5,355
Back
Top Bottom