The text of a manual · part 4 of 11
Bulletin 1203 Remote I/O Communications Module User Manual: Chapter 2
Pages 17 to 30 of 96, from Bulletin 1203 Remote I/O Communications Module User Manual
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 17
Chapter
2
Configuring the Module Chapter Objectives
Chapter 2 provides instructions and information for configuring the Remote I/O communications module (1203-GD1, 1203-GK1, or 1336-GM1). In this chapter, you will read about the following: • Factory-default settings. • Recording the I/O image table. • Configuring the module. Important: The communications module is not compatible with complementary I/O configurations because it uses both output and input image words for proper product control.
Safety Precautions and Important Information
Please observe the following safety precautions:
! !
!
ATTENTION: Hazard of equipment damage exists. When you make changes to the switch settings, use a blunt, pointed instrument. Do not use a pencil or pen. ATTENTION: Hazard of injury or equipment damage exists. Failure to check connections and switch settings for compatibility with your application could result in unintended or undesirable operation. Verify the configuration is correct for your application. ATTENTION: Hazard of injury or equipment damage exists. Unintended or incorrect machine motion can result from the initial configuration. When a system is configured for the first time, the motor must be disconnected from the machine or process during initial system testing.
Important: Due to an anomaly in firmware release 4.01, Remote I/O modules that are used only for block transfer messages require the following configuration: switches for block transfer and reference/feedback should both be enabled (SW 3.1 and SW 3.3 are ON. SW 3.2 and SW 3.4 through 3.8 are OFF). This configuration prevents a fault on power up. It does not affect rack I/O allocation or the ladder logic program because it still fits within 1/4 rack I/O space. The drive will, however, generate a serial fault if the communications module is disconnected or loses power.
Page 18
2–2
Configuring the Module
Locating the DIP Switches Figure 2.1
SW3.1 = Block Transfer SW3.2 = Logic Command/Status SW3.3 = Reference/Feedback SW3.4 = Datalink A Settings SW3.5 = Datalink B Settings SW3.6 = Datalink C Settings SW3.7 – Datalink D Settings SW3.8 = Truncate Last Datalink
Switches on the 1203-GD1 and 1203-GK1 Modules
SW2.1 – SW2.2 = Starting Module Group SW2.3 = Last Rack Setting SW2.4 = Hold Last State/Zero Data SW2.5 = Communications Loss SW2.6 = Reset/Program/Test SW1.1 – SW1.2 = Not Used SW2.7 – SW2.8 = RIO Baud Rate SW1.3 – SW1.8 = Rack Address
= Open = Off = 0 = Closed = On = 1
Bottom View
Figure 2.2
SW3.1 = Block Transfer SW3.2 = Logic Command/Status SW3.3 = Reference/Feedback SW3.4 = Datalink A Settings SW3.5 = Datalink B Settings SW3.6 = Datalink C Settings SW3.7 – Datalink D Settings SW3.8 = Truncate Last Datalink
Switches on the 1336-GM1 Board
SW2.1 – SW2.2 = Starting Module Group SW2.3 = Last Rack Setting SW2.4 = Hold Last State/Zero Data SW2.5 = Communications Loss SW2.6 = Reset/Program/Test SW1.1 – SW1.2 = Not Used SW2.7 – SW2.8 = RIO Baud Rate SW1.3 – SW1.8 = Rack Address
= Open = Off = 0 = Closed = On = 1 8
1
8
Front View
1
8
1
Page 19
Configuring the Module
Factory-Default Settings
The module is shipped with the following settings: Feature Block Transfer Logic Command/Status Reference/Feedback Datalinks Truncate Last Datalink Starting Group Last Rack Fault Action Baud Rate Not Used Rack Address
Quick Configuration
2–3
Switch(es) Default Setting 3.1 Enabled 3.2 Enabled 3.3 Enabled 3.4 – 3.7 Datalinks A and B are Enabled Datalinks C and D are Disabled 3.8 Disabled 2.1 – 2.2 0 2.3 Not Last Rack 2.4 – 2.6 Fault on communications loss Hold last state on reset/program/test 2.7 – 2.8 57.6K 1.1 – 1.2 Not Used 1.3 – 1.8 2
For detailed switch information, refer to pages 2–4 through 2–13.
Off = 0 On = 1
Off = 0 On = 1
Off = 0 On = 1
Switch Setting Description 3.1 0 Disable block transfer 1 Enable block transfer 3.2 0 Disable Logic Command/Status 1 Enable Logic Command/Status 3.3 0 Disable Reference/Feedback 1 Enable Reference/Feedback 3.4 0 Disable Datalink A (A1 and A2) 1 Enable Datalink A (A1 and A2) 3.5 0 Disable Datalink B (B1 and B2) 1 Enable Datalink B (B1 and B2) 3.6 0 Disable Datalink C (C1 and C2) 1 Enable Datalink C (C1 and C2) 3.7 0 Disable Datalink D (D1 and D2) 1 Enable Datalink D (D1 and D2) 3.8 0 Disable truncate last datalink 1 Enable truncate last datalink 2.1 – 2.2 2.2 2.1 1 1 Starting group 0 0 1 Starting group 2 1 0 Starting group 4 0 0 Starting group 6 2.3 0 Not last rack 1 Last rack with this address 2.4 0 Hold last state 1 Zero data 2.5 0 No fault. Use action of switch 2.4 1 Fault drive on communications loss 2.6 0 No fault. Use action of switch 2.4 1 Fault drive on Reset/Program/Test 2.7 – 2.8 2.8 2.7 0 0 57.6 kbps 0 1 115.2 kbps 1 0 230.4 kbps 1.1 – 1.2 Not Used 1.3 – 1.8 Varies See “Setting the Rack Address” on page 2-13
Page 20
2–4
Configuring the Module
Configuring the module
As you configure your module, you should complete the I/O image table. First, size the I/O using switch SW3. Next, set the rack address using switch SW1. Finally, select the starting group, last rack setting, fault action, and baud rate using switch SW2. For more information on the I/O image table, refer to the example below and Chapter 4.
I/O Image Table Remote I/O Address
Reserved For: Output Image
Input Image
Minimum Required Rack Size 1/4 Rack
Starting Group 0, 2, 4, or 6
1/2 Rack
0, 2, or 4
3/4 Rack
0 or 2
Full Rack
0 only
Example I/O Image Table In this example, we use the factory-default settings. We use rack 2, and record it as our address. Because we are using a full rack, we use starting group 0, so block transfer starts at word 0. Remote I/O Address 020 021 022 023 024 025 026 027
Reserved For: Output Image Block Transfer Logic Command Reference Datalink A Datalink A Datalink B Datalink B
Input Image Block Transfer Logic Status Feedback Datalink A Datalink A Datalink B Datalink B Settings 8 ---> 1 00011111
Switch Off = 0 On = 1
00011011 Off = 0 On = 1
10111100 Off = 0 On = 1
Minimum Required Rack Size 1/4 Rack
Starting Group 0, 2, 4, or 6
1/2 Rack
0, 2, or 4
3/4 Rack
0 or 2
Full Rack
0 only
Description Block transfer is enabled. Logic command/status is enabled. Reference/feedback is enabled. Datalink A is enabled. Datalink B is enabled. Truncate last datalink is disabled. Starting group is 0. This is not the last rack. Drive will fault when communications are disrupted, and it will hold last state when the controller is placed in program/reset/test. Remote I/O baud rate is 57.6K. Rack address is 2.
Page 21
Configuring the Module
2–5
Setting Switches on SW3
!
ATTENTION: Injury or equipment damage can result from loss of PLC or Controller Logic Commands (Stop, Start, etc.) when all these conditions are true: • module firmware 3.04 or lower.
•
230.4k baud rate.
• block transfer is enabled (DIP switch SW3-1 is ON).
• block transfers to the module are used (in the ladder program or by DriveTools/DriveTools32 using a Remote I/O pass thru connection).
Do not use the 230.4k baud rate if you are using a module with 3.04 or earlier firmware and your program uses block transfers. Use the 57.6k or 115.2k baud rate instead.
Setting Block Transfer SW 3.1 enables or disables block transfer. Enable block transfer if you are using messages (refer to Chapter 5) in your ladder logic program or if you are using DriveTools32 software. Important: You cannot use both messages and DriveTools32 software at the same time. Block transfer uses the first module group (word) in the rack and group. Figure 2.3
Block Transfer Switch Off = 0 On = 1
Use SW 3.1 for setting the block transfer
To edit the block transfer setting, you need to: 1. Refer to the following table to determine the setting for SW 3.1: Block Transfer Disabled Enabled
SW 3.1 0 1
2. Slide the switch to its appropriate position. 3. If Block Transfer is enabled, record “Block Transfer” in the first module group (word) of your I/O image table on page 2–4. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Page 22
2–6
Configuring the Module
Important: Due to an anomaly in firmware release 4.01, Remote I/O modules that are used only for block transfer messages require the following configuration: switches for block transfer and reference/feedback should both be enabled (SW 3.1 and SW 3.3 are ON. SW 3.2 and SW 3.4 through 3.8 are OFF). This configuration prevents a fault on power up. It does not affect rack I/O allocation or the ladder logic program because it still fits within 1/4 rack I/O space. The drive will, however, generate a serial fault if the communications module is disconnected or loses power.
Setting Logic Command and Status SW 3.2 enables or disables the word used for logic command and status (e.g., start, stop, direction). Logic command/status uses one word in the rack and group. Figure 2.4
Logic Command/Status Switches Off = 0 On = 1
Use SW 3.2 for setting logic/ status word.
To edit the command/status setting, you need to: 1. Refer to the following table to determine the setting for SW 3.2: Command I/O Disabled Enabled
SW 3.2 0 1
2. Slide the switch to its appropriate position. 3. If Logic Command/Status is enabled, record “Logic Cmd” in the first available module group (word) of the output column and “Logic Sts” in the first available module group (word) of the input column of your I/O image table on page 2–4. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Setting the Reference and Feedback SW 3.3 enables or disables the word used for reference and feedback (e.g., speed reference, torque reference). Reference/feedback uses one word in the rack and group.
Page 23
Configuring the Module
Figure 2.5
2–7
Reference/Feedback Switch Off = 0 On = 1
Use SW 3.3 for setting the command I/O
To edit the reference/feedback setting, you need to: 1. Refer to the following table to determine the setting for SW 3.3: Reference/Feedback Disabled Enabled
SW 3.3 0 1
2. Slide the switch to its appropriate position. 3. If Reference/Feedback is enabled, record “Reference” in the first available module group (word) of the output column and “Feedback” in the first available module group (word) of the input column of your I/O image table on page 2–4. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Page 24
2–8
Configuring the Module
Setting Datalinks SW 3.7 through SW 3.4 enable or disable datalinks. A datalink is a type of pointer used by some SCANport products to transfer data to and from a controller. You can use datalinks to change or monitor the value of parameters without using block transfer messages. Each datalink consists of two 16-bit words of input and two 16-bit words of output. You can enable up to four datalinks (eight words in and out). Refer to Chapter 4 for detailed datalink information and examples. Figure 2.6
Datalink Switches Off = 0 On = 1 Use SW 3.7 through SW 3.4 for setting the datalinks.
Important: Ensure that datalinks are supported and enabled in the SCANport product before you enable them in the Remote I/O module. You do not have to use datalinks. If you do use them, remember that a datalink in a drive can be used by only one communications module. Datalinks do not write to the EEPROM. To edit the datalinks, you need to: 1. Refer to the following table to determine the settings for SW 3.7 through SW 3.4: Function Disable Enable
Datalink D SW 3.7 0 1
Datalink C SW 3.6 0 1
Datalink B SW 3.5 0 1
Datalink A SW 3.4 0 1
2. Slide the switches to their appropriate positions. 3. For each enabled datalink, record “Datalink [A, B, C, or D]” in the first two available module groups (words) of the output and input columns of your I/O image table on page 2–4. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Setting the Truncate Last Datalink Feature SW 3.8 enables or disables the truncate last datalink feature. All datalinks are two words. If this feature is enabled, the second word of the last datalink is deleted. For example, if datalinks A and B are enabled and this feature is enabled, Data In B2 and Data Out B2 are truncated. This feature can save rack space by maintaining an even number of words in your rack. Important: This feature is available only on modules with firmware 1.02 or later.
Page 25
Configuring the Module
Figure 2.7
2–9
Truncate Last Datalink Switch Off = 0 On = 1 Use SW 3.8 for truncating the last datalink.
To set the truncate last datalink feature, you need to: 1. Refer to the following table to determine the setting for SW 3.8: Duplicate Message Detection Disable Enable
SW 3.8 0 1
2. Slide the switch to its appropriate position. 3. If the switch is enabled, cross out the second module group (word) of the last datalink in your I/O image table on page 2–4. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Setting Switches on SW2
Setting the Starting Group SW 2.2 and SW 2.1 set the starting group. A starting group is the word in a rack at which the group starts. The starting group depends on the rack size. To determine the starting group, you must set the switches on SW3 and calculate the rack size. A full rack is 8 words. For example, if we enabled the switches for Logic Command/Status, Reference/Feedback, and datalink A, we use 4 words in the rack, so we need a 1/2 rack. Using the table below as a guide, we could set the starting group for word 0, 2, or 4 for our example. Figure 2.8
Starting Group Switches Off = 0 On = 1 Use SW 2.2 and SW 2.1 for setting the starting group.
To edit the starting group, you need to: 1. Refer to the following table to determine starting groups that you can use: Rack Size 1/4 1/2 3/4 Full
Starting Group 0, 2, 4, or 6 0, 2, or 4 0 or 2 0
Page 26
2–10
Configuring the Module
2. Refer to the following table to set SW 2.2 and SW 2.1: Starting Group 0 2 4 6
SW 2.2 1 0 1 0
SW 2.1 1 1 0 0
3. Slide the switches to their appropriate positions. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Setting the Last Rack Switch SW 2.3 lets you notify a controller that the connected product is the last device with this rack address. You must set this switch if a product is the last device with this rack address and you are using a PLC-2 controller. It is recommended that you set this switch when you are using other controllers. Figure 2.9
Last Rack Switch Off = 0 On = 1 Use SW2.3 for setting the last rack.
To edit the last rack settings, you need to: 1. Refer to the following table to determine the switch setting for SW 2.3: Setting Not Last Rack Last Rack
SW2.3 0 1
2. Slide the switch to its appropriate position. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Page 27
Configuring the Module
2–11
Setting the Fault Action SW 2.6 through SW 2.4 let you configure how a Remote I/O module and connected product act when Remote I/O communications fail (e.g., disconnected cable) or the controller is switched to program or test mode. You can use fault, hold last state, or zero data. If you select hold last state, a product continues in its present state after a communications disruption. If you select zero data, the data output to the product is zeroed. Zero data does not command a stop.
!
!
ATTENTION: Risk of bodily injury or equipment damage exists. These switches allow the user to change the default configuration that would fault the drive if communication is lost. Precautions should be taken to ensure that settings for these switches do not create a hazard of bodily injury or equipment damage. ATTENTION: Hazard of equipment damage exits. Firmware version 3.04 has the following anomaly: If DIP Switch 2.5 is OFF (No Fault), the product remains in its last state after a communications loss occurs no matter how DIP Switch 2.4 is set. If you must use zero data, contact Rockwell Automation Technical Support.
Figure 2.10
Fault Action Configuration Switches Off = 0 On = 1
Use SW 2.6 through SW 2.4 for setting the fault action.
To change the fault action, you need to: 1. Refer to the following table to determine the setting for SW 2.6: Fault on Reset/Program/Test No Fault Fault Product
SW 2.6 0 1
Important: Switch SW 2.6 is active only on modules with firmware 2.xx and later 2. Refer to the following table to determine the setting for SW 2.5: Fault on Communications Loss No Fault Fault Product
SW 2.5 0 1
3. If you set SW 2.6 or SW 2.5 to 0 (No Fault), set SW 2.4 to select an action when a condition that normally causes a drive fault occurs: Function Hold last state Zero data
SW 2.4 0 1
Page 28
2–12
Configuring the Module
4. Slide the switches to their appropriate positions. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Setting the Remote I/O Baud Rate SW 2.8 and SW 2.7 set the baud rate at which the Remote I/O module communicates.
!
ATTENTION: Injury or equipment damage can result from loss of PLC or Controller Logic Commands (Stop, Start, etc.) when all these conditions are true: • module firmware 3.04 or lower.
•
230.4k baud rate.
• block transfer is enabled (DIP switch SW3.1 ON).
• block transfers to the module are used (in the ladder program or by DriveTools/DriveTools32 using a Remote I/O pass thru connection).
Do not use the 230.4k baud rate if your module firmware is 3.04 or earlier and if your program uses block transfers. Use the 57.6k or 115.2k baud rate instead. Figure 2.11
Remote I/O Baud Rate Switches Off = 0 On = 1
Use SW 2.8 and SW 2.7 for setting the baud rate.
To change the baud rate, you need to: 1. Refer to the following table to determine settings for SW2.8 and SW2.7: Baud Rate 57.6 K 115.2 K 230.4 K
Switch 2.8 0 0 1
SW2.7 0 1 0
2. Slide the switches to their appropriate positions. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Page 29
Configuring the Module
Setting Switches on SW1
2–13
Setting the Rack Address DIP switches 8 through 3 on SW 1 set the rack address for the Remote I/O module. Each Remote I/O device must have a rack address that the controller can recognize. Each rack contains 8 words. Important: When using a PLC-2 family processor, add 1 to the rack number set on the Remote I/O module DIP switches to your PLC code. The PLC-2 cannot have a Remote I/O rack numbered zero, so add a value of one to the rack number value when writing your PLC code. Figure 2.12
Rack Address Switches Off = 0 On = 1 Use DIP switches 8 through 3 on SW1 for setting the module address.
To edit the rack address, you need to: 1. Refer to the following table to determine the settings for SW1.8 through SW1.3: Address Decimal Octal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 10 9 11 10 12 11 13 12 14 13 15 14 16 15 17
Switch Setting Address 8 <---- 3 Decimal Octal 111111 16 20 011111 17 21 101111 18 22 001111 19 23 110111 20 24 010111 21 25 100111 22 26 000111 23 27 111011 24 30 011011 25 31 101011 26 32 001011 27 33 110011 28 34 010011 29 35 100011 30 36 000011 31 37
Switch Setting 8 <---- 3 111101 011101 101101 001101 110101 010101 100101 000101 111001 011001 101001 001001 110001 010001 100001 000001
Address Decimal Octal 32 40 33 41 34 42 35 43 36 44 37 45 38 46 39 47 40 50 41 51 42 52 43 53 44 54 45 55 46 56 47 57
Switch Setting 8 <---- 3 111110 011110 101110 001110 110110 010110 100110 000110 111010 011010 101010 001010 110010 010010 100010 000010
Address Decimal Octal 48 60 49 61 50 62 51 63 52 64 53 65 54 66 55 67 56 70 57 71 58 72 59 73 60 74 61 75 62 76 63 77
Switch Setting 8 <---- 3 111100 011100 101100 001100 110100 010100 100100 000100 111000 011000 101000 001000 110000 010000 100000 000000
Important: Not all controllers support all of these node addresses. Refer to the documentation for your controller. The maximum number of devices on a Remote I/O link is 32. 2. Slide the switches to their appropriate positions. Settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
Page 30
2–14
Configuring the Module