Indirect Addressing - Crimson 3.1

UKB

Member
Join Date
Aug 2014
Location
UK
Posts
56
Hello,

Im trying to write some values from an array of floats to a file on a CSV card.

If I address the array element explicitly the values are returned. However when I try using a pointer I cant get a valid output .

explicit addressing returns a value from the AsText command

explicit.png



in both attempts below indirect addressing returns 0 to the string tag

pointer1.png

pointer.png


thanks

UKB
 
Case Closed. I had the syntax mixed up. Doh!

Should of been

Array.Counter = i;

thanks
 

Similar Topics

Howdy folks, I am an Allen Bradley guy currently living in an Emerson world. Working with Rx3i on PacSystems Machine Edition v. 9.6? i think...
Replies
3
Views
620
Hello, I'm very new to programming with absolutely zero schooling in this field and pretty hands off training in my new role, it's been fun...
Replies
4
Views
668
Hello Friends, I am trying to index M Bits, however GX Works2 is not allowing it with following message. https://ibb.co/zPcqj6M...
Replies
3
Views
1,379
Hi All, which the best way to do the indirect addressing in an optimize DB? Ccurrently this is my partial code inside an FB...
Replies
7
Views
2,273
Hey everyone, Just used the PLC5/Logix migration utility to convert a program, and while addressing the PCEs, I noticed a lot of errors for "XIC...
Replies
12
Views
1,973
Back
Top Bottom