![Omron CVM1D Operation Manual Download Page 334](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532334.webp)
(273)
ZONE 0001 D00100 D00110
0000
00
329
If the input data (S) is greater than zero, the input data plus the positive bias will
be output to D and the Greater Than Flag (A50005) will turn ON.
If the input data (S) is equal to zero, 0000 will be output to D and the Equals Flag
(A50006) will turn ON.
Positive bias (C+1)
Output
Input
Negative bias (C)
If the output data is less than 8000 or greater than 7FFF, the sign will reverse. For
example, if the negative bias is FF00 and the input data is 8000, the output data
will be as follows:
8000 +FF00
=
7F00
(–32,768)
10
(–256)
10
(32,512)
10
Precautions
The negative bias (C) must be less than or equal to the positive bias (C+1).
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
C is less than C+1.
The content of a
*
DM word is not BCD when set for BCD.
> (A50005):
The input data (S) is greater than 0000.
EQ (A50006):
The output data is all zeros.
< (A50007):
The input data (S) is less than 0000.
N (A50008):
The output data is a negative number.
Example
When CIO 000000 turns ON in the following example, one of the following will
occur:
•
If the binary content of CIO 0001 is less than zero, the result of CIO 0001 plus
D00100 will be output to D00110.
•
If the binary content of CIO 0001 is equal to zero, 0000 will be output to
D00110.
•
If the binary content of CIO 0001 is greater than the content of D00100, the
result of (CIO 0001 plus D00100) will be output to D00110.
Address
Instruction
Operands
00000
LD
000000
00001
ZONE(273)
0001
D00100
D00110
0500
CIO 0001
41F5
D00110
46F5
0100
41F5 > 0
FF9C
A50005 (>) ON
D00101 D00100
41F5 + 0500 = 46F5
0100
CIO 0001
D00110
8868
88CC < 0
A50007 (<) ON
D00101 D00100
88CC
88CC + FF9C = 8868
A50008 (N) ON
PID and Related Instructions
Section 5-24
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...