5 Applied Instructions and Basic Usage
API
Applicable model
20PM
258
BRET
Returning to a busbar
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
Note: There is no operand.
The instruction does not need to be driven by a contact.
16-bit instruction (1 step)
BRET
Continuity
instruction
- -
32-bit instruction
- - - -
Flag: None
Explanation
After the instruction BRET is executed, the instructions which should be driven
by a conditional contact will seem to be connected to a busbar, and will be
executed.
The instruction BRET does not have to be driven by a contact.
Example
In the general program shown below, the instructions are executed only when
X0 is ON.
X0
MOV
K500
CJ
P10
D10
After the instruction BRET is added, the instructions which should be driven by
a contact will seem to be connected to a busbar, and will be executed.
MOV
K500
CJ
P10
D10
BRET
DVP-20PM Application Manual
5-142