5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-4
Instruction code
Model
supported
Step
Type API
16-bit 32-bit
Pulse
instruction
Function
20PM 16-bit 32-bit
Page
No.
224
LD= DLD= –
S1=S2
5 7 5-129
225
LD> DLD> –
S1>S2
5 7 5-129
226
LD< DLD< –
S1<S2
5 7 5-129
228
LD<> DLD<> – S1≠S2
5 7 5-129
229
LD<= DLD<= –
S1≦ S2
5 7 5-129
230
LD>= DLD>= –
S1≧ S2
5 7 5-129
232
AND= DAND= –
S1=S2
5 7 5-130
233
AND> DAND> –
S1>S2
5 7 5-130
234
AND< DAND< –
S1<S2
5 7
5-130
Comparison instructions
236
AND<> DAND<> – S1≠S2
5 7 5-130
237
AND<= DAND<= –
S1≦ S2
5 7 5-130
238
AND>= DAND>= –
S1≧ S2
5 7 5-130
240
OR= DOR= –
S1=S2
5 7 5-131
241
OR> DOR> –
S1>S2
5 7 5-131
242
OR< DOR< –
S1<S2
5 7 5-131
244
OR<> DOR<> – S1≠S2
5 7 5-131
245
OR<= DOR<= –
S1≦ S2
5 7 5-131
Comparison instructions
246
OR>= DOR>= –
S1≧ S2
5 7 5-131
147
SWAP DSWAP
Interchanging the high byte in a device
with the low byte in the device
3 5 5-132
154
RAND DRAND
Random value
7 13 5-133
202
SCAL –
Scale
9 – 5-134
203
SCLP DSCLP
Parameter scale
7 13 5-136
256
CJN –
Negated conditional jump
3 – 5-140
257
JMP – – Unconditional jump
3 – 5-141
258
BRET – – Returning to a busbar
1 – 5-142
259
MMOV –
Converting a 16-bit value into a 32-bit
value
6 – 5-143
Other instructions
260
RMOV –
Converting a 32-bit value into a 16-bit
value
6 – 5-144