The text of a manual · part 28 of 33
PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual: Appendix C, pages 220 to 228
Pages 220 to 228 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 220
C-10
ControlNet Objects
N-Files N-File N41
Description This N-file lets you read and write control I/O messages. You can write control I/O messages only when all of the following conditions are true: • The adapter is not receiving I/O from a scanner. For example, there is no scanner on the network, the scanner is in idle (program) mode, the scanner is faulted, or the adapter is not mapped to the scanner. • The adapter is not receiving peer I/O from another adapter.
N41:0 N41:1 N41:2 N41:3 N41:4 N41:5 N41:6 N41:7 N41:8 N41:9 N41:10 N41:11 N41:12 N41:13 N41:14 N41:15 N41:16 N41:17 N41:18 N42 N42:3
N42:7 N42:8
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
• The value of N42:3 is set to a non-zero value. Write Read Logic Status Word Logic Command Word Feedback (least significant word) Reference (least significant word) Feedback (most significant word) Reference (most significant word) Datalink A1 (least significant word) Datalink A1 (least significant word) Datalink A1 (most significant word) Datalink A1 (most significant word) Datalink A2 (least significant word) Datalink A2 (least significant word) Datalink A2 (most significant word) Datalink A2 (most significant word) Datalink B1 (least significant word) Datalink B1 (least significant word) Datalink B1 (most significant word) Datalink B1 (most significant word) Datalink B2 (least significant word) Datalink B2 (least significant word) Datalink B2 (most significant word) Datalink B2 (most significant word) Datalink C1 (least significant word) Datalink C1 (least significant word) Datalink C1 (most significant word) Datalink C1 (most significant word) Datalink C2 (least significant word) Datalink C2 (least significant word) Datalink C2 (most significant word) Datalink C2 (most significant word) Datalink D1 (least significant word) Datalink D1 (least significant word) Datalink D1 (most significant word) Datalink D1 (most significant word) Datalink D2 (least significant word) Datalink D2 (least significant word) Datalink D2 (most significant word) Datalink D2 (most significant word) This N-file lets you read and write some values configuring the port. Time-out (read/write): Time (in seconds) allowed between messages to the N41 file. If the adapter does not receive a message in the specified time, it performs the fault action configured in its [Comm Flt Action] parameter. A valid setting is between 1 and 32767 seconds (5…20 seconds is recommended). Adapter Port Number (read only): DPI port on the drive to which the adapter is connected. Peer Adapters (read only): Bit field of devices having DPI Peer capabilities.
Page 221
ControlNet Objects
N45
C-11
This N-file lets you read and write control I/O messages. You can write control I/O messages only when all of the following conditions are true: • The adapter is not receiving I/O from a scanner. For example, there is no scanner on the network, the scanner is in idle (program) mode, the scanner is faulted, or the adapter is not mapped to the scanner. • The adapter is not receiving peer I/O from another adapter.
N45:0 N45:1 N45:2 N45:3 N45:4 N45:5 N45:6 N45:7 N45:8 N45:9 N45:10 N45:11 N45:12 N45:13 N45:14 N45:15 N45:16 N45:17 N45:18 N45:19 N45:20 N45:21 N45:22 N45:23 N45:24 N45:25 N45:26 N45:27 N45:28 N45:29 N45:30 N45:31 N45:32 N45:33 N45:34 N45:35
• The value of N42:3 is set to a non-zero value. Write Read Logic Status (least significant) Logic Command (least significant) Logic Status (most significant) Logic Command (most significant) Feedback (least significant) Reference (least significant) Feedback (most significant) Reference (most significant) DL To Net 01 (least significant) DL From Net 01 (least significant) DL To Net 01 (most significant) DL From Net 01 (most significant) DL To Net 02 (least significant) DL From Net 02 (least significant) DL To Net 02 (most significant) DL From Net 02 (most significant) DL To Net 03 (least significant) DL From Net 03 (least significant) DL To Net 03 (most significant) DL From Net 03 (most significant) DL To Net 04 (least significant) DL From Net 04 (least significant) DL To Net 04 (most significant) DL From Net 04 (most significant) DL To Net 05 (least significant) DL From Net 05 (least significant) DL To Net 05 (most significant) DL From Net 05 (most significant) DL To Net 06 (least significant) DL From Net 06 (least significant) DL To Net 06 (most significant) DL From Net 06 (most significant) DL To Net 07 (least significant) DL From Net 07 (least significant) DL To Net 07 (most significant) DL From Net 07 (most significant) DL To Net 08 (least significant) DL From Net 08 (least significant) DL To Net 08 (most significant) DL From Net 08 (most significant) DL To Net 09 (least significant) DL From Net 09 (least significant) DL To Net 09 (most significant) DL From Net 09 (most significant) DL To Net 10 (least significant) DL From Net 10 (least significant) DL To Net 10 (most significant) DL From Net 10 (most significant) DL To Net 11 (least significant) DL From Net 11 (least significant) DL To Net 11 (most significant) DL From Net 11 (most significant) DL To Net 12 (least significant) DL From Net 12 (least significant) DL To Net 12 (most significant) DL From Net 12 (most significant) DL To Net 13 (least significant) DL From Net 13 (least significant) DL To Net 13 (most significant) DL From Net 13 (most significant) DL To Net 14 (least significant) DL From Net 14 (least significant) DL To Net 14 (most significant) DL From Net 14 (most significant) DL To Net 15 (least significant) DL From Net 15 (least significant) DL To Net 15 (most significant) DL From Net 15 (most significant) DL To Net 16 (least significant) DL From Net 16 (least significant) DL To Net 16 (most significant) DL From Net 16 (most significant)
N150:0…1 N150:2…249 N151:0…249 N152:0…249 N153:0…249
Description These N-files let you read and write parameter values in DPI Port 0 (the host PowerFlex drive) as 32-bit double words. You can interpret the data in various ways (for example, 32-bit real, 32-bit integer) To read a parameter, you need to send a message with two elements. For example, to read parameter 1, read two elements beginning at N150:2. As another example, to read parameters 2…6, read ten elements beginning at N150:4. Number of parameters in the drive Drive parameters 1…124 Drive parameters 125…249 Drive parameters 250…374 Drive parameters 375…499
...
...
Important: If your controller or HMI platform supports CIP messaging, use the CIP Parameter object to get and set parameters. N-File N150…N199
N199:0…249 Drive parameters 6125…6249
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 222
C-12
ControlNet Objects
N-File N201…N212
Description These N-files let you read and write values to DPI and Host parameters in Ports 1…14 (for example, a HIM or adapter) as 32-bit double words. You can interpret the data in various ways (for example, 32-bit real, 32-bit integer) To read a parameter, you need to send a message with two elements. For example, to read parameter 1 in the peripheral connected to DPI port 1, read two elements beginning at N201:2. As another example, to read parameters 2…6 in the peripheral connected to DPI port 5 (the adapter), read ten elements beginning at N209:4. Number of parameters in the DPI peripheral at DPI port 1 N201:0…1 N201:2…249 Parameters 1…124 in the DPI peripheral at DPI port 1 N202:0…249 Parameters 125…249 in the DPI peripheral at DPI port 1 Number of parameters in the DPI peripheral at DPI port 2 N203:0…1 N203:2…249 Parameters 1…124 in the DPI peripheral at DPI port 2 N204:0…249 Parameters 125…249 in the DPI peripheral at DPI port 2 Number of parameters in the DPI peripheral at DPI port 3 N205:0…1 N205:2…249 Parameters 1…124 in the DPI peripheral at DPI port 3 N206:0…249 Parameters 125…249 in the DPI peripheral at DPI port 3 Number of parameters in the DPI peripheral at DPI port 4 N207:0…1 N207:2…249 Parameters 1…124 in the DPI peripheral at DPI port 4 N208:0…249 Parameters 125…249 in the DPI peripheral at DPI port 4 Number of parameters in the DPI peripheral at DPI port 5 N209:0…1 N209:2…249 Parameters 1…124 in the DPI peripheral at DPI port 5 N210:0…249 Parameters 125…249 in the DPI peripheral at DPI port 5 Number of parameters in the DPI peripheral at DPI port 6 N211:0…1 N211:2…249 Parameters 1…124 in the DPI peripheral at DPI port 6 N212:0…249 Parameters 125…249 in the DPI peripheral at DPI port 6 The following N-Files are supported only when the adapter is used with a PowerFlex 750-Series drive. Number of parameters in the DPI peripheral at DPI port 7 N213:0…1 N213:2…249 Parameters 1…124 in the DPI peripheral at DPI port 7 N214:0…249 Parameters 125…249 in the DPI peripheral at DPI port 7 Number of parameters in the DPI peripheral at DPI port 8 N215:0…1 N215:2…249 Parameters 1…124 in the DPI peripheral at DPI port 8 N216:0…249 Parameters 125…249 in the DPI peripheral at DPI port 8 Number of parameters in the DPI peripheral at DPI port 9 N217:0…1 N217:2…249 Parameters 1…124 in the DPI peripheral at DPI port 9 N218:0…249 Parameters 125…249 in the DPI peripheral at DPI port 9 Number of parameters in the DPI peripheral at DPI port 10 N219:0…1 N219:2…249 Parameters 1…124 in the DPI peripheral at DPI port 10 N220:0…249 Parameters 125…249 in the DPI peripheral at DPI port 10 Number of parameters in the DPI peripheral at DPI port 11 N221:0…1 N221:2…249 Parameters 1…124 in the DPI peripheral at DPI port 11 N222:0…249 Parameters 125…249 in the DPI peripheral at DPI port 11 Number of parameters in the DPI peripheral at DPI port 12 N223:0…1 N223:2…249 Parameters 1…124 in the DPI peripheral at DPI port 12 N224:0…249 Parameters 125…249 in the DPI peripheral at DPI port 12 Number of parameters in the DPI peripheral at DPI port 13 N225:0…1 N225:2…249 Parameters 1…124 in the DPI peripheral at DPI port 13 N226:0…249 Parameters 125…249 in the DPI peripheral at DPI port 13 Number of parameters in the DPI peripheral at DPI port 14 N227:0…1 N227:2…249 Parameters 1…124 in the DPI peripheral at DPI port 14 N228:0…249 Parameters 125…249 in the DPI peripheral at DPI port 14
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 223
ControlNet Objects
DPI Device Object
C-13
Class Code Hexadecimal Decimal 0x92 146
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 components in the device. The total number of components can be read in Instance 0, Class Attribute 4.
(1)
…
Description Class Attributes (Drive) Drive Component 1 Drive Component 2
16384 16385
Class Attributes (Adapter) Adapter Component 1 …
Example 0 1 2 …
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) 22552…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 Access Rule Name 0 Get Family Code
Data Type BYTE
1
STRING[16]
Get
Family Text
Description 0x00 = Communications Adapter 0x30 = PowerFlex 70 0x34 = PowerFlex 700H 0x38, 0x39, or 0x3A= PowerFlex 700 0x40 = PowerFlex 7000 0x48, 0x49, or 0x4A = PowerFlex 700S 0x5A = SMC Flex 0x68, 0x69, or 0x6A = PowerFlex 700VC 0x90 = PowerFlex 753/755 0xA0 = 20-750-xxx Option Module 0xFF = HIM Text identifying the device.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 224
C-14
ControlNet Objects
Attribute ID Access Rule Name 2 Set Language Code
Data Type BYTE
3
Get
Product Series
BYTE
4
Get
Number of Components
BYTE
5 6 7 8 9 11 12 13
Set Get Get Get Get Get Get Get
User Definable Text Status Text Configuration Code Configuration Text Brand Code NVS Checksum Class Revision Character Set Code
STRING[16] STRING[12] BYTE STRING[16] WORD WORD WORD BYTE
15
Get
Languages Supported
18 19
Get Set
Serial Number Language Selected
STRUCT of: BYTE BYTE[n] STRUCT of: WORD BYTE BYTE STRUCT of: BYTE BYTE DWORD BYTE
20
Set
Customer-Generated Firmware
STRING[36]
30 31
Get Get/Set
International Status Text STRINGN International User Definable Text STRINGN
16
17
Get
Get
Date of Manufacture
Product Revision
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Description 0 = English 1 = French 2 = Spanish 3 = Italian 4 = German 5 = Japanese 6 = Portuguese 7 = Mandarin Chinese 8 = Russian 9 = Dutch 1=A 2=B… Number of components (for example, main control board, I/O boards, and so forth) in the device. Text identifying the device with a user-supplied name. Text describing the status of the device. Identification of variations. Text identifying a variation of a family device. 0x0001 = Allen-Bradley Checksum of the Nonvolatile Storage in a device. 2 = DPI 0 = SCANport HIM 1 = ISO 8859-1 (Latin 1) 2 = ISO 8859-2 (Latin 2) 3 = ISO 8859-3 (Latin 3) 4 = ISO 8859-4 (Latin 4) 5 = ISO 8859-5 (Cyrillic) 6 = ISO 8859-6 (Arabic) 7 = ISO 8859-7 (Greek) 8 = ISO 8859-8 (Hebrew) 9 = ISO 8859-9 (Turkish) 10 = ISO 8859-10 (Nordic) 255 = ISO 10646 (Unicode) Number of Languages Language Codes (see Class Attribute 2) Year Month Day Major Firmware Release Minor Firmware Release Value between 0x00 and 0xFFFFFFFF 0 = Default (HIM will prompt at start up) 1 = Language was selected (no prompt) GUID (Globally Unique Identifier) identifying customer firmware flashed into the device. Text describing the status of device with support for Unicode. Text identifying the device with a user-supplied name with support for Unicode.
Page 225
ControlNet Objects
Attribute ID Access Rule Name 34 Get Key Information
35 39 128 129 130
Get Get Get Get Get
NVS CRC SI Driver Code Customization Code Customization Revision Number Customization Device Text
Data Type STRUCT of: DWORD DWORD WORD WORD WORD BYTE BYTE BYTE BYTE BYTE BYTE[16] DWORD WORD WORD WORD STRING[32]
C-15
Description Rating Code Device Serial Number Customization Code Customization Revision Brand Code Family Code Config Code Language Code Major Revision Minor Revision Customer-Generated Firmware UUID A 32-bit CRC of the Non-Volatile Storage in a device. Code identifying the protocol between the device and host. Code identifying the customized device. Revision of the customized device. Text identifying the customized device.
Instance Attributes Attribute ID Access Rule Name 3 Get Component Name 4 Get Component Firmware Revision
5 8 9
Get Get Get
Component Hardware Change Number Component Serial Number International Component Name
Data Type STRING[32] STRUCT of: BYTE BYTE BYTE DWORD STRINGN
Description Name of the component Major Revision Minor Revision 0 = Not available Value between 0x00 and 0xFFFFFFFF Name of the component with support for Unicode.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 226
C-16
ControlNet Objects
DPI Parameter Object
Class Code Hexadecimal Decimal 0x93 147
To access ‘Host Config’ parameters, use the HOST DPI Parameter Object (Class code 0x9F).
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.
(1)
…
Description Class Attributes (Drive) Drive Parameter 1 Attributes Drive Parameter 2 Attributes
16384 16385
Class Attributes (Adapter) Adapter Parameter 1 Attributes …
Example 0 1 2 …
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 Access Rule Name 0 Get Number of Instances 1 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 227
ControlNet Objects
C-17
Instance Attributes Attribute ID 6
8 9 10
Get Get/Set Get/Set
DPI Descriptor DPI Parameter Value DPI RAM Parameter Value
Data Type STRUCT of: BOOL[32] CONTAINER CONTAINER CONTAINER STRING[16] STRING[4] WORD WORD WORD WORD WORD WORD WORD BYTE BYTE WORD WORD CONTAINER WORD WORD WORD INT STRUCT of: BOOL[32] CONTAINER(1) CONTAINER CONTAINER CONTAINER WORD WORD STRING[4] UINT UINT UINT INT BYTE[3] BYTE STRING[16] BOOL[32] Various Various
11
Get/Set
DPI Link
BYTE[3]
12 13
Get Get
Help Object Instance DPI Read Basic
7
14 15 16
Access Rule Get
Get
Get Get Get
Name DPI Offline Read Full
DPI Online Read Full
WORD STRUCT of: BOOL[32] CONTAINER CONTAINER CONTAINER CONTAINER STRING[16] STRING[4] DPI Parameter Name STRING[16] DPI Parameter Alias STRING[16] Parameter Processing Error BYTE
Description Descriptor Offline minimum value Offline maximum value Offline default value Parameter name Offline parameter units Online minimum parameter instance Online maximum parameter instance Online default parameter instance Multiple parameter instance Divisor parameter instance Base parameter instance Offset parameter instance Formula number Pad byte (always zero) Help instance Pad word (always a value of zero) Parameter value Multiplier Divisor Base Offset Descriptor (see page C-19) Parameter value Minimum value Maximum value Default value Next parameter Previous parameter 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 Descriptor (see page C-19) Parameter value in NVS. (3) Parameter value in temporary memory. Valid only for DPI drives. Link (parameter or function block that is the source of the value) (0 = no link) ID for help text for this parameter Descriptor (see page C-19) Parameter value Minimum value Maximum value Default value Parameter name Units (for example, Amp, Hz) Parameter name Customer supplied parameter name. 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 228
C-18
ControlNet Objects
Attribute ID 18
19
20
21 22
Access Rule Get
Get
Get
Get Get
Name International DPI Offline Parameter Text 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 DWORD 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 offline 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-20) Descriptor Offline minimum value Offline maximum value Offline default value Online minimum parameter instance Online maximum parameter instance Online default parameter instance Multiple parameter instance Divisor parameter instance Base parameter instance Offset parameter instance Formula number Pad byte (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-21. (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