Standard
RLL
Instructions
5--78
Standard RLL Instructions
Program Control Instructions
DL105 PLC User Manual, 3rd Edition
Program Control Instructions
K aaa
The Master Line Set instruction allows the
program to control sections of ladder logic
by forming a new power rail controlled by
the main left power rail. The main left rail is
always master line 0. When a MLS K1
instruction is used, a new power rail is
created at level 1. Master Line Sets and
Master Line Resets can be used to nest
power rails up to seven levels deep.
MLS
Operand Data Type
DL130 Range
aaa
Constant
K
1--7
K aaa
The Master Line Reset instruction marks
the end of control for the corresponding
MLS instruction. The MLR reference is one
less than the corresponding MLS.
MLR
Operand Data Type
DL130 Range
aaa
Constant
K
0--6
The Master Line Set (MLS) and Master Line Reset (MLR) instructions allow you to
quickly enable (or disable) sections of the RLL program. This provides program
control flexibility. The following example shows how the MLS and MLR instructions
operate by creating a sub power rail for control logic.
X0
X1
X2
OUT
Y7
X3
MLS
When contact X0 is on, logic under the first MLS
will be executed.
When contact X0 and X2 are ON, logic
under the second MLS will be executed.
The MLR instructions note the end of the Master
Control area.
X10
K1
K2
K0
K1
MLS
OUT
MLR
MLR
OUT
Y10
Y11
Direct
SOFT32
Master Line Set
(MLS)
Master Line Reset
(MLR)
Understanding
Master Control
Relays
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...