Ashley Dawson
Guest
A
Hi all,
I have an application with a Micrologix 1200 PLC where I would like to be able to use an integer index to access an element in a string file, in other words, a look-up table of strings.
e.g. using the AEX command (ASCII Extract) I want Source=ST10:[N7:1], and for arguments sake Index=1, Number=2, Destination = ST11:0
The help page for AEX says that the source paramater can use direct or indirect addressing using the ST file type, but when I compile I get two errors:
ERROR: Indirection is not supported
ERROR: Element level indirection is not supported
I am pulling my hair out with this, and I would be most grateful for any help.
Thanks
Ashley Dawson
[email protected]
I have an application with a Micrologix 1200 PLC where I would like to be able to use an integer index to access an element in a string file, in other words, a look-up table of strings.
e.g. using the AEX command (ASCII Extract) I want Source=ST10:[N7:1], and for arguments sake Index=1, Number=2, Destination = ST11:0
The help page for AEX says that the source paramater can use direct or indirect addressing using the ST file type, but when I compile I get two errors:
ERROR: Indirection is not supported
ERROR: Element level indirection is not supported
I am pulling my hair out with this, and I would be most grateful for any help.
Thanks
Ashley Dawson
[email protected]