Mc And Mcr; Nj-Series Instructions Reference Manual (W502 - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions

MC and MCR

MC:
Marks the starting point of a master control region and resets the master control region.
MCR:
Marks the end point of a master control region.
Instruction
MC
Master Control
Start
MCR
Master Control End
Variables
Name
Meaning
In (MC
Master
instruction
control
only)
input
MCNo
Master
control
number
* The number is automatically registered by the Sysmac Studio. You do not need to set it.
Bit strings
In (MC
OK
instruction
only)
MCNo
Function
Master control is used to stop processing or place in an equivalent status all POUs in a specified region
of a program. You can use master control to easily control the execution conditions for a relatively long
segment of processing.
The region in the program for which master control is applied is called the master control region. You
place the MC instruction at the start of the master control region and the MCR instruction at the end.
When the value of the master control input In changes to FALSE, the outputs for all LD instructions that
are connected to the left bus bar in the master control region are forced to change to FALSE. This is
called a master control reset.
When master control is reset, the POUs that follow the LD instructions, as a rule, operate as if the exe-
cution condition is FALSE. There are, however, some POUs that operate differently. This is explained
later.
2-62
Name
FB/FUN
---
---
I/O
Description
FALSE: Resets the master
control region.
Input
Master control number
OK
Graphic expression
MC
In
ENO
MCNo
MCR
EN
ENO
MCNo
Valid range
Depends on data type.
0 to 14*
Integers

NJ-series Instructions Reference Manual (W502)

ST expression
None
None
Unit
Default
TRUE
---
1
Times, durations,
dates, and text strings

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents