Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet/IP I/O data

I was testing with Ethernet/IP communications, plan is to use I/O data communications.

 

But i have a problem regarding Data type to be use.

The VI"s : "EthernetIP Get Assembly Instance Data VI" and "EthernetIP Set Assembly Instance Data VI" have an input/outupt terminal for Data and it is an U8 array.

 

The help states to use the un/flatten to string functions, but this is not possible.

"Because the data is written as a raw bytestream, you must convert the data to the correct data type. In LabVIEW, use the Flatten To String function to convert the data to a specific data type. Note that you must specify little-endian byte order." 

 

Does anyone have an example available?

 

I have another question, can anybody give an idea on the communication speed possible using Messaging and I/O data, target is an Allen Bradley PLC.

 

Thanks,

 

Ben Engelen

0 Kudos
Message 1 of 2
(7,194 Views)

Hello,

 

what do you mean with thatit's impossible to use flatten/unflatten to string functions?

The following way should work:

 

test.PNG

Message Edited by ThiCop on 04-23-2010 07:35 AM
Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 2
(7,162 Views)