Sign in to follow this  
Followers 0
Guest wgreen

RSLOGIX 5000 Datatype question

2 posts in this topic

How do you convert datatypes in RSLogix 5000. More specifially, convert at COUNTER datatype to a DINT datatype.

Share this post


Link to post
Share on other sites
The counter datatype in Logix5000 is a pre-defined structure which is made up of two DINT's (ACC & PRE) and several BOOLS (CD, CU DN etc) Thus you cannot convert the entire structure into a simple data type such as a dint. Instead you could simply move the ACC part of the counter structure into a dint such as MOV my_counter.ACC count1 Or you could create a user defined data type with exactly the same elements as the counter structure and move the values as a block

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0