12-19-2018 07:22 PM
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
Solved! Go to Solution.
12-19-2018 08:21 PM
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.