5.3 Description of Function Codes 5.3.10 U codes (Customizable logic operation)
Increment counter with reset input.
By the rising edge of the input signal, the logic function block
increments the counter value by one. When the counter value
reaches the target one, the output signal turns ON.
Turning the reset signal ON resets the counter to zero.
Decrement counter with reset input.
By the rising edge of the input signal, the logic function block
decrements the counter value by one. When the counter value
reaches zero, the output signal turns ON.
Turning the reset signal ON resets the counter to the initial value.
Timer output with reset input.
If the input signal turns ON, the output signal turns ON and the
timer starts. When the period specified by the timer has elapsed,
the output signal turns OFF, regardless of the input signal state.
Turning the reset signal ON resets the current timer value to zero
and turns the output OFF.
D flip-flop + general-purpose timer
2 input 1 output D flip-flop and general-purpose timer
Reflects the input 1 signal status to the output signal at the input 2
signal rising edge.
The initial output status can be specified with function 2.
(0: OFF, other than 0: ON)
T flip-flop + general-purpose timer
1 input 1 output T flip-flop and general-purpose timer
Inverts the output signal at the input signal rising edge.
The initial output status can be specified with function 2.
(0: OFF, other than 0: ON)
The data can be logically inverted by adding 1000.
The block diagrams for individual functions are given below.
(Data=1□) Through output (Data=2□) Logical AND (Data=3□) Logical OR
Output
Input 1
Input 2
General-purpose timer
Output
Input 1
Input 2
General-purpose timer
General-purpose timer
Output
Input 1
Input 2
(Data=4□) Logical XOR (Data=5□) Set priority flip-flop
Output
Input 1
Input 2
General-purpose timer
OutputInput 1
Input 2
General-purpose timer
S
Q
R
Flip-flop
U05: Output initial status
(0 initial status ON)