EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 Instruction Descriptions
2-80
NJ-series Instructions Reference Manual (W502)
In the following programming, upward differentiation of x[i] is determined by the R_TRIG instruction.
An instance of the R_TRIG instruction is provided for each element of x[i], so it is possible to detect
which element of x[i] changed its value. As a result, Count2[0] to Count2[10] are all incremented.
DINT#0
DINT#10
DINT#1
i
FOR
EN ENO
InitVal Index
EndVal
StepVal
NEXT
EN ENO
x[i]
Count2[i]
AllSet
x[i]
Inc
EN ENO
InOut
R_TRIG
R_TRIG_instance[i]
R_TRIG_instance[i].Q
Clk Q
The value of Clk at the previous
execution and the current value of Clk
for R_TRIG_instance[i] are compared
to determine upward differentiation.

Table of Contents

Related product manuals