Contatto
MCP 4 – User's manual
DUEMMEGI
2.2.3- TOGGLE equations
Operators:
T
TOGGLE on the edge
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
Terms must be linked by OR operators; no “free” input can be used.
O1.1
= T
I6.1
| T
V6
Out toggles at every OFF-ON variation of I6.1 or V6.
O1.1
= T!
I6.1
Out toggles at the variation ON-OFF of the input.
V100
= T
V1
| S
V2
| R
V3
Set and Reset on the edge.
V100
= T
V1
| S
V2
| RL
V3
Out is locked OFF until V3 is activated (being on the level) .
O1.1
= T
I1.1
| T
I1.2
| S
I1.3
| S
I1.4
| R
I1.5
| R
I1.6
More command inputs.
2.2.4- COUNTER Equations
Counter equation controls a digital output as function of the comparison between the counter value and a
threshold. 1024 counters can be defined. Each counter can be controlled by real or virtual inputs, each one
with its own specific function:
1. one or more inputs for forward or backward counting (
S(k)
)
2. one or more inputs for the zeroing or to load the counter with a defined value (
P(z)
,
PP(z
),
PL(z
),
PPL(z
) )
3. one or more inputs to stop the counting (
H
,
HP
)
The counter, depending on the variations at its inputs, will be updated and then compared to the threshold
value, in order to control the output. Allowed operators are:
<
lower than
<=
lower or equal to
==
equal to
!=
not equal to
>
greater than
>=
greater or equal to
Control operators:
S(k)
Sum k to counter on the edge (k range: -32768 to 32767)
P(z)
Preset counter to z on the edge (z range: 0 to 65535)
PP(z)
Priority Preset counter to z on the edge (z range: 0 to 65535)
PL(z)
Preset counter to z on the level (z range: 0 to 65535)
PPL(z)
Priority Preset counter to z on the level (z range: 0 to 65535)
H
Lock the counter to the current value on the level (Halt)
HP
Priority Lock the counter to the current value on the level (Halt)
Page 18 of 87
Rel.: 1.2 October 2018
DUEMMEGI
s.r.l. - Via Longhena, 4 – 20139 MILANO
Tel. 02/57300377 - Fax 02/55213686 –
www.duemmegi.it