beautypg.com

Using the controlnet i/o transfer instruction, Chapter 4 – Rockwell Automation 1785-L20C_L40C, D17856.5.14 ControlNet PLC-5 Programmable Controllers User Manual User Manual

Page 59

background image

Chapter 4

Programming Your ControlNet System

4-4

You can use the ControlNet I/O Transfer (CIO) instruction and the
ControlNet Transfer (CT) data type to make ControlNet I/O transfers
within the local ControlNet link. Follow the steps on the left to go to the
Instruction Entry for ControlNet I/O Transfer Block screen.

Instruction Entry for ControlNet I/O Transfer Block CT21:50

Communication Command: 1771 WRITE

PLC-5 Data Table Address: N7:3

Size in Elements: 10

Elements Transmitted: 0

Local ControlNet Node: 1

Slot Number: 0

Port Number: 2

BLOCK SIZE = 22 WORDS

Press a key to change a parameter or to accept parameters.

>

Rem Prog Forces:None Edits:None 5/40C File CN

Command PLC-5 Size in Local Slot

Type Address Elemnts Node Number

F1 F2 F3 F8 F9

If you want to:

Do this:

change the command type Press

[F1]—Command

Type

to toggle between:

1771

READ

Ċreads input data from 1771 nonĆdiscrete I/O module

1771

WRITE

Ċwrites output data to 1771 nonĆdiscrete I/O module

1794

FAULT

ACTION

Ċchanges the action that a module takes when it faults

1794

IDLE

ACTION

Ċchanges the action that a module takes when it is idle

1794

CONFIG

DATA

Ċchanges a module's configuration data

1794

SAFE

STATE

DATA

Ċchanges a module's safeĆstate data

enter a PLCĆ5 dataĆ

table address

1. Press

[F2]—PLC-5

Address

2. Type the dataĆtable address
3. Press

[Enter]

enter the size in elements 1. Press

[F3]—Size

in

Elemnts

2. Type the number of elements:

1

for

1794

FAULT

ACTION

or

1794

IDLE

ACTION

1

to

15

for

1794

CONFIG

DATA

or

1794

SAFE

STATE

DATA

0

to

64

for

1771

READ

or

1771

WRITE

3. Press

[Enter]

enter the destination

network address

1. Press

[F8]—Local

Node

2. Type a number from 1 to 99
3. Press

[Enter]

enter the destination

slot number

1. Press

[F9]—Slot

Number

2. Type the number of the slot that holds the I/O deviceĊnumber from 0 to 15
3. Press

[Enter]

If you enter a

0

, the module determines the size of the transfer. In this case, you must make sure that your

dataĆtable can accomodate up to 64 words.

Using the ControlNet I/O

Transfer Instruction

Monitor

File

6200

Main Menu

Cursor to file;

F3

Online

Program

Offline

Program

F1

or

F8

F10

Insert

Rung

F4

Edit

Others

F10

Insert

Instruction

F4

CIO

F8

or enter file number or name

I/O

F3

Message

Enter control block address

using file type CT