The text of a manual · part 8 of 11
Bulletin 1203 Remote I/O Communications Module User Manual, pages 63 to 71
Pages 63 to 71 of 96: Appendix A; Appendix B
The original document is the PDF (3.4 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 1203-GD1
Page 63
Appendix
A
Specifications Appendix Objectives
Appendix A provides the specifications for the 1203-GD1 module, 1203-GK1 module, and the 1336-GM1 board. Important: Remote I/O communications modules are non-repairable units.
1336-GM1 Board Specifications
The following table gives the specifications for the 1336-GM1 board. Electrical
Environmental
Communications
Mechanical
Regulatory Agencies
!
Category Input Voltage Input Current Input Frequency SCANport Load Operating Temperature Storage Temperature Relative Humidity Product Controller Baud Rates Rack Sizes Height Width Depth Enclosure UL CSA CE
Specifications Supplied by the drive Not Applicable Not Applicable 60mA DC 0 to +50°C (32 to 122°F) –40 to +85°C (–40 to 185°F) 0 – 95%, non-condensing SCANport Allen-Bradley Remote I/O 57.6K, 115.2K, 230.4K 1/4, 1/2, 3/4, full 71 mm (2.8") 114 mm (4.5") 127 mm (0.5") Open (IP00)
ATTENTION: The 1336-GM1 communications board contains ESD (Electrostatic Discharge) sensitive parts. Static control precautions are required when installing and removing this assembly. Device malfunction may occur if you do not follow ESD control procedures. If you are not familiar with static control procedures, refer to Rockwell Automation Publication 8000-4.5.2, Guarding Against Electrostatic Damage, or other applicable ESD protection handbook.
Page 64
A–2
Specifications
1203-GD1 Module Specifications
The following table gives the specifications for the 1203-GD1 module. Electrical
Environmental
Communications
Mechanical
Regulatory Agencies
1203-GK1 Module Specifications
Category Input Voltage Input Current Input Frequency SCANport Load Operating Temperature Storage Temperature Relative Humidity Product Controller Baud Rates Rack Sizes Height Width Depth Enclosure DIN Rail Standard UL CSA CE
Specifications 85 to 264 V AC, 1 phase 35 mA maximum 45 to 63 Hz 60mA DC 0 to +50°C (32 to 122°F) –40 to +85°C (–40 to 185°F) 0 – 95%, non-condensing SCANport Allen-Bradley Remote I/O 57.6K, 115.2K, 230.4K 1/4, 1/2, 3/4, full 76 mm (3.0") 45 mm (1.8") 123 mm (4.8") NEMA Type 1 (IP30) 35 x 7.5 mm (1.38 x 0.30 in)
The following table gives the specifications for the 1203-GK1 module. Electrical
Environmental
Communications
Mechanical
Regulatory Agencies
Category Input Voltage Input Current SCANport Load Operating Temperature Storage Temperature Relative Humidity Product Controller Baud Rates Rack Sizes Height Width Depth Enclosure DIN Rail Standard UL CSA CE
Specifications 24 V DC, +/- 10% 0.4 A maximum 60mA DC 0 to +50°C (32 to 122°F) –40 to +85°C (–40 to 185°F) 0 – 95%, non-condensing SCANport Allen-Bradley Remote I/O 57.6K, 115.2K, 230.4K 1/4, 1/2, 3/4, full 76 mm (3.0") 45 mm (1.8") 123 mm (4.8") NEMA Type 1 (IP30) 35 x 7.5 mm (1.38 x 0.30 in)
Page 65
Appendix
B
Supported Block Transfer Messages Appendix Objectives
Appendix B provides information about the Block Transfer messages supported by the Remote I/O communications module. In this appendix, you will read about the following: • Block transfer status word. • Setting up data files for block transfer messages. • Examples of block transfer messages. • Block transfer quick reference. Important: This appendix provides detailed examples of block transfer messages. For information about block transfer messages, also refer to Chapter 5.
!
Supported Block Transfer Messages
ATTENTION: Hazard of equipment damage exists. If block transfer messages are programmed to frequently write parameter data, the EEPROM (Non-Volatile Storage) will quickly exceed its life cycle and cause the product to malfunction. Do not create a program that frequently uses block transfer messages to write parameter data to a product. Datalinks do not write to the EEPROM and should be used for frequently changed parameters.
The following table lists the examples of block transfer messages in this chapter. Command Page Command Page Parameter Value Read ➀ B-3 Continuous Parameter Value Read➀ B-14 Parameter Value Write ➀ B-4 Save/Recall/Initialize➀ B-16 ➀ Parameter Read Full B-5 Fault Command Write➀ ➁ B-17 Product ID Number Read ➀ B-8 Fault Queue Entry Read Full ➀➁ B-18 Scattered Parameter Value Read➀ B-10 Fault Queue Size Read➀ B-20 Scattered Parameter Value Write➀ B-12 Trip Fault Queue Number➀ B-21 ➀This function can be accessed in the module and product. The following examples describe how to access it in the product. To do so in the module, add 16384 to the decimal value of header word 2. ➁ These block transfer messages can be used for both faults and warnings. See details on the referenced page.
Refer to the quick reference on page B-22 for a complete list of block transfer messages.
Page 66
B–2
Supported Block Transfer Messages
Block Transfer Data Structure
Successful Messages When an operation is successful, header word 1 of the drive response contains a positive value (bit 15 = 0) and data follows. Figure B.1
Example Message Structure and Reply
PLC Request Drive Response
Message Length Decimal Value
Header Word 0 Header Word 1
Message Length
Header Word 0
Decimal Value (OK)
Header Word 1
Data
Header Word 2
Data
Data Word 3
Header Word 2
Data Data
Data Word 3
Unsuccessful Messages When an operation is unsuccessful, header word 1 of the drive response contains a negative value (bit 15 = 1). If an error occurs, the drive also returns an error code to indicate the reason for the failure. The location of the error code is typically data word 3 in the drive response, but will depend on the message. Figure B.2
Example Message Structure and Error Message Reply
PLC Request Drive Response
Message Length Decimal Value
Data Data
Header Word 0 Header Word 1
Message Length
Header Word 0
Decimal Value (Error)
Header Word 1
Data
Header Word 2
Error Code (See Table Below)
Data Word 3
Header Word 2 Data Word 3
The following table lists the error codes. Value 0 1 2 3 4 5 6 7
Description No error occurred. The service failed due to an internal reason, and the drive could not perform the request. The requested service is not supported. An invalid value in the block transfer request header word 2. An invalid value in the block transfer request header word 3. An invalid value in the block transfer request header word 2. The data value is out of range. There is a drive state conflict. The drive is in an incorrect state to perform the function. The drive cannot be running when you perform certain functions.
Page 67
Supported Block Transfer Messages
Parameter Value Read
B–3
Parameter Value Read reads the 16-bit parameter data value for the selected parameter number.
PLC Block Transfer Instruction Data PLC request instruction length: 3 words Drive response instruction length: 4 words Figure B.3
Message Structure
PLC Request Drive Response
Message Length 3
Header Word 0
PLC Decimal Value 769
Header Word 1
Parameter Number (See Drive List)
Header Word 2
Message Length 4
Header Word 0
PLC Decimal Value 769=OK –31999=Error
Header Word 1
Parameter Number
Header Word 2
Parameter Value or Error Code
Data Word 3
Message Operation Parameter Value Read reads parameter values from the drive and places that value (or an error code) in word 3 of the drive response data file. The value is shown in device units. Device units are listed in the user manual for the device you are using. If an error occurs: • Word 3 of the response contains the status code. • The status area of the data file is non-zero.
Example In this example, the value of parameter 20 was requested from a 1336 PLUS drive and a value of 4096 was returned. 4096 is the internal drive unit value for Maximum Rated Voltage. This corresponds to a value of 100% Drive Rated Volts in Display Units. Data File Format 0
1
2
PLC request
3
769
20*
Drive response
4
769
20*
3
4
5
6
7
8
4069* * Example only, These values vary depending on parameters and products.
9
Page 68
B–4
Supported Block Transfer Messages
Parameter Value Write
Parameter Value Write writes a 16-bit parameter data value to the selected parameter number.
PLC Block Transfer Instruction Data PLC request instruction length: 4 word Drive response instruction length: 4 words Figure B.4
Message Structure
PLC Request Drive Response
Message Length 4 PLC Decimal Value
Header Word 0
Message Length 4
Header Word 0
PLC Decimal Value
Header Word 1
769, Message OK –31999, Message Error
Parameter Number
Data Word 2
Parameter Number
Data Word 2
Parameter Data➀
Data Word 3
0 or Error Code
Data Word 3
–31999
Header Word 1
Message Operation Parameter Value Write sends a new value to the specified parameter. The value must be in device units. Units for each parameter are listed in the device manual. If an error has occurred, word 1 of the response returns a value of –31999, and word 3 contains a status code.
Example In this example, a value of 4096 was sent to Parameter 20. 4096 is in drive units and indicates a value of 100% Drive Rated Volts, as defined in P147, Drive Rated Volts. Data File Format 0
1
2
3
PLC request
4
–31999
20*
4096*
Drive response
4
769
20*
0*
4
5
6
7
8
9
➀ For parameter values greater than 32,767, you may need to enter the value in hexadecimal.
* Example only, These values vary depending on parameters and products.
Page 69
Supported Block Transfer Messages
Parameter Read Full
B–5
Parameter Read Full provides all known attributes for the parameters requested. This information includes the parameter’s current value, descriptor, multiply and divide value, base value, offset value, text string, group element reference, minimum value, maximum value, default value, and unit text string.
PLC Block Transfer Instruction Data PLC request instruction length: 3 words Drive response instruction length: 23 words Figure B.5
Message Structure
PLC Request Drive Response
Message Length 3
Header Word 0
PLC Decimal Value 768
Header Word 1
Parameter Number (See Drive List)
Header Word 2
Message Length 23 PLC Decimal Value 768, Message OK –31999, Message Error
Header Word 0 Header Word 1
Parameter Number
Data Word 2
Parameter Value or Error Code
Data Word 3
Descriptor
Data Word 4
Multiply Value
Data Word 5
Divide Value
Data Word 6
Base Value
Data Word 7
Offset Value
Data Word 8
Char 2
Char 1
Data Word 9
Char 4
Char 3
Data Word 10
Char 6
Char 5
Data Word 11
Char 8
Char 7
Data Word 12
Char 10
Char 9
Data Word 13
Char 12
Char 11
Data Word 14
Char 14
Char 13
Data Word 15
Char 16
Char 15
Data Word 16
Parameter Text
Page 70
B–6
Supported Block Transfer Messages
Message Structure (Continued)
Drive Response (cont.)
File, Group, Element
Data Word 17
Minimum Value
Data Word 18
Maximum Value
Data Word 19
Default Value Char 2
Char 1
Char 4
Char 3
Unit Text
Data Word 20 Data Word 21 Data Word 22
Message Operation Parameter Read Full retrieves the attributes of the specified parameter. The attributes for each parameter include the data, minimum and maximum values, and the parameter text. The response message returns this information. If an error has occurred in reading any of the values, word 3 contains the status word. The parameter text is returned with each data word containing two ASCII characters per word. The first and second characters are in opposite order.
Example In this example, a Parameter Read Full was performed through block transfer on a 1336 PLUS drive. N10:10 shows the header message for the request. The data is returned in the response data file, starting with word 3, for parameter 20. Word 3 shows the present value in drive units. Word 4 through word 8 provide scaling information, used to convert drive units to engineering units for the Human Interface Module (HIM). Word 9 through word 16 provide the parameter name.
Page 71
Supported Block Transfer Messages
B–7
This example shows the response message in both binary and ASCII. Note the ASCII information beginning with word 9. The parameter name characters return in reverse order for each word. Word 9 has the ASCII value of (aM). To read this, reverse the word to read (Ma). The next word (ix), reversed, gives you (xi). These words, along with the following two words, form the word Maximum. You can see the parameter name Maximum Voltage in word 9 through word 16 of the response message. In addition, words 21 – 22 are also returned in this format. These words provide the units in which the parameter is defined. In this example it is vlts. Word 17 contains the file, group, and element which are used to reference the parameter. Words 18 – 20 contain the minimum, maximum, and default values of this parameter. Data File Format 0
1
2
PLC request
3
768
20*
Drive response (Decimal)
23
768
27000*
Drive response (ASCII)
3
4
5
6
7
8
9
20*
4096*
355*
1*
4096*
460*
0*
24909*
30061*
8301*
28502*
29804*
26465*
8293*
1794*
1024*
4915*
4096*
27734*
29556*
\00\17
\03\00
\00\14
\10\00
\01 c
\00\01
\10\00
\01\CC
\00\00 aM ix um m oV tl ga e
07 02
04 00
\13 0
\10\00 lV st * Example only, These values vary depending on parameters and products.