beautypg.com

Rockwell Automation 1785-Lx0C15 ControlNet PLC-5 Programmable Controllers User Manual User Manual

Page 118

background image

1785-UM022C-EN-P - February 2008

C-2

ControlNet Instruction Set

Immediate Data I/O Instructions

Immediate I/O Execution Times

Instruction

Description

Immediate Data

Input

IDI

If the input conditions are true, an immediate data input is initiated that
updates the destination file from the private buffers before the next normal
input-image update. The Data file offset (232) is where the data is stored.
The Length (10) identifies the number of words in the transfer–it can be an
immediate value ranging from 1 to 64 or a logical address that specifies the
number of words to be transferred. The Destination (N11:232) is the
destination of the words to be transferred. The Destination should be the
matching data-table address in the DIF except when you use the instruction
to ensure data-block integrity in the case of Selectable Times Interrupts
(STIs). See page 4-8 in the Using ControlNet IMmediate Data Input and
Output Instructions section.

Immediate Data

Output

IDO

If the input conditions are true, an immediate data output is initiated that
updates the private memory output buffers from the source file before the
next normal output-image update. The Data file offset (175) is the offset into
the buffer where the data is stored. The Length (24) identifies the number of
words in the transfer–it can be an immediate value ranging from 1 to 64 or
a logical address that specifies the number of words to be transferred. The
Source (N12:175) is the source of the words to be transferred. The Source
should be the matching data-table address in the DOF except when you use
the instruction to ensure data-block integrity in the case of Selectable
Timed Interrupts (STIs). See page 4-8 in the Using ControlNet Immediate
Data Input and Output Instructions section.

Instruction:

Processor:

Execution Time (

μ

s)

Words of Memory

True:

False:

INN - Immediate Input

PLC-5/20 C15

PLC-5/40C15, -5/46C15 and -5/80C15

389
347

1.1

2

IOT - Immediate Output

PLC-5/20 C15

PLC-5/40C15, -5/46C15 and -5/80C15

323+(14.5 x dis)+(6.7 x DOF)

330+(27.5 x dis)+(13.25 x DOF)

1.1

2

IDI - Immediate Data

Input

PLC-5/20 C15

PLC-5/40C15, -5/46C15 and -5/80C15

538+(0.65 x words)
488+(0.65 x words)

1.1

4-7

IDO - Immediate Data

Output

PLC-5/20 C15

PLC-5/40C15, -5/46C15 and -5/80C15

286+(1.23 x words)+(14.5 x

DOF)+(6.7 x dis)

270+(1.6 x words)+(27.5 x

DOF)+(13.25 x dis)

1.1

4-7

words - IDI or IDO transfer length

dis - Total number of ControlNet connections using the discrete Output image file

DOF - Total number of ControlNet connections using the Data Output File

IDI

IMMEDIATE DATA INPUT

Data file offset

Length

232

10

Destination

N11:232

IDO

IMMEDIATE DATA OUTPUT

Data file offset

Length

175

24

Source

N12:175