Warning: SEM2010

Hello, SEM2010: The external usage of VAR_IN_OUT parameters is not allowed. No code will be generated for this statement. The VAR_IN_OUT variable “Tempo” seems to be not possible to be copied in the program. (see attached picture). This code is running in PC WORX. I just want to know what implies that because of the message (“No code will be generated for this statement”) Also I would like to know what is the IEC Compiler Setting “Allow write on variables with usage ‘Input’” for? It is not described in the help. Thanks, Angel

Hello Angel, could you show me the variable declararion in PLCnEng, please? Is it possible to send me, the part of your application / library, please (as reduced PLCnEng project)? For uploading data to the ShareFile server, please use the following server link: https://phoenixcontact.sharefile.eu/r-rf06a5b174e44ecf8 Thanks & Best Regards, Eduard

,

I also encounter these warnings, when converting an old PC Worx program. Does this message mean, that alterations must be made to the code, to make it work again?
If so, what’s the preferred work-around?