The text of a manual · part 23 of 33
PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual: Chapter 6, pages 189 to 192
Pages 189 to 192 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 189
Using Explicit Messaging
6-61
SLC 500 Controller Example Scattered Write Request Data In this message example, we use the data table addresses in Figure 6.77 or Figure 6.80 to store the request values to be written to these drive parameters. PowerFlex 7-Class Drive Parameter
Address
Write Value
PowerFlex 750-Series Drive Parameter
Write Value
Data Type
141 - [Accel Time 2]
N90:1
11.1 Sec.
536 - [Accel Time 2]
11.1 Sec.
REAL
143 - [Decel Time 2]
N90:4
22.2 Sec.
538 - [Decel Time 2]
22.2 Sec.
REAL
105 - [Preset Speed 5]
N90:7
33.3 Hz.
725 - [Zero Position]
33
32-bit integer
106 - [Preset Speed 6]
N90:10
44.4 Hz.
21555 - [Port 5: Analog In0 Hi]
5.5
REAL
107 - [Preset Speed 7]
N90:13
55.5 Hz.
780 - [PTP Setpoint]
-75,555
32-bit integer
See DPI Parameter Object on page C-16 (Class code 0x93) or Host DPI Parameter Object on page C-30 (Class code 0x9F) for parameter numbering. Figure 6.77 or Figure 6.80 shows the parameter values. Figure 6.77 Example Scattered Write Request Data File for PowerFlex 7-Class Drive
SLC 500 Controller Example Scattered Write Response Data In this message example, we use the data table addresses in Figure 6.78 to store the response values that were written to the requested drive parameters. Values of ‘0’ indicate no errors occurred. Figure 6.78 Example Scattered Write Response Data File for PowerFlex 7-Class Drive
The PowerFlex 750-Series drive uses 32-bit integer and REAL parameters. A COP command must be used to copy the 16-bit integer or REAL values to the N90 integer array. Figure 6.79 shows the ladder logic used for this example. If the parameter data type is a 32-bit integer, the data remains split into two 16-bit integers since there are no 32-bit integers in the SLC 500 20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 190
6-62
Using Explicit Messaging controller. If the parameter data type is a REAL, the floating point value in the SLC 500 controller is copied (COP) to two 16-bit integers. Then the MSW (most significant word) and LSW (least significant word) must be swapped before moving (MOV) the values to the array to be written to. See the drive documentation to determine the parameter data type (32-bit integer or REAL). Figure 6.79 Example Ladder Logic to Copy Request Data for PowerFlex 750-Series Drive
Parameter 780 [PTP Setpoint]
PowerFlex 750-Series Drives
Parameter 536 [Accel Time 2]
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 191
Using Explicit Messaging
6-63
Figure 6.80 Example Scattered Write Request Data File for PowerFlex 750-Series Drive
The results of the explicit message appear in the destination tag array N80 (Figure 6.81). Values of ‘0’ indicate no errors occurred. Figure 6.81 Example Scattered Write Response Data File for PowerFlex 750-Series Drive
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 192
6-64
Using Explicit Messaging
Notes:
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P