LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

send data with profibus (Newbie)

Hi, Im new to  labview and have only been working with PLC before so please have patience with my lw knowledge.

 

Im trying to send some data (analog inputs) from labview to my Siemens S7 PLC using a Comsoft profiboard. I have got

the communication to work using the example VI i got from Comsoft. I have a configuration with 128 byte

input and 128 byte output.

 

My problem is how to do with my data so i can spread it over the bytes? ex the 1st data input over the first bytes and so on...

when i tried i got it to send the same data to all 128 bytes. Do i have to use an array? or somethin else, im sure it somthing

basic i have must do so please help me.

 

Added a  attachment over the example i have made changes on.

 

//Johan

0 Kudos
Message 1 of 5
(2,909 Views)
Can you explain with an example? What does your data look like and how do you want it to be?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 5
(2,895 Views)

I have 16 inputs with Daqmx assitant and for example i would like to send each input like 2 byte integers.

Hope that you understan what i looking for.

 

//Johan

 

0 Kudos
Message 3 of 5
(2,880 Views)

Johan,

 

unfortunatly Wordpad cannot open your document (graphics converter is missing). I don't have neither MS Word nor Open Office installed on this machine. Save just the graphics and pack them into a zip archive. Or save it a HTML and pack the files into a zip archive.

 

Do you use the VISA driver?

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 4 of 5
(2,858 Views)

Waldemar,

 

Now i think the attachment should be possible to open with wordpad.

Yes, im using VISA driver, the VI im using is the example that comes with

Comsoft package.

 

Would be very grateful for help in this matter.

 

/Johan

0 Kudos
Message 5 of 5
(2,826 Views)