3 Basic Instructions Explanations: To save the content in the accumulative register into the operational result (the pointer of operational result will plus 1). Explanations: To read the operational result and store it into the accumulative register (the pointer of operational result stays intact) . Explanations: To retrieve the previous preserved logical operation result and store it into the accumulative register (the pointer of operational result will minus 1) . Program Example: Ladder diagram: Instruction code: Operation:
LD X0 Loading in contact A of X0 AND X1 Connecting to contact A of X1 in series OUT Y1 Driving Y1 coil AND X2 Connecting to contact A of X2 in series OUT M0 Driving M0 coil OUT Y2 Driving Y2 coil END Program ends DVP-PLC Application Manual 3-7 Mnemonic Function Program steps Controllers MPS Store the current result of the internal PLC operations 1 E S EX SS SA SX SC EH 2 SV EH 3 SV 2 N/A Operand Mnemonic Function Program steps Controllers MRD Reads the current result of the internal PLC operations 1 E S EX SS SA SX SC EH 2 SV EH 3 SV 2 N/A Operand Mnemonic Function Program steps Controllers MPP Pops (recalls and removes) the currently stored result 1 E S EX SS SA SX SC E H2 SV EH 3 SV 2 N/A Operand MPS X0 X1 Y1 X2 MRD M0 Y2 MPP END END MPS Saving into stack MRD Reading from stack MPP Reading from stack and pop pointer