FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Caution
Note that "n2" bits are shifted every time the command input turns from OFF to ON in the SFTLP instruction, but that
"n2" bits are shifted in each operation cycle in the SFTL instruction.
Error
If the transfer source
(error code: K6710).
An operation error does not occur in FX
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
is equivalent to the shifted device
S
PLCs.
3G
Head data
M 0
*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
M8047
STL monitor is valid.
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
in FX
/FX
PLCs, an operation error occurs
D
3U
3UC
K 8
K 1
(S 7 to S 0) → (Y007 to Y000)
11
12
13
14
15
16
17
18
19
20
305