Mitsubishi — 5.2 Instruction Composition

5 Categories and Use of Basic Application Instructions 5.2 Instruction Composition ‹ Instructions consist of either just the instruction or the instruction followed by operands for parameter settings Mnemonic: Indicates the name and the function of the instruction Operand: The parameter setting for the instruction or 3 steps for 32-bit instruction. Mnemonic of an instruction usually occupies 1 step, and each operand occupies 2 steps for 16-bit instruction ‹ Format of an application instruction API number for instruction Mnemonic code with a prefix “D" indicates 32-bit instruction, e.g. API 10 DCMP.

The core mnemonic code of instruction Mnemonic code with a suffix “P” indicates pulse instruction, e.g. API 12 MOVP. Operands Function of the instruction Steps occupied by the 16-bit/32-bit instruction Steps occupied by the 16-bit/32-bit instruction Column marked with * and in grey refers to V, Z index register modification is applicable. Column marked with * is the device applicable for the operand. Device name Device type ‹ Specify an application instruction: The application instructions of DVP-PM are specified by API numbers 0~260 and each has its mnemonic. When designing the user program with ladder editing program (PMSoft), users only need to key in the mnemonic, e.g.

MOV, and the instruction will be inserted. Take MOV instruction for example: X0 Mnemonic Operands MOV instruction moves the operand designated in S to the operand designated in D . DVP-PM Application Manual 5-5 MOV K10 D10 Source: if there are more than one source is required, it will be indicated as S , 1 S ...etc. 2. S Destination: if there are more than one destination is required, it will be indicated as D , D ...etc. 1 2. D If the operand can only be constant K/H or a register, it will be represented as m, m , n, n , n …etc 1 1 2