E L C P r o g r a m m i n g M a n u a l
F or more info rmat io n vi sit: www.e a to n.c om M N 0 5 003 00 3 E
3-436
API Mnemonic
Operands
Function
184
MINV P
S, D, n
Matrix Inverse
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX
KnY
KnM KnS T
C D E
F
S
*
*
*
*
*
*
*
D
*
*
*
*
*
*
n
*
*
*
MINV, MINVP: 7 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
: Matrix source address
D
: result
n
: matrix length (K1~K256)
Description:
1.
Do matrix inverse operation to the matrix source with a length of
n
and save the result in
D
.
2.
S
designate KnX, KnY, KnM and KnS;
D
designates KnY, KnM and KnS ELC-PC/PA/PH,
ELCM-PH/PA can designate n = 4. ELC-PV can designate n=1- 4.
3.
The inverse operation simply changes logical 1s to 0s and 0s to 1s.
Program Example:
When X0=ON, execute the MINV operation to 3 rows (D0-D2) of 16-bit registers by 3 rows
(D10-D12) of 16-bit registers. Then save the result in 3 rows (D20-D22) of 16-bit registers.
X0
MINV
D0
D20
K3
Before
Execution
After
Execution
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
1
1
1
0
0
0
1
1
1
0
0
0
1
1
1
0
0
0
1
1
1
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
b15
b0
MINV
D0
D1
D2
D20
D21
D22
Содержание 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...