Rockwell Automation 9220-TG User Manual

Quick Start
   
(Catalog
Number 9220-TG)
About this Document
Use this document to install and use the ControlNetmessage/traffic generator tool.
This tool was designed for engineers and developers familiar with network installation and troubleshooting. To use this tool efficiently, you should be familiar with ControlNet protocols.
We use these conventions in this document:
Convention Shows
pt Courier
9
pt Courier bold
9
9
pt Courier italic
Enter
For this information See page
introduction to the tool 2 system requirements 3 installing the tool 4 initializing the tool 6 using the tool 7
Screen displays and prompts Text you type as shown at the DOS prompt Text you type specific to your setup at the DOS prompt
Keys that you press
Publication
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool2
Introducing the Tool
Use this tool to:
construct, edit, and send data packets and messages on a
ControlNet network Using this tool, you can:
open connections to different objects and send predefined
messages, data byte(s), or packet(s) individually or in a sequence.
construct, edit and send data packets and messages. These edited
data packets and messages can be saved to and retrieved from files. Once you have saved data in a file, you can use function keys to send predefined packets or messages into the network one by one. You can also use the play option to send all the data saved in a file, at once.
If you want to view the messages or data packets being sent on
the network, use the Contr
olNet Traffic Analyzer tool (9220-TA).
assist in the designing and debugging of ControlNet products
Use this table to become familiar with some of the tool’s terms.
Term Refers
CNXOR.CFG the configuration file the tool utilizes to initialize itself PIT packets any data bytes, patterns, or messages
MAC ID a node’s address on the network SMAC
Publication
9220-10.1 — July 1996
to
network update time; repetitive time interval in which data can be sent on the ControlNet network
the ControlNet Media Access Control interface circuitry used to send and receive data on an ControlNet network.
ControlNet Message/Traffic Generator Tool 3
System Requirements
microprocessor 486 33 Mhz PC AT or higher operating system MS-DOS 3.3 or higher memory 4 MB or higher hard disk space
video adapter and monitor
diskette drive one 3.5” high-density diskette drive ISA/EISA bus
communication interface pointing device Microsoft Mouse or compatible
The
amount of hard disk space determines how much data you can store to disk files.
Important: The CONFIG.SYS file must, at least, contain the lines
files
8 MB VGA or high-resolution
super VGA display (800 x 600) minimum: VGA card and a display capable of 640x480 VGA
ControlNet 9220-KTCT test card
= 15
and buffers
= 20
.
Publication
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool4
Installing the Tool
1. Insert the tool disk into your computer’s 3.5” disk drive.
2. Create a directory on your hard drive for the tool:
mkdir
tg
Enter
The tg directory is used in TG.BAT. If you create a different directory for the tool, you need to edit the cnxpath in TG.BAT
(set CNXP
ATH=c:\new_directory). The path sets a DOS environment
variable to instruct the tool where to look for CNXOR.CFG. This gives you flexibility in placing the file and lets you load multiple files, in different directories.
3. Change to that directory:
tg
cd
Enter
4. Copy the contents of the tool disk to the directory you created:
copy
A:*.*
Enter
5. Start the tool:
tg
Enter
You
see:
Publication
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool 5
and the current status of the tool:
6. Click with your right mouse button in the Current Status window to
close it.
To navigate through the tool, use your left mouse button to access
drop-down menus, cascading menus, and dialog boxes, and your right mouse button to close them.
dialog box
drop-down menu
cascading menu
Publication
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool6
Configuring the Tool
From the Setup drop-down menu, you can set these configuration options:
      
This option Is used to
Simulation
Online set the tool online in the ControlNet network and set the 9220-KTCT card
Offline take the tool and 9220-KTCT offline from the ControlNet network.
Port Number select which 9220-KTCT card will be used. This parameter specifies the
Mac ID
Target Mac ID set the target node’s network address. This address should be the node
CN Parameters set the Network Update Time (NUT), in milliseconds.
The
tool selects a default value based on the configuration file at start-up.
display the tool’s menus and capabilities without actually communicating with a node on the network. While in this mode, the tool does not interface with the 9220-KTCT card.
in an online mode. The 9220-KTCT card waits for a moderator message to go online. Once the 9220-KTCT card is online, the tool acquires the current network parameters and is configured to them.
This is the default setting for the 9220-KTCT card and the tool.
port that the card is installed in (0–3). You can install as many as four 9220-KTCT cards in one PC.
set the network address of the 9220-KTCT card.
you want to communicate with (i.e., get attributes from, open connections to, and send messages to, etc.).
Publication
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool 7
Using the Tool
This figure shows the functional blocks for navigation through the tool, with each block representing a single window.
Main Menu
Status Display
Send Unconnected Messages
Traffic Generator
For information on See page
changing the network update time changing the port number of the 9220-KTCT card 8 changing the MAC ID of the 9220-KTCT card 9 viewing the tool’s current status 9 sending a message to a target node 10 sending an unconnected message 13 closing a connection 14 using the traffic generator 15 taking the card offline 18 exiting the tool 18 editing the tool’s configuration file 19
Open Connections
8
Send Connected Messages
Data RepeaterData PatternsData Bytes
Publication
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool8
Changing the Network Update Time
From Setup, choose CN Parameters, and choose a time in milliseconds.
Changing the Port Number of the 9220-KTCT Card
From Setup, choose Port Number, and set the port number equal to the port of 9220-KTCT card you are using (0–3).
Publication
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool 9
Changing the MAC ID of the 9220-KTCT Card
From Setup, choose MAC ID, and set the network address of the 9220-KTCT card (0–99).
Viewing the Current Status of the Tool
To view the current status of the tool, choose Status. This displays a status window showing the current state of the traffic generator with respect to the ControlNet network, the status of any open connections, the Port Number, and the source and target MAC IDs.
Publication
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool10
Sending a Message to a Target Node
1. Select the node you want to communicate with.
From Setup, choose Target MAC ID.
Click the arrows to select the network address of the target node.
2. Go online to the ControlNet network.
From Setup, choose Online.
Publication
Resetting KTCT Card..
Enabling Network Events..
Soft
Resetting KTCT Card..
Transitioning to Online..
9220-10.1 — July 1996
ControlNet Message/Traffic Generator Tool 11
3. Open a connection.
From Connections, choose Open Connection and then choose the type of connection you want to open.
Connections and connection parameters (e.g., Expected Packet
"
Rate and Connection Size) are defined in CNXOR.CFG. The connections ar
e used to open defined objects and instances for the target node. You can edit this file as necessary for your application.
A.
CBT = cyclic block transfer BT = block transfer
B.
C.
4. Send the message to the target node.
To Choose
send a message Connected, Send Message send and monitor a message Connected, Send/Monitor Messg. monitor the connection Connected, Monitor Connection
Publication
As shown on page 12, in
  
9220-10.1 — July 1996
Loading...
+ 25 hidden pages