LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RSLinx arrays not possible?

 We have a LV DSC PLC application that has over 3000 variables. We are having great difficulty getting data out of arrays. LV will write the first element, but all the other elements are 0. I cannot read anything. My coworker called RSLinx customer support and they told him that arrays "are not possible" in out RSLinx OPC server. Has anyone else experienced this? I find this extremely hard to believe.

PaulG.
Retired
0 Kudos
Message 1 of 3
(4,102 Views)

Do you have to use RSLINX for your opc server?? Kepware shows that it can handle arrays of data for some of the allen bradley ethernet data types. What data types are you trying to read? One possibility is to use a string datatype with a length of 100 bytes or more, then convert the string bytes to numbers. Only catch is that the values must all be greater than 0. An ascii nul value terminates the string.

0 Kudos
Message 2 of 3
(4,086 Views)

Hi,

 

Try this, I use it and can read and write arrays to RSLinx Server:

 

Example:

 

Write array to register F210:0,L10

This specifies that the array should start in F210:0 and write/read the an array size of 10 elements

 

Jacob Svendsen

0 Kudos
Message 3 of 3
(4,065 Views)