Mitsubishi — Chapter 8 Application Instructions API 100-149

9 Application Instructions API 150-199 API 184 Operands: S : Matrix source device D : Operation result n : Array length Explanations: 1. Range of n : K1 ~ K256 3. SA/SX/SC can designate n = 4. EH/EH2/SV/EH3/SV2 can designate n ≦ 4 . 2. S designates KnX, KnY, KnM and KnS; D designates KnY, KnM and KnS. 4. See the specifications of each model for their range of use. 5. S performs an inverse matrix operation according to the array length n . The result is stored in D . Program Example: When X0 = On, the 3 arrays of 16-bit registers D0 ~ D2 perform a matrix inverse operation. The result will be stored in the 3 arrays of 16-bit registers D20 ~ D22.

X0 b15 b0 Before Execution 0 0 0 MINV After Execution 1 1 1 DVP-PLC Application Manual 9-100 Mnemonic Operands Function MINV P Matrix Inverse Operation Type OP Bit Devices Word Devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F MINV, MINVP: 7 steps S * * * * * * * D * * * * * * n * * * 16-bit 32-bit EH3 ES EX SS EH3 ES EX SS SA SX SC EH SV EH3 SV2 EX SS SA S X SC EH SV SA SX SC EH SV SV2 SV2 0 MINV D0 D20 K3 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 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0