Please enable JavaScript to view this site.

This instruction is used to change Boolean variables whether they are logical or physical. It sets the state of the variable permanently until a subsequent similar instruction changes its state further.

Syntax

out_m (s ch, s ch, ...., s ch)

s

Represents the state of the boolean variable:

- = FALSE (open if physical output)

+ = TRUE (closed if physical output) (can be omitted)

ch

This is the index that identifies the OUTPUT variable.

It can be an integer expression and can range from 1 to 2304

Validity

Rule, Task

Note

You can do the same operation directly by imposing the state of the physical channel. ex: OUT(n) = 1 or OUT(n) = 0

Up to 10 outputs may be specified in an instruction (compile-time error reporting if exceeded). Indexes must be separated from each other by the comma (,) character.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC