EasyManua.ls Logo

NCT 90 - Page 27

Default Icon
43 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
24
Qnn: start of conditional test with checking the state of the nn-th program counter (Q00-
Q99). The conditional test is bifurcated: true while it is counting, false when the
counter is empty.
Qnn "still counts" E "not counting, empty" Z
Tnn: start of conditional test with checking the state of the nn-th event counter. The counter
is decremented by one before each conditional test, so it can be used as a 20 ms timer
in the :001 module (T00-T99). The conditional test has three branches: counting/just
completed counting/empty.
Tnn "counting" E "just completed counting" Z "empty"
Hn: start of conditional test with checking the state of the n-th 100 ms 16-bit timer. The
conditional test is bifurcated: true when it is counting, false when the counter is
empty.
Hn "counting" E "finished counting" Z
The timer is decremented by the system program (H0-H9). The timer can be loaded
from the OP (Shn) or loaded into the OP (Lhn).
Mn: start of conditional test with checking the state of the n-th minute-based 16-bit timer.
The conditional test is bifurcated: true when it is counting, false when the counter is
empty.
Mn "counting" E "finished counting" Z
The timer is decremented by the system program (M0-M9). The timer can be loaded
from the OP (Smn) and loaded into the OP (Lmn).
(..): brackets by which several conditions can be joined into a single condition. For example:
(Innn A Nynnn). The logic value of the result of the conditional test is TRUE when
input Innn is active, and input Ynnn is cut out.
E: FALSE (ELSE) branch of the conditional test. Its use is not mandatory. In lack of this test
the program will search the FALSE branch beyond Z of the condition.
Z: end of conditional test (mandatory). The program must include as many Z´s as is the
number of conditions open. If there are less Z´s in the program than is the number of
conditions opened, the compiler will return a message "ERROR 17", blinking the
cursor at the beginning of the erratic condition. The compiler will return message
"ERROR 99" when the program includes more Z´s than conditions are opened.
A: bit-by-bit logic AND relation between the OP a DATA word.
OP=OP A data
Logic AND relation between two terms of a group conditional test joined by
brackets.
For example: (Innn A Ynnn)
O: bit-by-bit logic OR relation between the OP and a DATA word.
OP=OP O data
Logic OR relation between two terms of a group conditional test joined by brackets.
For example: (Innn O Ynnn)