Comparison - Omron CQM1 Operation Manual

Sysmac cqm1h/cqm1 series dedicated i/o units
Hide thumbs Also See for CQM1:
Table of Contents

Advertisement

Comparison

5-5
Comparison
Settings
Command
Setting Example
Operation
1,2,3...
9. After setting all the scaling values, reset 0000 to the output word. After the
scaling operation, 0534 will be set to the input word.
A
A
A
0
0
CHG
The comparison function is effective only when the timing hold in operation
mode A is set to normal.
The setting methods of the set values and hysteresis to compare the present
scaled conversion data and the set values are explained below.
The preset set values and hysteresis are effective only when the Unit is set to
comparison mode. The hysteresis is, however, available only if the timing hold
is set to normal. Use the operation mode A set command to change the timing
hold.
Refer to 6-2 Set Value Teaching for the method to obtain the set values from
the teaching operation.
Set the LL, L, H, and HH set values so that these set values are within a range
from –9999 to 9999. The following are the factory-set set values.
LL and L:
–9999
H and HH:
9999
Therefore, if the Unit is operated with the factory-set set values, the PASS bit
of the input word will be always ON.
Set the hysteresis to a value between 0001 and 0999 for the LL, L, H, and HH
set values. The factory-set value of the hysteresis is 0001.
The set value set command consists of a command code and parameter. The
following command codes are used for the LL, L, H, and HH set values.
• LL Set Value:
C70@
• L Set Value:
C71@
• H Set Value:
C72@
• HH Set Value: C73@
Each of the above set values has the suffix @, which should be replaced with
0 if the value is positive and F if the value is negative when they are input. The
parameter range of each of the above set values is 0000 to 9999.
The hysteresis set command consists of the command code CA00 and
parameter. Set the hysteresis value to the parameter.
Refer to pages 224 to 226 for the details of the set value command.
Set the L set values to 0000 and the H set values to 2000 with the hysteresis
set to 0010. Each Comparison Result Flag is turned ON when the scaled con-
version data is as follows.
L
0000, PASS = 0001 to 1999, H
1. The input word reads 1254, which is the present scaled conversion data,
and the output word reads 0000.
? ?
A
 #!"
0
0
WRITE
2000
Output word Input word
? ?
  #"
Section 5-5
205

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cqm1h - 08-2005

Table of Contents