Documente Academic
Documente Profesional
Documente Cultură
Installing the R-J3 A-B RIO Interface on the R-J3 controller involves three
major steps:
Because you cannot access the DIP switches when the board is installed in the controller, you
must set them before you install the board in the controller. You can use system variables to see
the DIP switch positions when the board is installed.
• 2. Plugging the R-J3 A-B RIO Interface into the R-J3 controller.
• 3. Wiring the serial communication line to the R-J3 A-B RIO Interface.
Back to top
2.4.1
Setting DIP Switches
Before you plug in the R-J3 A-B RIO Interface, you must set the Dual In-line Package (DIP)
switches on the interface board. These switch settings must not be modified while the controller is
turned on. The DIP switches are accessible only when the PCB is removed from the controller.
The way you set the DIP switches depends on how you want your system to function. There are
two banks of DIP switches: Switch 1 and Switch 0. The switch positions are oriented as shown in
Figure 2-2 , with Switch 0 to the left of Switch 1 as you look at the PCB with the 6-position
terminal block to the left.
As it is difficult to determine the DIP Switch positions when the R-J3 mini-slot PCB is installed, the
settings for the switch positions have been stored in two system variables for easy access:
• • The DIP switches in SW0 are decimal encoded and stored in the system variable
$AB_INT_CFG.$DIP_SW_0.
• • The DIP switches in SW1 are decimal encoded and stored in the system variable
$AB_INT_CFG.$DIP_SW_1.
The eight switches in Switch 1 are described in Table 2-2 , Table 2-3 , and Table 2-4 . The eight
switches in Switch 0 are described in Table 2-5 , Table 2-6 , Table 2-7 , and Table 2-8 . Keep in
mind when you read the descriptions of these switch settings that the PLC sees the R-J3 A-B RIO
Interface as another remote I/O rack. (See Chapter 1.)
Consult the appropriate Allen-Bradley documentation for information on the proper DIP switch
settings for your particular PLC and I/O
scanner.
See Figure 2-2 for a description of switch settings. Refer to the appropriate Allen-Bradley
documentation to determine valid rack addresses for the particular PLC model used.
Table 2-3 . Baud Rate Setting, Switch 1
Position 8 Position 7 Baud Rate Distance
CLOSED (ON) CLOSED (ON) 57.6 kBd 10,000 ft
CLOSED (ON) OPEN (OFF) 115.2 kBd 5,000 ft
OPEN (OFF) CLOSED (ON) 230.4 kBd 2,500 ft
OPEN (OFF) OPEN (OFF) 230.4 kBd 2,500 ft
See Table 2-6 and Table 2-7 for a description of switch settings. Refer to the appropriate Allen-
Bradley documentation to determine valid rack addresses for the particular PLC model used.
See Figure 2-2 for a description of switch settings. Refer to the appropriate Allen-Bradley
documentation to determine valid rack addresses for the particular PLC model used.
Table 2-8 lists the valid and invalid rack size and starting module group number combinations you
can have in your system.
Table 2-8 . Rack Size and Starting Module Group Number Combinations
Starting Module Group Number
Rack Size
0 2 4 6
1/4 valid valid valid valid
1/2 valid valid valid invalid
3/4 valid valid invalid invalid
FULL valid invalid invalid invalid