![Omron SYSMAC C200HE Скачать руководство пользователя страница 276](http://html1.mh-extra.com/html/omron/sysmac-c200he/sysmac-c200he_operation-manual_742434276.webp)
!
258
If bit 15 of C is ON and more than one address contains the same maximum val-
ue, the position of the lowest of the addresses will be output to D+1.
The number of words within the range (N) is contained in the 3 rightmost digits of
C, which must be BCD between 001 and 999.
When bit 15 of C is OFF, data within the range is treated as normal binary and
when it is ON the data is treated as signed binary.
15 14 13 12 11
00
Data type
1 (ON):
Signed binary
0 (OFF): Normal binary
Number of words
in range (N)
Not used – set to zero.
Output address to D+1?
1 (ON):
Yes.
0 (OFF): No.
C:
Caution
If bit 14 of C is ON, values above #8000 are treated as negative numbers, so the
results will differ depending on the specified data type. Be sure that the correct
data type is specified.
Flags
ER:
Indirectly addressed DM word is non-existent. (Content of
DM word is
not BCD, or the DM area boundary has been exceeded.)
The number of words specified in C is not BCD (000 to 999).
R
1
and R
1
+N–1 are not in the same data area.
EQ:
ON when the maximum value is #0000.
N
:
ON when bit 15 of D is set to 1.
5-21-2
FIND MINIMUM – MIN(––)
R
1
: First word in range
IR, SR, AR, DM, HR, TC, LR
C
: Control data
IR, SR, AR, DM, HR, LR, #
Ladder Symbols
Operand Data Areas
@MIN(––)
C
R
1
D
D
: Destination word
IR, SR, AR, DM, HR, LR
MIN(––)
C
R
1
D
Limitations
N in C must be BCD between 001 to 999.
R
1
and R
1
+N–1 must be in the same data area.
Description
When the execution condition is OFF, MIN(––) is not executed. When the execu-
tion condition is ON, MIN(––) searches the range of memory from R
1
to R
1
+N–1
for the address that contains the minimum value and outputs the minimum value
to the destination word (D).
If bit 14 of C is ON, MIN(––) identifies the address of the word containing the
minimum value in D+1. The address is identified differently for the DM area:
1, 2, 3...
1. For an address in the DM area, the word address is written to D+1. For ex-
ample, if the address containing the minimum value is DM 0114, then #0114
is written in D+1.
Special Math Instructions
Section 5-21
Содержание SYSMAC C200HE
Страница 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Страница 2: ......
Страница 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 380: ......
Страница 410: ......
Страница 438: ......
Страница 464: ......
Страница 474: ......
Страница 522: ......
Страница 538: ......
Страница 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 554: ......
Страница 560: ......
Страница 584: ......
Страница 585: ......
Страница 586: ...W303 E1 09 ...