Jump to content

Recommended Posts

Posted

I'm working with Emerson 90-30 on proficy machine edition and I'm trying to use a string variable to display words on a graphical panel in target 2 but withing the code itself on target one I cant seem to understand how the reference address works? can some one explain how string variables function and how to use them?

Posted

Strings are stored in %R memory. Each %R address is sixteen bits, so there are two characters per %R address. When you look at the %R memory in a reference table you can change the display so that it interprets the bits as ASCII characters rather than as a signed integer.

Posted

The error I keep getting is the I/O memory reference address missing, can you use CPU memory and I/O memory together? or just one or the other?

Posted

The 90-30 does not support symbolic variables. It only supports address-based variables. You must assign an address to every variable you try to create. For a string your best choice will be %R addresses.

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...