5-3. Description of Basic Instructions
122
Outline
Shifts one bit of 16-bit [word internal relay (WR)] data to the left.
Program example
■
Operands
■
Explanation of example
■
Time chart
ON
OFF
X0
ON
OFF
X1
ON
OFF
ON
OFF
R30
ON
OFF
ON
OFF
ON
OFF
ON
OFF
X2
R31
R32
R33
R34
• If shift trigger 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 reset trigger X2 turns ON (leading edge), the
contents of WR3 are cleared (all bits in the WR3
become “0”).
Timer/Counter
area
EV
Relay
SV
WR
WY
WX
Operand
SR
N/A N/A A
N/A
A:
N/A: Not Available
Register
DT
N/A
IY
IX
N/A N/A
H
K
N/A N/A
Constant
Index
modifier
N/A
Index
register
Available
N/A
SR
Shift register
Availability
Step
1
All series
Ladder Diagram
FP Programmer
II
key operations
Boolean Non-ladder
Address Instruction
0
X0
Data input
X1
SR WR 3
Shift trigger
Reset trigger
Data area
X2
ST
X-WX
ST
X-WX
1
WRT
ST
X-WX
ST
X-WX
0
WRT
SHIFT
SC
3
WRT
ST
X-WX
ST
X-WX
2
WRT
OR
R-WR
SHIFT
SC
3
0
1
2
3
ST
X
0
ST
X
1
ST
X
2
SR WR
3
16-bit data area (WR) whose one bit is shifted to the left
Data area
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...