Omron SYSMAC CV Series Operation Manual page 333

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Special Math Instructions
C:
Precautions
Flags
Example
0000
00
When bit 15 of C is OFF, data within the range is treated as unsigned binary and
when it is ON the data is treated as signed binary. Refer to 3-2 Data Area Struc-
ture for information on signed and unsigned binary data.
15 14 13 12 11
Data type
1 (ON):
Signed binary
0 (OFF): Unsigned binary
The 3 rightmost digits of C must be BCD between 001 and 999.
Note Refer to page 115 for general precautions on operand data areas.
ER (A50003):
The 3 rightmost digits of C are not BCD between 001 and 999.
Content of *DM word is not BCD when set for BCD.
EQ (A50006):
The minimum value is zero.
N (A50008):
Shows the status of bit 15 of the minimum value.
When CIO 000000 is ON in the following example, MIN(166) outputs to D00100
the minimum value within the 10-word range from D00000 to D00009. Because
bit 14 of C is ON, the lower address of the two addresses within the range that
contain the minimum value is output to IR0.
(166)
MIN
2000 D00000
CIO 2000
D00000
D00001
D00002
D00003
D00004
10 words
D00005
D00006
D00007
D00008
D00009
D00100
IR0
00
Number of words
in range (N)
Not used – set to zero.
Output address to IR0
1 (ON):
Yes.
0 (OFF): No.
D00100
4010
3F2A
$2000
51C3
$2001
E02A
$2002
7C9F
$2003
2A20
$2004
A827
$2005
2A20
$2006
E02A
$2007
C755
$2008
94DC $2009
2A20
2004
Section 5-23
Address Instruction
Operands
00000
LD
000000
00001
MIN(166)
D00000
D00200
2000
321

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents