Panasonic FP-E Programming Manual page 164

Fp series
Table of Contents

Advertisement

Basic Instructions
SR
Outline
One bit shift of 16-bit [word internal relay (WR)] data to the left.
Program example
0
1
2
Operands
Relay
Instruction
Instruction
WX WY WR WL
D: Data area N/A N/A
(*) This can be used only with the FP2/FP2SH/FP10SH.
Explanation of example
If the X1 turns on when X2 is in the off state, the contents of the internal relay WR3 (internal relays R30 to R3F)
are shifted one bit to the left.
"1" is shifted in R30 if X0 is on, and "0" is shifted in R30 if X0 is off.
If the X2 turns on, the contents of WR3 are reset to 0.
on
off
X0
on
off
X1
on
off
X2
on
off
R30
on
off
R31
on
off
R32
on
off
R33
on
off
R34
2 − 54
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Shift register
Ladder Diagram
Ladder Diagram
X0
Data input
X1
Shift input
X2
Reset input
Timer/Counter
SV
EV
A
N/A
N/A
N/A
N/A N/A N/A N/A N/A
SR WR 3
D
Index
Register
register
DT
LD
FL
IX
IY
5
Boolean
Address
Instruction
0
ST
X
1
ST
X
2
ST
X
3
SR
WR
Index
Constant
modifier
modifier
(*)
K
H
N/A
N/A
A
A:
Available
N/A: Not Available
0
1
2
3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents