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-69
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Sequence Control Instructions
2
MC and MCR
z CTU, CTD, and CTUD
When the master control is reset, the value of the counter input changes to FALSE. If the value of
the counter input is TRUE when the master control reset is cleared, the input upward differentiation
condition is met and the instruction counts.
Always use the MC and MCR instructions as a pair in the same POU. The same value is used for
master control number MCNo for both of the paired MC and MCR instructions. The user does not
set the value of MCNo. It is automatically registered by the Sysmac Studio.
The MC and MCR instructions can be nested to up to 15 levels.
The following figure shows a programming example.
If the value of bit A is FALSE, the master control region is reset. While the master control region is in
a reset state, the TON and MOVE instructions are not executed. Also the Out instruction and OutNot
instruction will output FALSE to bits D and E.
A
UINT#1
UINT#1
B
B
MC
In ENO
MCNo
MCR
EN ENO
MCNo
MC_ON
CTU
CU Q
Reset CV
PV
CTU_instance
MC_ON
A
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
Master control reset
Output from
LD instruction
Input upward differentiation condition met.
UINT#1
UINT#1
UINT#2
UINT#2
MCR
EN ENO
MCNo
MCR
EN ENO
MCNo
MC
In ENO
MCNo
MC
In ENO
MCNo

Table of Contents

Related product manuals