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-872
NJ-series Instructions Reference Manual (W502)
LD
ExecTime_t
ExecTime_ns
Warning
T#0s
0
False
Previous task execution time (TIME data)
Previous task execution time (nanoseconds LINT data)
Warning
TIME
LINT
BOOL
Variable
P_On
ExecTime_t
ExecTime_t
ExecTime_ns
ExecTime_ns
LINT#400000
Warning
GetMyTaskStatus
EN ENO
LastExecTime
MaxExecTime
MinExecTime
ExecCount
Exceeded
ExceedCount
TimeToNanoSec
EN ENO
In
>
EN
In1:
In2
Data type
Initial
value
Comment
ST
GetMyTaskStatus(LastExecTime=>ExecTime_t);
ExecTime_ns:=TimeToNanoSec(ExecTime_t);
IF (ExecTime_ns>DINT#400000) THEN
Warning:=TRUE;
ELSE
Warning:=FALSE;
END_IF;
// Get previous task period.
// Convert previous task period from TIME data to nanoseconds.
// If previous task period exceeds 400,000 ns...
// Assign TRUE to Warning variable.
ExecTime_t
ExecTime_ns
Warning
T#0s
0
False
TIME
LINT
BOOL
Previous task execution time (TIME data)
Previous task execution time (nanoseconds LINT data)
Warning
Variable
Data type
Initial
value
Comment

Table of Contents

Related product manuals