Controladores lógicos programables PLC baja gama expandibles entradas digitales AC 74368-SR22MRDC ARRAY Manual Ingles www.viaindustrial.com
Controladores lógicos programables PLC baja gama expandibles entradas digitales AC 74368-SR22MRDC ARRAY Manual Ingles www.viaindustrial.com
connected to the pin of the analog input. Thus CMPR will compare this fix value and
the calculated value of the analog pin.
Example 1: Comparing the calculated value of input 1 and input 2.
Input 1 is connected to IA0;
Input 2 is connected to IA1;
Output is connected to QA1;
CMPR function is selected as “<=”
Then If the calculated value of IA0 is <= that of IA1, QA1 will become 1.
Otherwise QA1 will become 0.
Example 2£ºComparing the calculated value of the analog input with the fix value.
Input 1 is connected to IA01;
Input 2 is empty. And then select the property dialogue frame of Input 2 and
Output is connected to QA0;
CMPR function is selected as “<=”.
Then if the calculated value of IA0 is <= to the fix value, QA1 will become 1.
Otherwise QA1 will become 0.
Line diagram/ Symbol in SR
Analog Input 1, can be selected as: the value calculated from
the analog input IA through the math formula, or the preset
Analog Input 2, can be selected as: the value calculated from
the analog input IA through the math formula, or the preset
If the comparing condition between Input 1 and Input 2 is YES,
Q will be 1, and otherwise Q will be 0.
This function block can compare the value of timer or counter. And the compared
time range is 0.01~99.99 (Unit: hour, minute, second). And the counter range is
The type of the two connected inputs of this function block must be the same. If Input
1 is TSEQ function block, Input 2 must be TSEQ function block too. And if Input 1 is
UDCT function block, then Input 2 must be UDCT function block too.
In the following we will explain the applications of this function block by examples.
Example 1£ºComparing the length of two timers