Reference programming TX1200 243 Version: 1.3 Number Error Message Possible Cause 4202 Unexpected end of text in brackets Insert a closing bracket after the text. 4203 in brackets not allowed The operator is not valid in a IL bracket expression. (not valid are: 'JMP', 'RET', 'CAL', 'LDN', 'LD', 'TIME') 4204 Closing bracket with no corresponding opening bracket Insert an opening bracket or remove the closing one. 4205 No comma allowed after ')' Remove comma after closing bracket. 4206 Label in brackets not allowed Shift jump label so that it is outside of the brackets.
4207 'N' modifier requires operand of type 'BOOL', 'BYTE', 'WORD' or 'DWORD' The N modifier requires a data type, for which a boolean negation can be executed. 4208 Conditional Operator requires type 'BOOL' Make sure that the expression gives out a boolean result or use a type conversion. 4209 Function name not allowed here Replace the function call by a variable or a constant. 4210 'CAL', 'CALC' and 'CALN' require a function block instance as operand Declare an instance of the function block which you want to call. 4211 Comments are only allowed at the end of line in IL Shift the comment to the end of the line or to an extra line.
4212 Accumulator is invalid before conditional statement The accu is not defined. This happens if an instruction is preceeding which does not submit a result (e.g. 'CAL'). 4213 'S' and 'R' require 'BOOL' operand Use a boolean variable at this place. 4250 Another 'ST' statement or end of POU expected The line does not start with a valid ST instruction. 4251 Too many parameters in function '%s' There are more parameters given than are declared in the definition of the function. 4252 Too few parameters in function '%s' There are less parameters given than are declared in the definition of the function.
4253 'IF' or 'ELSIF' require 'BOOL' expression as condition Make sure that the condition for IF or ELSIF is a boolean expression. 4254 'WHILE' requires 'BOOL' expression as condition Make sure that the condition following the ‘WHILE’ is a boolean expression. 4255 'UNTIL' requires 'BOOL' expression as condition Make sure that the condition following the ‘UNTIL’ is a boolean expression. 4256 'NOT' requires 'BOOL' operand Make sure that the condition following the ‘NOT’ is a boolean expression. 4257 Variable of 'FOR' statement must be of type 'INT' Make sure that the counter variable is of an integer or bitstring data type (e.g. DINT, DWORD).
4258 Expression in 'FOR' statement is no variable with write access Replace the counter variable by a variable with write access. 4259 Start value in 'FOR' statement is no variable with write access The start value in the ‚FOR' instruction must be compatible to the type of the counter variable. 4260 End value of 'FOR' statement must be of type 'INT' The end value in the ‚FOR' instruction must be compatible to the type of the counter variable. 4261 Increment value of 'FOR' statement must be of type 'INT' The incremental value in the ‚FOR' instruction must be compatible to the type of the counter variable.
4262 'EXIT' outside a loop Use 'EXIT' only within 'FOR', 'WHILE' or 'UNTIL' instructions. 4263 Expecting Number, 'ELSE' or 'END CASE' _ Within a ‘CASE' expression you only can use a number or a 'ELSE' instruction or the ending instruction 'END CASE'. _