Thanks marsupilami,
I thought that was the case. I have been trying to tackle the problem differently by using the INDEX_M and OUTEX_M functions but I am getting strange results. INDEX_M seems to work fine if I address a D register as follows:
__________
| INDEX_M |
INWORDVAR=2000---|Offset |----OUTWORDVAR
0---|Gain |
DO---|Opd |
|_________|
Where OUTWORDVAR returns the contents of D2000 (great)
However if I try for an X register as follows:
__________
| INDEX_M |
INWORDVAR=16#1000---|Offset |----OUTBOOL
0---|Gain |
XO---|Opd |
|_________|
It does not return the value of X1000 in OUTBOOL but if I use a constant for the offset instead of passing a variable it works!!!
I am confused!! Any ideas
Cheers,
Dave (deeside)