Omron NJ-series User Manual page 298

Machine automation controller cpu unit software
Hide thumbs Also See for NJ-series:
Table of Contents

Advertisement

Item
Instructions
With the TON instruction, multiple cycles are
that last
required from the start of instruction execution
multiple
to the end and the instruction is reset when the
task periods
power flow is FALSE. Therefore, you need to
declare only one instance to both execute the
instruction and reset it.
Func-
Add a circle to indicate NOT at the intersection
tion/func-
of the BOOL argument and the function/function
tion block
block.
argument
NOT speci-
fications
Multi-stage
connections
Post-con-
You can connect only other Out instructions
necting lad-
after an Out instruction.
der
instructions
Program
You can create sections.
divisions
NJ-series CPU Unit Software User's Manual (W501)
Ladder diagram
TON_instance
start
TON
In
Q
PT
ET
Func
emergency
EN
ENO
start
Func1
EN
ENO
Func2
EN
ENO
tmp
in
ST (including inline ST)
You must declare two instances, one for
execution and one to reset, as shown below.
IF (start = TRUE) THEN
TON_instance(In:=TRUE, omitted);
// Start timer.
ELSE
TON_instance(In:=FALSE, omitted);
// Reset timer.
END_IF;
Add a NOT operator to the argument.
* You can add NOT operators to any BOOL
variable, not just arguments.
IF (NOT emergency) THEN
Func();
END_IF;
IF(start=TRUE) THEN
Func2( in := Func1());
tmp
END_IF;
You cannot continue the ladder diagram after
inline ST.
// Inline ST
str :='ABC';
You cannot create sections.
6 Programming
6
NG
6-111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents