CCM 164
–
User Manual
–
GB / UK
19
Extension of <condition>
<con1><op><con2>
<con1>
an input
Options:
AIn, In, Mn, Bn, An, !AIn, !In, !Mn, !Bn, !An
<op>
the relation between the 2 inputs
Options:
< (less than), > (greater than), & (and), + (or)
<con2>
an input
Options:
AIn, In, Mn, Bn, An, !AIn, !In, !Mn, !Bn, !An
Example:
When Digital Inputs 1 and 2 are high (the expression is true), Output 1 is set to high.
Example:
If the value of Voltage Input 1 is greater than the value 10, Output 1 is set to low.
Example:
If the value of Voltage Input 1 is less than the value of Voltage Input 2, Output 1 is set to low.
Example:
If Voltage Input 1 or Voltage Input 2 goes low, a message is sent to tel.no. P1.
I1 = high and I2 = high
→
low
Typical errors:
NB: <condition> can only have 2 inputs and one operator.
There may not be any spaces in the <condition> expression.
#A1 (On) I1&I2 Q1
OK: A1 defined
#A1 (Larger than) I1>10 !Q1
OK: A1 defined
#A1 (Less than) I1<I2 !Q1
OK: A1 defined
#A1 (thermal error) !I1+!I2 P1
OK: A1 defined
thermal error
#A1 (Open) I1<I2<I3 !Q1
Error in command parameters:
I1<I2<I3
#A1 (Open) I1 &I2 Q1
Error in command parameters: &I2
Содержание CCM 164
Страница 55: ......