Hello,
When i try to upload program containing WORD_TO_BYTES i receive error (screen included)
Can i use some workaround or do i have to use another function?
I use version 2206
You mention version 2206, but it’s not clear what this refers to. What versions of the following are being used: image.png
* PLCnext Engineer
* AXC F 2152 „template“ (i.e. the version of the AXC F 2152 controller in the offline PLCnext Engineer project)
* AXC F 2152 firmware (on the actual device).
?
Edit:
Also, the WORD_TO_BYTES function can only be used in a Safety controller, which I’m guessing is not being used in this case?
In a standard controller, it’s possible to use „partial access to ANY_BIT variables“, to access individual bytes in a word. Partial Access to ANY_BIT Variables ');\n mywindow.document.close(); \n mywindow.focus();\n setTimeout(function () {\n mywindow.print();\n mywindow.close();\n }, 1000)\n return true;\n}\r\n\r\n\r\n
I used the function WORD_TO_BITS which gave me that error. I am still having the same error even though I removed the function and removed it in the variables. the compiler does not show where the usage is.