3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3-179
API Mnemonic
Operands
Function
61
D SER P
S
1
, S
2
, D, n
Search a Data Stack
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C D E
F
S
1
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
*
*
*
*
D
*
*
*
*
*
*
N
*
*
*
SER, SERP: 9 steps
DSER, DSERP: 17 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32 16
P
32 16
P
32 16
P 32 16 P 32 16
P
Operands:
S
1
: Starting source address
S
2
: Compare value
D
: Starting destination for storing compared
result (occupies 5 continuous addresses)
n
: Number of addresses to compare
Description:
1.
S
1
specifies the starting address of the registers to compare,
n
specifies how many registers to
compare to the value specified by
S
2
, and the compare result is stored in destination registers
specified by
D
.
2.
D
stores the total of the matched results;
D+1
stores the address number of the first matched
result;
D+2
stores the address number of the last matched result;
D+3
stores the address
number of the smallest value;
D+4
stores the address number of the largest value.
3.
If the 32-bit instruction is used, operands
S
1
,
S
2
,
D
,
n
will reference 32-bit registers.
4. If
operand
S
2
uses index F, only 16-bit instruction is available
5.
The range of operand
n
:
n
=1~256 (16-bit instruction),
n
=1~128 (32-bit instruction)
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...