beautypg.com

Immediate output with mask (iom) – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 262

background image

Instructions

Chapter 18
I/O Message and Communication

18–16

MASK: Specify a Hex constant or register address. Refer to appendix B for
information regarding masks and hexadecimal numbering.

Immediate Output with Mask

IOM

Output Instruction

(IOM)

IOM

IMMEDIATE OUT w MASK
Slot

O:3.0

Mask

FF00

F1

F2

F3

F4

F5

ZOOM on IOM –(IOM)– 2.0.0.0.1
NAME: IMMEDIATE OUTPUT w/ MASK
SLOT: O0:3.0 0000 0000 0000 0000
MASK: FF00 FF00

EDT_DAT

HHT Ladder Display:

HHT Zoom Display:

Ladder Diagrams and APS Displays:

(online monitor mode)

This instruction updates outputs before the normal output scan. When the
IOM instruction is enabled, the program scan is interrupted to transfer data to
a specified I/O slot through a mask. The program scan then resumes with the
instruction following the IOM instruction.

This instruction operates on the physical outputs assigned to a particular
word of a slot (16 bits maximum). For the mask, a 1 in the output bit
position passes data from the output data file to the physical output slot. A 0
inhibits the data from passing from the source to the destination.

Entering Parameters

SLOT: Specify the slot number and the word number pertaining to the slot.
A slot can have up to 8 words for fixed and SLC 5/01 and 32 words for SLC
5/02.

O:0.0

Outputs of slot 0, word 0 (fixed I/O controller)

O:1.0

Outputs of slot 1, word 0

O:2.0

Outputs of slot 2, word 1

Specification of slot/word numbers for the modular controller is similar
(except that slot 0 is not applicable).

Immediate Output with
Mask (IOM)