×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

RSlogix 5000 address mapping to read in a PLC-5

RSlogix 5000 address mapping to read in a PLC-5

RSlogix 5000 address mapping to read in a PLC-5

(OP)
Hi,

I have a program that has data that needs to be mapped to be read as if a PLC-5 was reading from a controllogix controller.  I'm trying to create the arrays for mapping, but I'm having an issue moving boolean data types into the arrays.  I'm getting this error "Invalid data type. Argument must match parameter data type."  I cannot see which instruction to use to move boolean data types.  Almost all of the addresses are DIs.  I tried using a User-defined data type as well but I was still getting the same error.  Is there something I need to do to change the data types of these inputs before I move them into an array? Any suggestions?

RE: RSlogix 5000 address mapping to read in a PLC-5

You can use RLL to move a 1 into each register for each boolean bit or use bit of word(ie boolean bit1 to word.bit). There is not a direct way to write multiple boolean into DI registers.

Hope this helps.

RE: RSlogix 5000 address mapping to read in a PLC-5

Or instead of using the boolean data type in the Control Logix, use an integer and alias to the individual bits within the integer. More efficient both at the ControlLogix end and also at the PLC 5 end.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources