EasyManua.ls Logo

Panasonic FP-E - Page 133

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic Instructions
2 23
Outline PSHS: Stores the operation result up to this instruction.
6
RDS: Reads the operation result stored by the PSHS instruction.
POPS: Reads and clears the operation result stored by the PSHS
instruction.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
Read Stack
X2
X1
0
X0 Y10
Push Stack
Y11
X3
Y12
Pop Stack
0
1
2
3
4
5
6
7
8
9
ST X 0
PSHS
AN X 1
OT Y 10
RDS
AN X 2
OT Y 11
POPS
AN/ X 3
OT Y 12
Explanation of example
When X0 turns on:
Stores the operation result up to the PSHS instruction and Y10 goes on when X1 turns on.
Reads the stored result using the RDS instruction and Y11 goes on when X2 turns on.
Reads the stored result using the POPS instruction and Y12 goes on when X3 turns off. Also clears
the result stored by the PSHS instruction.
X0
X1
X2
X3
Y10
Y11
Y12
on
off
on
off
on
off
on
off
on
off
on
off
on
off
PSHS
RDS
POPS
Push stack
Read stack
Pop stack
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Related product manuals