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-5
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Using this Section
2
Execute is an input variable that gives the execution condition for some FB instructions.
Instruction execution starts when Execute changes to TRUE. After Execute changes to TRUE, execu-
tion of this instruction is continued until processing is completed even if the value of Execute changes to
FALSE or the instruction execution time exceeds the task period.
Done is an output variable that shows the completion of execution for some FB instructions.
Busy is an output variable that shows that instruction execution is in progress for some FB instructions.
*1 If the value of Execute is already TRUE when Controller operation starts, the instruction is not executed. To execute the
instruction in that case, first change the value of Execute to FALSE.
*2 Processing is completed to the end even if Execute changes to FALSE during execution.
*3 The value of Done changes to FALSE when the execution condition is no longer met after a normal end.
*4 If the execution condition is no longer met when a normal end occurs, the value of Done is TRUE for one task period and
it then changes to FALSE.
Error, ErrorID, and ErrorIDEx are output variables that show that an error occurred in the execution of
some FB instructions.
*1 The value of Error changes to FALSE when the execution condition is no longer met after an error end.
*2 If the execution condition is no longer met when an error end occurs, the value of Error is TRUE for one task period and it
then changes to FALSE.
Execute, Done, and Busy
Name Meaning I/O Description Data type Valid range
Initial
value
Execute Execute Input
TRUE: Instruction is executed.
*1
FALSE: Instruction is not exe-
cuted.
*2
BOOL TRUE or
FALSE
FALSE
Done Done
Output
TRUE: Normal end.
*3*4
FALSE: Error end, execution in
progress, or execution
condition not met.
BOOL
TRUE or
FALSE
---
Busy Busy TRUE: Execution processing is
in progress.
FALSE: Execution processing is
not in progress.
Error, ErrorID, and ErrorIDEx
Name Meaning I/O Description Data type Valid range
Initial
value
Error Error
Output
TRUE: Error end.
*1*2
FALSE: Normal end, execution in
progress, or execution
condition not met.
BOOL
TRUE or
FALSE
---
ErrorID Error code This is the error ID for an error end.
The value is WORD#16#0 for a
normal end.
WORD
Depends on
the instruction.
ErrorIDEx Expansion
error code
This is the error ID for an Expan-
sion Unit Hardware Error.
The value is DWORD#16#0 for a
normal end.
DWORD

Table of Contents

Related product manuals