The text of a manual · part 29 of 33
PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual: Appendix C, pages 229 to 237
Pages 229 to 237 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 229
ControlNet Objects
C-19
Descriptor Attributes Bit 0 1 2
Name Data Type (Bit 1) Data Type (Bit 2) Data Type (Bit 3)
3
Sign Type
4
Hidden
5
Not a Link Sink
6
Not Recallable
7
ENUM
8
Writable
9
Not Writable When Enabled
10
Instance
11
Uses Bit ENUM Mask
12 13 14 15 16 17 18
Decimal Place (Bit 0) Decimal Place (Bit 1) Decimal Place (Bit 2) Decimal Place (Bit 3) Extended Data Type (Bit 1) Extended Data Type (Bit 2) Extended Data Type (Bit 3)
19 20 21 22 23 24 25 26
Parameter Exists Not Used Formula Links Access Level (Bit 1) Access Level (Bit 2) Access Level (Bit 3) Writable ENUM Not a Link Source
27 28 29 30
Enhanced Bit ENUM Enhanced ENUM Uses DPI Limits Object Extended Descriptor
31
Always Upload/Download
Description Right bit is least significant bit (0). 000 = BYTE used as an array of Boolean 001 = WORD used as an array of Boolean 010 = BYTE (8-bit integer) 011 = WORD (16-bit integer) 100 = DWORD (32-bit integer) 101 = TCHAR (8-bit (not unicode) or 16-bits (unicode) 110 = REAL (32-bit floating point value) 111 = Use bits 16, 17, 18 0 = Unsigned 1 = Signed 0 = Visible 1 = Hidden 0 = Parameter can sink a link 1 = Parameter cannot sink a link 0 = Recallable from NVS 1 = Not Recallable from NVS 0 = No ENUM text 1 = ENUM text 0 = Read only 1 = Read/write 0 = Writable when enabled (for example, drive running) 1 = Not writable when enabled 0 = Parameter value is not a Reference to another parameter 1 = Parameter value refers to another parameter This parameter instance supports the Bit ENUM Mask attribute. For more information, see the definition of the attribute. Number of digits to the right of the decimal point. 0000 = 0 1111 = 15 Right bit is least significant bit (16). 000 = Reserved 001 = DWORD used as an array of Boolean 010 = Reserved 011 = Reserved 100 = Reserved 101 = Reserved 110 = Reserved 111 = Reserved Used to mark parameters that are not available to network tools. Reserved Indicates the Formula Data is derived from other parameters. A 3-bit field used to control access to parameter data.
ENUM text: 0 = Read Only, 1 = Read/Write 0 = Parameter can be a source for a link 1 = Parameter cannot be a source for a link Parameter supports enhanced bit ENUMs. Parameter supports enhanced ENUMs. Parameter uses the DPI LImits Object. Parameter uses Extended Descriptor bits, which can be obtained by reading the DPI Extended Descriptor attribute for this parameter. Parameter shall always be included in uploads and downloads.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 230
C-20
ControlNet Objects
Extended Descriptor Attributes Bit 0
Name Indirect Mode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Indirect Type 0 Indirect Type 1 Indirect Type 2 Indirect Type 3 Indirect Type 4 Indirect Type 5 Indirect Type 6 Indirect Type 7 Indirect Type 8 Indirect Type 9 Indirect Type 10 Indirect Type 11 Indirect Type 12 Indirect Type 13 Indirect Type 14 FP Max Decimals Bit 0 FP Max Decimals Bit 1 FP Max Decimals Bit 2 FP Max Decimals Bit 1 Extended Parameter Reference
21
22
23
24 25 26
Description 0 = Analog (selects entire parameters) 1 = Digital (selects individual bits within parameters) Analog input list (Instance 0xFFFF) Digital input list (Instance 0xFFFE) Feedback list (Instance 0xFFFD) Analog output list (Instance 0xFFFC) Digital output list (Instance 0xFFFB) Undefined (Instance 0xFFFA) Undefined (Instance 0xFFF9) Undefined (Instance 0xFFF8) Undefined (Instance 0xFFF7) Undefined (Instance 0xFFF6) Undefined (Instance 0xFFF5) Undefined (Instance 0xFFF4) Undefined (Instance 0xFFF3) Undefined (Instance 0xFFF2) Parameter-specific list These four bits are used on REAL parameters only. They indicate the maximum number of decimal places to be displayed for small values. A value of 0 indicates to not limit the number of decimal places used.
0 = Not an Extended Parameter Reference 1 = Extended Parameter Reference An Extended Parameter Reference contains a reference to another parameter. The value is formatted the same as an analog mode Indirect Selector parameter (SSpppp, where SS = slot number of device to which this Extended Parameter Reference is pointing, and pppp = number of the parameter or diagnostic item to which this Extended Parameter Reference is pointing). Note that an Extended Parameter Reference can only select parameters unlike an Indirect Selector. An Extended Parameter Reference could be used to configure a Datalink or show the source of a Reference (among other uses). Uses Rating Table Object This parameter has rating-dependent defaults and limits that can be obtained from the Rating Table Object. The Offline Read Full will include the default value for the smallest rating and limits that will accommodate the full range of values allowed in the family of devices using this particular combination of Family Code and Config Code. The Online Read Full will include the rating-dependent default and limit values for this particular combination of Family Code, Config Code, and Rating Code. Writable Referenced This bit must be zero unless the parameter is an Extended Parameter Reference. If the Parameter parameter is an Extended Parameter Reference, then: 0 = The referenced parameter may be read-only or writable. 1 = The referenced parameter must always be writable (including while running). Disallow Zero This bit must be zero unless the parameter is an Indirect Selector or Extended Parameter Reference. If the parameter is an Indirect Selector or Extended Parameter Reference, then: 0 = Allow zero 1 = Disallow zero If this bit is cleared (indicating that a value of zero is allowed), the device must support the ‘Zero Text’ parameter attribute so that a software tool or HIM can obtain text from the Zero Text parameter attribute. If this bit is set (indicating that a value of zero is disallowed), a software tool or HIM will not allow the user to enter a value of zero. Datalink Out This bit is used by offline tools and indicates that this is a Datalink Out parameter. Bit 20 must also be set. Datalink In This bit is used by offline tools and indicates that this is a Datalink In parameter. Bits 20 and 22 must also be set. Not Writable While IO Active This parameter cannot be written if the I/O data being exchanged between the Host and the peripheral is valid.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 231
ControlNet Objects
Bit 27
Name Command Parameter
28
Current Value Is Default
29
Use Zero Text
30-31 Reserved
C-21
Description This parameter commands the drive to take an action, such as ‘Reset Defaults’ or ‘Autotune’, and then returns to a value of zero. Offline software tools will not allow setting this parameter to anything other than a value of zero. If an offline file contains a Command Parameter with a non-zero value, the offline software tool will change the value to zero. Note that command parameters cannot have values that do not return to zero. This bit identifies a parameter that will not change if a ‘Reset Defaults’ is commanded. For example, if a drive contains a Language parameter that is set to German, setting defaults will leave the parameter set to German. Likewise, if the parameter is set to French, setting defaults will leave the parameter set to French. If the ‘Disallow Zero’ bit is set, this bit must be cleared. If the ‘Disallow Zero’ bit is cleared, then: 0 = Use Disabled Text parameter class attribute. 1 = Use Zero Text parameter instance attribute. Reserved
Formulas for Converting Display Value = ((Internal Value + Offset) x Multiplier x Base) / (Divisor x 10 Decimal Places) Internal Value = ((Display Value x Divisor x 10 Decimal Places) / (Multiplier x Base)) - Offset
Common Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes
Service Name Get_Attribute_Single Set_Attribute_Single
Object-Specific Services Service Code Implemented for: Class Instance 0x4B Yes No 0x4C Yes No 0x4D (1) Yes No 0x4E (1) Yes No
Service Name Get_Attributes_Scattered Set_Attributes_Scattered Get_Attributes_Scattered Set_Attributes_Scattered
Allocation Size (in bytes) Par. Number Par. Value 2 2 2 2 4 4 4 4
(1) These services are supported only when the adapter is used with a PowerFlex 750-Series drive.
The table below lists the parameters for the Get_Attributes_Scattered and Set_Attributes_Scattered object-specific service. Name Parameter Number Parameter Value
Data Type UDINT UDINT
Description Parameter to read or write Parameter value to read or write (zero when reading)
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 232
C-22
ControlNet Objects
DPI Fault Object
Class Code Hexadecimal Decimal 0x97 151
Products such as PowerFlex drives use this object for faults. Adapters use this object for events.
Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes
Service Name Get_Attribute_Single Set_Attribute_Single
Instances The number of instances depends on the maximum number of faults or events supported in the queue. The maximum number of faults/events can be read in Instance 0, Attribute 2.
(1)
…
16384 16385
Class Attributes (Adapter) Most Recent Adapter Event …
Example Description 0 Class Attributes (Drive) 1 Most Recent Drive Fault 2 Second Most Recent Drive Fault …
Device Host Adapter DPI Port 1 DPI Port 2 DPI Port 3 DPI Port 4 DPI Port 5 DPI Port 6 DPI Port 7 DPI Port 8 DPI Port 9 DPI Port 10 DPI Port 11 DPI Port 12 DPI Port 13 DPI Port 14
…
Instances (Hex.) (Dec.) 0x0000…0x3FFF 0…16383 0x4000…0x43FF 16384…17407 0x4400…0x47FF 17408…18431 0x4800…0x4BFF 18432…19455 0x4C00…0x4FFF 19456…20479 0x5000…0x53FF 20480…21503 0x5400…0x57FF 21504…22527 0x5800…0x5BFF 22528…23551 0x5C00…0x5FFF (1) 23552…24575 0x6000…0x63FF (1) 24576…25599 0x6400…0x67FF (1) 25600…26623 0x6800…0x6BFF (1) 26624…27647 0x6C00…0x6FFF (1) 27648…28671 0x7000…0x73FF (1) 28672…29695 0x7400…0x77FF (1) 29696…30719 0x7800…0x7BFF (1) 30720…31743
These instances are supported only when the adapter is used with a PowerFlex 750-Series drive.
Class Attributes Attribute ID 1 2
Access Rule Get Get
Name Class Revision Number of Instances
Data Type WORD WORD
3
Set
Fault Command Write
BYTE
4
Get
Fault Trip Instance Read
WORD
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Description Revision of object Maximum number of faults/events that the device can record in its queue 0 = No Operation 1 = Clear Fault/Event 2 = Clear Fault/Event Queue 3 = Reset Device Fault that tripped the device. For adapters, this value is always 1 when faulted.
Page 233
ControlNet Objects
Attribute ID 5
Access Rule Get
Name Fault Data List
6
Get
Number of Recorded Faults
Data Type STRUCT of: BYTE BYTE WORD[n] WORD
7
Get
Fault Parameter Reference
WORD
C-23
Description Number of faults/events in the queue. A ‘0’ indicates the fault queue is empty.
Number of faults/events in the queue. A ‘0’ indicates the fault queue is empty. Number of faults/events in the queue. A ‘0’ indicates the fault queue is empty.
Instance Attributes Attribute ID 0
1
2
Access Rule Get
Get
Get
Name Full/All Information
Basic Information
International Fault Text
Data Type STRUCT of WORD STRUCT of: BYTE BYTE STRING[16] STRUCT of: LWORD BOOL[16] WORD CONTAINER[n] STRUCT of: WORD STRUCT of: BYTE BYTE STRUCT of: LWORD BOOL[16]
STRINGN
Description Fault code Fault source DPI port DPI Device Object Fault text Fault time stamp Timer value (0 = timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2…15]: Not used Reserved Reserved Fault code Fault source DPI port DPI Device Object Fault time stamp Timer value (0 = timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2…15]: Not used Text describing the fault with support for Unicode.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 234
C-24
ControlNet Objects
DPI Alarm Object
Class Code Hexadecimal Decimal 0x98 152
Products such as PowerFlex drives use this object for alarms or warnings. Adapters do not support this object.
Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes No
Service Name Get_Attribute_Single Set_Attribute_Single
Instances
Example 0 1 2
Description Class Attributes (Drive) Most Recent Alarm Second Most Recent Alarm …
Instances (Hex.) (Dec.) Device 0x0000…0x3FFF 0…16383 Host Only host devices can have alarms.
…
The number of instances depends on the maximum number of alarms supported by the queue. The maximum number of alarms can be read in Instance 0, Attribute 2.
Class Attributes Attribute ID 1 2
Access Rule Get Get
Name Class Revision Number of Instances
Data Type WORD WORD
3
Set
Alarm Command Write
BYTE
4
Get
Fault Data List
5
Get
Number of Recorded Alarms
STRUCT of: BYTE BYTE WORD[n] WORD
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Description Revision of object Maximum number of alarms that the device can record in its queue 0 = No Operation 1 = Clear Alarm 2 = Clear Alarm Queue 3 = Reset Device Reserved
Number of alarms in the queue. A ‘0’ indicates the alarm queue is empty.
Page 235
ControlNet Objects
C-25
Instance Attributes Attribute ID 0
1
2
Access Rule Get
Get
Get
Name Full/All Information
Basic Information
International Alarm Text
Data Type STRUCT of WORD STRUCT of: BYTE BYTE STRING[16] STRUCT of: LWORD BOOL[16] WORD CONTAINER[n] STRUCT of WORD STRUCT of: BYTE BYTE STRUCT of: LWORD BOOL[16]
STRINGN
Description Alarm code Alarm source DPI port DPI Device Object Alarm text Alarm time stamp Timer value (0 = timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2…15] Reserved Reserved Reserved Alarm code Alarm source DPI port DPI Device Object Alarm time stamp Timer value (0 = timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2…15] Reserved Text describing the alarm with support for Unicode.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 236
C-26
ControlNet Objects
DPI Diagnostic Object
Class Code Hexadecimal Decimal 0x99 153
Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes
Service Name Get_Attribute_Single Set_Attribute_Single
Instances The number of instances depends on the maximum number of diagnostic items in the device. The total number of diagnostic items can be read in Instance 0, Attribute 2.
(1)
Description Class Attributes (Drive) Drive Diagnostic Item 1 Drive Diagnostic Item 2 …
Example 0 1 2 16384 16385
Class Attributes (Adapter) Adapter Diagnostic Item1 …
Device Host Adapter DPI Port 1 DPI Port 2 DPI Port 3 DPI Port 4 DPI Port 5 DPI Port 6 DPI Port 7 DPI Port 8 DPI Port 9 DPI Port 10 DPI Port 11 DPI Port 12 DPI Port 13 DPI Port 14
…
(Dec.) 0…16383 16384…17407 17408…18431 18432…19455 19456…20479 20480…21503 21504…22527 22528…23551 23552…24575 24576…25599 25600…26623 26624…27647 27648…28671 28672…29695 29696…30719 30720…31743
…
Instances (Hex.) 0x0000…0x3FFF 0x4000…0x43FF 0x4400…0x47FF 0x4800…0x4BFF 0x4C00…0x4FFF 0x5000…0x53FF 0x5400…0x57FF 0x5800…0x5BFF 0x5C00…0x5FFF (1) 0x6000…0x63FF (1) 0x6400…0x67FF (1) 0x6800…0x6BFF (1) 0x6C00…0x6FFF (1) 0x7000…0x73FF (1) 0x7400…0x77FF (1) 0x7800…0x7BFF (1)
These instances are supported only when the adapter is used with a PowerFlex 750-Series drive.
Class Attributes Attribute ID 1 2 3
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Access Rule Get Get Get
Name Class Revision Number of Instances ENUM Offset
Data Type WORD WORD WORD
Description 1 Number of diagnostic items in the device DPI ENUM object instance offset
Page 237
ControlNet Objects
C-27
Instance Attributes Attribute ID Access Rule Name 0 Get Full/All Information
1 2
3
Get/Set Get
Get
Value International Diagnostic Item Text
International Full Read All
Data Type STRUCT of: BOOL[32] CONTAINER (1) CONTAINER CONTAINER CONTAINER WORD WORD STRING[4] UINT UINT UINT INT DWORD STRING[16] Various STRUCT of: STRINGN STRINGN STRUCT of: BOOL[32] CONTAINER CONTAINER CONTAINER CONTAINER WORD WORD WORD WORD WORD INT DWORD BOOL[32] STRINGN STRINGN
Description Descriptor (see page C-19) Value Minimum value Maximum value Default value Pad Word Pad Word Units (for example, Amp, Hz) Multiplier (2) Divisor (2) Base (2) Offset (2) Link (source of the value) (0 = no link) Always zero (0) Parameter name Diagnostic item value Diagnostic name text Diagnostic units text Descriptor Value Minimum Maximum Default Pad Word Pad Word Multiplier Divisor Base Offset Pad Extended descriptor Diagnostic name text Diagnostic units text
(1)
A CONTAINER is a 32-bit block of data that contains the data type used by a value. If signed, the value is sign extended. Padding is used in the CONTAINER to ensure that it is always 32-bits. (2) This value is used in the formulas used to convert the value between display units and internal units. See Formulas for Converting on page C-21.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P