Delta DVP-ES2/EX2/SS2/SA2/SX2/SE Two-Way Radio User Manual


 
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming
3-14
3.5 Application Programming Instructions
1. PLC instructions are provided with a unique mnemonic name to make it easy to remember
instructions. In the example below the API number given to the instruction is 12, the
mnemonic name is MOV and the function description is Move.
API Mnemonic Operands Function
12
D MOV P
Move
Controllers
ES2/EX2 SS2
SA2
SE
SX2
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
* * * * * ***
MOV, MOVP: 5 steps
DMOV, DMOVP: 9 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2 SA2 SX2
2. The area of ‘Operands’ lists the devices (operands) required for the instruction. Identification
letters are used to associate each operand with its function, e.g. D-destination, S-source, n,
m-number of devices. Additional numeric suffixes will be attached if there are more than one
operand with the same function, e.g. S
1
, S
2.
3. When using WPLSoft for programming user program, it is not necessary to remember the
API number of an instruction since WPLSoft offers drop down list to select an instruction.
4. Applicable controllers are identified by the boxes at the right of the table. For individual
instruction properties of Pulse, 16-bit or 32-bit, please refer to the box down the table.
5. Pulse operation requires a ‘P’ to be added directly after the mnemonic while 32 bit operation
requires a ‘D’ to be added before the mnemonic, i.e. if an instruction was being used with
both pulse and 32 bit operation it appears as “D***P” where *** is the basic mnemonic.
Instruction Composition
The application instructions are specified by API numbers 0~--- and each has its mnemonic. When
designing the user program with ladder editing program (WPLSoft), users only need to key in the
mnemonic, e.g. MOV, and the instruction will be inserted. Instructions consist of either just the
instruction or the instruction followed by operands for parameter settings. Take MOV instruction for
example:
Instruction
Operand
X0
K10 D10MOV
Mnemonic : Indicates the name and the function of the instruction
Operand : The parameter setting for the instruction