Hi everyone, I'm trying to read some values from a S7-1200 PLC with the Snap7 library. As explained in the manual, I'm able to store the bytes on my buffer(MyDB1), in my case, i want to read a Real, so MyDB1 is initialized to be a array of bytes with 4 positions. Then, my question is, how can or should i take the REAL value of this array? Or what means each position of this array? I've seen that in C# you have the ".getRealAt(buffer,position)" but, there is the same function on C++? I couldn't find...
Hi everyone, I'm trying to read some values from a S7-1200 PLC with the Snap7 library. As explained in the manual, I'm able to store the bytes on my buffer(MyDB1), in my case, i want to read a Real, so MyDB1 is initialized to be a array of bytes with 4 positions. Then, my question is, how can or should i take the REAL value of this array? Or what means each position of this array? I've seen that in C# you have the ".getRealAt(buffer,position)" but, there is the same function on C++? I couldn't find...