Omron NJ501-1500 Reference Manual page 128

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

Advertisement

2 Instruction Descriptions
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.
EN
InitVal
DINT#0
EndVal
DINT#10
StepVal
DINT#1
AllSet
x[i]
R_TRIG_instance[i].Q
NEXT
EN
2-80
FOR
ENO
i
Index
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.
x[i]
R_TRIG_instance[i]
R_TRIG
Clk
Q
Inc
EN
ENO
InOut
Count2[i]
ENO
NJ-series Instructions Reference Manual (W502)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents