Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 30 of 33

PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual: Appendix C, pages 238 to 246

Pages 238 to 246 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 238

C-28

ControlNet Objects

DPI Time Object

Class Code Hexadecimal Decimal 0x9B 155

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 number of timers in the device. Instance 1 is always reserved for a real-time clock although a device may not support it. The total number of timers can be read in Instance 0, Attribute 2.

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 (1)

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

Example Description 0 Class Attributes (Drive) 1 Real Time Clock (Predefined) (not always supported) 2 Timer 1 3 Timer 2 …

(Dec.) Device 0…16383 Host 16384…17407 Adapter

…

Instances (Hex.) 0x0000…0x3FFF 0x4000…0x43FF

These instances are supported only when the adapter is used with a PowerFlex 750-Series drive.

Class Attributes Attribute ID Access Rule 1 Get 2 Get

Name Class Revision Number of Instances

Data Type WORD WORD

3 4

Get Set

First Device Specific Timer Time Command Write

WORD BYTE

5

Get

WORD

6 7

Get Get/Set

Number of Supported Time Zones Time Zone List Active Time Zone ID

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

STRUCT WORD

Description Revision of object Number of timers in the object, excluding the real-time clock that is predefined. Instance of the first timer that is not predefined. 0 = No Operation 1 = Clear all timers (Does not clear the real-time clock or read only timers) Number of time zones described in the Time Zone List attribute. Identifies a time zone. The ID field of the Time Zone List structure for the desired time zone.

Page 239

ControlNet Objects

Attribute ID Access Rule 8 Get

9

Get/Set

Name Active Time Zone Data

Custom Time Zone Data

Data Type STRUCT of: INT BYTE BYTE BYTE BYTE BYTE BYTE INT BYTE BYTE BYTE BYTE BYTE BYTE STRUCT of: INT BYTE BYTE BYTE BYTE BYTE BYTE INT BYTE BYTE BYTE BYTE BYTE BYTE

C-29

Description Standard bias Standard month Standard day of week Standard week Standard hour Standard minute Standard second Daylight offset Daylight month Daylight day of week Daylight week Daylight hour Daylight minute Daylight second Standard bias Standard month Standard day of week Standard week Standard hour Standard minute Standard second Daylight offset Daylight month Daylight day of week Daylight week Daylight hour Daylight minute Daylight second

Instance Attributes Attribute ID Access Rule 0 Get

Name Read Full

1 2

Get Get/Set

Timer Text Timer Value

3

Get

Timer Descriptor

4

Get

International Read Full

Data Type STRUCT of: STRING[16] LWORD -orSTRUCT BOOL[16] STRING[16] LWORD -orSTRUCT of: WORD BYTE BYTE BYTE BYTE BYTE BYTE BOOL[16]

5 6 8 9

Get Get Get/Set Get

International Timer Text Clock Status Number of Leap Seconds Clock Options

STRUCT of: STRINGN STRUCT BOOL[16] STRINGN BOOL[32] INT BOOL[32]

10

Get/Set

Clock Options Enable

BOOL[32]

Description Name of the timer Elapsed time in milliseconds unless timer is a real-time clock (see attribute 2) See Attribute 3 Name of the timer Elapsed time in milliseconds unless the timer is a real-time clock. Real-Time Clock Data: Milliseconds (0…999) Seconds (0…59) Minutes (0…59) Hours (0…23) Days (1…31) Months (1 = January, 12 = December) Years (since 1972) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2…15]: Not used International timer text Timer value Timer descriptor Name of this timer Identifies clock status Identifies the current number of Leap Seconds. Identifies the optional functionality available in the device’s System Clock. Identifies which of the clock’s options are enabled.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 240

C-30

ControlNet Objects

Host DPI Parameter Object

Class Code Hexadecimal 0x9F

Decimal 159

To access ‘Device’ parameters, use the DPI Parameter Object (Class Code 0x93). Important: The Host DPI Parameter Object is supported only when the adapter is used with a PowerFlex 750-Series drive.

Instances The number of instances depends on the number of parameters in the device. The total number of parameters can be read in Instance 0, Attribute 0. Description Class Attributes (Adapter) Adapter Parameter 1 Attributes Adapter Parameter 2 Attributes …

Example 16384 16385 16386 17408 17409 17410

Class Attributes (HIM) HIM Parameter 1 Attributes HIM Parameter 2 Attributes …

Device Reserved 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 0x6000…0x63FF 0x6400…0x67FF 0x6800…0x6BFF 0x6C00…0x6FFF 0x7000…0x73FF 0x7400…0x77FF 0x7800…0x7BFF

Class Attributes Attribute ID 0 1

Access Rule Name Get Number of Instances Set Write Protect Password

Data Type WORD WORD

2

Set

NVS Command Write

BYTE

3 4 5

Get Get Get

NVS Parameter Value Checksum NVS Link Value Checksum First Accessible Parameter

WORD WORD WORD

7 8

Get Get

Class Revision First Parameter Processing Error

WORD WORD

9

Set

Link Command

BYTE

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Description Number of parameters in the device 0 = Password disabled n = Password 0 = No Operation 1 = Store values in active memory to NVS 2 = Load values in NVS to active memory 3 = Load default values to active memory Checksum of all parameter values in a user set in NVS Checksum of parameter links in a user set in NVS First parameter available if parameters are protected by passwords. A ‘0’ indicates all parameters are protected. 2 = DPI The first parameter that has been written with a value outside of its range. A ‘0’ indicates no errors. 0 = No Operation 1 = Clear All Parameter Links (This does not clear links to function blocks.)

Page 241

ControlNet Objects

C-31

Instance Attributes Attribute ID 6

Access Rule Name Get DPI Offline Read Full

7

Get

DPI Online Read Full

8 9 10

Get Get/Set Get/Set

DPI Descriptor DPI Parameter Value DPI RAM Parameter Value

11

Get/Set

DPI Link

12 13

Get Get

Help Object Instance DPI Read Basic

14 15 16

Get Get Get

DPI Parameter Name DPI Parameter Alias Parameter Processing Error

Data Type Description STRUCT of: Descriptor BOOL[32] CONTAINER Offline Minimum value CONTAINER Offline Maximum value CONTAINER Offline Default value Parameter name STRING[16] Offline parameter units STRING[4] Online minimum parameter instance WORD Online maximum parameter instance WORD Online default parameter instance WORD Multiplier parameter instance WORD Divisor parameter instance WORD Base parameter instance WORD Offset parameter instance WORD Formula number BYTE Pad byte (always zero) BYTE Help instance WORD Pad word (always a value of zero) WORD CONTAINER Parameter value Multiplier WORD Divisor WORD Base WORD Offset INT STRUCT of: BOOL[32] Descriptor (see page C-33) CONTAINER(1) Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value Next parameter WORD Previous parameter WORD Units (for example, Amps, Hz) STRING[4] Multiplier (2) WORD WORD Divisor (2) WORD Base (2) INT Offset (2) BYTE[3] Link (source of the value) (0 = no link) BYTE Always zero (0) STRING[16] Parameter name BOOL[32] Descriptor (see page C-33) Various Parameter value in NVS. (3) Various Parameter value in temporary memory. Valid only for DPI drives. BYTE[3] Link (parameter or function block that is the source of the value) (0 = no link) WORD ID for help text for this parameter STRUCT of: Descriptor (see page C-33) BOOL[32] CONTAINER Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value STRING[16] Parameter name STRING[4] Units (for example, Amps, Hz) STRING[16] Parameter name STRING[16] Customer supplied parameter name. BYTE 0 = No error 1 = Value is less than the minimum 2 = Value is greater than the maximum

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 242

C-32

ControlNet Objects

Attribute ID 18

19

20

21 22

Access Rule Name Get International DPI Offline Parameter Text

Get

Get

Get Get

International DPI Online Parameter Text

International DPI Online Read Full

DPI Extended Descriptor International DPI Offline Read Full

Data Type Struct of: STRINGN STRINGN Struct of: STRINGN STRINGN Struct of: BOOL[32] CONTAINER CONTAINER CONTAINER CONTAINER WORD WORD WORD WORD WORD INT BYTE[3] BYTE BOOL[32] STRINGN STRINGN UDINT Struct of: BOOL CONTAINER CONTAINER CONTAINER WORD WORD WORD WORD WORD WORD WORD BYTE BYTE WORD WORD CONTAINER WORD WORD WORD INT BOOL[32] STRINGN STRINGN

Description International parameter name International offline units International parameter name International online units Descriptor Parameter value Online minimum value Online maximum value Online default value Next Previous Multiplier Divisor Base Offset Link Pad word (always zero) Extended descriptor International parameter name International online parameter units Extended Descriptor (see page C-34) Descriptor Offline minimum value Offline maximum value Offline default value Online minimum parameter instance Online maximum parameter instance Online default parameter instance Multiplier parameter instance Divisor parameter instance Base parameter instance Offset parameter instance Formula number Pad word (always zero) Help instance Pad word (always a value of zero) Parameter value Multiplier Divisor Base Offset Extended DPI descriptor International DPI parameter name International DPI offline parameter units

(1) A CONTAINER is a 32-bit block of data that contains the data type used by a parameter value. If signed, the value is sign extended. Padding is used in the

CONTAINER to ensure that it is always 32-bits. This value is used in the formulas used to convert the parameter value between display units and internal units. See Formulas for Converting on page C-35. (3) Do not continually write parameter data to NVS. See the attention on page 6-1. (2)

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 243

ControlNet Objects

C-33

Descriptor Attributes Bit 0 1 2

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

19 20 21 22 23 24 25 26 27 28 29 30 31

Name Data Type (Bit 1) Data Type (Bit 2) Data Type (Bit 3)

Description Right bit is least significant bit (0). 000 = USINT used as an array of Boolean 001 = UINT used as an array of Boolean 010 = USINT (8-bit integer) 011 = UINT (16-bit integer) 100 = UDINT (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 Sign Type 0 = unsigned 1 = signed Hidden 0 = visible 1 = hidden Not a Link Sink 0 = May be the sink end of a link 1 = May not be the sink end of a link Not Recallable 0 = Recallable from NVS 1 = Not Recallable from NVS ENUM 0 = No ENUM text 1 = ENUM text Writable 0 = Read only 1 = Read/write Not Writable When Enabled 0 = Writable when enabled (for example, drive running) 1 = Not writable when enabled Instance 0 = Parameter value is not a Reference to another parameter 1 = Parameter value refers to another parameter Uses Bit ENUM Mask This parameter instance supports the Bit ENUM Mask attribute. For more information, see the definition of the attribute. Decimal Place (Bit 0) Number of digits to the right of the decimal point. 0000 = 0 Decimal Place (Bit 1) 1111 = 15 Decimal Place (Bit 2) Decimal Place (Bit 3) Extended Data Type (Bit 4) Bit 16 is the least significant bit. Extended Data Type (Bit 5) 000 = Reserved Extended Data Type (Bit 6) 001 = UDINT used as an array of Boolean 010 = Reserved 011 = Reserved 100 = Reserved 101 = Reserved 110 = Reserved 111 = Reserved Parameter Exists Used to mark parameters that are not available to network tools. Not Used Reserved Formula Links Indicates the Formula Data is derived from other parameters. Access Level (Bit 1) A 3-bit field used to control access to parameter data. Access Level (Bit 2) Access Level (Bit 3) Writable ENUM ENUM text: 0 = Read Only, 1 = Read/Write Not a Link Source 0 = May be the source end of a link 1 = May not be the source end of a link Enhanced Bit ENUM Parameter supports enhanced bit ENUMs. Enhanced ENUM Parameter supports enhanced ENUMs. Uses DPI Limits Object Parameter uses the DPI Limits Object. Intelligent offline tools make use of the Limits Object to select limits and units. Extended Descriptor Parameter uses Extended Descriptor bits, which can be obtained by reading the DPI Extended Descriptor attribute for this parameter. Always Upload/Download Parameter shall always be included in uploads and downloads.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 244

C-34

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. This bit must be zero unless the parameter is an Extended Parameter Reference. If the Writable Referenced 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 245

ControlNet Objects

Bit 27

Name Command Parameter

28

Current Value Is Default

29

Use Zero Text

30-31 Reserved

C-35

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 0x0E 0x10

Implemented for: Class Instance Yes Yes Yes Yes

Service Name Get_Attribute_Single Set_Attribute_Single

Object Specific Services Service Code 0x4D 0x4E

Implemented for: Class Instance Yes No Yes No

Service Name Get_Attributes_Scattered Set_Attributes_Scattered

Allocation Size (in bytes) Par. Number Par. Value 4 4 4 4

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 246

C-36

ControlNet Objects

Notes:

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P