LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView DSC, RSLinx, SLC505 and Data transfer (Best way for large blocks of data?)

I am currently programming in Labview 6.1 with the Datalogging and
Supervisory Control module to transfer 720 floating point numbers to a
SLC505 Allen Bradley PLC (with ethernet) using RSLinx as an OPC server. I
have found that using the Datasocket Write takes about 30 - 40 seconds, and
making the tags and writing to them takes about the same amount of time. Is
it possible to transfer this data faster?

Thanks,

Michael Thomson (Surcher)
0 Kudos
Message 1 of 3
(3,616 Views)
Michael,

I am a little bit confused about the configuration here and the programming here: why are you using Datasocket Write if you are using tags? Are the 720 floating numbers written to 720 different I/O Points(registers). If so this shouldn't be that slow especially with DSC
I would strongly encourage you contact the support at National Instruments for LabVIEW DSC, either by phone or e-mail and give a detailed description of the issue:
www.ni.com/ask, and communication method phone NI or e-mail NI.
Cyril Bouton
Active LabVIEW Developper
0 Kudos
Message 2 of 3
(3,616 Views)
Cyril,

I was just experimenting with different ways to transfer the data from the
computer to the PLC. In the past I have built large tag databases with
specific tag names. This made the code rather cumbersome when you wanted to
write to a large group of tags with descriptive names. I was just using
datasocket write as a way to transfer the data to the plc using code to
build the url and without having the DSC engine running. I have found that
importing the tags right from the tag configuration editor with the names
being simply the PLC addresses and then accessing them with the tag write is
considerably faster (under 5 seconds). I can then build the names in an
embedded for/next loop and change them to a tag name before I write to each
one. The appli
cation is a user interface that allows the machine operator
to pick what kind of arch to put on cabinet door part. With the selections
chosen I calculate the servo moves and download the data to the PLC.

Thanks for the link!

Michael Thomson

"Cyril" wrote in message
news:50650000000500000086BA0000-1031838699000@exchange.ni.com...
> Michael,
>
> I am a little bit confused about the configuration here and the
> programming here: why are you using Datasocket Write if you are using
> tags? Are the 720 floating numbers written to 720 different I/O
> Points(registers). If so this shouldn't be that slow especially with
> DSC
> I would strongly encourage you contact the support at National
> Instruments for LabVIEW DSC, either by phone or e-mail and give a
> detailed description of the issue:
> www.ni.com/ask, and communication method phone NI or e-mail NI.
0 Kudos
Message 3 of 3
(3,616 Views)