DUEMMEGI
MCP 4 – User's manual
Contatto
2.2- Event triggered Equations
2.2.1- Logic equations
Operators: & (AND), | (OR), ! (NOT), ^ (XOR)
(XOR is evaluated by the compiler as follows:
A ^ B = !A & B | A & !B
)
O10.3
=
I1.1
O2.5
= (
I1.1
|
I1.2
)
V6
= (
I4.3
|
I8.2
) &
V4
O1.6
=
V100
&
I1.7
O1.6
= !
I1.3
&
I1.7
O1.1
=
I2.1
& (
I4.3
|
I2.4
)
O8.1
=
V7
^
I43.2
2.2.2- SET – RESET equations
Operators:
S
SET on the edge
SP
SET priority on the edge
SL
SET on the level
SPL
SET priority and on the level
R
RESET on the edge
RP
RESET priority on the edge
RL
RESET on the level
RPL
RESET priority on the level
O1.1
= S
I1.1
& R
I1.2
Set/Reset edge triggered.
O1.1
= S
I1.1
& R
I1.2
Set/Reset edge triggered
O1.1
= S
I1.1
& RL
I1.2
Reset on the level: out is locked OFF if I1.2 is activated.
O1.1
= SPL
I1.1
& RL
I1.2
Set/Reset on the level, but out is locked ON if I1.1 is activated (since
it is specified to be a priority command).
O1.5
=
I2.3
& R
I2.1
& S
I4.6
I2.3
is a consent.
O1.1
= (S
I1.1
| S
I1.2
) & R
I1.3
Parenthesis use: out goes ON activating I1.1 or I1.2.
O1.1
= S
I1.1
& R
I1.2
& R
I1.3
Out goes OFF activating I1.2 or I1.3.
O1.1
= SL
I1.1
& SL
I1.2
& R
I1.3
Out goes ON activating BOTH I1.1 and I1.2
DUEMMEGI
s.r.l. - Via Longhena, 4 – 20139 MILANO
Tel. 02/57300377 - Fax 02/55213686 –
www.duemmegi.it
Rel.: 1.2 October 2018
Page 17 of 87