The text of a manual · part 25 of 33
PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual: Chapter 8
Pages 201 to 204 of 270, from PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual
The original document is the PDF (6.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 20-COMM-C
Page 201
Chapter 8
Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE) This chapter provides information and examples that explain how to use the adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE). The adapter is typically installed in the internal communication slot on the PowerFlex 7-Class drive. However, an externally-mounted adapter may be desired when: • The PowerFlex drive is already connected to an existing network, such as Remote I/O, and a second network is desired for a DriveExplorer or DriveExecutive software tool, data collection, and so forth. • The PowerFlex drive is remotely located next to some I/O devices that also need to be networked. The DPI External Comms Kit has an option slot for general-purpose network I/O that a controller can use. Both the drive and I/O devices are handled as one node on the network to reduce the network node count.
Installing the Adapter
Topic
Page
Installing the Adapter
8-1
I/O Board Option (20-XCOMM-IO-OPT1)
8-2
Understanding the I/O Image (Drive + I/O Option)
8-2
Configuring the Adapter to Use the Optional I/O Data
8-3
Viewing Optional I/O Diagnostic Items
8-4
The adapter can be installed in a DPI External Comms Kit. Figure 8.1
Mounting and Connecting the Adapter
Comms Kit Enclosure Base
Comms Kit Enclosure Cover (with adapter mounted inside)
15.24 cm (6 in.) Internal Interface Cable (connects power supply board in enclosure base to adapter)
For more information, see the DPI External Communications Kit Installation Instructions, publication 20COMM-IN001. 20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 202
8-2
Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE)
I/O Board Option (20-XCOMM-IO-OPT1)
The I/O Board option, when installed in the DPI External Comms Kit, can be used with only a Series B adapter, firmware revision 3.xxx or later. The I/O Board provides six DC inputs and two Relay outputs for use by a controller on the network. Figure 8.2
1 2
I/O Connector Function Descriptions
3 4 5 6 7 8
9 10 11 12
IN1 IN2
O2 - NO O2 - COM O1 - NC O1 - COM OUT1 O1 - NO
IN3 IN4 IN5
OUT2
IN6 INPUT COM
For more information, see the I/O Board Option Installation Instructions, publication 20COMM-IN002.
Understanding the I/O Image The data for the optional I/O Board is sent over the I/O connection using Datalink D. When the optional I/O Board is installed in the DPI External (Drive + I/O Option) Comms Kit, Datalink D is dedicated only for this function and is not available for other uses. When the adapter detects the presence of the optional I/O Board, the I/O image is modified as shown in Figure 8.3. Figure 8.3
Example I/O Image - Datalink D Dedicated to I/O Board and All I/O Enabled
Controller
Scanner
Adapter Word and I/O
PowerFlex Drive
Output Image (Write)
0 1 2 3 4 5 6 7 8 9
Logic Command Reference Data In A1 Data In A2 Data In B1 Data In B2 Data In C1 Data In C2 Data In D1 Data In D2
ControlNet
Input Image (Read)
Message Handler (1)
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
DPI Logic Command Reference Datalink In A1 Datalink In A2 Datalink In B1 Datalink In B2 Datalink In C1 Datalink In C2 Datalink In D1 Datalink In D2
0 Pad Word (1) 1 Pad Word (1) 2 Logic Status 3 Feedback 4 Datalink Out A1 5 Datalink Out A2 6 Datalink Out B1 7 Datalink Out B2 8 Datalink Out C1 9 Datalink Out C2 10 Datalink Out D1 11 Datalink Out D2 Message Buffer
Opt. I/O Board (Outputs)
Opt. I/O Board (Inputs)
Logic Status Feedback Data Out A1 Data Out A2 Data Out B1 Data Out B2 Data Out C1 Data Out C2 Data Out D1 Data Out D2 Message Handler
Required by ControlLogix when using the Generic Profile. May or may not be required by other types of controllers.
Page 203
Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE)
8-3
The data from the I/O Board is loaded into the Datalink word starting with bit 0 of Datalink D1 and concluding with bit 14. Bit 15 of Datalink D1 is reserved as an input valid Status flag. When the input data is valid, bit 15 = 1. For example, for the 20-XCOMM-IO-OPT1, the digital inputs and digital outputs are mapped as shown in Figure 8.4 and Figure 8.5 respectively. Figure 8.4
I/O Board Option Digital Input Mapping Datalink Out D1 Word
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ✷ ✷ ✷ ✷ ✷ ✷ ✷ Status
Figure 8.5
IN6
...
IN1
I/O Board Option Digital Output Mapping Datalink In D1 Word
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ✷ ✷ OUT1 OUT2
Important: On power-up or reset, the outputs will be in a ‘non-activated’ state.
Configuring the Adapter to Use the Optional I/O Data
To configure the adapter to use the optional I/O Board, Parameters 13 [DPI I/O Cfg], 25 - [M-S Input], and 26 - [M-S Output] must be set. To send input/output data from the optional I/O board to the network, do the following: • Turn on bit 4 (1xxxx) in Parameter 25 - [M-S Input] • Turn on bit 4 (1xxxx) in Parameter 26 - [M-S Output] • Turn off bit 4 (0xxxx) in Parameter 13 - [DPI I/O Cfg] Setting the Datalink D bit 4 in the M-S Input and M-S Output parameters directs the communication adapter to send Datalink D back to the controller. Turning off bit 4 in the DPI I/O Cfg parameter directs the communication adapter to not send Datalink D data back to the drive. For more information on I/O Messaging and Configuring Datalinks, see Chapter 5, Using the I/O. If the I/O Board Fault Action Jumper (JMP1) is set to the Fault Configurable position, Parameter 23 - [Flt Cfg D1 In] is used to set the states of the outputs when the I/O Board takes its Fault Action. For details on setting the Fault Action jumper, see the I/O Board Option Installation Instructions, publication 20COMM-IN002.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 204
8-4
Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE)
Viewing Optional I/O Diagnostic Items
Viewing communication adapter diagnostic item 31 (OPT Status) shows the operating status of the optional I/O board. Bit
State
Status Indication
Description
0
1 (On)
OPT Present
I/O data is being exchanged with the adapter.
1
1 (On)
OPT Faulted
The I/O board is taking its fault action.
2
1 (On)
Hold Last
Fault Action is ‘Hold Last’.
3
1 (On)
Send Flt Cfg
Fault Action is ‘Fault Config’.
Viewing communication adapter diagnostic item 32 (OPT RX Errors) shows the number of I/O board receive errors. Viewing communication adapter diagnostic item 33 (OPT FW Version) shows the present firmware revision of the optional I/O board. Diagnostic item 13 (Datalink D1 In) will show the status of the outputs as a combined decimal value. For example, a ‘0’ decimal (‘00’ binary) indicates both outputs are off and a ‘3’ decimal (‘11’ binary) indicates both outputs are on. NOTE: A status bit is not used for outputs. Diagnostic item 21 (Datalink D1 Out) will show the status of the inputs as a combined decimal value, including the status bit 15. For example, Figure 8.6 shows inputs that are valid and all on, and Figure 8.7 shows inputs that are valid and all off (zero). Figure 8.6
Valid Inputs All On Datalink Out D1 Word
32831 decimal =
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 Status
Figure 8.7
IN6
...
IN1
Valid Inputs All Off Datalink Out D1 Word
32768 decimal =
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Status
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
IN6
...
IN1