beautypg.com

Milh/milr/milc, Applicable program areas operands, Flags – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 80: 2 instructions, N: interlock number, D: interlock status bit, Operand specifications

background image

2 Instructions

2-44

CP1E CPU Unit Instructions Reference Manual(W483)

MILH/MILR/MILC

Applicable Program Areas

Operands

N: Interlock Number

The interlock number must be between 0 and 15. Match the interlock number of the MILH(517) (or
MILR(518)) instruction with the same number in the corresponding MILC(519) instruction.
The interlock numbers can be used in any order.

D: Interlock Status Bit

ON when the program section is not interlocked.

OFF when the program section is interlocked.

When the interlock is engaged, the Interlock Status Bit can be force-set to release the interlock. Con-
versely, when the interlock is not engaged, the Interlock Status Bit can be force-reset to engage the
interlock.

Operand Specifications

Flags

Instruction

Mnemonic

Variations

Function

code

Function

MULTI-INTERLOCK DIFFER-
ENTIATION HOLD

MILH

---

517

Interlocks all outputs between MILH(517) and
MILC(519) when the execution condition for
MILH(517) is OFF.

MULTI-INTERLOCK DIFFER-
ENTIATION RELEASE

MILR

---

518

Interlocks all outputs between MILR(518) and
MILC(519) when the execution condition for
MILR(518) is OFF.

MULTI-INTERLOCK CLEAR

MILC

---

519

Indicates the end of a multi-interlock range by
means of an MILH or MILR instruction with the
same interlock number.

Symbol

MILH

MILR

MILC

Area

Step program areas

Subroutines

Interrupt tasks

Usage

Not allowed

OK

OK

Operand

Description

Data type

Size

N

Interlock number

--

1

D

Interlock status bit

BOOL

--

Area

Word addresses

Indirect DM addresses

Constants

CF

Pulse bits

TR bits

CIO

WR

HR

AR

T

C

DM

@DM

*DM

N

---

---

---

---

---

---

---

---

---

OK

---

---

---

D

OK

OK

OK

OK

---

Name

Label

Operation

Error Flag

P_ER

OFF

MILH(517)

N

D

N: Interlock Number

D: Interlock Status Bit

MILR(518)

N

D

N: Interlock Number

D: Interlock Status Bit

MILC(519)

N

N: Interlock Number

This manual is related to the following products: