LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview data transfer to s71200 plc

Solved!
Go to solution

Hi Guys:

There was a data transfer problem from Labivew to S71200 plc,from the attached i builed transfer bytes to plc,first byte is a array of bool(bit 0,1,2 is set to '1'),second and third byte are an Int,the last 8 bytes are array of Char. Problem is why  at the PLC side the first three bit are not set to '1' it is changing all the time,and also for the last of the bytes also changing all the time, the communication is ok but the data i really got is wrong.  What is worng with my code ,someone can help?

Thanks

0 Kudos
Message 1 of 2
(1,938 Views)
Solution
Accepted by topic author 314159ym

OK,i fixed that problem

Because if i do not use "optimized address" at plc side that means the array of bool will take two bytes that means i need another array of bool connecton to "build array" to occupied another byte.

0 Kudos
Message 2 of 2
(1,923 Views)