0% found this document useful (0 votes)
79 views69 pages

Programacion PLC51

Uploaded by

erickkelvin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views69 pages

Programacion PLC51

Uploaded by

erickkelvin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 69

3/& 3URJUDPPLQJ 6RIWZDUH

5HOHDVH 

6XSSOHPHQW  &RQWURO1HW 6XSSRUW


Important User Information Because of the variety of uses for the products described in this
publication, those responsible for the application and use of this control
equipment must satisfy themselves that all necessary steps have been
taken to assure that each application and use meets all performance and
safety requirements, including any applicable laws, regulations, codes
and standards.

The illustrations, charts, sample programs and layout examples shown in


this guide are intended solely for purposes of example. Since there are
many variables and requirements associated with any particular
installation, Allen-Bradley does not assume responsibility or liability
(to include intellectual property liability) for actual use based upon the
examples shown in this publication.

Allen-Bradley publication SGI-1.1, Safety Guidelines for the Application,


Installation, and Maintenance of Solid State Control (available from your

local Allen-Bradley office), describes some important differences between


solid-state equipment and electromechanical devices that should be taken
into consideration when applying products such as those described in
this publication.

Reproduction of the contents of this copyrighted publication, in whole


or in part, without written permission of Allen-Bradley Company, Inc.,
is prohibited.

Throughout this manual we use notes to make you aware of


safety considerations:

ATTENTION: Identifies information about practices or


circumstances that can lead to personal injury or death, property
damage or economic loss.

Attention statements help you to:


identify a hazard
avoid the hazard
recognize the consequences

Important: Identifies information that is critical for successful application


and understanding of the product.
Preface

Using This Supplement

Introduction This supplement describes how to configure and use 6200 programming
software with PLC-5/20C and PLC-5/40C processors on a
ControlNet network.

Audience The information in this supplement is intended for programmers


who are configuring a control system that includes a PLC-5/20C or
PLC-5/40C processor.

You should have a background in control-system applications and a basic


knowledge of:
programmable real-time control systems
the PLC-5 control system
6200 programming software
your operation’s required systems and applications

Contents
If You Want Information About: See:

Configuring Your Programming Terminal for ControlNet Online Communications Chapter 1


• configuring 1784-KTC
• configuring Serial to KFC (ControlNet)
• configuring Windows/DOS KTC (ControlNet)
Using ControlNet Communications Chapter 2
• understanding ControlNet Communications
• using ControlNet WHO
Configuring ControlNet PLC-5 Processor Channels Chapter 3
• accessing the Channel Overview screen
• configuring Channel 2
ControlNet Programming Instructions Chapter 4
• ControlNet I/O Transfer (CIO)
• Message (MSG)
• Immediate Data Input (IDI) and Immediate Data Output (IDO)
Using ControlNet Channel Status Data Chapter 5
Processor Status File Appendix A
ControlNet I/O Map Entry Status Words and Error Messages Appendix B

i
Preface
Using This Supplement

Terminology This supplement uses the following terms and definitions:

Term: Definition:

Classic PLC-5 processors PLC-5/10, -5/12, -5/15, -5/25, and -5/VME processors
ControlNet network A communication architecture that allows the exchange of messages between Allen-Bradley
products and certified third-party products.
ControlNet PLC-5 processors PLC-5/20C and -5/40C processors.
ControlNet WHO update rate The fastest rate at which ControlNet WHO will update the screen (1 to 999 seconds).
discrete I/O data transfer Type of data transfer in which single units of I/O have discrete relationships with values in the
processor’s data table; uses the processor’s input- and output-image tables (I and O files);
configured on a per-node basis in the ControlNet I/O map table.
Enhanced PLC-5 processors PLC-5/11, -5/20, -5/30, -5/40, -5/40L, -5/60 , -5/60L, and -5/80 processors.
Important: Unless otherwise specified, Enhanced PLC-5 processors include ControlNet PLC-5,
Ethernet PLC-5, and VME PLC-5 processors.
Ethernet PLC-5 processors PLC-5/20E, -5/40E, and -5/80E processors.
frame Any single data transfer on the ControlNet link.
I/O map table A table you configure using 6200 programming software to map data from an I/O chassis and
other devices on ControlNet to particular processor data-table file addresses.
link A collection of nodes with unique addresses in a range from 1-99; links connected by bridges
make up a network.
maximum scheduled node Node with the highest network address that can use scheduled time on a ControlNet link.
maximum unscheduled node Node with the highest network address that can use unscheduled time on a ControlNet link.
network A series of nodes connected by some type of communication medium. The connection paths
between any pair of nodes can include repeaters, routers, bridges, and gateways.
network address A node’s address on the ControlNet network.
network update interval (NUI) A single occurrence of the ControlNet network update time (NUT).
network update time (NUT) The repetitive time interval in which data can be sent on the ControlNet network.
node A port of a physical device connecting to a network that requires a network address in order to
function on the network; a link may contain a maximum of 99 nodes.
non-discrete I/O data transfer Type of data transfer in which blocks of data transferred to or from I/O modules use integer input
and output data-table files that you specify; cannot use the processor’s input- and output-image
tables (I and O files); scheduled transfers are configured in the ControlNet I/O map table;
unscheduled transfers make use of ControlNet I/O Transfer (CIO) instructions.
owner Device that controls the outputs of an adapter.
redundant media Dual-cable system that allows you to receive the best of two signals over a ControlNet network.
repeater A two-port active physical-layer device that reconstructs and retransmits all traffic it hears on
one ControlNet segment to another segment.
scheduled bandwidth Bandwidth available for scheduled I/O transfers.
scheduled transfers Deterministic and repeatable transfers that are continuous and asynchronous to the ladder-logic
program scan.
unscheduled transfers Non-deterministic data transfers through ladder-initiated communication.
VME PLC-5 processors PLC-5/V30, -5/V40, -5/V40L, and -5/V80 processors.

ii
Preface
Using This Supplement

Related Publications Your PLC-5 programmable controller documentation is organized into manuals
according to the tasks you perform. This organization lets you easily find the
information you want without reading through information that is unrelated to
your current task. The arrow points to the supplement you are currently using.

HARDWARE SOFTWARE
Enhanced PLC-5 Processors: Classic and Enhanced PLC-5 Processors:
Enhanced PLC-5 Ethernet PLC-5 Software Configuration 1785 PLC-5
Programmable Programmable and Maintenance Programmable Controllers
Controllers Controllers Installing 6200 Quick Reference
Installation Instructions Installation Instructions programming software Quick access to switches,
Defining data table files status bits, indicators,
Handling the Enhanced Handling the Ethernet instructions, software screens
PLC-5 processor PLC-5 processor Configuring processor
Connecting a remote, Connecting a remote, Processor/channel status
extended local, and 1785-7.1
extended local, and Clearing faults
DH+ link DH+ link Printing reports
1785-2.38 1785-2.30 6200-6.4.6 Structured Text
User Manual

Enhanced and Ethernet ControlNet PLC-5 I/O Configuration Program considerations


PLC-5 Programmable Programmable Utility Program examples
Controllers User Manual Controllers Configuring intelligent Mnemonic explanations
User Manual Using PowerTextt
Placing system hardware I/O modules
How to install, configure, Instruction parameters
Addressing I/O and and syntax
processor memory program, operate, and
Communicating with maintain your processor
devices on a DH+, serial, for ControlNet communication 6200-6.4.18
and Ethernet link
Optional: for use with 6203-ST5
1785-6.5.12 1785-6.5.14 6200-6.4.12
Supplement
Programming ControlNet Support
Classic PLC-5 Processors: Configuring ControlNet
online communications
Creating/managing files ControlNet programming
Saving/restoring files instructions
1785 PLC-5 1785 PLC-5 Importing/exporting Configuring ControlNet
Programmable Controllers Programmable Controllers Creating/editing SFCs processor channels
Design Manual Design Worksheets Creating/editing/ Using ControlNet channel
documenting ladder status data
Explanation of processor Worksheets to help the logic programs
functionality, system designer plan the system 6200-6.4.20
design, and programming and the installer to
install the system 6200-6.4.7
considerations

1785-6.2.1 1785-5.2 Instruction Set


Reference
Instruction execution,
1785 PLC-5 parameters, status
Hardware Installation bits and examples

How to install and set


switches for chassis,
PLC-5 processor, how
to wire and ground 6200-6.4.11
your system

1785-6.6.1

For more information about PLC-5 programmable controllers or these


publications, contact your local Allen-Bradley sales office, distributor, or
system integrator.

iii
Preface
Using This Supplement

For more information about ControlNet networks, see the


following publications:

Publication: Publication Number:

Industrial Automation Wiring and Grounding Guidelines 1770-4.1


ControlNet Communications Interface User Manual 1770-6.5.20
ControlNet Communication Interface Card Installation Instructions 1784-5.20
ControlNet PLC-5 Programmable Controllers User Manual 1785-6.5.14
ControlNet PLC-5 Programmable Controllers Quick Start 1785-7.4
ControlNet Coax Tap Installation Instructions 1786-2.3
ControlNet Network Access Cable Installation Instructions 1786-2.6
ControlNet Repeater Installation Instructions 1786-2.7
ControlNet Cable System Planning and Installation Manual 1786-6.2.1
ControlNet Flex I/O Adapter Installation Instructions 1794-5.8
ControlNet Cable System Component List AG-2.2

iv
Table of Contents

Configuring the Chapter 1


Programming Terminal for Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
ControlNet Online Configuring Online Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Communication Configuring a 1784-KTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Configuring Serial to KFC (ControlNet) . . . . . . . . . . . . . . . . . . . . . . 1-5
Configuring Windows/DOS KTC (ControlNet) . . . . . . . . . . . . . . . . 1-6

Using ControlNet Chapter 2


Communication Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Understanding ControlNet Communication . . . . . . . . . . . . . . . . . . . 2-1
Using ControlNet WHO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Using the ControlNet WHO ACTIVE –
Active Node Identification Screen . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Using the ControlNet WHO ACTIVE –
Active Node Status Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Using the ControlNet WHO ACTIVE –
Channel Status Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Using the ControlNet WHO ACTIVE –
Network Status Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7

Configuring ControlNet Chapter 3


PLC-5 Processor Channels Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Configuring Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Accessing the Channel Overview Screen . . . . . . . . . . . . . . . . . . . . . 3-3
Configuring Channel 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4

ControlNet Programming Chapter 4


Instructions Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
ControlNet I/O Transfer (CIO) Instruction . . . . . . . . . . . . . . . . . . . . 4-1
Using the CIO Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Using Status Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Using the CT Control Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Message (MSG) Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Using the MSG Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Using Status Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Using the MG Control Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Immediate Data Input (IDI) Instruction . . . . . . . . . . . . . . . . . . . . . . 4-9
Immediate Data Output (IDO) Instruction . . . . . . . . . . . . . . . . . . . . 4-9
Using IDI and IDO Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10

i
Table of Contents

Using ControlNet Channel Chapter 5


Status Data Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Interpreting ControlNet Status Data . . . . . . . . . . . . . . . . . . . . . . . . . 5-1

Processor Status File Appendix A


S:0-S:2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
S:3-10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
S:11-S:12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
S:12-S:16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
S:17-S:27 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
S:28-S:61 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6
S:62-S:127 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7

ControlNet I/O Map-Entry Appendix B


Status Words and I/O Map-Entry Status Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Error Messages I/O Map-Entry Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2

ii
Chapter

1
Configuring the Programming Terminal for
ControlNet Online Communication

Chapter Objectives To program on line, you have to configure the communication interface
between your programming terminal and the ControlNet PLC-5 processor.
Use this chapter to configure 6200 programming software to use the one of
the following ControlNet communication interfaces to communicate with a
ControlNet PLC-5 processor.
To Configure: See:
1784-KTC page 1-2
Serial to KFC (ControlNet) page 1-5
Windows/DOS KTC (ControlNet) page 1-6

Important: You can also connect to the ControlNet PLC-5 processors over
DH+ for programming, but the ControlNet WHO status screens are
not available.
Configuring Online To configure online characteristics, follow the steps below:
Configuration [F2] +========================= PLC–5 PROGRAMMING SOFTWARE =========================+
| |
| A 6200 Series Software Product |
| |
6200 | += ONLINE CONFIGURATION ===================+ . |
| | | |
Main Menu | | F1 Network Access LOCAL | |
| | F2 Communication Port 1784–KT (DH+) | |
| | F3 Connection MULTI_DROP | |
| | F4 Terminal Address 77 | . |
| | F5 PLC Address 20 | |
Online | | F6 KT Address 011011 (D800) | |
Config | | F7 Local Bridge Addr 110 | |
| | F8 Remote Bridge Addr 376 | |
F2
| | F9 Save Configuration | |
| | F10 Terminal Name BUD | |
| | | |
+===============+====== ESC exits/ALT–U aborts changes ====+===================+

Press a function key

Press the function key for the information


Network Comm Connect Term PLC KT Local Remote Save Term
you want to change. Access Port Type Address Address Address Bridge Bridge Config Name
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10

Press this key until you see the default Press this key to save your changes.
information for the device you want to
configure. The default device is the
1784-KT (DH+).
After you press [F9], the information you specify remains the same each time you start the software. If you want to
change the configuration information for this editing session only, press Esc after you specify the configuration
information. These changes remain active until you exit the software.
To toggle forward through the default options, press F2 – Comm Port.
TIP To toggle backward through the default options, press Alt-F2, Ctrl-F2,
or Shift-F2.
1-1
Chapter 1
Configuring the Programming Terminal
for ControlNet Online Communication

Configuring a 1784-KTC Use the 1784-KTC card to connect a ControlNet PLC-5 processor to a
ControlNet link for programming. To configure information for the
1784-KTC card, press [F2] – Communication Port from the online
Press [F2] – Comm Port until you
see the configuration screen for configuration screen until you see the 1784-KTC configuration screen.
the communication device you
want to use:
Important: If you want to run more than a single online session at one
1784-KT DH+
1784-KT DH+ Routing time, use the online configuration screen with Windows to configure the
1784-KT DHII 1784-KTC communication card (see page 1-6).
1784-KTC ControlNet
1784-KT2 DH+
1784-KT2 DH+ Routing
1784-KT2 DHII +========================= PLC–5 PROGRAMMING SOFTWARE =========================+
1784-KTK1 DH+ | |
1784-KTX/KTXD DH+ | A 6200 Series Software Product |
1784-KTXD Chan B DH+ | |
1784-KTX/KTXD DH+ Routing | += ONLINE CONFIGURATION ========================+. |
1784-KTXD Chan B DH+ Routing | | | |
1784-KTX/KTXD DHII | | | |
1784-KTXD Chan B DHII | | F2 Communication Port 1784–KTC (ControlNet) | |
1784-PCMK DH+ | | | |
1784-PCMK DH+ Routing | | F4 Terminal Node 63 | |
1784-PCMK DHII | | F5 PLC Node 6 | |
Serial to KFC ControlNet | | F6 KTC Address 001011 (D000) | |
Serial Port PLC, KE/KF | | | |
Serial Port DHII | | | |
VME Driver | | F9 Save Configuration | |
Windows DH+ | | F10 Terminal Name | |
Windows DH+ Routing | | | |
Windows/DOS KTC ControlNet +==============+== ESC exits/ALT–U aborts changes =============+===============+
Ethernet DH+, PI
1784-KL DH+ Press a function key
1784-KL DH+ Routing
1784-KL DHII
Comm Term PLC KTC Save Term
Port Node Node Address Config Name
F2 F4 F5 F6 F9 F10

Table 1.A describes the characteristics you can configure for a 1784-KTC
communication card on a ControlNet link.

Table 1.A
Configuration Characteristics for the 1784-KTC Using ControlNet

This Key: Selects this Characteristic:

[F4] - Terminal Node Prompts you to enter the network address (1-107 decimal) of the ControlNet 1784-KTC
device you are communicating through.
[F5] - PLC Node Prompts you to enter the network address (1-99 decimal) of the ControlNet PLC-5
processor you want to monitor.
This is the network address that you set using the two 10-digit rotary switches on the
top of the ControlNet PLC-5 processor.
[F6] - KTC Address Prompts you to enter the address of the 1784-KTC card located in the
programming terminal.
This is the KTC address that you set using the base memory and base I/O space
switches on the 1784-KTC communication card (see pages 1-3 and 1-4).
[F9] - Save Configuration Saves the configuration you specified on this screen to your user configuration file.
Press [F9] to use this configuration each time you start the software.
[F10] - Terminal Name Prompts you to enter a name for the programming terminal. This name appears on the
WHO Active screen, which makes it easier to identify your terminal (instead of using
the terminal address).
1-2
Chapter 1
Configuring the Programming Terminal
for ControlNet Online Communication

KTC Addressing Considerations

Figure 1.1 shows where the address switches are located on the 1784-KTC
card. For more information on 1784-KTC addressing, see the ControlNet
Communication Interface Card Installation Instructions,
publication 1785-5.20.

Figure 1.1
Location of 1784-KTC Base Memory and Base I/O Space Switches

Front of Switches

Set the base I/O space address


switches as shown in Figure 1.3.

Set the base memory address


switches as shown in Figure 1.2.

Figure 1.2 shows valid KTC base memory addresses; Figure 1.3 shows
valid KTC base I/O space addresses.

Figure 1.2
Valid KTC Base Memory Addresses

base memory address


6200 software
C000 D000
000011 001011
factory-set address;
preferred setting

C400 D400
100011 101011
switch pressed switch pressed
up (1) down (0)

C800 D800
Important: If you are using two KTC cards, select two 010011 011011
unique base memory addresses; two KTC cards
cannot share one base memory address.
CC00 DC00
110011 111011

1-3
Chapter 1
Configuring the Programming Terminal
for ControlNet Online Communication

Figure 1.3
Valid KTC Base I/O Space Addresses
base I/O space address
6200 software

200h 300h
potential device potential device
conflict: game port conflict: prototype
cards

220h 320h
switch pressed switch pressed factory-set address; potential device
up (1) down (0) preferred setting conflict: HDD

Important: If you are using two KTC cards, select a 240h 340h
unique base I/O space address for each KTC card;
two KTC cards cannot share one base I/O
space address.
260h 360h

280h 380h
potential device
conflict: SDLC

2A0h 3A0h

2C0h 3C0h
potential device
conflict: EGA

2E0h 3E0h
potential device
conflict: GPIB

Important: Keep the following in mind when you are using the
1784-KTC card:
If you are using two KTC cards, select a unique base memory address
for each KTC card; two KTC cards cannot share one base
memory address.
In addition, do not mix 8-bit and 16-bit cards within a 64K segment
boundary. For example, a KTC card and a KT card cannot be placed in
the same segment range of D000 – DFFF or C000 – CFFF. The 8-bit
card may not work in this setup. The two cards, KTC (16-bit) and KT
(8-bit), can be placed with one in the C000 – CFFF range and one in the
D000 – DFFF range.
If you are using two KTC cards, select a unique base I/O space address
for each KTC card; two KTC cards cannot share one base I/O
space address.

1-4
Chapter 1
Configuring the Programming Terminal
for ControlNet Online Communication

Configuring Serial to KFC To configure information for ControlNet serial communications to a


(ControlNet) 1770-KFC interface, press [F2] – Communication Port from the
online configuration screen until you see the Serial to KFC
Press [F2] – Comm Port until you
see the configuration screen for (ControlNet) screen.
the communication device you
want to use:
+========================= PLC–5 PROGRAMMING SOFTWARE =========================+
1784-KT DH+ | |
1784-KT DH+ Routing | A 6200 Series Software Product |
1784-KT DHII | |
1784-KTC ControlNet | += ONLINE CONFIGURATION =============================+ |
1784-KT2 DH+ | | | |
1784-KT2 DH+ Routing | | F1 Port COM1 | |
1784-KT2 DHII | | F2 Communication Port Serial to KFC (ControlNet) | |
1784-KTK1 DH+ | | F3 Baud Rate 2400 | |
1784-KTX/KTXD DH+ | This sof| F4 Device Node 07 | |
1784-KTXD Chan B DH+ | | F5 PLC Node 06 | |
1784-KTX/KTXD DH+ Routing | | F6 Parity NONE | |
1784-KTXD Chan B DH+ Routing | | F7 Duplex FULL | |
1784-KTX/KTXD DHII | | F8 Error Check CRC | |
1784-KTXD Chan B DHII | | F9 Save Configuration | |
1784-PCMK DH+ | | F10 Modem Setup | |
1784-PCMK DH+ Routing | | | |
1784-PCMK DHII +============+== ESC exits/ALT–U aborts changes ==================+============+
Serial to KFC ControlNet
Serial Port PLC, KE/KF Press a function key
Serial Port DHII
VME Driver
Windows DH+ Port Comm Baud Device PLC Parity Duplex Error Save Modem
Windows DH+ Routing Port Rate Node Node Check Config Setup
Windows/DOS KTC ControlNet F1 F2 F3 F4 F5 F6 F7 F8 F9 F10
Ethernet DH+, PI
1784-KL DH+
1784-KL DH+ Routing Table 1.B describes the characteristics you can configure for a Serial to
1784-KL DHII
1770-KFC configuration on a ControlNet link.
Table 1.B
Configuration Characteristics for Serial to 1770-KFC (ControlNet)

This Key: Selects this Characteristic:

[F1] - Port Toggles between COM1 and COM2. The default is COM1.
[F3] - Baud Rate Toggles through 1200, 2400, 4800, 9600, and 19200 baud rates. The default is 2400 baud.
[F4] - Device Node Prompts you to enter the network address (1-99 decimal) of the ControlNet 1770-KFC device.
Important: Be sure that the device network address on the online configuration screen matches the
1770-KFC physical address. If these values do not match, 6200 programming software will not perform
an auto-configuration and you will be unable to go online.
[F5] - PLC Node Prompts you to enter the network address (1-99 decimal) of the ControlNet PLC-5 processor you want
to monitor.
This is the network address that you set using the two 10-digit rotary switches on the top of the
ControlNet PLC-5 processor.
[F6] - Parity Toggles through Even, Odd, and None. The default is None.
[F7] - Duplex Toggles between Full and Half. If you choose Full, the software automatically changes its
communication configuration parameters to match the setting in the communication module, regardless
of what is displayed on the Online Configuration screen. If you choose Half, make sure that the device
address matches the DIP switch settings in the communication interface module.
[F8] - Error Check Toggles between Block Check Character (BCC) and Cyclic Redundancy Check (CRC) error checking
procedures. The default is CRC.
[F9] - Save Configuration Saves the configuration you specified on this screen to your user configuration file. Press [F9] to use
this configuration each time you start the software.
[F10] - Modem Setup Lets you specify whether you want to use a modem. For more information about using a modem, see
chapter 6 in the Software Configuration and Maintenance manual, publication 6200-6.4.6.
1-5
Chapter 1
Configuring the Programming Terminal
for ControlNet Online Communication

Important: When using the 1770-KFC serial/parallel interface, you


must disable duplicate message detection for the serial port. If you
experience disconnection errors during network reconfiguration
options, verify that duplicate message detection is disabled. For more
information, see the ControlNet Communications Interface User Manual,
publication 1770-6.5.20.

Configuring Windows/DOS Use the online configuration screen with Windows to configure the
KTC (ControlNet) 1784-KTC communication card to run multiple sessions or set up multiple
communication card sessions with Windows. To configure information for
Press [F2] – Comm Port until you
see the configuration screen for Windows/DOS KTC (ControlNet), press [F2] – Communication Port
the communication device you
want to use:
until you see the Windows/DOS KTC (ControlNet) configuration screen.
1784-KT DH+
1784-KT DH+ Routing
Important: Configuring characteristics on this screen alone is not
1784-KT DHII enough to run 6200 programming software in Windows. For more
1784-KTC ControlNet
1784-KT2 DH+ information about running 6200 programming software in Windows, see
1784-KT2 DH+ Routing
1784-KT2 DHII
chapter 4 in the Software Configuration and Maintenance manual,
1784-KTK1 DH+ publication 6200-6.4.6.
1784-KTX/KTXD DH+
1784-KTXD Chan B DH+
1784-KTX/KTXD DH+ Routing Important: The selection of the multi-session driver is not required when
1784-KTXD Chan B DH+ Routing
1784-KTX/KTXD DHII running 6200 programming software in Windows; only use the
1784-KTXD Chan B DHII
1784-PCMK DH+ multi-session driver when you want to run more than a single online
1784-PCMK DH+ Routing session at one time. If you want to run a single online session, use the
1784-PCMK DHII
Serial to KFC ControlNet online configuration screen for the 1784-KTC communication card (see
Serial Port PLC, KE/KF
Serial Port DHII page 1-2).
VME Driver
Windows DH+
Windows DH+ Routing
Windows/DOS KTC ControlNet +========================= PLC–5 PROGRAMMING SOFTWARE =========================+
Ethernet DH+, PI | += ONLINE CONFIGURATION ============================================+ |
1784-KL DH+ | | | |
1784-KL DH+ Routing | | Network Access LOCAL | |
1784-KL DHII | | F2 Communication Port Windows/DOS KTC (ControlNet) | |
| | | |
| | F4 Terminal Node 6 | |
| | F5 PLC Node 6 | |
| | F6 Port ID 1 | |
| | | |
| | | |
| | F9 Save Configuration | |
| | F10 Terminal Name | |
| | IMPORTANT: To change the Device, Memory Location or Interrupt | |
| | Request, you must edit CFG_KT.INI. A sample CFG_KT.INI file is | |
| | located in your \ABIC\BIN directory. After completing the | |
| | edits, reboot your PC. | |
+====+== ESC exits/ALT–U aborts changes =================================+=====+

Press a function key

Term PLC Port Save Term


Node Node ID Config Name
F4 F5 F6 F9 F10

1-6
Chapter 1
Configuring the Programming Terminal
for ControlNet Online Communication

Table 1.C describes the characteristics you can configure for


Windows/DOS KTC (ControlNet).
Table 1.C
Configuration Characteristics for Windows/DOS KTC (ControlNet)

This Key: Selects this Characteristic:

[F4] - Terminal Node Prompts you to enter the node address (1-107) of the ControlNet 1784-KTC device
you are communicating through.
[F5] - PLC Node Prompts you to enter the node address (1-99) of the ControlNet PLC-5 processor you
want to monitor.
This is the node address that you set using the two 10-digit rotary switches on the top
of the ControlNet PLC-5 processor.
[F6] - Port ID Prompts you to enter an identifier number (decimal 1-8) to associate with a particular
1784-KTC card specified in the CFG_KT.INI file. For example, Port ID 1 is [DTL_KT.1].
For more information on the configuring the CFG_KT.INI file, see “Editing the
CFG_KT.INI File” below.
[F9] - Save Configuration Saves the configuration you specified on this screen to your user configuration file.
Press [F9] to use this configuration each time you start the software.
[F10] - Terminal Name Prompts you to enter a name for the programming terminal. This name appears on the
ControlNet WHO Active screen, which makes it easier to identify your terminal (instead
of using the terminal address).

Editing the CFG_KT.INI File

To configure the 1784-KTC communication card to run multiple sessions


of 6200 programming software, edit the multi-session driver’s initialization
file (CFG_KT.INI) in the \ABIC\BIN directory.

The multi-session driver is a terminate-and-stay-resident (TSR) program


that acts as a device driver for these DH+ communication cards: 1784-KL,
1784-KT, 1784-KTC, 1784-KT2, 1784-KTX, 1784-KTXD,
and 1784-PCMK.

1-7
Chapter 1
Configuring the Programming Terminal
for ControlNet Online Communication

Edit CFG_KT.INI for your configuration. Figure 1.4 contains a sample


configuration. Find the match for your communication card, uncomment it,
and edit it as follows:
Define these Parameters By Specifying this Information:
once PATH Specify a path (1-64 characters) for the diagnostic and protocol files for the
communication card. The default is \ABIC\BIN.
Add the path to the AUTOEXEC.BAT file.
SELFTEST Specify ON or OFF depending on whether you want the multi-session driver to
perform hardware diagnostics on each communications card during start up. The
default is ON.
for each DTL_KT.n Specify a number (decimal 1-8) to identify each communication card. The default is 1.
communication card where n=1–8
DEVICE Specify KL, KT, KTC, KT2, KTX, or PCMK depending on the communication card you
are using. The communication card you use depends on the computer you are using:
If you are using a: you need this card:
• 1784-T47 1784-KL
• IBM or compatible 1784-KT
• IBM PS/2 1784-KT2
• any computer with 16-bit 1784-KTX, -KTXD
ISA or EISA slot
• any computer with 16-bit 1784-KTC
ISA or 32-bit EISA slot
• notebook computer 1784-PCMK
MEMORY Specify the hardware memory address of the communication card. This value must
match the switch setting on the communication card (1784-KL, -KT, -KTC, -KT2, -KTX,
-KTXD) or the memory address selected in the CARDWARE.INI file (1784-PCMK).
Each card must have a unique address. The default is D400 hexadecimal (except for
the 1784-KTC, which is D000).
IOBASE 1 Specify the base I/O space number for the 1784-KTC communication card. This value
can be between 200 and 3EO (in increments of 20) and must be the same as the
base I/O space number setting on the 1784-KTC communication card (see
Figure 1.3).
IRQ 2, 3 Specify the hardware interrupt line for the communication card. This value must be the
same as the jumper setting on the communication card (1784-KL, -KT, -KT2, -KTX,
-KTXD) or the interrupt selected in the CARDWARE.INI file (1784-PCMK). There is no
default.
Important: For the 1784-KTC communication card, the hardware interrupt is
specified in the CFG_KT.INI file only.
STATION 1 Specify the station number of the communication card. The station number can be
between 1 and 63 (decimal) or 1 and 77 (octal).
Important: If you are entering the station number for a 1784-KTC communication
card, you must convert the decimal address to an octal value. For example, a decimal
address of 25 is equal to an octal address of 31.
if you choose ; Use the semicolon (;) to embed comments in the .INI file.
1 For the 1784-KTC communication card only.
2 For the 1784-KTC communication card, the IRQs are set in the CFG_KT.INI file only. The 1784-KTC communication card supports six interrupts: IRQ3, IRQ5,
IRQ7, IRQ10, IRQ11, and IRQ15.
3 If you are using two 1784-KTC communication cards, select a unique interrupt for each 1784-KTC card; two 1784-KTC communication cards cannot share
one interrupt. If you are using a 1784-KT communication card and a 1784-KTC communication card, select a unique interrupt for each communication card; a
1784-KT and 1784-KTC communication card cannot share one interrupt.

1-8
Chapter 1
Configuring the Programming Terminal
for ControlNet Online Communication

Figure 1.4
Example CFG_KT.INI File

[DTL_KT.Options] Specify this information once at the


PATH=C:\IPDS\ATTACH beginning of the .INI file.
SELFTEST=ON

[DTL_KT.1]
DEVICE=KT These commands configure one
MEMORY=D400 1784-KT.
IRQ=5

;[DTL_KT.2] These commands are comments – they


;DEVICE=KT are ignored by the computer. If you
;MEMORY=CC00 remove the ; character, these commands
;IRQ=5 would configure a second 1784-KT.

;[DTL_KT.1]
;DEVICE=KT2 These commands are comments – they
;MEMORY=D400 configure a 1784-KT2.
;IRQ=9

;[DTL_KT.1]
;DEVICE=KL These commands are comments – they
;MEMORY=E000 configure a 1784-KL.
;IRQ=2

;[DTL_KT.2]
;DEVICE=KTX These commands are comments – they
;MEMORY=CC00 configure a 1784-KTX.
;IRQ=5

;[DTL_KT.1]
;DEVICE=PCMK These commands are comments – they
;MEMORY=CF00 configure a 1784-PCMK.
;IRQ=5;

;[DTL_KT.3]
;DEVICE=KTC
;MEMORY=D000 These commands are comments – they
;IOBASE=200 configure a 1784-KTC.
;IRQ=3
;STATION=31;

1-9
Chapter

2
Using ControlNet Communication

Chapter Objectives With 6200 programming software, you can see what devices are on your
ControlNet link. This chapter explains ControlNet network communication and
how to see what devices are attached to the ControlNet link.
Understanding ControlNet The following figure shows example ControlNet networks (without and with
Communication redundant media). For more information, see the ControlNet PLC-5
Programmable Controllers User Manual, publication 1785-6.5.14, or the
ControlNet Cable System Planning and Installation Manual, publication
1786-6.2.1.

Personal Computer or Personal Computer with 1784-KTCx Personal Computer with 1784-KTC
Other Serial/Parallel Device and ControlView Card and ControlView Card and ControlView or 6200
or 6200 Programming Software and 6200 Programming Software Programming Software

PLC-5/40C Controlling
Processor

Serial or Parallel Connection


1770-KFC
Interface
ControlNet Network

1794-ACN Flex I/O Adapter Data Highway Plus Link


1771-ACN
PLC-5/40C Processor
Adapter Remote-I/O Link
in ControlNet Non-controlling Mode
Example of a ControlNet Network
without Redundant Media

Personal Computer or Personal Computer with 1784-KTCx Personal Computer


Other Serial/Parallel Device and ControlView Card and ControlView with 1784-KTC or 1784-KTCx Card and
or 6200 Programming Software and 6200 Programming Software ControlView or 6200 Programming Software

PLC-5/40C Controlling
Processor

Serial or Parallel Connection


1770-KFC
Interface
ControlNet Network

Data Highway Plus Link


1771-ACNR Remote-I/O Link PLC-5/40C Processor
Adapter
in ControlNet Non-controlling Mode
Example of a ControlNet Network
with Redundant Media
2-1
Chapter 2
Using ControlNet Communication

Using ControlNet WHO To access ControlNet WHO, follow the steps on the left:

+––––––––––––––––––––––– PLC-5 PROGRAMMING SOFTWARE –––––––––––––––––––––––––––+


| |
| |
| |
| A 6200 Series Software Product |
| |
| Copyright 1986, 1995 Allen–Bradley Company, Inc. |
| |
6200 | All Rights Reserved |
| |
Main Menu | |
| |
| |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+
| Mon Feb 6, 1995 5:08:53 pm |
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+
Who | Terminal Node: 63 Current Device: Windows/DOS KTC (ControlNet) PLC Node: 6|
+–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+
F5
Press a function key

Online Online Who Sftware Exit


Program Configr Active Configr
F1 F2 F5 F6 F10

Important: When you view the ControlNet WHO screens while the ControlNet
system is operating, you affect the performance of unscheduled I/O operations.

Using the ControlNet The ControlNet WHO ACTIVE – Active Node Identification screen displays
WHO ACTIVE – Active Node the active nodes up to the value of the Maximum Unscheduled Nodes.
Identification Screen
Important: The Maximum Unscheduled Node is set to a value of the
Maximum Scheduled Node (configured on the ControlNet Node Information
Channel 2 Configuration screen) plus eight (8). If your node address is higher
than the Maximum Unscheduled Node, you will not be able to connect to the
ControlNet network and use ControlNet WHO.

Important: The ControlNet WHO screens are only available when the
programming device is communicating through a 1784-KTC communication
card, a 1784-KTCx communication card, or a 1770-KFC serial/parallel interface
on the ControlNet network.

2-2
Chapter 2
Using ControlNet Communication

To display the ControlNet WHO ACTIVE – Active Node Identification screen,


follow the steps on the left.

+–––––––– ControlNet WHO ACTIVE – Active Node Identification ––––––––––––––––––+


6200 | 01 5/40C JOSHUA |
Main Menu | 02 1771-ACN |
| 03 5/20C |
| 04 1794-ACN |
| 05 |
| 06 |
Who | 07 |
| 08 |
F5
| 09 |
| 10 |
| 11 |
| 12 |
| 13 |
Who Active
| 14 |
| 15 |
F5
+––– ESC exits ––[ WHO rate = 4 sec ]––––[ Maximum Unscheduled Nodes = 15 ]––––+

Press a function key, or page up or page down.

Net Channel A Status: Cable Good Net Channel B Status: Cable Inactive
Online Node Channel Network Save Who
Program Diags Diags Diags Config Rate
F1 F2 F5 F6 F9 F10

If You Want to: Press this Key:

Attach to the highlighted ControlNet PLC-5 processor node [F1] - Online Program
Display the ControlNet WHO ACTIVE – Active Node Status screen [F2] - Node Diagnostics
Display the ControlNet WHO ACTIVE – Channel Status screen [F5] - Channel Diagnostics
Display the ControlNet WHO ACTIVE – Network Status screen [F6] - Network Diagnostics
Save all current communication configuration parameters (including the [F9] - Save Configuration
ControlNet WHO update rate) as the permanent ControlNet
WHO configuration
Enter a new ControlNet WHO update rate (1 to 999 seconds) [F10] - Who Rate
Return to the ControlNet WHO screen [Esc]

At the bottom of the ControlNet WHO ACTIVE – Active Node Identification


screen, you see:

This Field: Specifies:


Network Channel the status of channel A and channel B.
Status Line • Cable good – channel is usable.
• Cable WARNING – channel is experiencing problems, but is usable.
• Cable FAULTED – channel is not usable.
• Cable Inactive – channel unused (in a non-redundant network only).

2-3
Chapter 2
Using ControlNet Communication

Using the ControlNet WHO The ControlNet WHO ACTIVE – Active Node Status screen resembles the
ACTIVE – Active Node ControlNet Channel 2 Status screen. To display the ControlNet WHO ACTIVE
Status Screen – Active Node Status screen, follow the steps on the left.

Important: The ControlNet WHO screens are only available when the
programming device is communicating through a 1784-KTC communication
card, a 1784-KTCx communication card, or a 1770-KFC serial/parallel interface
on the ControlNet network.

+–– ControlNet WHO ACTIVE – Active Node Status ––––––––––––––––––––––––––––––––+


6200 | |
Main Menu |Frames media usage: A only|
| transmitted good: 0 transmitted aborted: 0 channel A errors: 0|
| received good: 0 received aborted: 0 channel B errors: 0|
| total received: 0 received bad: 0 channel warnings: none|
Who | |
|Network Capacity |
F5 | update time overload: 0 blockage: 0 |
| |
|Moderator Node: 1 |
| mismatch events: 0 unheard occurrences 0 |
Who Active | |
|Misc |
F5 | out of step events: 0 network silent: 0 noise detected: 0|
| commands received: 0 collisions: 0 |
+– ESC exits –––[ WHO rate = 4 sec ]–––––––––––––––––––––––––––––––––––––––––––+

Node Diags Press a function key.


F2
Remote Program PLC–5/40C Series C Revision G JOSHUA Node 1
Clear Unlock Save Who
Counter Counter Config Rate
F2 F3 F9 F10

If You Want to: Press this Key:

Clear all of the diagnostic counters for this ControlNet node [F2] - Clear Counter
Toggle between Unlock Counter/Lock Counter [F3] - Unlock Counter
Save all current communication configuration parameters (including [F9] - Save Configuration
the ControlNet WHO update rate) as the permanent ControlNet
WHO configuration
Enter a new ControlNet WHO update rate (1 to 999 seconds) [F10] - Who Rate
Return to the ControlNet WHO ACTIVE – Active Node Status screen [Esc]

For descriptions of the status fields on the ControlNet WHO ACTIVE – Active
Node Status screen, see chapter 5.

2-4
Chapter 2
Using ControlNet Communication

Using the ControlNet To display the ControlNet WHO ACTIVE – Channel Status screen, follow the
WHO ACTIVE – Channel steps on the left.
Status Screen Important: The ControlNet WHO screens are only available when the
programming device is communicating through a 1784-KTC communication
card, a 1784-KTCx communication card, or a 1770-KFC serial/parallel interface
on the ControlNet network.
+–– ControlNet WHO ACTIVE – Channel Status ––––––––––––––––––––––––––––––––––––+
6200 | Node Active Channel A Channel B Bad frame received from node number |
| Channel Status Status most recent to least recent |
Main Menu
|––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––|
| 01 A Good Inactive |
| 02 A Good Inactive |
| 03 A Good Inactive |
Who | 04 A Good Inactive |
| 05 |
F5
| 06 |
| 07 |
| 08 |
| 09 |
Who Active | 10 |
| 11 |
F5 | 12 |
+––– ESC exits ––[ WHO rate = 4 sec ]––––[ Maximum Unscheduled Nodes = 15 ]––––+

Channel Diags Press a function key, or page up or page down.


F5
Net Channel A Status: Cable good Net Channel B Status: Cable Inactive
Network Save Who
Diags Config Rate
F6 F9 F10

If You Want to: Press this Key:

Display the ControlNet WHO ACTIVE – Network Status screen [F6] - Network Diags
Save all current communication configuration parameters (including [F9] - Save Configuration
the ControlNet WHO update rate) as the permanent ControlNet
WHO configuration
Enter a new ControlNet WHO update rate (1 to 999 seconds) [F10] - Who Rate
Return to the ControlNet WHO ACTIVE – Active Node [Esc]
Identification screen

2-5
Chapter 2
Using ControlNet Communication

Table 2.A describes the fields that appear on the ControlNet WHO ACTIVE –
Network Status screen.
Table 2.A
ControlNet WHO ACTIVE – Channel Status Screen Fields
This Field: Specifies:
Node the network address on the ControlNet link.
Active Channel the channel that the node is using when the ControlNet WHO active channel status screen
is displayed.
Channel A Status the status of channel A.
• Good – channel A is receiving usable frames only.
• WARNING – channel A is receiving a low level of unusable frames.
• FAULTED – channel A is receiving a high level of unusable frames; channel is not usable.
• Inactive – channel A is not currently active.
Channel B Status the status of channel B.
• Good – channel B is receiving usable frames only.
• WARNING – channel B is receiving a low level of unusable frames.
• FAULTED – channel B is receiving a high level of unusable frames; channel is not usable.
• Inactive – channel B is not currently active.
Bad frame received a log of the last eight nodes from which bad frames were received.
from node number

At the bottom of the ControlNet WHO ACTIVE – Network Status screen,


you see:

This Field: Specifies:


Network Channel Status Line the status of channel A and channel B.
• Cable good – channel is usable.
• Cable WARNING – channel is experiencing problems, but is usable.
• Cable FAULTED – channel is not usable.
• Cable Inactive – channel unused (in a non-redundant network only).

2-6
Chapter 2
Using ControlNet Communication

Using the ControlNet To display the ControlNet WHO ACTIVE – Network Status screen, follow the
WHO ACTIVE – Network steps on the left.
Status Screen Important: The ControlNet WHO screens are only available when the
programming device is communicating through a 1784-KTC communication
card, a 1784-KTCx communication card, or a 1770-KFC serial/parallel interface
on the ControlNet network.
+–– ControlNet WHO ACTIVE – Network Status ––––––––––––––––––––––––––––––––––––+
| Total Errors Good Frames Bad Frames Errors/100,000 Frames |
| Node # Chan A Chan B Received Received Chan A Chan B |
6200 |––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––|
Main Menu | 01 0 0 0 0 0 0 |
| 02 0 0 0 0 0 0 |
| 03 0 0 0 0 0 0 |
| 04 0 0 0 0 0 0 |
Who | 05 |
| 06 |
F5 | 07 |
| 08 |
| 09 |
| 10 |
| 11 |
Who Active | 12 |
+––– ESC exits ––[ WHO rate = 4 sec ]––––[ Maximum Unscheduled Nodes = 15 ]––––+
F5

Press a function key,or page up or page down.

Network Diags Net Channel A Status: Cable Inactive Net Channel B Status: Cable Inactive
Channel Save Who
F6 Diags Config Rate
F5 F9 F10

If You Want to: Press this Key:

Go to the ControlNet WHO ACTIVE – Channel Status screen [F5] - Channel Diags
Save all current communication configuration parameters (including [F9] - Save Configuration
the ControlNet WHO update rate) as the permanent ControlNet
WHO configuration
Enter a new ControlNet WHO update rate (1 to 999 seconds) [F10] - Who Rate
Return to the ControlNet WHO ACTIVE – Active Node [Esc]
Identification screen

2-7
Chapter 2
Using ControlNet Communication

Table 2.B describes the fields that appear on the ControlNet WHO ACTIVE –
Network Status screen.
Table 2.B
ControlNet WHO ACTIVE – Network Status Screen Fields
This Field: Specifies:

Node the network address on the ControlNet link.


Total Errors – Channel A 1 the number of errors received on channel A.
Total Errors – Channel B 1 the number of errors received on channel B.
Good Frames Received the number of frames received correctly on the active channel.
Bad Frames Received the number of bad frames received on the active channel.
Errors/100,000 Frames – the number of errors received on channel A per 100,000 frames using the
Channel A 1 following formula:
(DChannel A Errors * 100,000)/(DGood Frames + DAborted Frames)
Errors/100,000 Frames – the number of errors received on channel B per 100,000 frames using the
Channel B 1 following formula:
(DChannel B Errors * 100,000)/(DGood Frames + DAborted Frames)
1 Inactive is displayed for the unused channel when the network is non-redundant.

At the bottom of the ControlNet WHO ACTIVE – Network Status screen,


you see:
This Field: Specifies:
Network Channel Status Line the status of channel A and channel B.
• Cable good – channel is usable.
• Cable WARNING – channel is experiencing problems, but is usable.
• Cable FAULTED – channel is not usable.
• Cable Inactive – channel unused (in a non-redundant network only).

2-8
Chapter

3
Configuring ControlNet PLC-5
Processor Channels

Chapter Objectives This chapter explains the channel options that are available and
how to configure Channel 2 for ControlNet communications. Use
the channel configuration screens to configure ControlNet PLC-5
processor communications.

Configuring Channels Table 3.A shows the channels you can configure for ControlNet PLC-5
processors; Table 3.B explains your configuration options for
each channel.

Table 3.A
Channels You Can Configure for ControlNet PLC-5 Processors

Processor: Channel 0: Channel 1A: Channel 1B: Channel 2A: Channel 2B: Channel 2:

PLC-5/20C X DH+ only X n/a n/a ControlNet only

PLC-5/40C X X X n/a n/a ControlNet only


An X indicates the configurable channels for the appropriate processor.

Table 3.B
Channel Configuration Options

Channel: Configuration Options: Default Configuration: See:

0 System DF1 point-to-point System DF1 point-to-point, Chapter 13 in the Software


(RS232/422/423 compatible) System DF1 slave at 2400 baud (online) Configuration and Maintenance
System DF1 master manual, publication 6200-6.4.6
User (ASCII)
1A 1 DH+ DH+ at 57.6 kBaud Chapter 13 in the Software
Configuration and Maintenance
1B Scanner communications mode RIO communications mode at
manual, publication 6200-6.4.6
57.6 kBaud
Adapter mode
2 ControlNet ControlNet page 3-3
1 Channel 1A must be set to DH+ when using a PLC-5/20C processor.

Use the channel configuration screens to configure channels on line or


off line. If you are configuring channels on line, the processor must be in
Remote Program or Program mode. When you are configuring a processor
channel for scanner communications, you can change the scan list in
Remote Run mode, but you cannot autoconfigure the channel or modify
any other fields.

3-1
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

For information on selecting the appropriate communications for each


channel, see the Enhanced and Ethernet PLC-5 Programmable Controllers
User Manual, publication 1785-6.5.12.

Important: If you need to change mode from any channel configuration


screen, do so through the software Change Mode function – do not use the
processor keyswitch. If you use the keyswitch, a communication error
occurs and the Program Directory appears. When you re-enter channel
configuration, your last-saved configurations are in effect.

To configure any channel, you must specify:

a channel diagnostic file, which is used to view channel status data (the
software automatically creates this file for you when you specify
the file)

ATTENTION: Assign a unique diagnostic file to each channel.

Do not assign a diagnostic file that is the I/O status file you
assigned, or any other used integer file. Unpredictable machine
operation can result.

a channel’s function using the Channel Configuration screen


more specific configuration information, such as communication rate
and node or rack addressing

Important: You can only change the configuration information for one
channel at a time. Once you change the information for a channel you must
accept the configuration before changing the configuration for another
channel.

In addition, when you are configuring a processor’s channels, no other


programming terminal can make edits. Monitoring a channel no longer
prevents other terminals from making edits.

3-2
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

Accessing the Channel Use the Channel Overview screen to define a channel’s function. To
Overview Screen display the Channel Overview screen, follow the steps on the left.

Ladder Editor Channel Overview


Main Menu
Channel 0: SYSTEM (POINT–TO–POINT)

General Channel 1A: DH+


Channel 1B: SCANNER MODE
Utility
Channel 2: CONTROLNET
F7
Channel 3A: N/A

Channel
Overview
F4

Press a function key or enter a value.


>
Rem Prog Forces:None 5/40C File JOSHUA
Accept Channel Node Channel Channel Select
Edits Priv Priv Config Status Option
F1 F2 F3 F5 F7 F10

If You Want to: Press this Key:

Accept channel configuration edits [F1] - Accept Edits


Assign privileges for channel configuration [F2] - Channel Privileges
(For more information on privileges, see chapter 15 in the
Software Configuration and Maintenance manual,
publication 6200-6.4.6.)
Assign privileges to individual nodes [F3] - Node Privileges
(For more information on privileges, see chapter 15 in the
Software Configuration and Maintenance manual,
publication 6200-6.4.6.)
Configure the highlighted channel [F5] - Channel Configuration
Go to the channel status screen for the highlighted channel [F7] - Channel Status
See available functions for each channel and select a function [F10] - Select Option

3-3
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

Configuring Channel 2 Channel 2 is reserved for ControlNet PLC-5 processor communication.


Use the screens in the following sections to configure channel 2. Follow
the steps on the left.
ControlNet Node Information Channel 2 Configuration
Ladder Editor (Monitor and Edit) Screens
Main Menu

ControlNet – Node Info MONITOR


Channel 2 Configuration NODE 1
General
Utility Diagnostics file: N12 Network Update Time(ms): 5
Coax Repeaters in Series: 1 Scheduled Bandwidth Usage: 28%
F7
Fiber Repeater Pairs: 0 Media Redundancy Usage: A Only
Maximum Scheduled Node: 10

Channel Node Node Type Series/Revision Status


Overview
1 PLC-5/40C C/H ACTIVE
F4 2 1771-ACN A/A ACTIVE
3 PLC-5/20C C/H ACTIVE
4 1794-ACN C/H ACTIVE

Cursor to channel 2
Press a function key, page up or page down, or enter a node. number.
Channel >
Config Rem Prog Forces:None 5/40C File JOSHUA
Map Node Define Chan 2
F5 Monitor Edit Lcl Rack Status
F2 F4 F7 F9

To: Press this Key:

Display the ControlNet I/O Mapping Channel 2 Configuration [F2] - Map Monitor
(Monitor) Screen
Display the ControlNet Node Information Channel 2 Configuration [F4] - Node Edit
(Edit) Screen
Display the ControlNet Local Rack Characteristics Screen (off line only) [F7] - Define Local Rack
Display the ControlNet Channel 2 Status Screen [F9] - Channel 2 Status
Display the Channel Overview Screen [Esc]

Important: When programming off line, NODE – – is displayed in the


upper right corner until you enter the ControlNet PLC-5 node information
(see page 3-6).
Important: The ControlNet Node Information Channel 2 Configuration is
displayed on two separate screens: the ControlNet Node Information
Channel 2 Configuration (Monitor) screen and the ControlNet Node
Information Channel 2 Configuration (Edit) screen. The Monitor and Edit
screens contain the same fields. The Monitor screen displays network and
node information; the Edit screen allows you to enter or update network
and node information.
The Monitor and Edit screens allow other users to view network and node
information while a single user edits the network and node information for
a ControlNet PLC-5 processor.
3-4
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

ControlNet Local Rack Characteristics Screen


If you are programming off line, configuring Channel 2 for the first time,
and entering a Channel 2 edit screen for the first time, you must specify the
number of slots in the local chassis and the addressing mode on the
ControlNet Local Rack Characteristics screen before the ControlNet Node
Information Channel 2 Configuration (Edit) screen (see page 3-6) will
be displayed.

Important: If you are programming on line, the ControlNet Node


Information Channel 2 Configuration (Edit) screen (see page 3-6) will
appear immediately after pressing [F4] - Node Edit.

Ladder Editor To select the number of slots in the local chassis and the addressing mode
Main Menu from the ControlNet Local Rack Characteristics screen, follow the steps on
the left.
General
ControlNet – Node Info MONITOR
Utility Channel 2 Configuration NODE ––
F7
Diagnostics file: 0 Network Update Time(ms): 5
Coax Repeaters in Series: 0 Scheduled Bandwidth Usage: 0%
Fiber Repeater Pai A Only
Local Rack Characteristics 0
Channel (for reserving I/O image space)
Overview
Node Node Type Select number Select addressing
F4 of slots: mode:

F3 4 Slots F8 2–slot
F4 8 Slots F9 1–slot
F5 12 Slots F10 1/2–slot
Cursor to channel 2
F6 16 Slots

Channel
Config Press a function key, or ESC to exit.
>
F5 Rem Prog Forces:None 5/40C File JOSHUA
Accept 4 8 12 16 2– 1– 1/2–
Edits Slots Slots Slots Slots Slot Slot Slot
F1 F3 F4 F5 F6 F8 F9 F10
Define Map Map Node Map
Lcl Rack or Monitor or Monitor or Edit or Monitor
F7 F2 F2 F4 F2

If You Want to: Press this Key:


Define Monitor Map Edit Accept channel configuration edits [F1] - Accept Edits
Lcl Rack Actions F4
F9
Select 4 slots in the local chassis [F3] - 4 Slots
F7
Select 8 slots in the local chassis [F4] - 8 Slots
Select 12 slots in the local chassis [F5] - 12 Slots
Define
Lcl Rack Select 16 slots in the local chassis [F6] - 16 Slots
F7 Select 2-slot addressing [F8] - 2-Slot
Select 1-slot addressing [F9] - 1-Slot
Select 1/2-slot addressing [F10] - 1/2-Slot
Display the Channel Overview Screen [Esc]

3-5
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

Important: When you are entering a Channel 2 edit screen for the first
time only, you must also press [F1] – Accept Edits and enter the
node number of the configured ControlNet PLC-5 processor on this screen:

ControlNet – Node Info MONITOR


Channel 2 Configuration MODE ––

Diagnostics file: 0 Network Update Time(ms): 5


Coax Repeaters in Series: 0 Scheduled Bandwidth Usage: 0%
Fiber Repeater Pairs: 0 Media Redundancy Usage: A Only
Maximum Scheduled Node: 0

Node Node Type Series/Revision Status

Enter node number of processor being configured.


>
Rem Prog Forces:None 5/40C File JOSHUA

Ladder Editor When you have specified the number of slots in the local chassis, the
Main Menu addressing mode, and the node number of the configured ControlNet
PLC-5 processor (when you are entering a Channel 2 edit screen for the
General
first time only), follow the steps on the left to display the ControlNet Node
Utility Information Channel 2 Configuration (Edit) screen.
F7

ControlNet – Node Info EDIT


Channel 2 Configuration NODE 1
Channel
Diagnostics file: N12 Network Update Time(ms): 5
Overview Coax Repeaters in Series: 1 Scheduled Bandwidth Usage: 28%
Fiber Repeater Pairs: 0 Media Redundancy Usage: A Only
F4 Maximum Scheduled Node: 10

Node Node Type Series/Revision Status


1 PLC-5/40C C/H ACTIVE
Cursor to channel 2

Channel
Config
F5

Press a function key, page up or page down, or enter a value.


>
Node Rem Prog Forces:None 5/40C File JOSHUA
Edit Accept Map Move Copy Auto Delete Insert Delete Select
Edits Edit Entry Entry Network List to List Item Option
F4 F1 F2 F3 F4 F5 F6 F7 F8 F10

3-6
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

To: Press this Key:

Accept edits made to the channel configuration [F1] - Accept Edits


Display the ControlNet I/O Mapping Channel 2 Configuration [F2] - Map Edit
(Edit) Screen
Move a node description to a new network address [F3] - Move Entry
Copy node information to an existing or new network address, [F4] - Copy Entry
overwriting any previous node information
Add all online nodes connected to the channel to the node list (up [F5] - Auto Network 1
through the current Maximum Scheduled Node + 8)
Delete all nodes (excluding the processor you are configuring) [F6] - Delete List
from the list
Insert a node or range of nodes into the node list [F7] - Insert to List
Delete the cursored node from the node list [F8] - Delete Item
Toggle through the options of the cursored entry [F10] - Select Option 2
Return to the ControlNet Node Information Channel 2 [Esc]
Configuration (Monitor) screen
1 Since Auto Network includes getting slot information that is only displayed on the ControlNet I/O Mapping Channel 2
Configuration (Monitor or Edit) Screen, you must enter the ControlNet I/O Mapping Channel 2 Configuration (Edit) Screen to
map the modules.
2 Only available on the Coax Repeaters in Series, Fiber Repeater Pairs, Media Redundancy Usage, Node Type,
Series/ Revision, and Status fields.

Table 3.C describes the fields on the ControlNet Node Information


Channel 2 Configuration (Monitor and Edit) screens.
Table 3.C
ControlNet Node Information Channel 2 Configuration
(Monitor and Edit) Screen Fields

This Field: Specifies: Configure by Doing the Following:

Diagnostic file the file containing the channel’s Cursor to the field, enter an integer file number (N3–N999), and press [Enter].
status information The system creates an integer file 40 words long.
Attention: Assign a unique diagnostic file to each channel. Do not assign a
diagnostic file that is the I/O status file you assigned or any other used integer file.
Unpredictable machine operation can result.
Important: You must define a diagnostics file for a channel configured for anything
but unused (even if you are not using the channel) if you want to get status
information for that channel.
Coax Repeaters the number of coax repeaters Cursor to the field and enter a number (0–5) or press [F10] - Select Option to select
in Series in series a value, and press [Enter]. The default is 0.
Fiber Repeater the number of fiber repeater Cursor to the field and enter a number (0–2) or press [F10] - Select Option to select
Pairs pairs in series on the a value, and press [Enter]. The default is 0.
ControlNet network Important: Fiber repeaters must always exist in pairs; entering a value of 1 would
specify 2 fiber repeaters.
Pair #x Length the length of the fiber When the value of the Fiber Repeater Pairs field is 0, no Pair #x length fields or prompts
repeater pairs in series used on will be displayed. When the value of the Fiber Repeater Pairs field is 1, the Pair #1 length
the ControlNet network field will be displayed. When the value of the Fiber Repeater Pairs field is 2, the Pair #2
length field will be displayed.
If the value of the Fiber Repeater Pairs field is 1 or 2, cursor to the field and enter
a number (100–4000 meters).
Important: Any number will be rounded to the next higher 100 meter value.
3-7
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

This Field: Specifies: Configure by Doing the Following:

Network Update the repetitive time interval in Cursor to the field, and enter a number in milliseconds (2–100 ms).
Time (NUT) which data can be sent on the The default is 5 ms.
ControlNet network
Scheduled the amount of the available Calculated by 6200 programming software.
Bandwidth Usage scheduled bandwidth used for The percent of Scheduled Bandwidth Usage changes depending on the
the network network configuration.
Media the redundancy characteristic for Cursor to the field and press [F10] - Select Option to toggle among A/B, A only,
Redundancy the ControlNet channel and B only and press [Enter].
Usage Important: If any device on the ControlNet network is non-redundant, you must
select A only.
Maximum the maximum node that sends Cursor to the field and enter a number (1–99), and press [Enter].
Scheduled Node I/O during the network Important: This field must be set to the highest node number on the network which
update interval needs to transmit in the scheduled time.
You can configure nodes connected to a ControlNet link by using the following fields:
Node network address on the Press [F3] - Move Entry, [F4] - Copy Entry, or [F7] - Insert To List and enter a
ControlNet link network address (1–99); press [Enter].
Important: Keep the following in mind when you configure the Node field:
• To go directly to a particular node, enter node. on the command line and press
[Enter]. For example, if you enter 3., the cursor moves to node 3.
• To insert a range of nodes, press [F7] - Insert to List and enter node–node (low
to high) on the command line; press [Enter]. For example, if you enter 2–4,
nodes 2 through 4 are inserted.
Node Type the node type Cursor to the field and press [F10] - Select Option to toggle through the valid
selections (1771-ACN, 1771-ACNR, 1794-ACN, PLC-5/20C, PLC-5/40C, 1784-KTC,
and 1770-KFC).
Important: Keep the following in mind when you configure the Node Type field:
• On the command line, you may also enter enough of the node type string to
uniquely identify the desired node type and press [Enter].
• If you attempt to toggle this field on the processor that is currently being
configured, an error message will be displayed.
Series/Revision the series and revision of Calculated by 6200 programming software; the default value will be the latest series
the node and revision of the node type selected.
Important: If you press [F5] - Auto Network, 6200 programming software displays
the actual series/revision of the node type selected.
You can toggle to other valid series and revisions by pressing [F10] - Select Option.
Status the status of the node Cursor to the field and toggle between Active or Inactive by pressing
[F10] - Select Option. Selecting Active specifies the node as a
working/communicating node on the ControlNet network (the ControlNet PLC-5
processor should attempt to establish I/O connections with this node); selecting
Inactive specifies that the node is not actually connected to the network, though
configuration and mapping for the node is included in the computation of the network
update time, etc. (the ControlNet PLC-5 processor should not attempt to establish
I/O connections with this node).
Important: If you attempt to toggle this field on the processor that is currently being
configured, an error message is displayed.

3-8
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

ControlNet I/O Mapping Channel 2 Configuration


(Monitor and Edit) Screens
Ladder Editor To monitor I/O mapping on channel 2 for ControlNet communication,
Main Menu follow the steps on the left.
Important: For more information on I/O mapping, see “Understanding
General ControlNet I/O Mapping” in chapter 2 of the ControlNet PLC-5
Utility
Programmable Controllers User Manual, publication 1785-6.5.14.
F7
Important: If you are programming off line, configuring Channel 2 for the
first time, and entering a Channel 2 edit screen for the first time, you must
Channel select the correct number of slots in the local chassis, the addressing mode,
Overview and the node number of the configured ControlNet PLC-5 processor prior
F4 to entering the ControlNet Node Information Channel 2 Configuration
(Edit) screen. The local rack image size must be taken into account when
auto-mapping.
Cursor to channel 2
ControlNet – I/O Mapping MONITOR
Channel 2 Configuration NODE 1
Channel
Status File: N32 Network Update Time(ms): 5 Sch BW(%): 28
Config
Data Input File: N34 –––––– Processor’s ControlNet Resource Usage –––––
F5 Data Output File: N36 Map Entries PLC BW (%) DIF (%) DOF (%)
Dflt Config File: N38 8 5 10 8

Node Mod/Msg Type Act Net Pckt Input Output Status Config
S/M Time(ms) File Size File Size Offset File Size
Map Monitor 1 PLC–5/40C n/a n/a n/a n/a n/a n/a n/a
1 Peer Out To 3 5 n/a n/a N36:0 24 0 n/a n/a
F2
2 1771–ACN 5 I:010 8 O:010 8 3 n/a n/a
6 1771–IFE/A 10 N34:0 20 n/a n/a 6 N38:0 37
7 1771–OFE/A 10 N34:20 5 N36:4 5 9 N36:64 13
3 PLC–5/20C n/a n/a n/a n/a n/a n/a n/a
1 Peer In 5 N34:25 24 n/a n/a 15 n/a n/a

Press a function key, page up or page down, or enter a node.s/m number.


>
Rem Prog Forces:None Display:Slot/Message 5/40C File JOSHUA
Map Select Node View Monitor Define I/O Monitor
Edit Display Monitor Times Status Lcl Rack Monitor Actions
F2 F3 F4 F5 F6 F7 F8 F9

To: Press this Key:


Display the ControlNet I/O Mapping Channel 2 Configuration (Edit) Screen [F2] - Map Edit
After You Press [F3] - Select Display: Select I/O mapping display characteristics [F3] - Select Display
Press: To:
[F2] - Slot Display display slot information only Display the Node Information Channel 2 Configuration (Monitor) Screen [F4] - Node Monitor
[F3] - Message Display display message information Toggle between View Times and View Mapping [F5] - View Times/View
only Mapping
[F4] - Slot/Message display both slot and message Display the ControlNet Map Entries Status Screen [F6] - Monitor Status
information Display the ControlNet Local Rack Characteristics Screen (off line only) [F7] - Define Local Rack
Display the I/O Configuration Utility Monitor Screen. [F8] - I/O Monitor 1
For more information on using the I/O configuration utility, see the I/O
Configuration Utility manual, publication 6200-6.4.12.
Display the ControlNet I/O Action Channel 2 Configuration (Monitor) Screen [F9] - Monitor Actions 2, 3
Display the ControlNet Node Information Channel 2 Configuration [Esc]
(Monitor) Screen
1 Available only for I/O modules supported by the I/O Configuration Utility.
2 Available only when the cursor is on a 1794-ACN module.
3 If the display mode is set to Message only, the [F9] - Monitor Actions key will not appear.

3-9
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

Ladder Editor To display the ControlNet I/O Mapping Configuration (Edit) screen, follow
Main Menu Channel the steps on the left.
Config
F5
Important: The ControlNet I/O Mapping Channel 2 Configuration is
General displayed on two separate screens:
Utility
F7 ControlNet I/O Mapping Channel 2 Configuration ControlNet I/O Mapping Channel 2 Configuration
Map Monitor (Monitor) Screen: (Edit) Screen:
F2
contains the Actual Network Packet Time (ms) field contains the Expected Network Packet Time
Channel (ms) field
Overview
displays I/O mapping information allows you to enter I/O mapping information for
F4 Map Edit the nodes
F4
The Monitor and Edit screens allow other users to view I/O mapping
Cursor to channel 2 information while a single user edits the I/O mapping information for a
ControlNet PLC-5 processor.
ControlNet – I/O Mapping EDIT
Channel 2 Configuration NODE 1

Status File: N32 Network Update Time(ms): 5 Sch BW(%): 28


After You Press [F3] - Select Display:
Data Input File: N34 –––––– Processor’s ControlNet Resource Usage –––––
Press: To: Data Output File: N36 Map Entries PLC BW (%) DIF (%) DOF (%)
[F2] - Slot Display display slot information only Dflt Config File: N38 8 5 9 7

[F3] - Message Display display message information Node Mod/Msg Type Exp Net Pckt Input Output Status Config
only S/M Time(ms) File Size File Size Offset File Size
1 PLC–5/40C n/a n/a n/a n/a n/a n/a n/a
[F4] - Slot/Message display both slot and message 1 Peer Out To 3 5 n/a n/a N36:0 24 0 n/a n/a
information 2 1771–ACN 5 I:010 8 O:010 8 3 n/a n/a
6 1771–IFE/A 10 N34:0 20 n/a n/a 6 N38:0 37
After You Press [F5] - Auto Mapping: 7 1771–OFE/A 10 N34:20 5 N36:4 5 9 N36:64 13
Press: To: 3 PLC–5/20C n/a n/a n/a n/a n/a n/a n/a
[F2] - Select All select all I/O modules not mapped 1 Peer In 5 N34:25 24 n/a n/a 15 n/a n/a

[F3] - Toggle Device select or unselect the cursored


I/O module Press a function key, page up or page down, or enter a node.s/m number.
>
[F4] - Clear All unselect any selected Rem Prog Forces:None Display:Slot/Message 5/40C File JOSHUA
I/O modules Accept Select Node Auto Clear Insert Delete Edit Select
Edits Display Edit Mapping * to List * Actions Option
[F8] - Auto Module have the software automatically F1 F3 F4 F5 F6 F7 F8 F9 F10
scan configured nodes for module
information (on line only)
[F10] - Auto I/O Map auto map all selected input, To: Press this Key:
output, and configuration Accept edits made to the channel configuration [F1] - Accept Edits
information
Select I/O mapping display characteristics [F3] - Select Display
After You Press [F6] - Clear *:
Press: To: Display the ControlNet Node Information Channel 2 Configuration (Edit) Screen [F4] - Node Edit
[F8] - Clear Item clear the mapping information for Automatically map I/O modules that are listed but not mapped [F5] - Auto Mapping
the I/O module that the cursor is
currently on Clear the mapping information for the I/O module that the cursor is currently on or [F6] - Clear *
clear all of the mapping information for every I/O module on the map table
[F10] - Clear All clear all of the mapping
information for every module on Insert a slot (and/or message) or range of slots (and/or messages) into the [F7] - Insert to List
the map table node list
After You Press [F8] - Delete *: Clear the mapping information and delete the node information for the slot [F8] - Delete *
Press: To: (and/or message) entry or delete the mapping and node information for every slot
[F8] - Delete Item clear the map information and (and/or message) entry on the map table
delete the node information for Display the ControlNet I/O Action Channel 2 Configuration (Edit) Screen [F9] - Edit Actions 1, 2
the slot (and/or message) entry
Toggle through the options of the cursored entry [F10] - Select Option
[F10] - Delete All delete all of the mapping and
node information for every slot Display ControlNet I/O Mapping Channel 2 Configuration (Monitor) screen [Esc]
(and/or message) entry on the 1 Available only when the cursor is on a 1794-ACN module.
2 If the display mode is set to Message only, the [F9] - Edit Actions key will not appear.
map table

3-10
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

Important: While you are editing the map-table entries or accepting


pending edits on the ControlNet I/O Mapping Configuration (Edit) screen,
the screen may display the following message: Maximum transmit
size exceeded–adjustments necessary. This message indicates
that you are attempting to configure a node to transmit more I/O per
Network Update Time (NUT) than the system supports.

Table 3.D describes the fields on the ControlNet I/O Mapping Channel 2
Configuration (Monitor and Edit) screens.
Table 3.D
ControlNet I/O Mapping Channel 2 Configuration
(Monitor and Edit) Screen Fields
This Field: Specifies: Configure by Doing the Following:

Status File the file which stores the Cursor to the field and enter an integer file number (N3–N999), and press [Enter].
scheduled I/O connection status
in the map table
Data Input File the file which stores input data for Cursor to the field and enter an integer file number (N3–N999), and press [Enter].
entries in the map table (peer to Important: Entering a value of zero undefines the Data Input File.
peer, analog I/O, or intelligent
module communication)
Data Output File the file which stores output data Cursor to the field and enter an integer file number (N3–N999), and press [Enter].
for entries in the map table (peer Important: Entering a value of zero undefines the Data Output File.
to peer, analog I/O, or intelligent
module communication)
Default Config File the file which stores configuration Cursor to the field and enter an integer file number (N3–N999), and press [Enter].
information for entries in the map Important: Keep the following in mind when you configure the Default Config File field:
table when the auto I/O mapping
feature is used • Entering a value of zero undefines the Default Config File.
• Some non-discrete output modules require the configuration data to be included
with the actual output data. In those cases, the data output file is also used as the
configuration file.
• If you press [F5] - Auto Mapping before you have configured this file, an error message
appears prompting you to enter a value.
Network Update the repetitive time interval in Cursor to the field, and enter a number in milliseconds (2–100 ms).
Time (NUT) which data can be sent on the The default is 5 ms.
ControlNet network
Scheduled BW(%) the amount of the available Calculated by 6200 programming software.
scheduled bandwidth used for This is a read-only field.
the network
Map Entries the number of scheduled map Calculated by 6200 programming software.
entries between the processor This is a read-only field.
and other nodes
PLC BW (%) the percentage of bandwidth Calculated by 6200 programming software.
used for the ControlNet PLC-5 This is a read-only field.
processor you are using
DIF (%) the percentage of the Data Input Calculated by 6200 programming software.
File currently being used This is a read-only field.
DOF (%) the percentage of the Data Calculated by 6200 programming software.
Output File currently being used This is a read-only field.

3-11
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

This Field: Specifies: Configure by Doing the Following:

Node the network address Important: Keep the following in mind when you configure the Node field:
• To go directly to a particular node, enter node. on the command line and press [Enter].
For example, if you enter 3., the cursor moves to node 3.
• You cannot add nodes on the ControlNet I/O Mapping Channel 2 Configuration (Edit)
Screen. Node changes must be made on the ControlNet Node Information Channel 2
Configuration (Edit) Screen only.
Slot/Message slot/message information on the Available when the I/O mapping display characteristics are configured to display
(S/M) ControlNet link slot/message information only.
Press [F7] - Insert to List and enter a new slot/message number on the command line, and
press [Enter].
Important: Keep the following in mind when you configure the Slot/Message field:
• To go directly to a particular node slot/message destination, enter
node.slot/message on the command line and press [Enter]. For example, if you
enter 3.1, the cursor moves to node 3, slot/message 1.
• To insert a range of slots, press [F7] - Insert to List and enter slot–slot (low to high)
when the node to be added to is highlighted or enter node.slot–slot (low to high)
when the node to be added to is not highlighted.
• To insert a range of messages, press [F7] - Insert to List and enter
message–message (low to high) when the node to be added to is highlighted or enter
node.message–message (low to high) when the node to be added to is
not highlighted.
Slot slot information on the Available when the I/O mapping display characteristics are configured to display slot or
ControlNet link slot/message information.
Press [F7] - Insert to List and enter a new slot number on the command line, and press
[Enter].
Important: Keep the following in mind when you configure the Slot field:
• To go directly to a particular node/slot destination, enter node.slot on the command
line and press [Enter]. For example, if you enter 3.1, the cursor moves to node 3, slot 1.
• To insert a range of slots, press [F7] - Insert to List and enter slot–slot (low to high)
when the node to be added to is highlighted or enter node.slot–slot (low to high)
when the node to be added to is not highlighted.
Message (Msg) message information on the Available when the I/O mapping display characteristics are configured to display message
ControlNet link or slot/message information.
Press [F7] - Insert to List and enter a new message number on the command line, and
press [Enter].
Important: To go directly to a particular node/message destination, enter node.message
on the command line and press [Enter]. For example, if you enter 3.1, the cursor moves to
node 3, message 1.
Module/Message the module/message type Available when the I/O mapping display characteristics are configured to display
(Mod/Msg) Type slot/message information only.
When this field is highlighted, press [F10] - Select Option to toggle through
the valid selections, and press [Enter]. Valid values are dependent on the
module/message type.
Important: Keep the following in mind when you configure the Module/Message Type field:
• Only the analog modules can be edited in this field.
• On the command line, you may also enter enough of the module/message type string to
uniquely identify the module/message type and press [Enter].

3-12
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

This Field: Specifies: Configure by Doing the Following:

Module Type the module type Available when the I/O mapping display characteristics are configured to display slot or
slot/message information.
When this field is highlighted, press [F10] - Select Option to toggle through the valid
selections, and press [Enter]. Valid values are dependent on the module type.
Important: Keep the following in mind when you configure the Module Type field:
• Only the analog modules can be edited in this field.
• On the command line, you may also enter enough of the module type string to uniquely
identify the module type and press [Enter].
Message Type the message type Available when the I/O mapping display characteristics are configured to display message
or slot/message information.
When this field is highlighted, press [F10] - Select Option to toggle through the valid
selections, and press [Enter]. Valid values are dependent on the message type.
Important: On the command line, you may also enter enough of the message type string to
uniquely identify the message type and press [Enter].
Actual Network the actual network packet time for Available on the ControlNet I/O Mapping Configuration (Monitor) screen only.
Packet Time (ms) each node type and module This is a read-only field.
Important: The Actual Net Packet Time is dependent upon the number of rates supported
by the node and is calculated by 6200 programming software.
Expected Network the expected network packet time Available on the ControlNet I/O Mapping Configuration (Edit) screen only.
Packet Time (ms) for each node type and module Cursor to the field and enter a value between the Network Update Time and 15,000;
press [Enter].
Important: The Actual Net Packet Time will be less than or equal to the Expected Net
Packet Time.
Input File/Size the destination file for information A default size is set by 6200 programming software; sizes can be adjusted depending upon
received from an I/O module and the module.
the amount of information If the module type is digital, “I:” is displayed; enter an input file offset (0–037 for a
received from an I/O module PLC-5/20C processor; 0–177 for a PLC-5/40C processor). If the module type is analog or
peer-to-peer, the data input file (N3–N999) is displayed and can only be changed in the data
input file.
Important: This field is valid only for the following module types: 1771-ACN, 1771-ACNR,
1794-ACN, and Peer In To.
Output File/Size the source file for information A default size is set by 6200 programming software; sizes can be adjusted depending upon
sent to an I/O module and the the module.
amount of information sent to an If the module type is digital, “O:” is displayed; enter an output file offset (0–037 for a
I/O module PLC-5/20C processor; 0–177 for a PLC-5/40C processor). If the module type is analog or
peer-to-peer, the data output file (N3–N999) is displayed and can only be changed in the
data output file.
Important: This field is valid only for the following module types: 1771-ACN, 1771-ACNR,
1794-ACN, and Peer Out To.
Status Offset the offset into the status file that Calculated by 6200 programming software.
contains the status information of
the connection
Config File/Size the file for storing the I/O Cursor to the file and enter an integer file number (N3–N999) and the configuration size
configuration needed for a information (valid values are dependent on the module type); press [Enter].
module and the size of the file Important: Keep the following in mind when you configure the Config File/Size field:
needed to store the I/O
configuration for the module • This field is valid only for the 1771 and 1794 analog and intelligent modules.
• For the 1771 analog and intelligent modules, the configuration and output addresses
must be the same; for the 1794 analog and intelligent modules, the configuration and
output addresses must not be the same and are associated with the node.

3-13
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

ControlNet View Times Screen


Ladder Editor To see the view times information on channel 2 for ControlNet
Main Menu communication, follow the steps on the left.

ControlNet – View Times MONITOR


General Channel 2 Configuration NODE 1
Utility
F7 Status File: N32 Network Update Time(ms): 5 Sch BW(%): 28
Data Input File: N34 –––––– Processor’s ControlNet Resource Usage –––––
Data Output File: N36 Map Entries PLC BW (%) DIF (%) DOF (%)
Dflt Config File: N38 8 5 10 8
Channel
Node Mod/Msg Type Act Net Pckt Exp Net Pckt
Overview
S/M Time(ms) Time(ms)
F4 1 PLC–5/40C n/a n/a
1 Peer Out To 3 5 5
2 1771–ACN 5 5
6 1771–IFE/A 10 15
Cursor to channel 2 7 1771–OFE/A 10 13
3 PLC–5/20C n/a n/a
1 Peer In 5 5

Channel
Config Press a function key, page up or page down, or enter a node.s/m number.
>
F5
Rem Prog Forces:None Display:Slot/Message 5/40C File JOSHUA
Map Select Node View Monitor I/O Monitor
Edit Display Monitor Times Status Monitor Actions
F2 F3 F4 F5 F6 F8 F9
Map Monitor
F2
To: Press this Key:
Display the ControlNet I/O Mapping Channel 2 Configuration (Edit) Screen [F2] - Map Edit
View Times Select I/O mapping display characteristics [F3] - Select Display
F5 Display the Node Information Channel 2 Configuration (Monitor) Screen [F4] - Node Monitor

After You Press [F3] - Select Display:


Toggle between View Times and View Mapping [F5] - View Times/View
Press: To: Mapping
[F2] - Slot Display display slot information only Display the ControlNet Map Entries Status Screen [F6] - Monitor Status
[F3] - Message Display display message information Display the I/O Configuration Utility Monitor Screen. [F8] - I/O Monitor 1
only For more information on using the I/O configuration utility, see the I/O
[F4] - Slot/Message display both slot and message Configuration Utility manual, publication 6200-6.4.12.
information
Display the ControlNet I/O Action Channel 2 Configuration (Monitor) Screen [F9] - Monitor Actions 2, 3
Display the ControlNet Node Information Channel 2 Configuration [Esc]
(Monitor) Screen
1 Available only for I/O modules supported by the I/O Configuration Utility.
2 Available only when the cursor is on a 1794-ACN module.
3 If the display mode is set to Message only, the [F9] - Monitor Actions key will not appear.

3-14
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

ControlNet Map Entries Status Screen

Ladder Editor To display the ControlNet Map Entries Status screen, follow the steps on
Main Menu the left.

ControlNet – Map Entries Status MONITOR


General
Channel 2 Configuration
Utility
F7 Status File: N32 Network Update Rate(ms): 5 Sch BW(%): 28
Data Input File: N34 –––––– Processor’s ControlNet Resource Usage –––––
Data Output File: N36 Map Entries PLC BW (%) DIF (%) DOF (%)
Dflt Config File: N38 8 9 7

Channel Node Mod/Msg Type Status Status Data Inhibit


Overview S/M Offset Valid Reset

F4 1 PLC–5/40C n/a n/a n/a n/a


1 W Peer Out To 3 SUCCESS 0 YES 0 0
2 1771–ACN SUCCESS 3 YES 0 0
6 R 1771–IFE/A SUCCESS 6 YES 0 0
Cursor to channel 2 7 R 1771–OFE/A SUCCESS 9 YES 0 0
7 W 1771–OFE/A SUCCESS 12 YES 0 0
3 PLC–5/20C n/a n/a n/a n/a

Channel Page up or page down, or enter a value.


Config >
Rem Prog Forces:None Display:Slot/Message 5/40C File JOSHUA
F5 Select
Display
F3

Map Monitor To see whether an entry is a Read (R) or a Write (W)


operation, look at this field for that entry.
F2

Table 3.E describes the fields on the ControlNet Map Entries Status screen.

Monitor Important: See Table 3.D for more information on the Status File, Data
Status Input File, Data Output File, Default Config File, Network Update Rate,
F6 Scheduled BW (%), Map Entries, PLC BW (%), DIF (%), DOF (%), Node,
Slot/Message, and Module/Message Type fields.
Table 3.E
ControlNet Map Entries Status Screen Fields
This Field: Specifies: Configure by Doing the Following:
Status the status of the connection or node This is a read-only field.
specific status from the I/O module For a list of errors that may be displayed and possible corrective actions, see Appendix B.
Status Offset the offset into the status file which This is a read-only field.
stores the status of the connection
between the processor and the
node/module.
Data Valid whether the data associated with a This is a read-only field.
connection is valid or invalid For all connections (except 1794 Flex I/O), one of the following is displayed:
• YES indicates the data for the slot is valid.
• NO indicates the data for the slot is invalid.
For 1794 Flex I/O, one of the following characters is displayed for each flex slot:
• Y indicates the data for the slot is valid.
• N indicates the data for the slot is invalid.
• x indicates the slot is not configured.
For example, YYxNNxYx indicates that the data for slots 0, 1 and 6 is valid; the data for
slots 3 and 4 is invalid; and slots 2, 5 and 7 are not configured.

3-15
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

This Field: Specifies: Configure by Doing the Following:


Inhibit whether the ControlNet PLC-5 Enter a value (0 or 1) and press [Enter].
processor will or will not attempt to If you enter 0, the reset bit is cleared and the ControlNet PLC-5 processor will attempt to
establish a connection with the node establish a connection with the node. If you enter 1, the reset bit is set and the ControlNet
or module PLC-5 processor will not attempt to establish a connection with the node.
Reset whether the controller will set the Enter a value (0 or 1) and press [Enter].
output node’s Run/Program If you enter 0, the reset bit is cleared and the ControlNet PLC-5 processor will set the
command to Program mode output node’s Run/Program command to the processor’s mode. If you enter 1, the inhibit
bit is set and the ControlNet PLC-5 processor will set the output node’s Run/Program
command to Program mode.

ControlNet I/O Action Channel 2 Configuration


(Monitor and Edit) Screens

Ladder Editor To display the ControlNet I/O Action Channel 2 Configuration (Monitor)
Main Menu screen, follow the steps on the left.

Important: The cursor must be on a 1794-ACN module to display the


General
Utility ControlNet I/O Action Channel 2 Configuration (Monitor) screen.
F7

ControlNet – I/O Action MONITOR


Channel 2 Configuration NODE 1

Channel Node 2 1794–ACN


Overview
F4 Module Type Fault Action Idle Action Fault Action
Slot From Idle

0 1794–Digital Reset Reset Idle


1 1794–IE8/A Reset Reset Idle
Cursor to channel 2 2 1794–OE4/A Safe Reset Idle
3 1794–IE4XOE2/A Safe Reset Idle
4 1794–Digital Reset Reset Idle
5 1794–Digital Reset Reset Idle
Channel 6 1794–Digital Reset Reset Idle
Config 7 1794–Digital Reset Reset Idle
F5

Press a function key.


>
Map Monitor Rem Prog Forces:None 5/40C File JOSHUA
Map Define Edit
F2 Monitor LclRack Actions
F2 F7 F9

Cursor to a
1794-ACN module
To: Press this Key:

Monitor Display the ControlNet I/O Mapping Channel 2 Configuration [F2] - Map Monitor
Actions (Monitor) Screen
F9 Display the ControlNet Local Rack Characteristics Screen (off line only) [F7] - Define Local Rack
Display the ControlNet I/O Action Channel 2 Configuration (Edit) Screen [F9] - Edit Actions 1
1 If the display mode of the ControlNet I/O Mapping Channel 2 Configuration (Monitor and Edit) screens is set to Message only, the
[F9] - Edit Actions key will not appear.

3-16
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

Ladder Editor To display the ControlNet I/O Action Channel 2 Configuration (Edit)
Main Menu screen, follow the steps on the left.

Important: The cursor must be on a 1794-ACN module to display the


General
Utility
ControlNet I/O Action Channel 2 Configuration (Edit) screen.
F7

ControlNet – I/O Action EDIT


Channel 2 Configuration NODE 1

Channel Node 2 1794–ACN


Overview
Module Type Fault Action Idle Action Fault Action
F4 Slot From Idle

0 1794–Digital Reset Reset Idle


1 1794–IE8/A Reset Reset Idle
2 1794–OE4/A Safe Reset Idle
Cursor to channel 2 3 1794–IE4XOE2/A Safe Reset Idle
4 1794–Digital Reset Reset Idle
5 1794–Digital Reset Reset Idle
Channel 6 1794–Digital Reset Reset Idle
Config 7 1794–Digital Reset Reset Idle

F5

Press a function key or cursor key.


>
Rem Prog Forces:None 5/40C File JOSHUA
Map Monitor Accept Map Toggle Toggle
Edits Edit All Entry
F2 F1 F2 F8 F10

Cursor to a To: Press this Key:


1794-ACN module
Accept edits made to the channel configuration [F1] - Accept Edits
or Display the ControlNet I/O Mapping Channel 2 Configuration (Edit) Screen [F2] - Map Edit
Map Monitor Toggle the I/O action of the cursored field [F8] - Toggle All
Edit Actions
F2 F9 Toggle the I/O action of the cursored module [F10] - Toggle Entry
Display the ControlNet I/O Action Channel 2 Configuration (Monitor) Screen [Esc]

Edit Edit
Actions Actions
F9 F9

3-17
Chapter 3
Configuring ControlNet PLC-5 Processor Channels

Table 3.F describes the fields on the ControlNet I/O Action Channel 2
Configuration (Monitor and Edit) screens.

Table 3.F
ControlNet I/O Action Channel 2 Configuration
(Monitor and Edit) Screens
This Field: Specifies: Configure by Doing the Following:
Slot the slot of the 1794 chassis This is a read-only field.
occupied by a particular module
Module Type the module type This is a read-only field.
Fault Action the action the module should take Cursor to the field and press [F10] - Toggle Entry to toggle the cursored module or press
when it faults [F8] - Toggle All to toggle the entire Fault Action field. Toggle among the following:
• Reset changes the outputs to a value of zero.
• Hold Last maintains the current output value.
• Safe sets the output to the user-specified fail-safe data.
Idle Action the action the module should take Cursor to the field and press [F10] - Toggle Entry to toggle the cursored module or press
when the connection is idle [F8] - Toggle All to toggle the entire Idle Action field. Toggle among the following:
• Reset changes the outputs to a value of zero.
• Hold Last maintains the current output value.
• Safe sets the output to the user-specified fail-safe data.
Fault Action the action the module should take Cursor to the field and press [F10] - Toggle Entry to toggle the cursored module or press
From Idle after faulting from idle [F8] - Toggle All to toggle the entire Fault Action From Idle field. Toggle among the following:
• Idle specifies the use of the idle action when the fault occurs in idle.
• Fault specifies the use of the fault action when the fault occurs in idle.

3-18
Chapter

4
ControlNet Programming Instructions

Chapter Objectives This chapter contains information on using the following instructions:
ControlNet I/O Transfer (CIO)
Message (MSG)
Immediate Data Input (IDI) and Immediate Data Output (IDO)
For more information on the instruction set for programming PLC-5
processors, see the Enhanced and Ethernet PLC-5 Programmable
Controllers User Manual, publication 1785-6.5.12, and the Instruction Set
Reference manual, publication 6200-6.4.11.

ControlNet I/O Transfer Using the CIO instruction, you can perform ladder-initiated unscheduled
(CIO) Instruction transfers (up to 64 elements) to I/O modules (typically analog or
intelligent) on a ControlNet network. For more information on ControlNet
CIO
CNET I/O TRANSFER ( EN ) I/O operations, see the ControlNet PLC-5 Programmable Controllers User
Control Block CT21:50
( DN ) Manual, publication 1785-6.5.14.
( ER )
When the input conditions go from false to true, data is transferred
according to the instruction parameters you set when entering the
CIO instruction.

To program a CIO instruction, you must provide the ControlNet PLC-5


processor with a control block address, which contains the status and
instruction parameters. After entering the control block parameters, the
programming terminal displays an instruction entry screen from which you
enter instruction parameters stored in the control block address.

Control Block Address

With ControlNet PLC-5 processors, use a ControlNet transfer (CT) file


type for the control block. For example, CT12:1 is a valid CIO control
block address.

After you enter the control block address for the CIO instruction, 6200
programming software automatically displays the ControlNet Instruction
Entry for ControlNet I/O Transfer Control Block screen (see page 4-2).

4-1
Chapter 4
ControlNet Programming Instructions

Using the CIO Instruction You can use the CIO instruction to transfer up to 64 elements of data (per
CIO instruction) over a ControlNet link.
6200 Important: The 6200 programming software structured text option does
Main Menu not support the CIO instruction.
To display the ControlNet Instruction Entry for ControlNet I/O Transfer
Online Offline
Prog or Prog Control Block screen, follow the steps on the left:
F1 F3
Instruction Entry for ControlNet I/O Transfer Block CT12:1

Communication Command: 1771 WRITE


Cursor to program file PLC–5 Data Table Address: N7:3
Size in Elements: 10
Elements Transmitted 0
Monitor
File
F8 Local ControlNet Node: 1
Slot Number: 0
Port Number: 2

BLOCK SIZE = 22 WORDS


Edit
F10

Press a key to change a parameter or <ENTER> to accept parameters.


>
Rem Prog Forces:None Edits:None 5/40C File JOSHUA
Insert
Command PLC–5 Size in Local Slot
Rung Type Address Elemnts Node Number
F4 F1 F2 F3 F8 F9

If You Want to: Press this Key:


Insert
Instruction Change the command type. Toggle among the following: [F1] - Command Type
F4 • 1771 Read selects a block transfer read.
• 1771 Write selects a block transfer write.
• 1794 Fault Action selects the action the module takes when the adapter faults
Others or Enter CIO and the connection is terminated.
F10
• 1794 Idle Action selects the action the module takes when the connection is idle.
• 1794 Config Data changes the configuration for the 1794 module.
Enter control • 1794 Safe State Data changes the value of the safe state data for the 1794
block address module.
I/O
Message using CT file type Enter a PLC-5 data table address of the ControlNet processor. [F2] - PLC-5 Address
F3 Enter the size in elements. [F3] - Size in Elements
Type the number of elements and press [Enter].
• 1 (1794 Fault Action and 1794 Idle Action)
CIO • 1-15 (1794 Config Data and 1794 Safe State Data)
F8 • 0-64 (1771 Read and 1771 Write)
Important: If you enter 0 for 1771 Read and/or 1771 Write, 64 words are reserved
for block transfer.
Enter control block address Enter the destination network address. [F8] - Local Node
using CT file type Type a number (1-99) and press [Enter].
Enter the destination slot number. [F9] - Slot Number
Type a number and press [Enter].
• 0-7 (1794 command types)
• 0-15 (1771 command types)
Important: The slot number represents the physical slot in the chassis occupied by
the module. To find your slot number, count from the left I/O slot starting with 0.

4-2
Chapter 4
ControlNet Programming Instructions

6200 The Data Monitor for ControlNet I/O Transfer Control Block screen
Main Menu displays the parameters for the control block of the current CIO
instruction. To display the Data Monitor for ControlNet I/O Transfer
Online Offline
Control Block, follow the steps on the left:
Prog or Prog
F1 F3
Data Monitor for ControlNet I/O Transfer Block CT12:1

Communication Command: 1771 WRITE


Cursor to program file PLC–5 Data Table Address: N7:3 ignore if timed–out: 0 TO
Size in Elements: 10 awaiting execution: 0 EW
Elements Transmitted 0 continuous: 0 CO
error: 0 ER
Monitor transfer done: 0 DN
transfer started: 0 ST
File Local ControlNet Node: 1 transfer enabled: 0 EN
F8 Slot Number: 0
Port Number: 2

Error Code: 0000 (HEX)

Cursor to CIO instruction

Press a function key or enter a value.


CT12:1.TO =
Data Rem Prog Forces:None Data:None Addr:Decimal 5/40C File JOSHUA
Monitor Toggle Size in Specify Next Prev Next Prev
Bit Elemnts Address File File Element Element
F8 F2 F3 F5 F7 F8 F9 F10

Monitor If You Want to: Press this Key:


File
F3
Toggle the control bit that the cursor is on. [F2] - Toggle Bit
You can toggle among the TO, EW, CO, ER, DN, ST, and EN bits.
Change the size of the block of data to send or receive. [F3] - Size in Elements
Change the address for which the data is displayed. [F5] - Specify Address
Display the data table values for the next file. [F7] - Next File
Display the data table values for the previous file. [F8] - Previous File
Display the data table values for the next element. [F9] - Next Element
Display the data table values for the previous element. [F10] - Previous Element

4-3
Chapter 4
ControlNet Programming Instructions

Using Status Bits The CIO instruction uses the following status bits:

This Bit: Is Set:

Enable .EN (bit 15) when the rung goes true. The .EN bit is reset when the .DN bit or .ER bit is set.
This bit shows that the instruction is enabled.
Start .ST (bit 14) when the processor begins executing the CIO instruction. The .ST bit is reset when the .DN bit or .ER bit is set.
Done .DN (bit 13) when the last word of the CIO instruction transferred. The .DN bit is reset the next time the associated rung
goes from false to true.
The .DN bit is only active in non-continuous mode.
Error .ER (bit 12) when the processor detects that the message transfer failed. The .ER bit is reset the next time the associated
rung goes from false to true.
Continue .CO (bit 11) manually for repeated operation of the CIO instruction after the first scan, independent of whether the
processor continues to scan the rung.
Enable-Waiting .EW (bit 10) when the processor detects that a message request entered the queue. The processor resets the .EW bit
when the .ST bit is set.
Time Out .TO (bit 08) through ladder logic to stop processing the message. The processor sets the .ER bit.

ATTENTION: The processor controls status bits .ST and .EW


asynchronously to the program scan. If you examine these bits
in ladder logic, copy the status to a storage bit whose status is
synchronized with the program scan. Otherwise, timing
problems may invalidate your program with possible damage to
equipment or injury to personnel.

Using the CT Control Block In addition to the status bits, the CT control block contains these
parameters that the ControlNet PLC-5 processor uses to control
CIO instructions.
Word Number CT Control Block Description

0 .EN thru .TO Status bits


See “Using Status Bits” above.
1 .ERR Error code
This is where the processor stores the error code if a problem occurs during message transmission.
2 .RLEN Requested length
This is the requested number of elements you wish to transfer with the message instruction.
3 .DLEN Done length
This is the number of elements the module actually transferred after the instruction completes
execution. This number should match the requested length (unless the requested length is 0).
4 .FILE File number
This number identifies the file number of the file from which the data is written or to which the data
is read. For example, the file number of N12:1 is 12.
5 .ELEM Element number
This number identifies the starting word in the data file address. For example, in N12:1, the word
number is 1.

4-4
Chapter 4
ControlNet Programming Instructions

Message (MSG) Instruction Use the MSG instruction to create unscheduled messages (up to 1000
elements each) that are initiated by one ControlNet PLC-5 processor and
sent to another ControlNet PLC-5 processor. For more information on
MSG ControlNet I/O operations, see the ControlNet PLC-5 Programmable
SEND/RECEIVE MESSAGE ( EN )
( DN ) Controllers User Manual, publication 1785-6.5.14.
Control Block MG20:50
( ER )
When the input conditions go from false to true, data is transferred
according to the instruction parameters you set when entering the
MSG instruction.

To program a MSG instruction, you must provide the ControlNet PLC-5


processor with a control block address, which contains the status and
instruction parameters. After entering the control block parameters, the
programming terminal displays an instruction entry screen from where you
can enter instruction parameters that are stored in the control
block address.

Control Block Address

With ControlNet PLC-5 processors, use a message data file (MG) for the
message control block. For example, MG20:50 is a valid MSG control
block address.

After you enter the control block address for the MSG instruction, 6200
programming software automatically displays the ControlNet Instruction
Entry for Message Block screen (see page 4-6).

4-5
Chapter 4
ControlNet Programming Instructions

Using the MSG Instruction You can use the Message (MG) file type and the MSG instruction to send
two commands over ControlNet within the local ControlNet link:
6200 PLC-5 Typed Write
Main Menu
PLC-5 Typed Read
Online Offline To display the ControlNet Instruction Entry for Message Block screen,
Prog Prog
or follow the steps on the left:
F1 F3

Cursor to program file Instruction Entry for Message Block MG20:50

Communication Command: PLC–5 TYPED WRITE


Monitor PLC–5 Data Table Address: N8:0
File Size in Elements: 1
Local/Remote: LOCAL
F8 Remote Station: N/A
Link ID: N/A
Remote Link Type: N/A
Local ControlNet Node: 6
Edit Destination Data Table Address: N11:0
Port Number: 2
F10
BLOCK SIZE = 56 WORDS

Insert
Press a key to change a parameter or <ENTER> to accept parameters.
Rung
>
F4 Rem Prog Forces:None Edits:None 5/40C File JOSHUA
Command PLC–5 Size in Local/ Remote Link Remote Local Destin Port
Type Address Elemnts Remote Station ID Link Node Address Number
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10

Insert
Instruction
F4
If You Want to: Press this Key:

Change the command type. Toggle between the following: [F1] - Command Type
Others or Enter MSG • PLC-5 Typed Write selects a write operation to a ControlNet
F10 PLC-5 processor
• PLC-5 Typed Read selects a read operation from another
Enter control ControlNet PLC-5 processor
block address
I/O using MG file type Enter the PLC-5 data table address of the ControlNet processor. [F2] - PLC-5 Address
Message
F3
Enter the size in elements. [F3] - Size in Elements
Type the number of elements (1-1000) and press [Enter].
Port
Number Enter the destination node address. [F8] - Local Node
MSG F10 Type a number (1-99) and press [Enter].
F5 Enter the destination data table address. [F9] - Destination Address
Enter the port number. [F10] - Port Number
Type 2
Important: The port number must be 2 for ControlNet.
Enter control block address
using MG file type

Port
Number
F10

Type 2
4-6
Chapter 4
ControlNet Programming Instructions

6200 The Data Monitor for Message Control Block screen displays the
Main Menu parameters for the current MSG instruction. To display the Data Monitor
for Message Control Block screen, follow the steps on the left:
Online Offline
Prog or Prog
Data Monitor for Message Control Block MG20:50
F1 F3

Communication Command: PLC–5 TYPED WRITE


PLC–5 Data Table Address: N8:0 ignore if timed–out: 0 TO
Size in Elements: 1 to be retried: 0 NR
Cursor to program file Local/Remote: LOCAL awaiting execution: 0 EW
Remote Station: N/A continuous: 0 CO
Link ID: N/A error: 0 ER
Remote Link Type: N/A message done: 0 DN
Monitor Local ControlNet Node: 6 message transmitting: 0 ST
Destination Data Table Address: N11:0 message enabled: 0 EN
File
Port Number: 2
F8
Error Code: 0000 (HEX)

Cursor to MSG instruction


Press a function key or enter a value.
MG20:50.TO =
Rem Prog Forces:None Data:Decimal Addr:Decimal 5/40C File JOSHUA
Toggle Size in Specify Next Prev Next Prev
Data Bit Elemnts Address File File Element Element
Monitor F2 F3 F5 F7 F8 F9 F10

F8

If You Want to: Press this Key:

Toggle the control bit that the cursor is on. [F2] - Toggle Bit
You can toggle among the TO, NR, EW, CO, ER, DN, ST, and EN bits.
Change the size of the block of data to send or receive. [F3] - Size in Elements
Change the address for which the data is displayed. [F5] - Specify Address
Display the data table values for the next file. [F7] - Next File
Display the data table values for the previous file. [F8] - Previous File
Display the data table values for the next element. [F9] - Next Element
Display the data table values for the previous element. [F10] - Previous Element

4-7
Chapter 4
ControlNet Programming Instructions

Using Status Bits The MSG instruction uses the following status bits:

This Bit: Is Set:

Enable .EN (bit 15) when the rung goes true. The .EN bit is reset when the .DN bit or
.ER bit is set.
This bit shows that the instruction is enabled.
Start .ST (bit 14) when the processor begins executing the MSG instruction. The .ST
bit is reset when the .DN bit or .ER bit is set.
Done .DN (bit 13) when the last packet of the MSG instruction transferred. The .DN bit
is reset the next time the associated rung goes from false to true.
The .DN bit is only active in non-continuous mode.
Error .ER (bit 12) when the processor detects that the message transfer failed. The
.ER bit is reset the next time the associated rung goes from false
to true.
Continue .CO (bit 11) manually for repeated operation of the MSG instruction after the first
scan, independent of whether the processor continues to scan
the rung.
Enable-Waiting .EW (bit 10) when the processor detects that a message request entered the
queue. The processor resets the .EW bit when the .ST bit is set.
Time Out .TO (bit 08) through ladder logic to stop processing the message. The processor
sets the .ER bit.

ATTENTION: The processor controls status bits .ST and .EW


asynchronously to the program scan. If you examine these bits
in ladder logic, copy the status to a storage bit whose status is
synchronized with the program scan. Otherwise, timing
problems may invalidate your program with possible damage to
equipment or injury to personnel.

Using the MG Control Block In addition to the status bits, the MG control block contains these
parameters that the ControlNet PLC-5 processor uses to control
MSG instructions.

Word – Integer Message Control Description


Control Bock Block
0 .EN thru .TO Status bits
See “Using Status Bits” above.
1 .ERR Error code
This is where the processor stores the error code if a problem occurs during message transmission.
2 .RLEN Requested length
This is the requested number of elements you wish to transfer with the message instruction.

4-8
Chapter 4
ControlNet Programming Instructions

Immediate Data Input (IDI) When the rung goes true, the IDI instruction performs an immediate update
Instruction of the data input file from the private buffers before the next normal
input-image update.
IDI
IMMEDIATE DATA INPUT
To program an IDI instruction, you must provide the processor with the
Data file offset 232
following information that it stores in its control block:
Length 10
Destination N10:232 Data file offset specifies the offset into the Data Input File (DIF) where
words are read – can be an immediate value (0-999) or a logical address
that specifies the data image file offset.

Length specifies the number of words to be transferred – an immediate


value (1-64) or a logical address that specifies the number of words to
be transferred.

Destination specifies a data table address to be used as the destination


of the words to be transferred.

Important: The Destination should be the matching data-table address in


the Data Input File (DIF) except when you use the instruction to ensure
data-block integrity in the case of Selectable Timed Interrupts (STIs). For
more information, see page 4-10.

Immediate Data Output (IDO) When the rung goes true, the IDO instruction performs an immediate
Instruction update of the private memory buffers from the source file before the next
output-image update, sending the updated data output file information
IDO
IMMEDIATE DATA OUTPUT
across the ControlNet network to the appropriate ControlNet device.
Data file offset 232
To program an IDO instruction, you must provide the processor with the
Length 10 following information that it stores in its control block:
Source N7:232
Data file offset specifies the offset into the Data Output File (DOF)
where words are written – can be an immediate value (0-999) or a
logical address that specifies the data image file offset.
Length specifies the number of words to be transferred – an immediate
value (1-64) or a logical address that specifies the number of words to
be transferred.
Source specifies a data table address to be used as the source of the
words to be transferred.

Important: The Source should be the matching data-table address in the


Data Output File (DOF) except when you use the instruction to ensure
data-block integrity in the case of Selectable Timed Interrupts (STIs). For
more information, see page 4-10.

4-9
Chapter 4
ControlNet Programming Instructions

Using IDI and IDO You can use the IDI and IDO instructions for immediate data input and
Instructions output on ControlNet.

6200 To add IDI and IDO instructions to your ladder program, follow the steps
Main Menu
on the left:

Online Offline
Prog or Prog | +IDI––––––––––––––––––––+ |
+––––––––––––––––––––––––––––––––––––––––––––––––––––+IMMEDIATE DATA INPUT +–+
F1 F3 | |Data file offset 1| |
| | | |
| |Length 2| |
| | | |
| |Destination N10:1| |
Cursor to program file
| | 0| |
| +–––––––––––––––––––––––+ |
| +IDO––––––––––––––––––––+ |
Monitor +––––––––––––––––––––––––––––––––––––––––––––––––––––+IMMEDIATE DATA OUTPUT+–+
File | |Data file offset 235| |
| | | |
F8 | |Length 27| |
| | | |
| |Source N7:235| |
| | 0| |
Edit | +–––––––––––––––––––––––+ |

F10 Press a function key for desired editing function.


(File 2: Rung 3) Û
Rem Prog Forces:None Edits:None 5/40C File JOSHUA
Change I/O Append Insert Modify Delete Undel Advancd Test Cancel
Insert Mode Edit Rung Rung Rung Rung Rung Editing Edits Edits
Rung F1 F2 F3 F4 F5 F6 F7 F8 F9 F10

F4

For more detailed information about writing ladder programs, see the
Insert Instruction Set Reference manual, publication 6200-6.4.11, and the
Instruction
Programming manual, publication 6200-6.4.7.
F4

Important: Be careful when using Selectable Timed Interrupts (STIs) with


Others or Enter IDI or IDO a program on a ControlNet network.
F10
A Selectable Timed Interrupt (STI) periodically interrupts primary
program execution in order to run a subprogram to completion. If an STI
I/O occurs while a normal ControlNet non-discrete I/O transfer or a
Message
ControlNet Immediate Data I/O instruction (IDI or IDO) is in progress and
F3
they both operate on the same set of data, the integrity of that block of data
is jeopardized.
IDI IDO
or
F6 F7 To ensure data-block integrity, write your STI routine so that it operates on
its own copy of the data block that it needs. Use ControlNet Immediate
Data I/O instructions (IDI and IDO) within your STI to copy the needed
block of data out to and back from a temporary location that is different
from that used by the normal data table.

For detailed information on STIs, see the Software Configuration and


Maintenance manual, publication 6200-6.4.6.

4-10
Chapter

5
Using ControlNet Channel Status Data

Chapter Objectives You can use 6200 programming software to monitor the configuration and
view the status of the ControlNet PLC-5 processor channels using the
ControlNet channel status screen. The channel status screen lets you
monitor the communications on each of the channels and keep track of
messages received and sent by the processor.

Interpreting ControlNet To monitor ControlNet status data associated with channel 2 for
Status Data ControlNet PLC-5 processors, use the ControlNet Channel 2 Status screen.
The data displayed is stored in a diagnostic file defined on the ControlNet
Ladder Editor Device Information Channel 2 Configuration (Edit) screen. If a diagnostic
Main Menu
file has not been defined, you will not be able to display the ControlNet
Channel 2 Status screen.
General
Utility To display the ControlNet Channel 2 Status screen, follow the steps on
F7 the left:

ControlNet
Channel 2 Status
Channel COUNTERS LOCKED
Overview Frames media usage: A only
F4 transmitted good: 0 transmitted aborted: 0 channel A errors: 0
received good: 0 received aborted: 0 channel B errors: 0
total received: 0 received bad: 0 channel warnings: none

Network Capacity
Cursor to channel 2 update time overload: 0 blockage: 0

Moderator Node: 1
mismatch events: 0 unheard occurrences: 0
Channel Channel
Config or Status Misc
out of step events: 0 network silent: 0 noise detected: 0
F5 F7 commands received: 0 collisions: 0

Press a function key.


>
Channel 2 Rem Prog Forces:None 5/40C File JOSHUA
Status Clear Unlock Chan 2
Counter Counter Config
F9 F1 F2 F9

If You Want to: Press this Key:

Clear all of the diagnostic counters for this ControlNet node [F1] - Clear Counter
Unlock or lock the diagnostic status counters [F2] - Unlock/Lock Counter
Go to the ControlNet Node Information Channel 2 [F9] - Channel 2 Configuration
Configuration (Monitor) screen
Return to the Channel Overview screen [Esc]

5-1
Chapter 5
Using ControlNet Channel Status Data

Using the ControlNet Channel 2 Status Screen

Table 5.A describes the fields on the ControlNet Channel 2 Status screen.

Table 5.A
Descriptions of ControlNet Channel 2 Status Screen Fields

Status Field Location Displays:1

Counters Locked – in reverse video if the counters are locked. Pressing [F2] - Lock (Unlock) Counter locks or
unlocks the counter display.
• Counters locked: the display of the counters stops changing, but the counters continue to run
in the background.
• Counters unlocked: the system displays the current value.
Clear counters for all channels by pressing [F1] - Clear Counter.

Frames
media usage – the redundancy characteristic for the ControlNet channel.

transmitted good word 6; bit 15-8, the number of good frames transmitted.
word 5; bit 7-0,
word 5; bit 15-8

transmitted aborted word 9; bit 7-0 the number of frames that could not be completely transmitted and were aborted in the middle
of transmission.

channel A errors word 8; bit 7-0 the number of frames received on the channel A cable that were unusable, independent of the
active channel (channel selected for reception).

received good word 7; bit 7-01, the number of good frames received on the active channel.
word 7; bit 15-8,
word 6; bit 7-0

received aborted word 12; bit 7-0 the number of frames received that were aborted during transmission on the active channel.

channel B errors word 9; bit 15-8 the number of frames received on the channel B cable that were unusable, independent of the
active channel (channel selected for reception).

total received – the total number of frames (good and bad) received on the active channel.

received bad word 8; bit 15-8 the number of unusable frames received on the active channel.

channel warnings word 23; bit 7-6 any channel that is receiving a low level of unusable frames (frames containing data errors).

Network Capacity
update time overload word 10; bit 7-0 the number of times that the network update interval passes with no opportunity to transmit.

blockage word 11; bit 7-0 the number of times that a network update interval does not contain enough room to allow the
transmission of a particular frame.

Moderator Node word 15; bit 15-8 the network address of the node that is transmitting the moderator frame (always the lowest
active network address).

mismatch events word 16; bit 15-8 the number of times a moderator frame was received with network parameters different from
those in the receiving node.

unheard occurrences word 16; bit 7-0 the number of times a node can receive a frame from a lower network address but cannot receive
a moderator.

5-2
Chapter 5
Using ControlNet Channel Status Data

Status Field Location Displays:1

Misc
out of step events word 10; bit 15-8 the number of times any event prevents a frame from being transmitted in the required network
update interval.

network silent word 13; bit 5-8 the number of times a node loses contact with any network activity for three consecutive network
update intervals.

commands received word 17; bit 15-8 the number of station management commands received directly from the network that bypasses
the host processor node.

collisions word 14; bit 7-0 the number of times a node prevents the transmission of a frame because it would cause a
collision to occur.

noise detected word 14; bit 15-8 the number of times that a start of frame could not be detected.
1 All counters display only the status of the node being configured.

5-3
A
Appendix

Processor Status File

Processor status data is stored in data-file 2.

Important: This appendix includes a complete list of Enhanced PLC-5


processor status data information; areas which contain status data
information specific to ControlNet PLC-5 processors are highlighted.

S:0-S:2 This word of Stores:


the status file:

S:0 Arithmetic flags


• bit 0 = carry
• bit 1 = overflow
• bit 2 = zero
• bit 3 = sign

S:1 Processor status and flags


Bit Description
0 RAM checksum is invalid at power-up
1 processor in Run mode
2 processor in Test mode
3 processor in Program mode
4 processor burning EEPROM
5 enabled download operation
6 enabled test edit mode
7 mode select switch in Remote position
8 forces enabled
9 forces present
10 processor successfully burned EEPROM
11 performing online programming
12 processor in debug mode
13 user program checksum done
14 last scan of ladder or SFC step
15 processor started first program scan or the first scan of the next
step in an SFC

S:2 Switch setting information


• bits 0–7 DH+ station number
• bit 11–12 are set based on the I/O chassis backplane switches
bit 12 bit 11 = I/O chassis addressing
0 0 illegal
1 0 1/2-slot
0 1 1-slot
1 1 2-slot
• bit 13: 1 = load from EEPROM
• bit 14: 1 = RAM backup not configured
• bit 15: 1 = memory unprotected

A-1
Appendix A
Processor Status File

S:3-10 This word of Stores:


the status file:

S:3 to S:6 Active Node table for channel 1A


Word Bits DH+ Station #
3 0-15 00-17
4 0-15 20-37
5 0-15 40-57
6 0-15 60-77

S:7 Global status bits:


• low 8 bits–rack fault bits for racks 0-7
• high 8 bits–rack queue-full bits for racks 0-7

S:8 Last program scan (in ms)

S:9 Maximum program scan (in ms)

S:10 Minor fault (word 1)


Bit Description
0 battery is low (replace in 1-2 days) or missing
1 DH+ table has changed (active node table)
2 STI delay too short, interrupt program overlap
3 EEPROM memory transfer at power-up
4 edits prevent SFC continuing
5 invalid I/O status file
6 memory cartridge battery low
7 no more command blocks exist
8 not enough memory on the memory module to upload the
program from the processor
9 no MCP is configured to Run
10 MCP not allowed
11 PII word number not in local rack
12 PII overlap
13 no command blocks exist to get PII
14 arithmetic overflow
15 SFC action overlap

A-2
Appendix A
Processor Status File

S:11-S:12 This word of Stores:


the status file:

S:11 Major fault


Bit Description
0 corrupted program file (codes 10-19)
1 corrupted address in ladder file (codes 10-29)
2 programming error (codes 30-49)
3 SFC fault (codes 71-79)
4 error while assembling program (code 70)
5 start-up protection fault
6 peripheral device fault
7 jumped to fault routine (codes 0-9)
8 watchdog faulted
9 system configured wrong (codes 80-89)
10 recoverable hardware error
11 MCP does not exist or is not ladder or SFC file
12 PII does not exist or is not ladder file
13 STI does not exist or is not ladder file
14 fault routine does not exist or is not ladder file
15 fault routine file is not a ladder file

S:12 Fault codes


Code Description
0-9 user-defined
10 failed data table check
11 bad user program checksum
12 bad integer operand type
13 bad mixed mode operand type
14 not enough operands for instruction
15 too many operands for instruction
16 bad instruction found
17 no expression end
18 missing end of edit zone
19 download aborted
20 indirect address out of range (high)
21 indirect address out of range (low)
22 attempt to access undefined file
23 file number less than 0 or greater than number of defined files; or,
indirect reference to file 0, 1, 2; or bad file number
24 indirect reference to wrong file type
30 subroutine jump nesting level exceeded
31 too few subroutine parameters
32 jump to non-ladder file
33 CAR routine not 68000 code
34 bad timer parameters entered
35 bad PID delta time entered
36 PID setpoint out of range
37 invalid I/O specified in an immediate I/O instruction
38 invalid use of return instruction
39 FOR loop missing NXT
40 control file too small
41 NXT instruction with no FOR
42 jump target does not exist
43 file is not an SFC
44 error using SFR
45 invalid channel number entered
46 IDI or IDO instruction length operand too long ( > 64 words)
47-69 reserved

A-3
Appendix A
Processor Status File

S:12-S:16 This word of Stores:


the status file:
S:12 Fault codes
(continued) Code Description
70 duplicate labels
71 SFC subchart is already executing
72 tried to stop an SFC that is not running
73 maximum number of SFC subcharts exceeded
74 SFC file error
75 SFC contains too many active steps
77 SFC references a step, transition, subchart, or SC file that is
missing, empty or too small
78 SFC could not continue after power loss
79 error in downloading an SFC to a processor that cannot run SFCs
or this specific PLC processor does not support this enhanced SFC
80 I/O configuration error
81 illegal setting of I/O chassis backplane switch
82 illegal cartridge type
83 user watchdog fault
84 error in user-configured adapter mode block transfers
85 bad cartridge
86 cartridge incompatible with host
87 rack overlap (includes any adapter channel)
88 scanner channels are overloading the remote I/O buffer; too much
data for the processor to process
90 coprocessor extensive memory test failed
91 coprocessor undefined message type
92 coprocessor illegal pool index
93 coprocessor illegal maximum pool size
94 coprocessor illegal ASCII message
95 coprocessor reported fault
96 coprocessor present signal lost
97 coprocessor illegal minimum pool size
98 coprocessor first/last 16 bytes RAM test failed
99 coprocessor to processor data transfer faulted
100 processor to coprocessor transfer failed
101 coprocessor end of scan transfer failed
102 file number specified for raw data transfer through the coprocessor
is an illegal value
103 element number specified for raw data transfer through the
coprocessor is an illegal value
104 size of the transfer requested through the coprocessor is
an illegal size
105 offset into the raw transfer segment of the coprocessor is an
illegal value
106 coprocessor transfer protection violation
200 ControlNet output transfer missed
201 ControlNet input data missed
202 ControlNet diagnostic data missed
203 ControlNet scheduled transmit data overflow
204 ControlNet configuration too complex for the PLC-5
S:13 Program file where fault occurred

S:14 Rung number where fault occurred

S:15 VME status file

S:16 I/O Status File

A-4
Appendix A
Processor Status File

S:17-S:27 This word of Stores:


the status file:

S:17 Minor fault (word 2)


Bit Description
0 BT queue full to remote I/O
1 queue full—channel 1A
2 queue full—channel 1B
3 queue full—channel 2A
4 queue full—channel 2B
5 no modem on serial port
6 remote I/O rack in local rack table; or, remote I/O rack is greater
than the image size
7 plug firmware mismatch
8 ASCII instruction error
9 duplicate node address
10 DF1 master poll list error
11 protected processor data table element violation
12 protected processor file violation
13 using all 32 ControlNet MSGs
14 using all 32 ControlNet READ and/or WRITE CIOs
15 using all 8 ControlNet Flex I/O CIOs

S:18 Processor clock year

S:19 Processor clock month

S:20 Processor clock day

S:21 Processor clock hour

S:22 Processor clock minute

S:23 Processor clock second

S:24 Indexed addressing offset

S:26 User control bits


Bit Description
0 Restart/continuous SFC: when reset, processor restarts at first
step in SFC.
When set, processor continues with active step after power loss
or change to Run.
1 Start-up protection after power loss: when reset, no protection.
When set, processor executes fault routine at power-up
(sets word 11, bit 5).
2 Define the address of the local rack: when reset, local rack
address is 0. When set, local rack address is 1.
3 Set complementary I/O: when reset, complementary I/O is not
enabled. When set, complementary I/O is enabled.
4 Local block transfer compatibility bit: when reset, normal
operation. When set, eliminates frequent checksum errors to
certain BT modules.
5 When set (1), delay adapter channel response by 1 s for
compatibility with PLC-3 scanners. When reset (0), operate in
normal response time.

S:27 Rack control bits:


• low 8 bits—I/O rack inhibit bits for racks 0-7
• high 8 bits—I/O rack reset bits for racks 0-7

A-5
Appendix A
Processor Status File

S:28-S:61 This word of Stores:


the status file:

S:28 Program watchdog setpoint

S:29 Fault routine file

S:30 STI setpoint

S:31 STI file number

S:32 Global status bits:


• low 8 bits—rack fault bits for racks 10-17 (octal)
• high 8 bits—rack queue-full bits for racks 10-17

S:33 Rack control bits:


• low 8 bits—I/O rack inhibit bits for racks 10-17
• high 8 bits—I/O rack reset bits for racks 10-17

S:34 Global status bits:


• low 8 bits—rack fault bits for racks 20-27 (octal)
• high 8 bits—rack queue-full bits for racks 20-27

S:35 Rack control bits:


• low 8 bits—I/O rack inhibit bits for racks 20-27
• high 8 bits—I/O rack reset bits for racks 20-27

S:46 PII program file number

S:47 PII module group

S:48 PII bit mask

S:49 PII compare value

S:50 PII down count

S:51 PII changed bit

S:52 PII events since last interrupt

S:53 STI scan time (in ms)

S:54 STI maximum scan time (in ms)

S:55 PII last scan time (in ms)

S:56 PII maximum scan time (in ms)

S:57 User program checksum

S:59 Extended-local I/O channel discrete transfer scan (in ms)

S:60 Extended-local I/O channel discrete maximum scan (in ms)

S:61 Extended-local I/O channel block-transfer scan (in ms)

A-6
Appendix A
Processor Status File

S:62-S:127 This word of Stores:


the status file:

S:62 Extended-I/O channel maximum block-transfer scan (in ms)

S:63 Protected-processor data-table protection-file number

S:76 Number of slots in processor-resident local rack


1 4 slots
2 12 slots
3 8 slots
4 16 slots

S:77 Communication time slice for communication housekeeping functions (in ms)

S:78 MCP I/O update disable bits


Bit 0 for MCP A
Bit 1 for MCP B
etc.

S:79 MCP inhibit bits


Bit 0 for MCP A
Bit 1 for MCP B
etc.

S:80-S:127 MCP file number


MCP scan time (in ms)
MCP max scan time (in ms)
The above sequence applies to each MCP; therefore, each MCP has 3
status words.
For example, word 80: file number for MCP A
word 81: scan time for MCP A
word 82: maximum scan time for MCP A
word 83: file number for MCP B
word 84: scan time for MCP B
etc.

A-7
B
Appendix

ControlNet I/O Map-Entry Status Words and


Error Messages

I/O Map-Entry Status Words The ControlNet status file is an integer data-table file that you specify and
configure with the I/O map for scheduled-I/O usage, containing status
information about all of the ControlNet network’s scheduled I/O
connections. Each I/O map-table entry has a status-file offset field pointing
to three status words associated with the connection.
First Word
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00

Data Invalid Reset


Reserved Reserved Inhibit
Connection Error

Second and Third Words


15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Error Messages
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00

If these status words are for a 1794


Flex I/O module and there is no
connection error, any 1’s set in bits
00 through 07 of the third word
indicate errors in the corresponding If these status words are for a Peer In
slots (numbered 0 through 7). or a Peer Out and there is no
connection error, a 1 set in bit 00 of
the third word indicates that the other
(peer) processor is in Run mode.

B-1
Appendix B
ControlNet I/O Map-Entry Status Words
and Error Messages

I/O Map-Entry Table B.A contains a list of ControlNet error codes, messages, possible
Error Messages causes, and possible corrective actions.
Table B.A
ControlNet I/O Map Entry Error Codes, Messages, Possible Causes, and
Possible Corrective Actions
Decimal Code: Hex Code: Error Message: Explanation or Possible Cause(s): Possible Corrective Actions:

Various Various CONFIGURATION DATA CORRUPTED More than one configured and/or Re-configure map entry overlapping
programmed data transfer is trying to map-table locations.
use the same location in the or
data table. Re-enter overlapping ladder
instructions.
2 0x0002 SCHED BANDWIDTH NOT AVAILABLE There are too many words scheduled Reduce the number of words
for transmission. scheduled for transmission.
The network update time (NUT) is Increase the network update
too small. time (NUT).
The target node is not configured. Correctly configure the target
node as an active node on the
ControlNet network and save your
ControlNet configuration.
18 0x0012 TARGET NODE NOT RESPONDING The ControlNet cable to the target Fix and/or reconnect the ControlNet
node is broken and/or disconnected. cable to the target node.
No power is being received by the Supply power to the device at the
target node. target node.
The target node is offline. Correctly configure the target
node as an active node on the
ControlNet network and save your
ControlNet configuration.
20 0x0014 DEST SLOT/MSG NOT PRESENT The slot number that you entered for Correct the map-table entry.
an adapter is not in the valid range.
The number that you entered for a
peer-to-peer message is not in the
valid range.
The peer-to-peer message map-table Clear the inhibit bit in the map-table
entry in the target node is inhibited. entry of the target node.
256 0x0100 CONNECTION IN USE The connection that the originating No action required – connection can
node is trying to use is already in use. be re-established after the target
node times out the old connection.
260 0x0104 NODE TYPE MISMATCH You entered a node type in the map Correct the map table entry.
table that does not match the or
target node. Replace the target node with the
node type entered in the map table.
262 0x0106 CONNECTION USED BY OTHER NODE The originating node attempted to Delete or inhibit any other node’s
open a connection that is already connection so that the preferred
being used by another node. node can open the connection.
263 0x0107 CONNECTION ALREADY CLOSED The connection the originating node is No action required.
trying to close is already closed.

B-2
Appendix B
ControlNet I/O Map-Entry Status Words
and Error Messages

Decimal Code: Hex Code: Error Message: Explanation or Possible Cause(s): Possible Corrective Actions:

265 0x0109 INVALID CONNECTION SIZE The originating node attempted to Reduce the size that is entered in
open a connection with a larger size the map table.
than the target node can support. or
Use a rack with more slots.
or
Use a rack with higher density.
272 0x0110 NODE NOT CONFIGURED The target node is offline. Correctly configure the target
node as an active node on the
The target node is not configured. ControlNet network and save your
ControlNet configuration.
273 0x0111 EXP NET PCKT TIME INVALID The target node cannot produce the Increase the expected net packet
data at, or faster than, the expected time entered in the map table.
net packet time entered in the
map table.
511 0x01FF INVALID WHEN NODE IS IDLE The ControlNet cable to the target Fix and/or reconnect the ControlNet
node is broken and/or disconnected. cable to the ControlNet node.
No power is being received by the Supply power to the device at the
device at the target node. target node.
The target node is offline. Correctly configure the target
node as an active node on the
ControlNet network and save your
ControlNet configuration.
The target adapter is in Processor Press the restart button on the
Restart Lockout. target adapter.
513 0x0201 CONNECTION ALREADY CLOSED The connection the originating node is No action required.
trying to close has not been opened
by the target node.
515 0x0203 CONNECTION TIMED OUT The ControlNet cable to the target Fix and/or reconnect the ControlNet
node has become broken and/or cable to the target node.
disconnected.
Power is no longer being received by Supply power to the device at the
the device at the target node. target node.
65281 0xFF01 CONNECTION REJECTED The ControlNet cable to the target Fix and/or reconnect the ControlNet
node is broken and/or disconnected. cable to the target node.
No power is being received by the Supply power to the device at the
target node. target node.
The target node is offline. Correctly configure the target
node as an active node on the
ControlNet network and save your
ControlNet configuration.
65294 0xFF0E ATTRIBUTE CANNOT BE SET Your program attempted to set an Change your program so that it
attribute that cannot be set for a does not attempt to set the attribute.
specific module–e.g., a CIO instruction or
attempted to send safe-state data to a Insert a module that can have this
flex module that does not support attribute set.
safe-state data.
65299 0xFF13 NOT ENOUGH DATA The length is zero. Increase the length of the data.
The processor data table is too small. Increase the size of the data table.
65301 0xFF15 TOO MUCH DATA The transfer length is too large. Decrease the length of the transfer.

B-3
Appendix B
ControlNet I/O Map-Entry Status Words
and Error Messages

Decimal Code: Hex Code: Error Message: Explanation or Possible Cause(s): Possible Corrective Actions:

65522 0xFFF2 CONFIG FROM MAP ENTRY FAILED The ControlNet cable to the target Fix and/or reconnect the ControlNet
node is broken and/or disconnected. cable to the target node.
No power is being received by the Supply power to the target node.
target node.
The node or slot contains the wrong Insert the proper module in the
module type. correct slot of the target node.
An incorrect module type was entered Enter the correct module type in the
in the map table. map-table entry.
65523 0xFFF3 CONTROLNET TRANSFER QUEUE FULL The immediate CIO transfer could not Keep the number of active CIOs at
be executed because the queue is full. or under the maximum of 32.
65527 0xFFF7 MODULE TIMED OUT The node or slot contains the wrong Insert the proper module in the
module type. correct slot of the target node.
An incorrect module type was entered Enter the correct module type in the
in the map table. map-table entry.
65529 0xFFF9 COMM ERROR CAUSED LOSS OF DATA A communication error between the Make sure that the proper module is
module and the adapter caused data securely seated in the correct slot of
to be lost. the target node.
Make sure that the correct
module type is entered in the
map-table entry.
65530 0xFFFA MODULE DECLARED INVALID LENGTH The module or slot contains the wrong Insert the proper module in the
module type. correct slot of the target node.
An incorrect module type was entered Enter the correct module type in the
in the map table. map-table entry.
65531 0xFFFB READ DATA INVALID The module or slot contains the wrong Insert the proper module in the
module type. correct slot of the target node.
An incorrect module type was entered Enter the correct module type in the
in the map table. map-table entry.
65532 0xFFFC WRITE DATA INVALID The module or slot contains the wrong Insert the proper module in the
module type. correct slot of the target node.
An incorrect module type was entered Enter the correct module type in the
in the map table. map-table entry.
65533 0xFFFD DATA TABLE TOO SMALL The processor data table is too small. Increase the size of the data table.

B-4
Customer Support If you need additional assistance in using your software, Allen-Bradley offers
telephone and on-site product support.

For technical assistance on the telephone, first contact your local sales office,
distributor, or system integrator. If you need additional assistance, then contact
your local Customer Support Center.

For assistance that requires on-site support, contact your local sales office,
distributor, or system integrator. During non-office hours, contact the
Allen-Bradley 24-hour Hot Line at: 1-800-422-4913 in the United States or
contact your local Customer Support Center outside the United States.

Customer Support Center phone numbers:

Region or Area Customer Support Center Telephone


Number
Canada (Cambridge, Ontario) 519-623-1810
Latin America (Mexico) 52-5-259-0040
United Kingdom (Milton Keynes) 44-908-838800
France (Paris) (33-1) 3067-7200
Germany (Gruiten) (49) 2104-6900
Italy (Milan) (39-2) 939-721
Asia Pacific (Hong Kong) (852) 887-4788
Spain (Barcelona) (34-3) 331-7004
Allen-Bradley has been helping its customers improve productivity and quality for 90 years.
A-B designs, manufactures and supports a broad range of control and automation products
worldwide. They include logic processors, power and motion control devices, man-machine
interfaces and sensors. Allen-Bradley is a subsidiary of Rockwell International, one of the
world’s leading technology companies.

With major offices worldwide.


Algeria • Argentina • Australia • Austria • Bahrain • Belgium • Brazil • Bulgaria • Canada • Chile • China, PRC • Colombia • Costa Rica • Croatia • Cyprus • Czech
Republic • Denmark • Ecuador • Egypt • El Salvador • Finland • France • Germany • Greece • Guatemala • Honduras • Hong Kong • Hungary • Iceland • India •
Indonesia • Israel • Italy • Jamaica • Japan • Jordan • Korea • Kuwait • Lebanon • Malaysia • Mexico • New Zealand • Norway • Oman • Pakistan • Peru • Philippines
• Poland • Portugal • Puerto Rico • Qatar • Romania • Russia–CIS • Saudi Arabia • Singapore • Slovakia • Slovenia • South Africa, Republic • Spain • Switzerland •
Taiwan • Thailand • The Netherlands • Turkey • United Arab Emirates • United Kingdom • United States • Uruguay • Venezuela • Yugoslavia

World Headquarters, Allen-Bradley, 1201 South Second Street, Milwaukee, WI 53204 USA, Tel: (1) 414 382-2000 Fax: (1) 414 382-4444

Publication 6200-6.4.20 — August 1995 PN 955121-12


Copyright 1995 Allen-Bradley Company, Inc. Printed in USA

You might also like