User`s manual

INTEG Process Group, Inc.
JNIOR
A Network I/O Resource 39
Cinema.JNIOR Application Manual
7.10 Logic Functions
Cinema.JNIOR can utilize simple logic expressions to determine when to execute a
specific macro. Three Logic Registry Keys are created by default. Additional logic keys
can be added by continuing the pattern (LogicRule4, etc.) and adding these keys to the
AppData – Cinema – Logic folder. Below is a picture of the default Registry Keys.
Multiple operands and operators can be used in a logical statement producing a complex
logical decision. Parenthesis can be used to order the logic.
The logical operators that have been implemented include not, and, or, xor The logic is
checked against digital inputs (din#) and relay outputs (rout#) where the # sign is
replaced with the actual input or output number.
Examples of some logical expressions using the JNIOR I/O
Evaluates TRUE Evaluates FALSE
din1 When input 1 is ON When input 1 is OFF
din1 and din3 When both input 1 and
input 3 are ON
When either input 1 or input
3 are OFF
not din1 and din3 When input 1 is OFF and
input 3 is ON
When input 1 is ON or input
3 is OFF
din5 or din 7 When either input 5 or input
7 is ON
When both input 5 and
input 7 are OFF
(din5 or din7) and din8 When input 8 is ON and
either input 5 or input 7 are
ON
When input 8 is OFF or
both input 5 and input 7 are
OFF
(din1 and din3) or din4 When input 4 is ON or input
1 and input 3 are both ON
When input 4 is OFF and
either input 1 or input 3 are
OFF