I’m having issues getting the example code included in the IOL_Basic library to work properly in PLCnext Engineer 2020.3.1. For the highlighted bit of code included in the IOL_6_EXA_IOL_MA8_PN_DI8 PLCnext project file, I’m getting an error of “SEM2010: The external usage of VAR_IN_OUT parameters is not allowed. No code will be generated for this statement.” (* Instances *)
BUF_TO_STRING_1(
DST := strTmp, (* Destination variable of standard data type *)
BUFFER := udtExample.arrIOL_ReadData (* Array with received data *)
);
strTmp := BUF_TO_STRING_1.DST;
iStatus := BUF_TO_STRING_1.STATUS;Does this even mean anything for this case? It’s just a warning, so do I just ignore it? There was another forum post with this same error message, but it’s marked resolved without actually indicating how it was resolved, so that’s not very helpful. Thoughts? https://www.plcnext-community.net/en/discussions/warning-sem2010.html