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


 
3. Instruction Set
3-7
Program example:
Ladder diagram:
X0
Y1
X1
M0
X2
Y2
END
MPP
MRD
MPS
Instruction: Operation:
LD X0 Load NO contact X0
MPS
Store current status
AND X1 Connect NO contact X1 in series
OUT Y1 Drive Y1 coil
MRD
Read the stored status
AND X2 Connect NO contact X2 in series
OUT M0 Drive M0 coil
MPP
Read the stored status and reset
OUT Y2 Drive Y2 coil
END End of program
Note: When compiling ladder diagram with WPLSoft, MPS, MRD and MPP will be automatically
added to the compiled results in instruction format. However, users programming in instruction
mode have to enter branch instructions as required.
Mnemonic Operands Function Program steps
OUT
Y, M, S Output coil 1~3
Controllers
ES2/EX2 SS2
SA2
SE
SA2
Explanations:
Output the program evaluation results before OUT instruction to the designated device.
Status of coil contact
OUT instruction
Associated Contacts
Evaluation result
Coil
NO contactnormal open NC contactnormal close
FALSE OFF Current blocked Current flows
TRUE ON Current flows Current blocked
Program example:
Ladder diagram:
X0 X1
Y1
Instruction: Operation:
LDI X0 Load NC contact X0
AND X1 Connect NO contact X1 in series
OUT Y1
Drive Y1 coil