Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 129

Advertising
background image

Chapter 8
Using Basic Instructions

8–10

MPS, MRD, and MPP are multiple output circuit connecting instructions.
These instructions work together to store, read, and clear the state of a rung
prior to the execution of an output circuit.

Every MPS instruction used in a program must be paired with an MPP
instruction. An MRD instruction is not always required.

Using MPS

The MPS instruction stores the rung state immediately preceding the MPS
instruction. This instruction is required only if both of the following
statements are true:

An output circuit that contains at least one input instruction immediately
follows the MPS.

There is at least one other output circuit after the output circuit that
immediately follows the MPS.

Every MPS instruction must be paired with an MPP instruction. Each rung
can use a maximum of four nested MPS instructions.

Entering the Instruction

You enter the instruction from within the program monitor functional area.

P 0 0 0

M P S

The example below illustrates when you would enter the MPS instruction.

NEW RUNG
LD a

 MPS

AND b
OUT c

 MPP

OUT d

Instruction List

a

d

b

c





Memory Push (MPS), Memory
Read (MRD), and Memory Pop
(MPP)

0.40

MPS

0.40

MRD

0.40

MPP

] [

( )

Execution Times (

µ

sec) :

Ladder representation:

] [

] [

( )

] [

( )

MPS

MRD

MPP

ANB

0

1

To enter the function code, press:

FUN

ENT

Advertising