Code Generation
Here you can edit some properties about code generation.
Case sensitivity: you can set the project as case-sensitive checking this option. Note that, by default, this option is not active.Check function and FB external variables: if this option is disabled, all func- tions and function blocks can access to global variables without declaring them as ex- ternal variables. Note that, by default, this option is enabled respecting the IEC 61131-3 standard.VAR_IN_OUT by reference: if checked, the variables declared as VAR_IN_OUT of a func- tion block will be treated as reference variables, accordingly to IEC standardsAllow only integer indexes for arrays: if this option is checked you cannot use BYTE, WORD or DWORD as array indexes.Strict pointers check: if enabled, pointer and pointed type validity check is added. The type of a pointer variable must be the same of its pointed variable; if not, an error is generated.Strict enumerations check: if enabled, enumeration assignment type validity check is added. You can assign enum only to the same type; if not, an error is generated.Enable WAITING statement (extension to standard): if this option is checked the WAIT- ING construct for the ST language is added as IEC 61131-3 extension (see Paragraph 11.7.3 for more details).Enable SFC control flags (extension to IEC standard): if this option is checked, HOLD and RESET flags for SFC POU are enabled.Init to zero of function internal variables: if this option is checked, the initial value of the internal varaibles of the functions, will be set to zero as default.Data copy size warning threshold (bytes, 0=disable): when arrays or structures are copied, if their dimension exceed the specified threshold, a warning is emitted in order to inform the possible loss of performance of the PLC. If the threshold is set to 0, no warnings are emitted.Enable preprocessor directives (extension to IEC standard): if this option is checked, IFDEF feature is enabled (you can allow build of portion of code verifiyng if a certain symbol has been defined).Enable verbose warning mode: if this option is checked several minor warning, related to operation between signed and unsigned variables, are emitted; if disabled those warnings are not emitted (for example, a >= b, where a is INT and b is UINT, will raise a warning if this option is enabled).Disable warning emission: if this option is checked warning emissions are not printed on the output window.Disable warning codes: you can specify a list of warning code that will not be printed on the output window.Enable WAITING statement (standard extension): if this option is checked the WAITING construct for the ST language is added as IEC 61131-3 extension. See paragraph 11.7.3 for more details.Disable warning emission: if this option is checked warning emissions are not printed on the output window.Disable warning codes: if this option is checked some specified warning emissions are not printed on the output window.