5 Categories & Use of Application Instructions 5.2 Composition of Application Instruction An application instruction has two parts: the instruction and operands. Instruction: The function of the instruction Operands: Devices for processing the operations of the instruction The instruction part of an application instruction usually occupies 1 step, and one operand occupies 2 or 4 steps depending on the instruction is a 16-bit or 32-bit one. Format of an application instruction: 1 API 41 9 API No. Indication of if there is a 16-bit or 32-bit instruction. If there is a 32-bit instruction, the column will be marked Mnemonic of the application instruction with “D”.
Indication of if there is a pulse execution type instruction. If there is a pulse instruction, the column will be marked with “P”. Operands Function of the application instruction DVP-PLC applicable to the application instruction. ES includes ES/EX/SS, SA includes SA/SX/SC, EH2 includes EH2/SV, and EH3 includes EH3/SV2. Steps occupied by the 16-bit/32-bit/pulse execution instruction DVP-PLC applicable to the pulse/16-bit/32-bit instruction Column marked with * and in grey refers to E, F index register modification is applicable.
Column marked with * is the device applicable for the operand DVP-PLC Application Manual 5-6 Mnemonic P Applicable to STEPS Category API Function 16-bit 32-bit instruction ES SA EH2 EH3 16-bit 32-bit Floating-point Contact Type Comparison Instruction 304 ANDZ DANDZ - | S - S | - - - 5 9 305 ANDZ DANDZ - | S - S | ≦ | S | 1 2 3 - - - 5 9 306 ANDZ= DANDZ= - | S - S | = | S | 1 2 3 - - - 5 9 307 ANDZ DANDZ - | S - S | ≠ | S | 1 2 3 - - - 5 9 308 ORZ> DORZ> - | S - S | > | S | 1 2 3 - - - 5 9 309 ORZ>= DORZ>= - | S - S | ≧ | S | 1 2 3 - - - 5 9 310 ORZ DORZ - | S - S | - - - 5 9 311 ORZ DORZ - | S - S | ≦ | S | 1 2 3 - - - 5 9 312 ORZ= DORZ= - | S - S | = | S | 1 2 3 - - - 5 9 313 ORZ DORZ - | S - S | ≠ | S | 1 2 3 - - - 5 9 2 3 4 5 6 7 Mnemonic Operands Functi on Control lers ES /EX /SS SA /SX /SC EH /S V DECO P S D n Decode Control lers ES /EX /SS SA /SX /SC EH /S V 13 Type Bi t Devic es Word De vices Program Ste ps 12 OP X Y M S K H KnX KnY KnM KnS T C D E F DECO, DECOP:
7 steps 8 S * * * * * * * * * * * D * * * * * * * * 10 n * * 11 PULSE 16-bit 32-bit ESEX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ESEX SS SA SX SC EH SV PULSE 16-bit 32-bit ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV Type OP Bi t Devic es Word De vices Program Ste ps X Y M S K H KnX KnY KnM KnS T C D E F DECO, DECOP: 7 steps 8 S * * * * * * * * * * * D * * * * * * * * n * * 10