α
2 Simple Application Controllers
Function Blocks 6
6 - 74
6.29
Shift Block
The function block uses a shift control signal (T) to map the current ON/OFF state of the input
pin (I) to the ouput pin. The operation of this FB is similar to the behavior of a D flip-flop. The
function block can set or reset the status of the output with the input pins, Set (S) and Reset
(R). The Shift Function block retains the state of the output pin after power has been reset.
Table 6.38: Shift Function Bloc
k
1 ) Shift Operation Timing Diagram
Function
Set Item
Description
I
Input pin for bit to be shifted
T
Shift control pin
S
Set pin to manually set the output
R
Reset pin to manually reset the output
FB
This FB transfers the ON/OFF state of the bit input pin (I) to the output
at the rising edge of the shift control pin (T). There are no function
block settings for this block.
Output
1) The output will turn ON or OFF at the rising edge of the shift control
pin (T) depending on the ON/OFF state of the bit input pin (I).
2) The output will go ON if Set (S) pin is turned ON.
3) The output will go OFF if the Reset (R) pin is turned ON.
4) If both the Set and Reset signals are turned ON simultaneously,
the Set operation will take precedence over the Reset operation. The
Set operation has high priority (i.e. Set > Reset > Shift).
Note: The output will not be affected if a change in the input pin status
took place between two rising edges. See the timing diagram below.
0
0
0
I
T
S
O
T
S
R
F
P
Shift pin
Output pin
ON
ON
ON
ON
ON
ON
ON ON
ON
Power supply
(Run mode/
Stop mode)
Set pin
Reset pin
ON(Run mode)
OFF
(Stop mode)