EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 225

Mitsubishi Electric MELSEC FX Series
838 pages
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...
7 Applied Instructions
7.4 Rotation and Shift Operation
223
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Program examples(Conditional stepping of 1-bit data)
By setting X000 to X007 to ON in turn, Y000 to Y007 are activated in turn.
If the order is wrong, activation is disabled.
X000
S 0
M8046
S 1
S 7
M8000
X000
M8046
X001
X002
X000
Head data
Data input
(S7 to S0) (Y007 to Y000)
Bit 1 of M0 is regarded as the head input,
and 8-bit shift register is constructed by S0 to S7.
Even if X000 is set to ON, Y000 is not activated.
X000
X001
X007
Y001
Y007
Y000
*1
*1:By using a state relay (S), the state under operation
can be monitored by the dynamic monitoring function of
the state relay.
STL monitor is valid.
SFTL
EN
s
n1
ENO
d
n2
M0
S0
K8
K1
MOV
EN
s
ENO
d
K2S0
K2Y000
M0
M8047
[Structured ladder]
[ ST ]
M0:= X000 AND NOT M8046;
SFTL((NOT M8046 AND X000) OR (S0 AND X001) ··· OR (S1 AND X002) R(S7 AND X000), M0, K8, K1, S0);
MOV(M8000, K2S0, K2Y000);
M8047:= M8000;

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals