User`s manual

XP8000 Series (PLCBus
TM
)
Z-World 530-757-3737 5
the +V line on the PLCBus. When J2:2-3 are connected, the ac-
tuation voltage is supplied by the VCC line on the PLCBus.
To supply actuation voltage at header H1, leave J2 unconnected
and connect your power supply at V+ and GND.
How to use Relay Boards
Whether you are using a RELAY6 board or a RELAY8 board,
the method for controlling it is the same:
1 Initially, send a reset command to all boards on the PLCBus.
Wait 350 ms.
2 Get the board’s attention by placing its address on the
PLCBus.
3 Operate the various relays on the board.
Addressing a Relay Board
Up to 64 relay boards (RELAY6 and RELAY8 boards in any
combination) can be addressed individually on a single
PLCBus. The address of a particular relay board is determined
(1) by the encoding of the PAL chip installed on the board and
(2) by jumper J1. Eight different PALs are available and J1 can
be set eight different ways, giving 64 unique addresses:
000z 000y pppx
z = 1 when J1 pins 5-6 are not connected
y = 1 when J1 pins 3-4 are not connected
x = 1 when J1 pins 1-2 are not connected.
The bits ppp are determined by the PAL number. Software gives
the relay boards logical addresses, 063, using this formula:
logical address = ppp × 8 + zyx
where ppp and z, y, and x are defined above.
Controlling a relay
Once you have placed a relay board’s address on the bus, you
may switch its relays at will. Using BUSWR, place four bits of
data on the bus:
Relay D3 D2 D1 Relay D3 D2 D1 D0
0 0 0 0 4 1 0 0 0 = relay off
1 0 0 1 5 1 0 1 1 = relay on
2 010 6 110
3 011 7 111
Notes
Each relay on the RELAY6 board has an LED that illuminates
when the corresponding relay is activated. This does not pro-
vide verification that the contacts within the relay actually
switch, however.
Specifications
RELAY6 (XP8300)
Board Size 2.835 × 3.525 × 0.78
Operating Temp 40°C to +70°C
Humidity 5% to 95% non-condensing
Power
24VDC, 100 mA
Relays 6 SPDT (contacts rated 120VAC at 10A).
RELAY8 (XP8400)
Board Size 2.835 × 2.22 × 0.58
Operating Temp 40°C to +70°C
Humidity 5% to 95% non-condensing
Power
24VDC, 80 mA
Relays 8 SPST (contacts rated 150VDC at 500 mA).
ADC Boards
Z-World’s A/D12 and ADC4 expansion boards add analog-to-
digital (ADC) channels to your control system. You can address
up to 64 A/D12 boards and up to 16 ADC4 boards on a single
PLCBus.
The A/D12
The A/D12 board has eight analog input channels. These can be
read as eight differential signals with selectable gain, or as 16
single-ended signals with unity gain. Gains of 2, 6, 22, 42, 102,
and 202X, as well as unity gain, can be selected.
H1 H2 H5
RN2
U6
Latch
P1
PAL
U13
U8
J2
J1
PAL
U7
EEPROM
U9 J3
U1
U4
C1 C2
MUX
U11
MUX
Op Amps
U2
Op Amps
U3
C3
–5V
U5
U10
not
used
U14
Power
+5V
J5
P2
ADC
Prec.
+2.5V
U12
J4
RN3
Each A/D12 board is factory-calibrated. Compensation coeffi-
cients for all ADC channels are stored in the board’s EEPROM.
The EEPROM can be read or written by your application pro-
gram. Normally, you would not do this. However, you might
wish to recalibrate your A/D12 board at some point.
The A/D12 board’s main power supply provides +5V up to 1
amp. U6 and U14 provide V–, a regulated –5V up to 50 mA. An
LT1019 provides a precision 2.5V reference up to 10 mA.
External Connection
Analog signals enter the A/D12 board via terminals on connec-
tors H1 and H2. A third connector, H5, provides excitation volt-
ages for strain gauges and other analog input sensors. Signals
at the board’s input terminals (ANx+ and ANx–, 0 x 7) are
routed to the board’s ADC chip, U4, by two multiplexers and
several differential amplifiers.
H1 H2 H5
GND
EX1
AN0
EX4
GND
V–
VREF
VCC
V+
DCIN
+–
AN1
+–
AN2
+–
AN3
+–
AN4
+–
AN5
+–
AN6
+–
AN7
+–