R_Trig (Up) And F_Trig (Down) - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions

R_TRIG (Up) and F_TRIG (Down)

R_TRIG (Up):
F_TRIG (Down):
Instruction
Name
R_TRIG
Up Trigger
Up
F_TRIG
Down Trigger
Down
Variables
Name
Meaning
Clk, In
Input signal
Q, Out
Output signal
Bit strings
Clk, In
OK
Q, Out
OK
Function
R_TRIG
R_TRIG assigns TRUE to output signal Q for one task period only when input signal Clk changes to
TRUE. Otherwise, the value of Q is FALSE. In the first task period in which this instruction is executed,
the value of Q is FALSE regardless of the value of Clk. If the value of Clk is TRUE when the power sup-
ply is turned ON, the value of Q remains FALSE until the value of Clk changes to FALSE and then back
to TRUE.
Up
The functions of the R_TRIG instruction and the Up instruction are exactly the same. The Clk variable
of the R_TRIG instruction corresponds to the In variable of the Up instruction. The Q variable corre-
sponds to the Out variable.
2-40
Outputs TRUE for one task period only when the input signal changes to TRUE.
Outputs TRUE for one task period only when the input signal changes to FALSE.
FB/FUN
FB
FUN
FB
FUN
I/O
Description
Input
Input signal
Output
Output signal
Integers
Graphic expression
R_TRIG_instance
R_TRIG
Clk
Q
Up
In
Out
F_TRIG_instance
F_TRIG
Clk
Q
Down
In
Out
Valid range
Depends on data type.
Depends on data type.
NJ-series Instructions Reference Manual (W502)
ST expression
R_TRIG_instance(Clk, Q);
None
F_TRIG_instance(Clk, Q);
None
Unit
Default
---
---
---
---
Times, durations,
dates, and text strings

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents