When compiling if receiving Error 5846: #1046: Too many 16bit variables declared, this is commonly caused by trying to compile the program for All Versions for backwards compatibility to CoDeSys' initial release versions.
Unless using older Compax3s, always use >=V03.04.00 (C3 2007R07) to give full functionality. Using All Versions will compile for older firmware and some commands and functions may not be available. Using >=V03.04.00 builds the project for succinctly and many times eliminates this error.
4/10/2014jh
Add Comment