Mitsubishi FX3U Series Programming Manual page 283

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program example (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
M8046
Data
input
M8046
X000
S 0
X001
S 1
X002
S 7
X000
M8000
X000
X001
X007
Y000
Y001
Y007
M 0
Head data
*1
FNC 35
M 0
S 0
SFTL
Bit 1 of M0 is regarded as the head input, and 8-bit shift register is
constructed by S0 to S7.
*1 By using a state relay (S), the state under operation can be monitored
by the dynamic monitoring function of the state relay.
FNC 12
K2S 0
K2Y000
MOV
STL monitor is valid.
M8047
END
Even if X000 is set to ON, Y000 is not activated.
11 Rotation and Shift Operation – FNC 30 to FNC 39
11.6 FNC 35 – SFTL / Bit Shift Left
K 8
K 1
(S 7 to S 0) → (Y007 to Y000)
11
12
13
14
15
16
17
18
19
20
281

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents