Editors Note that in Online mode a jump label with the name RETURN is automatically inserted in the first column and after the last element in the editor; in stepping, it is automatically jumped to before execution leaves the POU. 'Insert' 'Comment' Shortcut: + This command is used to insert a comment. You obtain a new line within the comment with + . 'Insert' 'Block Input' Shortcut: + This command is used to insert a block input. The number of inputs is variable for many operators (e.g. ADD can have two or more inputs). To increase the number of inputs for such an operator by one, the operator itself must be selected (Cursor position 1).
Insert’ ‘In-Pin’, ‘Insert’ ‘Out- Pin’ These commands are available as soon as a macro is opened for editing. They are used for inserting in- or out-pins as in- and outputs of the macro. They differ from the normal in- and outputs of POUs by the way they are displayed and in that they have no position index. 'Extras' 'Negate' Shortcut: + This command is used to negate inputs, outputs, jumps or RETURN commands. The symbol for the negation is a small cross on the connection. The input of the element block, output, jump or return is negated when it is selected (Cursor position 3) The output of the element block or input is negated when it is selected (Cursor position 4).
A negation can be deleted by negating again. 'Extras' 'Set/Reset' This command can only be used for selected inputs of the element output (Cursor position 3). The symbol for Set is S and for Reset is R. VarOut1 is set to TRUE, if VarIn1 delivers TRUE. VarOut1 retains this value, even when VarIn1 springs back to FALSE. VarOut2 is set to FALSE, if VarIn2 delivers TRUE. VarOut2 retains this value, even when VarIn2 springs back to FALSE. Multiple activation of this command causes the output to change between Set, Reset and the normal condition. 'Extras' 'EN/ENO' Shortcut:
+ This command is used to give a selected block (Cursor position 3) an additional Boolean enable input EN (Enable In) and a Boolean output ENO (Enable Out). ADD is only executed in this example when the Boolean variable "Bedingung" (condition) is TRUE. VarOut is also set to TRUE after ADD has been executed. ADD will not be executed when the variable "Bedingung" (condition) is FALSE and VarOut retains its value FALSE. The example below shows how the value ENO can be used for further blocks. TX1200 144 Version: 1.3