The text of a manual · part 10 of 11
Bulletin 1203 Remote I/O Communications Module User Manual, pages 81 to 88
Pages 81 to 88 of 96
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 81
Supported Block Transfer Messages
Fault Command Write
B–17
Fault Command Write activates the Clear Fault, Clear Fault Queue, and Drive Reset functions.
PLC Block Transfer Instruction Data PLC request instruction length: 4 words Drive response instruction length: 4 words Figure B.11
Message Structure
PLC Request Drive Response
Message Length 4 PLC Decimal Value➀ –30976
Header Word 0
Message Length 4 PLC Decimal Value➁
Header Word 1
1792, Message OK –30976, Message Error
0
Header Word 2
Fault Command
Data Word 3
Value
Fault Command
00 01 02 03
Not Used Clear Fault Clear Fault Queue Drive Reset (1336 FORCE Only)
Header Word 0 Header Word 1
0
Header Word 2
0 or Error Code
Data Word 3
Message Operation The specified fault command function sends a fault handling request to the device. • A Clear Fault request clears the last fault that occurred. • A Clear Fault Queue clears the entire fault buffer. Certain devices may store more than one fault. • A Drive Reset is used with the 1336 FORCE drive product only. This function resets the drive; it clears the fault queue and writes the parameter information stored in NVS Storage to RAM. Data File Format 0
1
2
3
PLC request
4
–30976
0
0, 1, 2, or 3
Drive response
4
1792
0
0*
4
5
6
7
8
9
➀ For Warning Clear messages, the PLC decimal value is -30720. You can use three values:
0 = Not used, 1 = Clear Warning, and 2 = Clear Warning Queue. ➁ For Warning Clear messages, a message OK returns 2048, and a message error returns
-30720. * Example only, These values vary depending on parameters and products.
Page 82
B–18
Supported Block Transfer Messages
Fault Queue Entry Read Full
Fault Queue Entry Read Full reads the contents of the specified fault queue entry. A message is returned which includes the fault text and fault code associated with the fault. The 1336 FORCE drive also returns the time stamp associated with the fault.
PLC Block Transfer Instruction Data PLC request instruction length: 3 words Drive response instruction length: 12 or 16 words Figure B.12
Message Structure
PLC Request Drive Response
Message Length 3
Header Word 0
PLC Decimal Value➀ 1792
Header Word 1
Fault Queue Entry Number
Header Word 2
1792, Message OK –30976, Message Error
Header Word 0 Header Word 1
Fault Queue Entry Number
Header Word 2
Message Length 12 or 16 PLC Decimal Value➁
Char 2
Char 1
Data Word 3
Char 4
Char 3
Data Word 4
Char 6
Char 5
Data Word 5
Char 8
Char 7
Data Word 6
Char 10
Char 9
Data Word 7
Char 12
Char 11
Data Word 8
Char 14
Char 13
Char 16
Char 15
Fault Text
1336 FORCE Drive Only➂
Data Word 9 Data Word 10
Fault Code Value
Data Word 11
SES
REF
Data Word 12
Hour
Minute
Data Word 13
Date
Day
Data Word 14
Year
Month
Data Word 15
Clock Time
➀ For Warning Queue Read Full messages, the PLC decimal value is 2048. ➁ For Warning Queue Read Full messages, a message OK returns 2048, and a message error returns -30720. ➂ Other drives return zeros.
Page 83
Supported Block Transfer Messages
B–19
Message Operation Fault Queue Entry Read Full reads the contents of the fault queue specified in word 3 of the request. The response returns the fault text which can be ASCII text. Every two characters of text are in reverse order. Also, the 1336 FORCE drive returns a time stamp, indicating the day and time the fault occurred. If an error has occurred, word 1 of the response returns a negative value.
Example In this example, Fault Queue Entry number 3 was retrieved from a 1336 PLUS drive. The fault code for this example is 22, and the fault name is Drive Reset Flt. The fault code (22) is word 11 (12th word) in the decimal drive response. The fault name (Drive Reset Flt) is in the ASCII drive response. Note that every other character is reversed. Data File Format 0
1
2
3
4
5
6
7
8
9
PLC request
3
1792
3*
Drive response (Decimal)
12
1792
3*
29252*
20313*
8293*
25938*
25971*
8308*
27718*
8303*
22*
Drive response (ASCII)
\00\12
\07\00
\03\00 rD vi e eR es t lF t
\00\16 * Example only, These values vary depending on parameters and products.
Page 84
B–20
Supported Block Transfer Messages
Fault Queue Size Read
Fault Queue Size Read gets the number of fault entries allowed in the fault queue.
PLC Block Transfer Instruction Data PLC request instruction length: 3 words Drive response instruction length: 4 words Figure B.13
Message Structure
PLC Request Drive Response
Message Length 3
Header Word 0
PLC Decimal Value 1793
Message Length 4
Header Word 1
PLC Decimal Value
0
Header Word 2
Header Word 0
1793, Message OK –30975, Message Error
Header Word 1
0
Header Word 2
Fault Queue Size or Error Code
Data Word 3
Message Operation Fault Queue Size Read reads back the size of the fault queue available in the product. Each product may have a different number of fault queue entries available for storage. If an error has occurred, word 1 of the response returns a value of -30975.
Example In this example, a 1336 PLUS drive was used. This product has a fault queue of four storage locations available to store faults. This value is seen in word 3 of the response header message. Data File Format 0
1
2
PLC request
3
1793
0
Drive response
4
1793
0
3
4
5
6
7
8
4* * Example only, These values vary depending on parameters and products.
9
Page 85
Supported Block Transfer Messages
Trip Fault Queue Number Read
B–21
Trip Fault Queue Number Read provides the fault queue number of the fault that caused the device to trip.
PLC Block Transfer Instruction Data PLC request instruction length: 3 words Drive response instruction length: 4 words Figure B.14
Message Structure
PLC Request Drive Response
Message Length 3
Header Word 0
PLC Decimal Value 1794
Header Word 1
0
Header Word 2
Message Length 4 PLC Decimal Value 1794, Message OK –30984, Message Error
Header Word 0 Header Word 1
0
Header Word 2
Number of Trip Fault or Error Code
Header Word 3
Message Operation Trip Fault Queue Number Read provides the number of the entry in the fault queue that tripped the device in word 3 of the drive response. The fault queue number is 0 when the device is not faulted. If an error has occurred in the block transfer, word 1 of the response is negative.
Example In this example, the device has stored a fault in the first entry of the fault queue that caused the drive to trip. Word 3 of the response indicates the entry number. Data File Format 0
1
2
PLC request
3
1794
0
Drive response
4
1794
0
3
4
5
6
7
8
1* * Example only, These values vary depending on parameters and products.
9
Page 86
B–22
Supported Block Transfer Messages
Block Transfer Quick Reference
Class Parameter Read
Word 0 Word 1 Message Decimal Message Length Value Continuous Parameter Value 4 1 Read Parameter Read Full 3 768 Parameter Value Read
Parameter Write
Fault Queue
Warning Queue
EE Memory Request Link Read
Link Write
The following table provides a list of block transfers and a description of the data that is entered in the first few words.
3
Scattered Parameter Value 5 – 64 Read Continuous Parameter Value 5 – 64 Write
769 3 -32767
Parameter Value Write
4
-31999
Scattered Parameter Value Write
5 – 64
-32765
Fault Command Write
4
-30976
Word 2
Word 3
Word 4
Word 5
Word 6
Data Number of Parameters Parameter Number Parameter Number Number of Parameters Number of Parameters
Data Starting Parameter ➀
Data ➀
Data ➀
Data ➀
Example B-14
➀
➀
➀
B-5
➀
➀
➀
➀
B-3
First Parameter Starting Parameter
0
Parameter Number Number of Parameters
Parameter Value First Parameter
0
Second 0 B-10 Parameter ➁ First Second Second Parameter Parameter Parameter Value Value B-4 ➀ ➀ ➀ First Second Parameter Parameter Value ➀ ➀
Second B-12 Parameter Value B-17 ➀
➀
➀
➀
B-18
➀ ➀
➀ ➀
➀ ➀
B-20 B-21
➀
➀
➀
B-17
Fault Queue Entry Read Full 3
1792
Fault Queue Size Read Trip Fault Queue Number Read Warning Command Write
3 3
1793 1794
Fault Command Fault Queue ➀ Entry Number 0 ➀ 0 ➀
4
-30720
0
Warning Queue Read Full
3
2048
➀
➀
➀
B-18
Warning Queue Size Read Save/Recall/Initialize
3 4
2049 -31988
Warning Queue Entry Number 0 ➀ 0 EE Command
➀ ➀
➀ ➀
➀ ➀
➁ B-16
Continuous Parameter Link Read
4
4
Number of Links
➀
➀
➀
➁
Parameter Link Read Scattered Parameter Link Read
3 5 – 64
2304 5
➀ 0
➀ 0
➁ ➁
Continuous Parameter Link Write
5 – 64
-32764
4 4 5 – 64
-30464 -30464 -32763
Third Link Number ➀ ➀ Second Link
➁
Parameter Link Clear Parameter Link Write Scattered Parameter Link Write
➀ Second Link Number Second Link Number ➀ ➀ Second Link Number
Warning Command ➀
Starting Link Number Link Number ➀ Number of First Link Links Number
Number of Links
Starting Link Number 0 1 Link Number Link Number of First Link Links Number
First Link Number ➀ ➀ First Link
➀ This word is not used. ➁ Example not available in this manual. Refer to the 1336 FORCE PLC Communications Adapter User Manual, Publication 1336 FORCE -5.13. ➂ n x 4096 + offset (bits 0 – 11) ➃ Trending is a function of the 1336 FORCE drive with a PLC adapter board.
➁ ➁ ➁
Page 87
Supported Block Transfer Messages
Class User Text String
Message User Text String Read User Text String Write
Word 0 Word 1 Message Decimal Length Value 3 261 11 -32507
Product ID Product ID Number Read 3 Number Read Clock Data Real Time Clock Data Read 3 Real Time Clock Data Write 7 Run Time Clear Run Time Accumulator 3 Accumulator Run Time Accumulator Data 3 Read Time Stamp Load Clock Info Reference 3 Stamp Reference Time Stamp Data 3 Read Reference Time Stamp Data 3 Write Trend File All Info 3 Maximum Trend Size Avail- 3 able Number of Trends Available 3 Run File Data 3 Setup Data Full 15 Trend Command 4 Trend Parameter Definition 3 Trend Status 4 Trend Triggered Setup 3 Parameter Trigger Time 3
Word 2
Word 3
Word 4
Word 5
Word 6
Data 0 0
Data ➀ char 3/ char2 ➀
Data ➀ char 5/ char4 ➀
Data ➀ char 7/ char 6 ➀
B–23
256
0
Data ➀ char 1/ char 0 ➀
2816 -29952 -29950 2817
0 0 0 0
➀ sec./100th ➀ ➀
➀ hour/min. ➀ ➀
➀ date/day ➀
➀ ➁ year/month ➁ ➁ ➀ ➁
-29950
➀
➀
➀
➀
➁
➀
➀
➀
➀
➁
➀
➀
➀
➀
➁
4098 4097
Time Stamp Number Time Stamp Number Time Stamp Number n x 4096 0
➀ ➀
➀ ➀
➀ ➀
➀ ➀
➁➃ ➁➃
4096 4100 -28670 -28672 4102 4097 4103
0 ➂ n x 4096 n x 4096 n x 4096 n x 4096 n x 4096
➀ ➀ ➀ 1–3 ➀ 1–4 ➀
➀ ➀ ➀ ➀ ➀ ➀ ➀
➀ ➀ ➀ ➀ ➀ ➀ ➀
➀ ➀ ➀ ➀ ➀ ➀ ➀
➁➃ ➁➃ ➁➃ ➁➃ ➁➃ ➁➃ ➁➃
4099 n x 4096
➀
➀
➀
➀
➁➃
2816 -29952
➀ This word is not used. ➁ Example not available in this manual. Refer to the 1336 FORCE PLC Communications Adapter User Manual, Publication 1336 FORCE -5.13. ➂ n x 4096 + offset (bits 0 – 11) ➃ Trending is a function of the 1336 FORCE drive with a PLC adapter board.
Example ➁ ➁ B-8
Page 88
B–24
Supported Block Transfer Messages
End of Appendix B