Guest wgreen Posted April 20, 2004 Report Posted April 20, 2004 How do you convert datatypes in RSLogix 5000. More specifially, convert at COUNTER datatype to a DINT datatype. Quote
navillusi Posted April 20, 2004 Report Posted April 20, 2004 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.