Yaskawa PLC-5 User Manual

MicroTrac Gateway - Remote I/O
Part No. 46S03196-0010
02/01/01
RD 3196-10
Warranty. Standard products manufactured by the Company are warranted to be free from defects in workmanship and
material for a period of one year from date of shipment and any products which are defective in workmanship or material will
be repaired or replaced, at the Company's option, at no charge to the Buyer. Final determination as to whether a product is
actually defective rests with the Company. The obligation of the Company hereunder shall be limited solely to repair or replace,
Company or written notice of any alleged defects or deficiency promptly after discovery and within the warranty period, and in
the case of components or units purchased by the Company, the obligations of the Company shall not exceed the settlement that
the Company is able to obtain from the supplier thereof. No products shall be returned to the Company without its prior
consent. Products which the Company consents to have returned shall be shipped prepaid f.o.b. the Company's factory. The
Company cannot assume responsibility or accept invoices for unauthorized repairs to its components, even though defective.
The life of the products of the Company depends, to a large extent, upon the usage thereof, and THE COMPANY MAKES NO
WARRANTY AS TO FITNESS OF ITS PRODUCTS FOR THE SPECIFIC APPLICATIONS BY THE BUYER NOR AS
TO PERIOD OF SERVICE UNLESS THE COMPANY SPECIFICALLY AGREES OTHERWISE IN WRITING AFTER
THE PROPOSED USAGE HAS BEEN MADE KNOWN TO IT.
This warranty does not apply to experimental or developmental products for which NO warranty is made or given and Buyer waives any claim thereto.
THE FOREGOING WARRANTY IS EXCLUSIVE AND IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF MERCHANTABILITY OR OF FITNESS FOR A PARTICULAR PURPOSE AND BUYER HEREBY WAIVES ANY AND ALL CLAIMS THEREFORE.
Limitation Of Liability. IN NO EVENT SHALL THE COMPANY BE LIABLE FOR LOSS OF PROFIT, INDIRECT,
CONSEQUENTIAL OR INCIDENTAL DAMAGES WHETHER ARISING OUT OF WARRANTY, BREACH OF
CONTRACT OR TORT.
MicroTrac Gateway
to
Allen-Bradley PLC-5
and PLC-3
®
For use on MicroTrac®Local Area Network
Table of Contents
i
Table of Contents
12/22/94
Page
INTRODUCTION ............................................................................................. 1
HARDWARE ..................................................................................................... 1
JARC Board Setup ........................................................................................ 3
JARC Board Jumper Selections .................................................................... 3
JARC Board DIP Switch .............................................................................. 3
JARC Board LED Operation ........................................................................ 5
SmartMUX™ Board Setup ........................................................................... 6
SmartMUX™ Board Baud Rate / Last State ................................................ 6
SmartMUX™ Board Rack Address ............................................................. 7
SmartMUX™ Board LED Operation ........................................................... 8
Local I/O Racks ............................................................................................. 8
Terminating the Remote I/O Link ................................................................. 9
GENERAL OPERATION .............................................................................. 10
MicroTrac to PLC (LOGO) ........................................................................ 11
PLC to MicroTrac (LOGI) .......................................................................... 12
MicroTrac to PLC (NUMO) ....................................................................... 13
PLC to MicroTrac (NUMI) ......................................................................... 14
PLC
©
Access to Drive Setup Parameters ................................................... 16
PLC Block Trasfer ...................................................................................... 17
PAC Considerations .................................................................................... 20
TROUBESHOOTING – JARC BOARD ..................................................... 22
TROUBLESHOOTING – SmartMUX™ BOARD .................................... 23
TROUBLESHOOTING – A-B PLC-5™ or PLC-3
®
.................................. 23
PCDU TERMINAL OPERATION ............................................................... 24
Block 0 – Gateway Set-Up ......................................................................... 25
Information Block 1 – Digital Read ........................................................... 25
Information Block 2 – Digital Read ........................................................... 25
Information Block 3 – Digital Write ........................................................... 26
Information Block 4 – Digital Write ........................................................... 26
Information Block 5 – PLC Block Read .................................................... 26
Information Block 6 – PLC Block Read .................................................... 27
Information Block 7 – PLC Block Write .................................................... 27
Information Block 8 – PLC Block Write .................................................... 27
Information Block 9 – MicroTrac Logic Input Allocation ......................... 28
Information Block 10 – MicroTrac Logic Output Allocation .................... 28
Information Block 11 – MicroTrac Numeric Input Allocation .................. 28
Information Block 12 – MicroTrac Numeric Output Configuration ......... 29
List of Illustrations
Figure Number Title Page
1 JARC Interface Board ............................................................................... 1
2 SmartMUX Board ....................................................................................... 2
3 Local I/O Interface Board ........................................................................... 9
3a Local I/O Interface "Plug-In" Modules ...................................................... 9
4 PAC Logic Output to PLC ....................................................................... 11
5 PAC Logic Input from PLC ..................................................................... 12
6 PAC Numeric Output to PLC ................................................................... 13
7 PLC to PAC Numeric Input ..................................................................... 14
8 PLC Initialization Hardware and Signal Flow ..........................................15
9 Sample PAC Diagram .............................................................................. 16
10 Sample PLC Ladder Diagram .................................................................. 19
11 Sample PAC Diagram .............................................................................. 20
List of Tables
Table Number Title Page
1 JARC Jumper Selection .............................................................................. 3
2 JARC Board SW1 DIP Switch, Positions 1-8 ........................................... 4
3 JARC Board SW1 DIP Switch, Positions 9-11 ......................................... 4
4 JARC Board SW1 DIP Switch, Position 12 ............................................... 5
5 JARC Board LED Operation ...................................................................... 5
6 SmartMUX Board Baud Rate Switch ........................................................ 6
7 SmartMUX Board Last I/O Group Switch ................................................ 6
8 SmartMUX Board Last State Switch ......................................................... 7
9 SmartMUX Board Watchdog Switch ........................................................ 7
10 SmartMUX Board Rack Adddress Selection ............................................. 7
11 SmartMUX Board LED Operation ............................................................ 8
12 Troubleshooting the JARC Board ............................................................ 20
13 Troubleshooting the SmartMUX Board ................................................... 21
14 Troubleshooting the PLC ......................................................................... 21
Table of Contents
ii
Table of Contents
12/22/94
INTRODUCTION
1
INTRODUCTION
2/17/95
INTRODUCTION
HARDWARE
The Allen-Bradley Programmable Logic Controller (PLC) Remote I/O Gateway allows any drive on the MicroTrac
®
LAN to communicate with an Allen-Bradley PLC-5 or PLC-3 through the 1771 I/O Network. Both logic and numeric information can be transferred.
CAUTION
The gateway must be properly grounded. Use star washers that will cut into the metal of the gateway box when mounting to ensure proper earth ground.
The Allen-Bradley PLC gateway is a self-contained unit with one JARC interface board, one SmartMUX interface board, one eight-point local I/O interface board, and a power supply. The NEMA 1 enclosure contains the electronics with internal connections for AC power, digital I/O points, and external connections for the MicroTrac LAN. The initial setup is factory configured, but depending on the application, the following electronic boards may require setup.
1. The JARC board is the interface board which provides the LAN connection and communicates with the SmartMUX board through dual port memory contained on the JARC board. A 12-position DIP switch on the JARC board, labeled SW1, sets the LAN node address (default = 200) and the rack address (default = 1). Refer to Figure 1.
Figure 1. JARC Interface Board
J5J6EPROM
J7
+5 V
Ground
–5 VPEJ1
• 128K
• 512K
Jumper
J9
XMIT LED D3 (Red)
RECON LED D4 (Yellow)
J3
PCDU
Connection
Fuse
PGM
LED
SW1
1
12
PWR
LED
F1
LAN
Connection
J8
CTS • • • GRD
Jumper
HARDWARE
2
HARDWARE
12/22/94- RD 3196-10
2. One SmartMUX board is attached to the JARC board using screws and a pluggable 17-pin header. Two 6-position DIP switches on the SmartMUX board, labeled SW1 and SW2, set the rack address and the baud rate for the communications. Refer to Figure 2.
Figure 2. SmartMUX Board
J1
EPROM
I/O Rack Connector
J2
PWR LED (Red – for Power)
LED (Green – for Communications)
Connector
to
JARC J5 or JARC J6
SW1
SW2
110RST
ALE
CLR
SHD
BLUE
GND
CCL
CGD
+5V
Connections to A-B 1771 I/O Network
HARDWARE
3
JARC Board Setup
12/22/94- RD 3196-10
The JARC board has jumpers and one 12-position DIP switch that are user configurable.
NOTE: The JARC board only reads the DIP switch settings on power-up.
The proper version of EPROM must be placed in the EPROM socket.
The jumpers located on the JARC board are described in Table 1, with the defaults shown.
NOTE: On revision "C" and later JARC boards, J1 is an ARCNET BNC connector and J2 does not exist.
NOTE: If the hand held Portable Command/Display Unit (PCDU) does not operate properly after plugging into the JARC board J3 RS-232 connector, check the F1 fuse. This fuse protects the +5V power to the PCDU.
Positions 1 through 8 of DIP switch SW1 determine the LAN node address. Usually this address is set for 200, when the system has only one PLC gateway. The address of the second PLC gateway is typically set to 201. Enter the node ID in binary notation, choosing either a "0" or a"1" for each bit. The least significant bit is position 1, and the most significant bit is position 8. The standard gateway addresses are listed in Table 2. The JARC board switches use pull-down logic, so a closed switch is a logic 0.
JARC Board
Setup
JARC Board
DIP Switch
JARC Board
Jumper
Selections
Table 1. JARC Jumper Selection
JUMPER DEFAULT DESCRIPTION
J8 Center - GND 1-2 CTS (Clear to Send for RS-232)
J9 128K - Center 1-2 RAM_CE2 (Internal selection for
128k static RAM chip)
HARDWARE
4
12/22/94- RD 3196-10
JARC Board DIP Switch
Positions 9, 10, and 11 of DIP switch SW1 determine the starting rack number for the JARC board to accept on the network (see Table 3). This rack number must match the lowest rack number selected on the SmartMUX board. The SmartMUX board is usually wired to JARC board connector J5. Rack 0 is only valid for a PLC-3.
Table 2. JARC Board SW1 DIP Switch, Positions 1-8
MICROTRAC SW1 DIP Switch Position
LAN
LSB MSB
ADDRESS
1 2 3 4 5 6 7 8
200 X X X O X X O O
201 O X X O X X O O
202 X O X O X X O O
203 O O X O X X O O
204 X X O O X X O O
205 O X O O X X O O
206 X O O O X X O O
207 O O O O X X O O
X = Closed = Logical 0 = Switch ON O = Open = Logical 1 = Switch OFF
Table 3. JARC Board SW1 DIP Switch, Positions 9 - 11
RACK
SW1 DIP Switch Position
J5 J6 9 10 11
0 1 X X X
1 2 O X X
2 3 X O X
3 4 O O X
4 5 X X O
5 6 O X O
6 7 X O O
7 N/A O O O
X = Closed = Logical 0 = Switch ON O = Open = Logical 1 = Switch OFF
HARDWARE
5
12/22/94- RD 3196-10
JARC Board LED Operation
Position 12 of DIP switch SW1 enables or disables the hardware watchdog (see Table 4). The hardware watchdog resets the JARC board if a hardware or software failure occurs. This feature should be enabled for all installations.
There are four LEDs on the JARC interface board; one power LED and three user indication LEDs. The placement of the LEDs is shown in Figure 1.
Table 4. JARC Board SW1 DIP Switch, Position 12
WATCHDOG Position 12 DESCRIPTION
ON O Enable Watchdog (DEFAULT)
OFF X Disable Watchdog
X = Closed = Logical 0 = Switch ON O = Open = Logical 1 = Switch OFF
Table 5. JARC Board LED Operation
LED COLOR DESCRIPTION
PWR RED ON when the JARC board has proper +5V power from the
power supply. The power LED should always be ON.
RECON YELLOW ON when a LAN reconfiguration occurs. Each time a node
enters or leaves the network, a reconfiguration occurs. If the reconfiguration completes and the network is stable, the RECON LED will turn OFF after about 1-2 seconds. If this LED is ON constantly or blinks frequently, a network problem is likely.
XMIT RED ON when the JARC board is communicating on the network.
This LED is normally on all the time.
PGM RED The PGM LED is used to indicate hardware error conditions.
If this LED is ON, turn off the power to the PLC gateway and then turn the power back on. If this LED remains ON, then a hardware problem has been detected with the JARC board.
JARC Board
LED Operation
HARDWARE
6
SmartMUX Board Setup
12/22/94- RD 3196-10
SmartMUX
Board Setup
SmartMUX
Board Baud
Rate / Last
State
The SmartMUX board resides on top of the JARC board and is screwed in place. The SmartMUX board requires four screws to attach it to the JARC board.
There are two jumper positions on the SmartMUX board, labeled J1 and J2. These jumpers are used for EPROM functions which are not required by this implementation of the SmartMUX board, so these jumpers are not installed.
The SmartMUX board has two 6-position DIP switches, labeled SW1 and SW2, to select the rack address and baud rate. The rack address must be consecutive between zero and seven (inclusive), and must match the rack address set on the JARC board.
The first DIP switch, SW1, controls the baud rate, last I/O group, last state, and watchdog (see Tables 6-9), and one bit of the rack address. The "Baud Rate" and "Last State" should be the only switches that require modification.
Table 6. SmartMUX Board Baud Rate Switch
DIP Switch SW1
BAUD RATE
Position 1 Position 2
57.6K X X
(DEFAULT)
115.2K O X
230.4K X O
230.4K O O
X = Closed switch = Switch ON O = Open switch = Switch OFF
Table 7. SmartMUX Board Last I/O Group Switch
DIP Switch SW1
LAST I/O GROUP
Position 3
NOT LAST X
LAST O
(DEFAULT)
X = Closed switch = Switch ON O = Open switch = Switch OFF
HARDWARE
7
SmartMUX Board Rack Address
12/22/94- RD 3196-10
SmartMUX Board Rack Address
The following DIP switch settings represent the SmartMUX board connected to the JARC board via the J5 connector.
Table 8. SmartMUX Board Last State Switch
DIP Switch SW1
LAST STATE
Position 4
RESET ALL X (DEFAULT)
HOLD ALL O
X = Closed switch = Switch ON O = Open switch = Switch OFF
Table 9. SmartMUX Board Watchdog Switch
DIP Switch SW1
WATCHDOG
Position 5
DISABLE WATCHDOG X
ENABLE WATCHDOG O
(DEFAULT)
X = Closed switch = Switch ON O = Open switch = Switch OFF
Table 10. SmartMUX Board Rack Address Selection
DIP Switch / Position
RACK ADDRESS
SW1-6 SW2-1 SW2-2 SW2-3 SW2-4 SW2-5 SW2-6
00 X X X X X X X
01 X X X X O X X
(DEFAULT)
02 X X X O X X X
03 X X X O O X X
04 X X O X X X X
05 X X O X O X X
06 X X O O X X X
07 X X O O O X X
X = Closed switch = Switch ON O = Open switch = Switch OFF
Loading...
+ 23 hidden pages