Hi all,
I would like to know if there is any library that contains a function similar to the "BLKMOV" that Siemens have for their PLCs . This allow you to copy a memory area to another one. My case is the next: I receive 36 bytes from a profinet device that i store on a 36 bytes array, and i want to fill that data into a struct that i have created. I tried to create a struct of 36 bytes lenght but it didn't allow me to connect to the proccess data of the profinet slave, the only way i found was creating that array[0..35] of BYTE. Are there more posibilites here regarding the process data variable type? The datatype that the PLCnext Engineer sees is octetstring[36]. At this point the only way i see to do this memory area copy is using "BUF_TO..." to fill that data, but that would require to use as many BUF_TO blocks as differente variables i have on my STRUCT. Is there any FB that allow me to do this memory area copy at once? If not, could you point me on how to create an FB that would do this? Thanks in advance! Kind Regards, Nacho.