AlfredoQuintero
Lifetime Supporting Member
Hello: I have been working in what I thought would be a relatively easy thing to do and I am stuck. Would be grateful for some advice. I have one Profinet device with 180 bytes input. IN Codesys the GSDML file described datatypes are shown clearly and the IO mapping is straight forward.
On the S7-1200 I need to get this block of 180 bytes from the %IB area and copy it to a user defined data type on a DB on the S7-1200 program, and I cannot find the way to do this.
Tried MOVE_BLK_VARIANT but I get return "80B4" (The data types do not correspond. Instead of an ARRAY of Struct, use an ARRAY of PLC data type (UDT).) Not sure what this error means, because for DEST I am using a UDT.
Thanks for reading and advice.
On the S7-1200 I need to get this block of 180 bytes from the %IB area and copy it to a user defined data type on a DB on the S7-1200 program, and I cannot find the way to do this.
Tried MOVE_BLK_VARIANT but I get return "80B4" (The data types do not correspond. Instead of an ARRAY of Struct, use an ARRAY of PLC data type (UDT).) Not sure what this error means, because for DEST I am using a UDT.
Thanks for reading and advice.