Jtech Posted June 16, 2023 Report Posted June 16, 2023 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? Quote
Steve Bailey Posted June 16, 2023 Report Posted June 16, 2023 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. Quote
Jtech Posted June 16, 2023 Author Report Posted June 16, 2023 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? Quote
Steve Bailey Posted June 16, 2023 Report Posted June 16, 2023 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. 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.