Publication 1766-RM001A-EN-P - October 2008
300
Program Control Instructions
END - Program End
Instruction Type: output
The END instruction must appear at the end of every ladder program. For
the main program file (file 2), this instruction ends the program scan. For
a subroutine, interrupt, or user fault file, the END instruction causes a
return from subroutine.
MCR - Master Control
Reset
Instruction Type: output
The MCR instruction works in pairs to control the ladder logic found
between those pairs. Rungs within the MCR zone are still scanned, but
scan time is reduced due to the false state of non-retentive outputs.
Non-retentive outputs are reset when the rung goes false.
This instruction defines the boundaries of an MCR Zone. An MCR Zone is
the set of ladder logic instructions bounded by an MCR instruction pair.
The start of an MCR zone is defined to be the rung that contains an MCR
instruction preceded by conditional logic. The end of an MCR zone is
defined to be the first rung containing just an MCR instruction following a
start MCR zone rung as shown below.
END
Execution Time for the END Instruction
Controller
Instruction
When Rung Is:
True
False
MicroLogix 1400
END
1.2016 µs
1.2032 µs
MCR
Execution Time for the MCR Instructions
Controller
Instruction
When Rung Is:
True
False
MicroLogix 1400
MCR Start
1.0510 µs
1.1510 µs
MCR End
0.4510 µs
0.5510 µs
0030
I:1
0
MCR
0031
0032
0033
MCR
Ladder Logic within MCR Zone
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive