chainsaw Posted January 14, 2008 Report Posted January 14, 2008 I'm having trouble working out how to do this! I'm using GX IEC Developer and an A2US cpu. I have a set of words in the global variable table set as DINT. (d100, d102 etc) I need to indirectly address these. When using the DMOV instruction the input side is the side I'm having trouble with. If I use d100z0 it comes up with a type mismatch error. And I can't use a Z pointer with the symbol name from the g.var. list (or I don't know how to use them together.) Where am I going wrong?
Gambit Posted January 14, 2008 Report Posted January 14, 2008 (edited) Make an Array of the double words in the GVL. You can pprogram these via arrayname[variable as pointer or Z] array.doc Edited January 14, 2008 by Gambit
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now