The text of a manual · part 9 of 13
FLEX I/O PROFIBUS Adapter (Cat. No. 1794-APB) User Manual: 4 - Configure the Adapter for Master/Slave Communication, pages 60 to 67
Pages 60 to 67 of 90, from FLEX I/O PROFIBUS Adapter (Cat. No. 1794-APB) User Manual
The original document is the PDF (924 KB). 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 1794-IB16
Page 60
Configure the Adapter for Master/Slave Communication
4–9
The identifier byte and its format are described in the following illustration. This byte is defined in Part 3 of the PROFIBUS standard. Most Significant Bit Bit Number
7
6
Least Significant Bit 5
4
3
2 concistency over 0 byte or word 1 whole length length 0 byte 1 word format1 byte structure word structure
1
0
Length of data 00 1 byte resp. 1 word • • • 15 16 byte resp. 16 words input/output 00 specific identifier formats 01 input 10 output 11 input–output
1 When transferring words, PROFIBUS DP transfers the high byte first, followed by the low byte. If word structure is entered in the column format, the DP master has the possibility to swap the bytes within the word, if required by the target system.
The maximum size of this identifier area is 17 bytes. If no FLEX I/O modules are installed in the upper slots, the length may be less. Consistency must be over a word. Check Configuration Example Check Configuration Message when used with Send Parameter Auto Configure or Condensed Format (Length 10 bytes) Name
Identifier Description Byte Octet 1: 50h Input Status Word (input – 1 word) Octet 2: 60h Output Status Word (output – 1 word) Octet 3: 51h Slot 1, input module 2 words Octet 4: 60h Slot 1, output module 1 word Octet 5: 00h Slot 2, input module empty Octet 6: 60h Slot 2, output module 1 word Octet 7: 57h Slot 3, input module 8 words Octet 8: 60h Slot 3, output module 1 word Octet 9: 50h Slot 4, input module empty Octet 10: 65h Slot 4, output module 6 words I/O sizes configured: 22 input bytes, 20 output bytes
More Information...
Refer to the configuration example on page 4–11 to understand how and where to enter this data.
Publication 1794-6.5.6 – April 1996
Page 61
4–10
Configure the Adapter for Master/Slave Communication
Check Configuration Example Check Configuration Message when used with Send Parameter Full Format (Length 10 bytes) Name
Identifier Description Byte Octet 1: 50h Status Word (input – 1 word) Octet 2: 60h Output Status Word (output – 1 word) Octet 3: 51h Slot 1, input module 2 words Octet 4: 00h Slot 1, output module 1 word Octet 5: 00h Slot 2, input module empty Octet 6: 60h Slot 2, output module 1 word Octet 7: 57h Slot 3, input module 8 words Octet 8: 00h Slot 3, output module 1 word Octet 9: 00h Slot 4, input module empty Octet 10: 63h Slot 4, output module 6 words I/O sizes configured: 22 input bytes, 12 output bytes
Read Configuration Response Data
The read configuration message response returns the current configuration data. At power up, the configuration is the maximum read and write sizes supported by each FLEX I/O module. A valid check configuration message updates the internal configuration. The updated internal configuration is then returned in the message response. Power Up Configuration Example Read Configuration Message response at Power Up (Length 10 bytes) Name Octet 1: Octet 2: Octet 3: Octet 4: Octet 5: Octet 6: Octet 7: Octet 8: Octet 9: Octet 10:
More Information...
Publication 1794-6.5.6 – April 1996
Identifier Byte 50h 60h 51h 60h 50h 61h 58h 65h 50h 65h
Description Status Word (input – 1 word) Output Status Word (output – 1 word) Slot 1, input module 2 words Slot 1, output module 1 word Slot 2, input module empty Slot 2, output module 1 word Slot 3, input module 8 words Slot 3, output module 1 word Slot 4, input module empty Slot 4, output module 6 words
Refer to the configuration example on page 4–11 to understand how and where to enter this data.
Page 62
Configure the Adapter for Master/Slave Communication
Configuration Example Using PROFIBUS Manager Software
More Information...
4–11
If you are using the Allen-Bradley PROFIBUS Manager configuration software, follow this example to understand how to access and enter data. This example is a User Parameter Message, Full Format. For more detailed information on configuring your network, refer to your PROFIBUS Manager User Manual, publication 1785-6.5.20. If you are using another configuration tool, how you access and enter data is similar, however, refer to the user documentation supplied with that tool. The directions in this example assume you have the software installed and have constructed a DP network containing at least one 1794-APB FLEX I/O PROFIBUS adapter module. User Parameter Example User Parameter Message, Full Format (Length 43 bytes) Name
Value
Description
Octet 8: Octet 9–10: Octet 11: Octet 12–13: Octet 14–15: Octet 16: Octet 17–18: Octet 19–20: Octet 21: Octet 22–23: Octet 24–25: Octet 26: Octet 27–28: Octet 29–30: Octet 31–32:
02h 0281h 10h 0000h 0191h 01h 0000h 1920h 10h 0000h 5121h 24h 0000h 0000h 0000h
Full Format, Reset to Zero on Fault Slot 1 Module Key 1794-IB16 16-point discrete input module Slot 1 config size 1 word, safe state size 0 words 1 config word, input delay times Slot 2 Module Key 1794-OB16 16-point discrete output module Slot 2 config size 0 words, safe state size 1 word 1 safe state data word, safe state value for output points Slot 3 Module Key 1794-IE8 8-point analog input module Slot 3 config size 1 word, safe state size 0 words 1 config word, channel selection Slot 4 Module Key 1794-OE4 4-point analog output module Slot 4 config size 2 words, safe state size 4 words 2 config words – channel selection and
Octet 33–34:
0000h output point 2
Octet 35–36:
0000h output point 3
Octet 37–38:
0000h output point 4
Octet 39–40: Octet 41: Octet 42–43: Octet 44: Octet 45–46: Octet 47: Octet 48–49: Octet 50:
0FFFFh 00h 0FFFFh 00h 0FFFFh 00h 0FFFFh 00h
Slot 5 empty Slot 5 all sizes zero Slot 6 empty Slot 6 all sizes zero Slot 7 empty Slot 7 all sizes zero Slot 8 Empty Slot 8 all sizes zero output enable 4 safe state data words – safe state value for output point 1
Publication 1794-6.5.6 – April 1996
Page 63
4–12
Configure the Adapter for Master/Slave Communication
1. In your network, double-click on
.
• Double-click here
You see the 1794-APB Device Parameters screen which indicates a User Parameter Data Length of 237:
• Change to 43
2. Change the User Parameter Data Length to 43.
Publication 1794-6.5.6 – April 1996
Page 64
Configure the Adapter for Master/Slave Communication
4–13
3. Double-click on You see the User Parameter Data screen:
The defaults are zero (0) until you enter specific data
Publication 1794-6.5.6 – April 1996
Page 65
4–14
Configure the Adapter for Master/Slave Communication
4. Enter the Condensed Format data values as shown in the User Parameter example: User Parameter Example User Parameter Message, Full Format (Length 43 bytes) Name
Value
Description
Octet 8: Octet 9–10: Octet 11: Octet 12–13: Octet 14–15: Octet 16: Octet 17–18: Octet 19–20: Octet 21: Octet 22–23: Octet 24–25: Octet 26: Octet 27–28: Octet 29–30: Octet 31–32:
02h 0281h 10h 0000h 0191h 01h 0000h 1920h 10h 0000h 5121h 24h 0000h 0000h 0000h
Full Format, Reset to Zero on Fault Slot 1 Module Key 1794-IB16 16-point discrete input module Slot 1 config size 1 word, safe state size 0 words 1 config word, input delay times Slot 2 Module Key 1794-OB16 16-point discrete output module Slot 2 config size 0 words, safe state size 1 word 1 safe state data word, safe state value for output points Slot 3 Module Key 1794-IE8 8-point analog input module Slot 3 config size 1 word, safe state size 0 words 1 config word, channel selection Slot 4 Module Key 1794-OE4 4-point analog output module Slot 4 config size 2 words, safe state size 4 words 2 config words – channel selection and
Octet 33–34:
0000h output point 2
Octet 35–36:
0000h output point 3
Octet 37–38:
0000h output point 4
Octet 39–40: Octet 41: Octet 42–43: Octet 44: Octet 45–46: Octet 47: Octet 48–49: Octet 50:
0FFFFh 00h 0FFFFh 00h 0FFFFh 00h 0FFFFh 00h
Slot 5 empty Slot 5 all sizes zero Slot 6 empty Slot 6 all sizes zero Slot 7 empty Slot 7 all sizes zero Slot 8 Empty Slot 8 all sizes zero
Octet 9: 02 Octet 10: 81 Octet 8: 02
Octet 11: 10 Octet 12: 00
Publication 1794-6.5.6 – April 1996 output enable 4 safe state data words – safe state value for output point 1
Octet 13: 00 Octet 14: 01 Octet 15: 91 Octet 16: 01 (and so on for remaining values)
Page 66
Configure the Adapter for Master/Slave Communication
4–15
5. After you enter all octet values, click 6. In the 1794-APB Device Parameters screen, click
You see the Modules Information screen:
7. Highlight each of the possible modules in the Possible Modules column, then click on . Repeat this for the four FLEX I/O modules in the example. Also add 1794-APB Status (counts as one module) and three Flex I/O empty slot modules. All eight slots must be accounted for. Notice as you add each module, the Module Configuration status appears:
8. If you want to edit the configuration of a module, highlight the module and click on
Publication 1794-6.5.6 – April 1996
Page 67
4–16
Configure the Adapter for Master/Slave Communication
9. After you account for all module slots in the example, the Modules Information screen should look similar to this:
All module slots in the example are accounted for.
10.Click
More Information...
Publication 1794-6.5.6 – April 1996
For more detailed information on configuring your network, refer to your PROFIBUS Manager User Manual, publication 1785-6.5.20.