User manual

Basic Instructions
2 24
Description
One operation result can be stored in memory and read, and multiple processes performed.
PSHS (stores operation result):
Stores the operation result up to this instruction and continues execution from the next step.
RDS (reads operation result):
Reads the operation result stored using the PSHS instruction and, using this result, continues operation from
the next step.
POPS (resets operation contents):
Reads the operation result stored using the PSHS instruction and, using this result, continues operation from
the next step. Also clears the operation result stored by the PSHS instruction.
These instructions are used if there is branching from a single contact, followed by another contact or
contacts.
Precautions during programming
You can continue to use the same operation result several times by repeatedly using the RDS instruction.
When you are finished, be sure to issue the POPS instruction.
Y10
X0
X1
Y11
X2
Y12
X3 X4
PSHS
RDS
POPS
An RDS instruction can be used repeatedly any number of times.
Y11
X1
Y12
X2
Y13
X4 X5
RDS
X3
Y10
X0
Y14
X6
X7