6 Application Instructions API 00-49 API 24 Operands: D : Destination device Explanations: 1. If D is used in device F, only 16-bit instruction is applicable. 2. See the specifications of each model for their range of use. 3. If the instruction is not a pulse execution one, the content in the designated device D will plus “1” in every scan period whenever the instruction is executed. 4. This instruction adopts pulse execution instructions (INCP, DINCP). 5. In 16-bit operation, 32,767 pluses 1 and obtains -32,768. In 32-bit operation, 2,147,483,647 pluses 1 and obtains -2,147,483,648. 6. The operation results will not affect M1020 ~ M1022. Program Example:
When X0 = Off → On, the content in D0 pluses 1 automatically. X0 DVP-PLC Application Manual 6-43 Mnemonic Operands Function D INC P Increment Type OP Bit Devices Word Devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F INC, INCP: 3 steps DINC, DINCP: 5 steps D * * * * * * * * PULSE 16-bit 32-bit EH3 SV2 EH3 EH3 ES EX SS SA SX SC E H SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV SV2 SV2 INCP D0