Jump to content

RSLOGIX 5000 Datatype question


Recommended Posts

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

Posted
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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...