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

The text of a manual · part 27 of 33

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

Pages 211 to 219 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 211

Appendix C

ControlNet Objects

This appendix presents information about the ControlNet objects that can be accessed using Explicit Messages. For information on the format of Explicit Messages and example ladder logic programs, see Chapter 6, Using Explicit Messaging. Object

Class Code

Page

Hex.

Dec.

Identity Object

0x01

1

C-2

Assembly Object

0x04

4

Register Object

0x07

7

Parameter Object (1)

0x0F

Parameter Group Object (1)

0x10

Object

Class Code

Page

Hex.

Dec.

DPI Parameter Object

0x93

147

C-16

C-3

DPI Fault Object

0x97

151

C-22

C-4

DPI Alarm Object

0x98

152

C-24

15

C-5

DPI Diagnostic Object

0x99

153

C-26

16

C-7

DPI Time Object

0x9B

155

C-28

Host DPI Parameter Object (2)

0x9F

159

C-30

PCCC Object

0x67

103

C-8

DPI Device Object

0x92

146

C-13

(1) These objects are not supported when the adapter is used with a PowerFlex 750-Series drive. (2)

This object is supported only when the adapter is used with a PowerFlex 750-Series drive.

TIP: See the ControlNet specification for more information about ControlNet objects. Information about the ControlNet specification is available on the ODVA website (http://www.odva.org).

Supported Data Types Data Type BOOL BOOL[n] BYTE CONTAINER DINT DWORD INT LWORD REAL SHORT_STRING SINT STRING[n] STRUCT TCHAR UDINT UINT USINT WORD

Description 8-bit value -- low bit is true or false Array of n bits 8-bit unsigned integer 32-bit parameter value - sign extended if necessary 32-bit signed integer 32-bit unsigned integer 16-bit signed integer 64-bit unsigned integer 32-bit floating point 1-byte length indicator + that many characters 8-bit signed integer Array of n characters Structure name only - no size in addition to elements 8 or 16-bit character 32-bit unsigned integer 16-bit unsigned integer 8-bit unsigned integer 16-bit unsigned integer

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

Page 212

C-2

ControlNet Objects

Identity Object

Class Code Hexadecimal Decimal 0x01 1

Services Service Code 0x01 0x05 0x0E

Implemented for: Class Instance Yes Yes Yes Yes Yes Yes

Service Name Get_Attributes_All Reset Get_Attribute_Single

Instances The number of instances depends on the number of components in the device connected to the adapter. This number of components can be read in Instance 0, Attribute 2. Instance 0 1 2…15

Description Class Host Peripherals on Ports 1…14

Class Attributes Attribute ID 2

Access Rule Name Get Max Instance

Data Type WORD

Description Total number of instances

Instance Attributes Attribute ID Access Rule Name 1 Get Vendor ID 2 Get Device Type

Data Type WORD WORD

3 4

WORD STRUCT of: BYTE BYTE WORD

DWORD SHORT_STRING

5

Get

Product Code Revision: Major Minor Status

6 7

Get Get

Serial Number Product Name

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

Get Get

Description 1 = Allen-Bradley 120 (20-COMM-C) 129 (20-COMM-Q) Number identifying product name and rating Value varies Value varies Bit 0 = Owned Bit 2 = Configured Bit 10 = Recoverable fault Bit 11 = Unrecoverable fault Unique 32-bit number Product name and rating

Page 213

ControlNet Objects

Assembly Object

C-3

Class Code Hexadecimal Decimal 0x04 4

Services Implemented for: Service Code Class Instance 0x0E Yes Yes 0x10 Yes Yes

Service Name Get_Attribute_Single Set_Attribute_Single

Instances Instance 1 2

Description All I/O data being read from the DPI device (read-only) All I/O data being written to the DPI device (read/write)

Class Attributes Attribute ID 1 2 100

Access Rule Get Get Set

Name Revision Max Instance Control Timeout

Data Type WORD WORD WORD

Description 2 2 Control timeout in seconds

Instance Attributes Attribute ID 1 2

Access Rule Name Get Number of Members Get Member List

3 4

Conditional (1) Data Get Size

Data Type Description WORD 1 ARRAY of STRUCT: Size of member data WORD Size of member path WORD Member path Packed EPATH Array of Bits Data to be transferred WORD Size of assembly data in bits

(1) For instance 1, access rule for the data attribute is Get. For instance 2, access rule is Get/Set.

Important: Setting an assembly object attribute can be done only when the Control Timeout (class attribute 100) has been set to a non-zero value.

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

Page 214

C-4

ControlNet Objects

Register Object

Class Code Hexadecimal Decimal 0x07 7

Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes

Service Name Get_Attribute_Single Set_Attribute_Single

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

Description All I/O data being read from the DPI device (read-only) All I/O data written to the DPI device (read/write) Logic Status and Feedback data (read-only) Logic Command and Reference data (read/write) Datalink A (input data from device to scanner) (read only) Datalink A (output data from scanner to device) (read/write) Datalink B (input data from device to scanner) (read only) Datalink B (output data from scanner to device) (read/write) Datalink C (input data from device to scanner) (read only) Datalink C (output data from scanner to device) (read/write) Datalink D (input data from device to scanner) (read only) Datalink D (output data from scanner to device) (read/write) Logic Status and Feedback Data (read-only) Mask (1) (read/write) Logic Status (read-only) Logic Command (read/write) Feedback (read-only) Reference (read/write)

(1) The mask command word is set to the value of the first word of the data where there are ones in the second word of the data. Command = (word 1 and not word 2) or (word 1 and word 2). This only controls specified bits in the Logic Command data to the DPI product and does not change the Reference value.

Class Attributes Attribute ID 100

Access Rule Name Set Control Timeout

Data Type Description WORD Control timeout in seconds

Instance Attributes Attribute ID Access Rule Name 1 Get Bad Flag

Data Type BOOL

2

Get

BOOL

3 4

Get Size Conditional (1) Data

(1)

Direction

WORD ARRAY of BITS

Description If set to 1, then attribute 4 may contain invalid data. 0 = good 1 = bad Direction of data transfer 0 = Producer Register (drive to network) 1 = Consumer Register (network to drive) Size of register data in bits Data to be transferred

For this attribute, the Access Rule is Get if Direction = 0. The Access Rule is Set if Direction = 1.

Important: Setting a Register object attribute can only be done when the Control Timeout (class attribute 100) has been set to a non-zero value.

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

Page 215

ControlNet Objects

Parameter Object

C-5

Class Code Hexadecimal Decimal 0x0F 15

Important: This object is not supported when the adapter is used with a PowerFlex 750-Series drive.

Services Service Code Implemented for: Class Instance 0x01 Yes Yes 0x05 Yes No 0x0E Yes Yes 0x10 No Yes 0x4B No Yes

Service Name Get_Attributes_All Reset Get_Attribute_Single Set_Attribute_Single Get_Enum_String

Instances The number of instances depends on the number of parameters in the DPI drive. The adapter parameters are appended to the list of drive parameters. The total number of parameters can be read in Instance 0, Attribute 2.

Last Drive Parameter n Attributes (1) Adapter Parameter 1 Attributes … n n+1 …

…

Description Class Attributes Drive Parameter 1 Attributes

…

Instance 0 1 n+m

Last Adapter Parameter m Attributes (2)

(1) n represents the number of parameters in the drive. (2)

m represents the number of parameters in the adapter.

Class Attributes Attribute ID Access Rule 1 Get 2 Get 8 Get

Name Revision Max Instance Parameter Class Descriptor

Data Type WORD WORD WORD

9 10

Configuration Assembly Instance Native Language

WORD BYTE

Get Set

Description 1 Number of parameters 0 = False, 1 = True Bit 0 = Supports parameter instances Bit 1 = Supports full attributes Bit 2 = Must do NVS save command Bit 3 = Parameters are stored in NVS 0 0 = English 1 = French 2 = Spanish 3 = Italian 4 = German 5 = Japanese 6 = Portuguese 7 = Mandarin Chinese 8 = Russian 9 = Dutch

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

Page 216

C-6

ControlNet Objects

Instance Attributes Attribute ID Access Rule Name (1) 1 Parameter Value 2 Get Link Path Size

Data Type

Description

(2)

(3)

BYTE

0 = No link specified n = The size of Attribute 3 in bytes (4)

3 4

Get Get

Link Path Descriptor

WORD

5

Get

Data Type

BYTE

6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

Get Get Get Get Get Get Get Get Get Get Get Get Get Get Get Get

Data Size Parameter Name String Units String Help String Minimum Value Maximum Value Default Value Scaling Multiplier Scaling Divisor Scaling Base Scaling Offset Multiplier Link Divisor Link Base Link Offset Link Decimal Precision

BYTE SHORT_STRING SHORT_STRING SHORT_STRING

Null string

(2)

(3)

(2)

(3)

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

(3) (3)

(3)

WORD WORD WORD WORD WORD WORD WORD WORD BYTE

(3)

Specified in descriptor, data type, and data size. Value varies based on parameter instance. (4) See the ControlNet specification for a description of the link path. (3)

(3)

(2)

(1) Access rule is defined in Bit 4 of instance attribute 4 (0 = Get/Set, 1 = Get). (2)

0 = False, 1 = True Bit 1 = Supports ENUMs Bit 2 = Supports scaling Bit 3 = Supports scaling links Bit 4 = Read only Bit 5 = Monitor Bit 6 = Extended precision scaling 1 = WORD (16-bit) 2 = UINT (16-bit) 3 = INT (16-bit) 5 = SINT 6 = DINT 8 = USINT 9 = UDINT 11 = REAL 23 = SHORT_STRING 24 = BYTE 25 = DWORD

(3) (3) (3) (3) (3) (3) (3) (3)

Page 217

ControlNet Objects

Parameter Group Object

C-7

Class Code Hexadecimal Decimal 0x10 16

Important: This object is not supported when the adapter is used with a PowerFlex 750-Series drive.

Services Service Code Implemented for: Class Instance 0x01 Yes Yes 0x0E Yes Yes 0x10 Yes No

Service Name Get_Attributes_All Get_Attribute_Single Set_Attribute_Single

Instances The number of instances depends on the number of groups in the device. A group of adapter parameters is appended to the list of groups in the device. The total number of groups can be read in Instance 0, Attribute 2.

…

Description Class Attributes Drive Group 1 Attributes

…

Number 0 1 n n+1

Last Drive Group Attributes Adapter Group Attributes

Class Attributes Attribute ID 1 2 8

Access Rule Get Get Set

Name Parameter Group Version Max Instance Native Language

Data Type WORD WORD BYTE

Description 1 Total number of groups 0 = English 1 = French 2 = Spanish 3 = Italian 4 = German 5 = Japanese 6 = Portuguese 7 = Mandarin Chinese 8 = Russian 9 = Dutch

Instance Attributes Access Rule Get Get Get Get Get

Name Group Name String Number of Members in Group 1st Parameter Number in Group 2nd Parameter Number in Group …

Attribute ID 1 2 3 4 n

Data Type SHORT_STRING WORD WORD WORD WORD

Description Group name Number of parameters in group (1) (1) (1)

(1) Value varies based on group instance.

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

Page 218

C-8

ControlNet Objects

PCCC Object

Class Code Hexadecimal Decimal 0x67 103

Services Service Code Implemented for: Class Instance 0x4B No Yes 0x4C No Yes

Service Name Execute_PCCC Execute_DH+

Instances Not supported.

Class Attributes Not supported.

Instance Attributes Not supported.

Message Structure for Execute_PCCC Request Name Length Vendor Serial Number Other CMD STS TNSW FNC PCCC_ params

Data Type USINT UINT UDINT

Description Length of requestor ID Vendor number of requestor ASA serial number of requestor

Product Specific USINT USINT UINT USINT ARRAY of USINT

Identifier of user, task, etc. on the requestor Command byte 0 Transport word Function code; not used for all CMDs. CMD/FNC specific parameters

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

Response Name Data Type Length USINT Vendor UINT Serial UDINT Number Other Product Specific CMD USINT STS USINT TNSW UINT EXT_STS USINT PCCC_ ARRAY of results USINT

Description Length of requestor ID Vendor number of requestor ASA serial number of requestor Identifier of user, task, etc. on the requestor Command byte Status byte Transport word. Same value as the request. Extended status; not used for all CMDs. CMD/FNC specific result data

Page 219

ControlNet Objects

C-9

Message Structure for Execute_DH+ Request Name DLink DSta DUser SLink SSta SUser CMD STS TNSW FNC PCCC_ params

Data Type UINT USINT USINT UINT USINT USINT USINT USINT UINT USINT ARRAY of USINT

Description Destination Link ID Destination Station number Destination “User” number Source Link ID Source Station number Source User number Command byte 0 Transport word Function code; not used for all CMDs CMD/FNC specific parameters

Response Name DLink DSta DUser SLink SSta SUser CMD STS TNSW EXT_STS PCCC_ results

Data Type UINT USINT USINT UINT USINT USINT USINT USINT UINT USINT ARRAY of USINT

Description Destination Link ID Destination Station number Destination “User” number Source Link ID Source Station number Source User number Command byte Status byte Transport word. Same value as the request. Extended status; not used for all CMDs CMD/FNC specific result data

The adapter supports the following PCCC command types: CMD 0x06 0F 0F 0F 0F 0F 0F 0F 0F 0F

FNC 0x03 67 68 95 A2 AA A1 A9 00 01

Description Identify host and some status PLC-5 typed write PLC-5 typed read Encapsulate other protocol SLC 500 protected typed read with 3 address fields SLC 500 protected typed write with 3 address fields SLC 500 protected typed read with 2 address fields SLC 500 protected typed write with 2 address fields Word range read Word range write

For more information regarding PCCC commands, see DF1 Protocol and Command Set Manual, publication 1770-6.5.16.

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