Data type

david90

Member
Join Date
Apr 2010
Location
ca
Posts
202
In RSLOGIX 500, do you consider the TIMER or COUNTER data file to be a data type like boolean, integer or float?

A counter element in the C5-COUNTER data file comprises of boolean (DN,CU,CD etc.) and integer (ACC, PRE etc) data types. With this said, should I consider the counter as a data type?
 
When you get right down to it the 'bit' is the lowest data type. Everything else is built from it.

The basic data types provided by a computer/PLC maker are those for which there are instruction which treat the object as a unit.

Yes the boolean, integer and float can be tested and operated upon by ladder logic and math instructions. These are sometimes classified as 'atomic' data types.

But the Timer and Counter each have instructions which treat them as a single unit. That becomes the true test. these are sometimes considered as 'structured' data types.

Higher level process, like RSLogix 5000, allow you to formulate your own complex data types (UDTs) and even create instructions (AOIs) which can treat them as units of information.
 
When you get right down to it the 'bit' is the lowest data type. Everything else is built from it.

The basic data types provided by a computer/PLC maker are those for which there are instruction which treat the object as a unit.

Yes the boolean, integer and float can be tested and operated upon by ladder logic and math instructions. These are sometimes classified as 'atomic' data types.

But the Timer and Counter each have instructions which treat them as a single unit. That becomes the true test. these are sometimes considered as 'structured' data types.

Higher level process, like RSLogix 5000, allow you to formulate your own complex data types (UDTs) and even create instructions (AOIs) which can treat them as units of information.

That, sir, is one of the best answers I have read anywhere, especially the phrase I emboldened. (y)
 

Similar Topics

I cannot add SLC500 analog input tag (I: 8.3) to EZSeries Touch Panel Editor (V 5.3). I used all the listed tag datatype but it all says "Invalid...
Replies
10
Views
252
Hi guys, I have no experience when working with AllenBradley PLC, but I hope someone could clarify the result of multiplication shown in the...
Replies
14
Views
2,185
Trying to get data types (AS Structures) to update after a new tag import is made from PLC. WinCC can show red if an existing element was removed...
Replies
0
Views
272
Is there a way to use LREAL Data type on L71. I am getting 64 bit Double (IEEE754 Double precision 64-bit) data from a modbus device onto PLC via...
Replies
6
Views
951
Back
Top Bottom