Publication 1789-UM002A-EN-P - October 2000
Table of Contents ii
Chapter 3
Controlling Motion Devices
Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Configuring Your System for a Motion Card . . . . . . . . . . . . 3-1
Step 1: Install the hardware . . . . . . . . . . . . . . . . . . . . . 3-2
Step 2: Create the motion card in the chassis. . . . . . . . . 3-3
Step 3: Configure the motion card as part of the project 3-5
Creating an Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Configuring a servo axis. . . . . . . . . . . . . . . . . . . . . . . . 3-7
Running Hookup Diagnostics and Autotuning . . . . . . . . . . 3-11
Developing Logic for Motion Control . . . . . . . . . . . . . . . . . 3-12
Handling motion faults. . . . . . . . . . . . . . . . . . . . . . . . . 3-13
Chapter 4
Communicating with Devices on a
ControlNet Link
Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Configuring Your System for a ControlNet Link . . . . . . . . . 4-1
Step 1: Install the hardware . . . . . . . . . . . . . . . . . . . . . 4-2
Step 2: Create the communication card in the chassis . . 4-3
Step 3: Configure the communication card . . . . . . . . . . 4-5
Step 4: Schedule the network . . . . . . . . . . . . . . . . . . . . 4-7
Placing ControlNet I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Accessing I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Working with a rack-optimized connection. . . . . . . . . . 4-9
Working with direct connections . . . . . . . . . . . . . . . . . 4-10
Sending Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Communicating with another Logix-based controller . . . 4-12
Communicating with other controllers over ControlNet . 4-13
Mapping addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
Producing and Consuming Data . . . . . . . . . . . . . . . . . . . . 4-17
Maximum number of produced and consumed tags . . . 4-17
Size limit of a produced or consumed tag . . . . . . . . . . . 4-18
Producing a tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19
Consuming a tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20
Example 1: SoftLogix Controller and I/O . . . . . . . . . . . . . . 4-21
Example 1: Controlling I/O . . . . . . . . . . . . . . . . . . . . . 4-21
Example 1: Total connections required by controller . . . 4-21
Example 2: SoftLogix Controller to SoftLogix Controller . . . 4-22
Example 2: Sending a MSG instruction . . . . . . . . . . . . . 4-23
Example 2: Producing and consuming tags . . . . . . . . . . 4-24
Example 2: Total connections required by controller . . . 4-26
Example 3: SoftLogix Controller to Other Devices. . . . . . . . 4-26
Example 3: Sending MSG instructions . . . . . . . . . . . . . . 4-26
Example 3: Producing and consuming tags . . . . . . . . . . 4-27
Example 3: Total connections required by Flex1 . . . . . . 4-31
Example 4: Using SoftLogix as a Gateway . . . . . . . . . . . . . 4-32
Example 5: Using ControlLogix as a Gateway. . . . . . . . . . . 4-33