Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Bit strings
ExecCount
Exceeded
OK
Exceed-
Count
Function
The GetMyTaskStatus reads the status of the current task. The task status includes the last task execu-
tion time LastExecTime, maximum task execution time MaxExecTime, minimum task execution time
MinExecTime, task execution count ExecCount, task period exceeded flag Exceeded, and task period
exceeded count ExceedCount.
Additional Information
MaxExecTime, MinExecTime, ExecCount, and ExceedCount are reset at the following times.
• When operation is started
• When a reset operation is executed from the Task Execution Time Monitor of the Sysmac Studio.
Precautions for Correct Use
• When the value of ExecCount or ExceedCount exceeds the maximum value of UDINT data
(4,294,967,295), it returns to 0.
• Return value Out is not used when the instruction is used in ST.
Sample Programming
In this sample, the GetMyTaskStatus reads the status of the current task. If the previous task execution
time exceeds 400 μs (400000 ns), the value of the Warning variable changes to TRUE.

NY-series Instructions Reference Manual (W560)

Integers
OK
OK
2 Instruction Descriptions
Times, durations,
dates, and text strings
2-1373
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents