XP 86 00 XP8 900 XP8600 and XP8900 Digital-to-Analog Conversion Expansion Boards Users Manual Revision C
XP8600 and XP8900 Users Manual Part Number 019-0064 Revision C Last revised on July 21, 2000 Printed in U.S.A. Copyright © 1999 Z-World, Inc. All rights reserved. Z-World reserves the right to make changes and improvements to its products without providing notice. Trademarks ® Dynamic C is a registered trademark of Z-World, Inc. ® Windows is a registered trademark of Microsoft Corporation PLCBus is a trademark of Z-World, Inc.
TABLE OF CONTENTS About This Manual vii XP8600 Chapter 1: Overview 13 Chapter 2: Getting Started 15 Chapter 3: I/O Configurations 21 Chapter 4: Software Reference 27 XP8600 Components ........................................................................... 16 Connecting Expansion Boards to a Z-World Controller ...................... 17 Setting Expansion Board Addresses .................................................... 18 Power .................................................................
Advanced Programming ...................................................................... 33 Functions in PLC_EXP.LIB ............................................................ 33 Sample Program ........................................................................... 34 Functions in PBUS_LG.LIB ............................................................ 36 Functions in Other Libraries ...........................................................
Appendix B: Specifications 79 Appendix C: Connecting and Mounting Multiple Boards 85 Appendix D: Simulated PLCBus Connections 89 Index 93 XP8600 Hardware Specifications ........................................................ 80 XP8900 Hardware Specifications ........................................................ 82 Connecting Multiple Boards ................................................................ 86 Mounting Expansion Boards ..............................................................
Blank vi s Table of Contents XP8600/XP8900
ABOUT THIS MANUAL This manual provides instructions for installing, testing, configuring, and interconnecting the Z-World XP8600 and XP8900 Series digital-to-analog conversion expansion boards. Instructions are also provided for using Dynamic C® functions. Assumptions Assumptions are made regarding the user's knowledge and experience in the following areas: Ability to design and engineer the target system that the controller used with the XP8600 or XP8900 Series expansion boards will control.
Acronyms Table 1 lists and defines the acronyms that may be used in this manual. Table 1.
Conventions Table 3 lists and defines the typographical conventions that may be used in this manual. Table 3. Typographical Conventions Example Description while Courier font (bold) indicates a program, a fragment of a program, or a Dynamic C keyword or phrase. // IN-01… Program comments are written in Courier font, plain face. Italics Indicates that something should be typed instead of the italicized words (e.g., in place of filename, type a file’s name).
Blank x s About This Manual XP8600/XP8900
XP8600
Blank This page is blank intentionally.
CHAPTER 1: OVERVIEW Chapter 1 provides an overview and description of the XP8600 digital-toanalog conversion expansion boards.
The XP8600 is a 12-bit digital-to-analog (D/A) converter expansion board that can be used in conjunction with any Z-World PLCBus-compatible controller. Like other Z-World expansion boards, the XP8600 can be installed in modular plastic circuit-board holders attached to a DIN rail. The XP8600 can also be mounted, with plastic standoffs, on any surface that will accept screws. Eight or more different XP8600 board addresses may be used on one PLCBus; up to 64 different logical addresses are provided for.
CHAPTER 2: GETTING STARTED Chapter 2 provides instructions for connecting XP8600 expansion boards to a Z-World controller. The following sections are included.
XP8600 Components The XP8600 boards offer two channels of 12-bit digital-to-analog conversion outputs. Figure 2-1 illustrates the basic layout and orientation of components, headers, and connectors. J3 U8 R1 U10 U12 5V (J4) C15 C1 PAL Power +15 V Latch C16 U9 C6 U7 C3 RP1 P2 DAC R4 (Z1) U11 U13 R5 DAC P1 C2 REF+ C5 U2 U8 Op-Amps C4 U6 U4 C10 U5 U3 C9 RP2 J1 J2 R3 R2 R6 D1 H1 Figure 2-1.
Connecting Expansion Boards to a Z-World Controller Use the 26-conductor ribbon cable supplied with an expansion board to connect the expansion board to the PLCBus on a Z-World controller. See Figure 2-2. The expansion boards two 26-pin PLCBus connectors, P1 and P2, are used with the ribbon cable. Z-World recommends using the cable supplied to avoid any connection problems. Controller PLCBus Port J3 Pin 1 P1 1 P2 J2 J1 H1 XP8600 Controller With PLCBus Figure 2-2.
4. Each expansion board comes with a factory-default board address. If more than one expansion board of each type is to be used, be sure to set a unique address for each board. $ The following section on Setting Expansion Board Addresses, and Chapter 4, Software Reference, provide details on how to set and use expansion board addresses. 5. Power may be applied to the controller once the controller and the expansion boards are properly connected using the PLCBus ribbon cable.
Power Z-Worlds expansion boards receive power from the controller over the +24 V line of the PLCBus. An onboard regulator converts this to the +5 V and the ±10 V reference used by the expansion boards. With no output, the XP8600 expansion boards draw about 30 mA; with all their output channels operating at maximum current (22 mA per channel), the XP8600 draws 75 mA.
Blank 20 s Getting Started XP8600
CHAPTER 3: I/O CONFIGURATIONS Chapter 3 describes the built-in flexibility of the XP8600 expansion boards, and describes how to configure the available inputs/outputs. The following sections are included.
XP8600 Pin Assignments Analog signals (voltage or current output) leave the XP8600 via terminals 1 and 3 on Wago connector H1. Terminals 2 and 4 provide ground. Other terminals provide access to board voltages. When the XP8600 is used with a BL1200, BL1600, BL1700, PK2100, or PK2200 controller, the +24 V from the PLCBus serves as the power source, and is accessible on pin 8 of Wago connector H1.
XP8600 Circuitry The XP8600s D/A circuitry consists of two 12-bit AD7543 D/A converters, U3 and U4, and an LM324N quad op-amp chip, U1. The outputs of the D/A converters are amplified, and resistor packs RP1 and RP2 allow both current output and voltage output. The outputs appear on headers J1 and J2, and at Wago connector H1. The input comes on the PLCBus from the program running on the controller. Figure 3-3 illustrates the operation of the D/A conversion.
The AD7543 Chip Each of the two AD7543 D/A converter chips receives serial data in Register A. When Register A is full, its contents are transferred to Register B, as shown in Figure 3-4. The data are then converted and the analog output is asserted. Each AD7543 has a linearity of ±1 LSB and a gain stability of approximately 5 ppm per degree Celsius. AD7543 REF 12-bit D/A converter LD Load Register B STB SDI 12-bit shift reg (A) OUT Figure 3-4.
Current Output A current output is selected by connecting pins 12 on jumper block J1 or J2. (It is possible to operate one channel with a voltage output and the other channel with a current output.) The current output can be calculated using Equation (3-3). I1 = (OUT1/R2) × (RP2/RP1) I2 = (OUT2/R3) × (RP2/RP1) where OUT1 and OUT2 are the outputs of the D/A converter chips. The output values can be changed by changing resistor packs RP1 and RP2. The maximum output current is limited by the op-amp to 20 mA.
Blank 26 s I/O Configurations XP8600
CHAPTER 4: SOFTWARE REFERENCE Chapter 4 describes the Dynamic C functions used to initialize the XP8600 and XP8900 Series expansion boards and to control the resulting analog outputs. The following major sections are included.
Expansion Board Addresses XP8600 Up to 64 XP8600s may be addressed individually over a single PLCBus. Each XP8600 board has a 12-bit address. Once the board has latched its address, the board may be accessed repeatedly without having to send its address again. The 12-bit address of a particular XP8600 is determined by the encoding of PAL chip U7 on the board and by jumper block J3.
XP8600 Software This section describes a set of simple software functions to use when controlling the XP8600 expansion boards. Dynamic C Libraries Several Dynamic C function libraries need to be used with the routines defined in this section. The chart in Table 4-1 identifies which libraries are used with particular Z-World controllers. Table 4-1. Dynamic C Libraries Required by Z-World Controllers for XP8600 Expansion Boards Library Needed Controller VDRIVER.LIB All controllers EZIOCMMN.
Using Digital-to-Analog Converter Boards The follow steps summarize how to use the D/A converter boards. 1. Send a reset command to the PLCBus. 2. Place the address of the D/A converter on the PLCBus. 3. Send data serially to one of the D/A converters (Register A). When Register A is filled, load the data to D/A converter Register B where it is converted and output. 4. Use the boards analog output to control motors, attenuators or other analog devices.
Address Target Board int plcXP86Init( int Addr ) Initializes and turns on XP8600. Call this function before calling plcXP86Out. PARAMETERS: Addr is the logical address of the board set by jumpers, and ranges from 07. With special PALs, the address can range from 063. RETURN VALUE: 1 if the board cannot be found, 0 if the initialization is completed. LIBRARY: EZIOPBDV.LIB Operate Target Board int plcXP86Out( int Addr, unsigned int oValue ) Sends the 12-bit oValue to the proper D/A converter channel.
Use the following steps to run the sample program. 1. Compile the program by pressing F3 or by choosing Compile from the COMPILE menu. Dynamic C compiles and downloads the program into the controllers memory. During compilation, Dynamic C rapidly displays several messages in the compiling window, which is normal. 2. Run the program by pressing F9 or by choosing Run from the RUN menu. It is also possible to single-step through the program with F7 or F8. 3. To halt the program, press . 4.
Advanced Programming Functions in PLC_EXP.LIB int plcdac_addr( int bd ) Converts logical board address 063 to 12-bit (3-nibble) PLCBus analog address. RETURN VALUE: 12-bit (nibble-interchanged) bus address for an XP8600 identified by a logical address (063). void plc_fdac1( int dac_value ) void plc_sdac1( int dac_value ) Each of these routines writes data serially to DAC1 (U3) on the presently addressed XP8600. These functions are equivalent and may be used interchangeably.
Sample Program The sample program demonstrates how to drive the XP8600 in a voltageoutput mode. The program runs on controllers with a PLCBus. Materials Required 1 kΩ, ¼ W resistor and an LED OR digital volt-ohm meter Instructions 1. Power up the controller and make sure it is working properly. Consult the controller users manual, if necessary. Now disconnect power from the controller. 2. Connect the XP8600 to the controller. See Chapter 2, Getting Started, for more details. 3.
6. Power up the controller and bring up Dynamic C on the PC. 7. Open and run the sample program DASAMPL1.C in the Dynamic C SAMPLES\PLCBUS subdirectory . 8. The LED will increase and decrease in intensity as the program runs. 9. If the LED does not light up at all, its polarity may be reversed. Try turning the circuit around, connecting the LED at V/I1 and the resistor at GND. Program The program demonstrates how to drive the XP8600 in voltage output mode.
Use the following steps to run the sample program. 1. Compile the program by pressing F3 or by choosing Compile from the COMPILE menu. Dynamic C compiles and downloads the program into the controllers memory. During compilation, Dynamic C rapidly displays several messages in the compiling window, which is normal. 2. Run the program by pressing F9 or by choosing Run from the RUN menu. It is also possible to single-step through the program with F7 or F8. 3. To halt the program, press . 4.
void write_DAC2( int val ) Writes data serially to DAC2 (U4) on the presently addressed XP8600. The board address must have been set previously with a call to PBus12_Addr. A call to one of these functions must be followed by a call to latch_DAC2or its equivalent in user-supplied code otherwise no digital-to-analog conversion occurs. void latch_DAC1() Transfers the data in Register A of DAC1 (U3) to Register B of DAC1, whereupon it is converted and the analog signal is output.
Blank 38 s Software Reference XP8600
XP8900
Blank This page is blank intentionally.
CHAPTER 5: OVERVIEW Chapter 5 provides an overview and description of the XP8900 digital-toanalog conversion expansion boards.
The XP8900 Series is a 12-bit digital-to-analog (D/A) converter expansion board that can be used in conjunction with any Z-World PLCBus-compatible controller. Like other Z-World expansion boards, the XP8900 Series boards can be installed in modular plastic circuit-board holders attached to a DIN rail. The XP8900 Series boards can also be mounted, with plastic standoffs, on any surface that will accept screws. Up to eight different XP8900 board addresses may be used on one PLCBus.
CHAPTER 6: GETTING STARTED Chapter 6 provides instructions for connecting XP8900 Series expansion boards to a Z-World controller. The following sections are included.
XP8900 Series Components The XP8900 Series of expansion boards offers up to eight channels of digital-to-analog conversion outputs. Figure 6-1 shows the basic layout and orientation of components, headers, and connectors.
Connecting Expansion Boards to a Z-World Controller Use the 26-conductor ribbon cable supplied with an expansion board to connect the expansion board to the PLCBus on a Z-World controller. See Figure 6-2. The expansion boards two 26-pin PLCBus connectors, P1 and P2, are used with the ribbon cable. Z-World recommends using the cable supplied to avoid any connection problems. + + + + + + + Controller PLCBus Port P1 + + + Pin 1 U4 + + Op-Amps + P2 XP8900 Controller With PLCBus Figure 6-2.
4. Each expansion board comes with a factory-default board address. If more than one expansion board of each type is to be used, be sure to set a unique address for each board. $ The following section on Setting Expansion Board Addresses, and Chapter 8, Software Reference, provide details on how to set and use expansion board addresses. 5. Power may be applied to the controller once the controller and the expansion boards are properly connected using the PLCBus ribbon cable.
2 1 0 3 7 8 7 8 7 8 7 6 5 6 5 6 5 6 5 4 3 4 3 4 3 4 3 2 1 2 1 2 1 2 1 8 P3 P3 P3 P3 P3 P3 P3 P3 8 7 8 7 8 7 8 6 5 6 5 6 5 6 4 3 4 3 4 3 4 2 1 2 1 2 1 2 4 5 6 1 7 FD Figure 6-3. P3 Jumper Settings for XP8900 Series PLCBus Addresses Power Z-Worlds expansion boards receive power from the controller over the +24 V line of the PLCBus. An onboard regulator converts this to the +5 V and the ±12 V reference used by the expansion boards.
Blank 48 s Getting Started XP8900
CHAPTER 7: I/O CONFIGURATIONS Chapter 7 describes the built-in flexibility of the XP8900 Series expansion boards, and describes how to configure the available inputs/outputs. The following sections are included.
XP8900 Series Pin Assignments The XP8900 has eight channels of bipolar voltage outputs, each with its own individual ground, and terminals for user-supplied positive and negative voltage rails, also with their own individual grounds. These are all located on Wago connectors J1 and J2, as shown in Figure 7-1. The pin assignments for the XP8910 are similar, except there are only four output channels. There are no outputs on pin 9 of J1, and there are no outputs on pins 1, 3, and 5 of J2.
XP8900 Series Circuitry The XP8900s D/A circuitry consists of eight 12-bit AD5320 D/A converters, U9 to U16, and two OP497G quad op-amp chips, U3 and U4. The outputs of the D/A converters are amplified, and the analog outputs appear on Wago connectors J1 and J2. The input comes on the PLCBus from the program running on the controller. Figure 7-3 illustrates the operation of the D/A conversion.
Blank 52 s I/O Configurations XP8900
CHAPTER 8: SOFTWARE REFERENCE Chapter 4 describes the Dynamic C functions used to initialize the XP8600 and XP8900 Series expansion boards and to control the resulting analog outputs. The following major sections are included.
Expansion Board Addresses XP8900 Series Up to eight XP8900 Series expansion boards may be addressed over a single PLCBus using a logical address of 0 to 7. The 12-bit address of a particular XP8900 is determined by the jumper setting on header P3. P3 may be set eight different ways. The unique physical address is in the form 0010 000x yzRR where x = 1 when P3 pins 12 are not connected y = 1 when P3 pins 34 are not connected z = 1 when P3 pins 56 are not connected and RR is reserved for the registers.
XP8900 Series Software This section describes a set of simple software functions to use when controlling the XP8900 Series expansion boards. Dynamic C Libraries Several Dynamic C function libraries need to be used with the routines defined in this section. The chart in Table 8-1 identifies which libraries must be used with particular Z-World controllers. Table 8-1. Dynamic C Libraries Required by Z-World Controllers for XP8900 Series Expansion Boards Library Needed Controller EZIOCMMN.
Using Digital-to-Analog Converter Boards The follow steps summarize how to use the D/A converter boards. 1. Send a reset command to the PLCBus. 2. Place the address of the D/A converter on the PLCBus. 3. Send data serially to one of the D/A converters (Register A). When Register A is filled, load the data to D/A converter Register B where it is converted and output. 4. Use the boards analog output to control motors, attenuators or other analog devices.
long int eioErrorCode Represents a global bit-mapped variable whose flags reflect error occurrences. This register for this variable is initially set to 0. If the application tries to access an invalid channel, the flag EIO_NODEV (the first bit flag) is set in this register. Note that the other bits in EIO_NODEV deal with networked controllers. Address Target Board int plcXP89Init( int Addr ) Initializes XP8900 Series board. Call this function before using the other plcXP89 functions.
Operate Target Board int plcXP89Sw( int Addr, int state ) Turns the D/A converters and references to op-amps on or off. Note that all channels on a particular board are switched at the same time. PARAMETERS: Addr is the logical address, 07, of the board set by jumpers. Both the reference (switched on by this call) and the D/A converter output (switched off by this call, switched on by plcX89Out) must be set correctly to get the proper output.
Table 8-2 summarizes these three functions. The order in which they appear in Table 8-2 is the sequence in which they should be used to start an XP8900 Series board. Table 8-2.
int plcXP89RdCalib( int chan, struct _eioAdcCalib *pCalib ) Reads the calibration structure of a D/A channel from an XP8900 Series board. PARAMETERS: chan is the channel number, 063, of the XP8900 Series D/A channel. chan = 8*board_number + channel_number. _eioAdcCalib *pCalib is a pointer to a calibration structure. Use eioAdcDigitize to compute the actual D/A output of a given analog value. RETURN VALUE: 0 if the operation is successful, otherwise returns a negative number. LIBRARY: EZIOPBDV.
long eioAdcDigitize( float f, struct _eioAdcCalib *pCalib ) Converts analog value to digital number according to calibration coefficients. This function is used to convert an analog value such as voltage to the actual digital number for a D/A converter device. PARAMETERS: f is the analog value to output. _eioAdcCalib *pCalib is a pointer to a structure that stores the calibration coefficients. RETURN VALUE: Long integer that corresponds to the number to send to a D/A converter device. LIBRARY: EZIOPBDV.
Sample Program The sample program XP89_1.C in the Dynamic C SAMPLES\PLCBUS subdirectory demonstrates how to calibrate the D/A converter channels. The basic sample program is designed for the BL1200, BL1600, PK2100, and PK2200 controllers. Remember to uncomment the lines that apply to the controller being used with the XP8900 Series expansion board. To use this program properly, it may be necessary to edit the statements that initialize the channel, margin, f1, and f2.
XP89_1.C #use eziocmmn.lib /* #use ezioplc.lib /* #use eziotgpl.lib /* #use eziolqpl.lib /* #use eziomgpl.lib /* #use eziobl17.lib /* #use ezioplc2.
Blank 64 s Software Reference XP8900
APPENDICES
Blank This page is blank intentionally.
APPENDIX A: PLCBUS Appendix A provides the pin assignments for the PLCBus, describes the registers, and lists the software drivers.
PLCBus Overview The PLCBus is a general-purpose expansion bus for Z-World controllers. The PLCBus is available on the BL1200, BL1600, BL1700, PK2100, PK2200 and PK2600 controllers. The BL1000, BL1100, BL1300, BL1400, and BL1500 controllers support the XP8300, XP8400, XP8600, and XP8900 expansion boards using the controllers parallel input/output port. The BL1400 and BL1500 also support the XP8200 and XP8500 expansion boards.
Actually, two independent buses, the LCD bus and the PLCBus, exist on the single connector. The LCD bus consists of the following lines. LCDXpositive-going strobe. /RDXnegative-going strobe for read. /WRXnegative-going strobe for write. A0Xaddress line for LCD register selection. D0X-D7Xbidirectional data lines (shared with expansion bus). The LCD bus is used to connect Z-Worlds OP6000 series interfaces or to drive certain small liquid crystal displays directly.
There are eight registers corresponding to the modes determined by bus lines A1X, A2X, and A3X. The registers are listed in Table A-2. Table A-2.
Place an address on the bus by writing (bytes) to BUSADR0, BUSADR1 and BUSADR2 in succession. Since 4-bit and 8-bit addressing modes must coexist, the lower four bits of the first address byte (written to BUSADR0) identify addressing categories, and distinguish 4-bit and 8-bit modes from each other. There are 16 address categories, as listed in Table A-3. An x indicates that the address bit may be a 1 or a 0. Table A-3.
Z-World provides software drivers that access the PLCBus. To allow access to bus devices in a multiprocessing environment, the expansion register and the address registers are shadowed with memory locations known as shadow registers. The 4-byte shadow registers, which are saved at predefined memory addresses, are as follows.
Digital output devices, such as relay drivers, should be addressed with three 4-bit addresses followed by a 4-bit data write to the control register. The control registers are configured as follows bit 3 A2 bit 2 A1 bit 1 A0 bit 0 D The three address lines determine which output bit is to be written. The output is set as either 1 or 0, according to D. If the device exists on the bus, reading the register drives bit 0 low. Otherwise bit 0 is a 1.
There are 4-bit and 8-bit drivers. The 4-bit drivers employ the following calls. void eioResetPlcBus() Resets all expansion boards on the PLCBus. When using this call, make sure there is sufficient delay between this call and the first access to an expansion board. LIBRARY: EZIOPLC.LIB, EZIOPLC2.LIB, EZIOMGPL.LIB. void eioPlcAdr12( unsigned addr ) Specifies the address to be written to the PLCBus using cycles BUSADR0, BUSADR1, and BUSADR2.
void set4adr( int adr ) Sets the current address for the PLCBus. All read and write operations access this address until a new address is set. A 12-bit address may be passed to this function, but only the last four bits will be set. Call this function only if the first eight bits of the address are the same as the address in the previous call to set12adr. PARAMETER: adr contains the last four bits (bits 811) of the physical address. LIBRARY: DRIVERS.LIB.
char read4data( int adr ) Sets the last four bits of the current PLCBus address using adr bits 811, then reads four bits of data from the bus with BUSADR0 cycle. PARAMETER: adr bits 811 specifies the address to read. RETURN VALUE: PLCBus data in the lower four bits; the upper bits are undefined. LIBRARY: DRIVERS.LIB. void _eioWriteWR( char ch) Writes information to the PLCBus during the BUSWR cycle. PARAMETER: ch is the character to be written to the PLCBus. LIBRARY: EZIOPLC.LIB, EZIOPLC2.
void set8adr( long address ) Sets the current address on the PLCBus. All read and write operations will access this address until a new address is set. PARAMETER: address contains the last eight bits of the physical address in bits 1623. A 24-bit address may be passed to this function, but only the last eight bits will be set. Call this function only if the first 16 bits of the address are the same as the address in the previous call to set24adr. LIBRARY: DRIVERS.LIB.
Blank 78 s PLCBus XP8600/XP8900
APPENDIX B: XP8600/XP8900 SPECIFICATIONS Specifications s 79
XP8600 Hardware Specifications Table B-1 summarizes the specifications for the XP8600 expansion board. Table B-1. XP8600 Specifications Board Size 2.835" × 3.525" × 0.75" (72 mm × 90 mm × 19 mm) Operating Temperature Range -40°C to +70°C Humidity 5% to 95%, noncondensing Power (quiescent, no output) 24 V DC, 30 mA Outputs 2 D/A channels • voltage output 0 V to 10 V each OR • current output 0 mA to 22 mA each The XP8600s voltage regulator, the LM340T-15 at U9, provides 15 V up to 1 A.
0.125 typ (3.2) 2.835 (72) Figure B-1 shows the dimensions of the XP8600 expansion board. 3.525 (90) ~0.75 (19) 0.187 dia, 4x (4.7) ~0.6 (15) 0.125 typ (3.2) Figure B-1.
XP8900 Hardware Specifications Table B-2 summarizes the specifications for the XP8900 Series expansion boards. Table B-2. XP8900 Series Specifications Board Size 2.835" × 4.00" × 0.
+ + + ~0.6 (15) 4.0 (102) 0.187 dia, 4x (4.7) ~0.75 (19) + 0.15 typ (3.8) 0.15 typ (3.8) + + + + + 2.835 (72) + + + + Figure B-2 shows the dimensions of the XP8900 Series expansion boards. Figure B-2.
Blank 84 s Specifications XP8600/XP8900
CONNECTING AND MOUNTING MULTIPLE BOARDS APPENDIX C: XP8600/XP8900 Connecting and Mounting Multiple Boards s 85
Connecting Multiple Boards Eight or more XP8600 expansion boards and eight XP8900 Series expansion boards may be connected (daisy chained) at one time. Be sure that each board has a unique address to prevent communication problems between the controller and the expansion board. Follow these steps when installing several expansion boards on a single PLCBus. 1. Make sure all expansion boards are orientated right side up. 2. Use the ribbon cable supplied with the boards. 3.
There are two ways to compensate for the voltage dropoff. The easiest way is to connect +5 V DC and ground from the host controller to pins 2 and 1 of header P1 on the last expansion board. Another solution, which can approximately double the number of boards that could otherwise be connected to a single controller, is a Y cable available from Z-World. Figure C-2 illustrates the use of the Y cable.
Mounting Expansion Boards The XP8600 and XP8900 Series expansion boards can be installed in modular plastic circuit-board holders attached to a DIN rail, a widely used mounting system, as shown in Figure C-3. The circuit-board holders are 77 mm wide and come in lengths of 11.25 mm, 22.5 mm, and 45 mm. The holders, available from Z-World and from other suppliers, snap together to form a tray of almost any length. Z-Worlds expansion boards are 72 mm wide and fit directly in these circuit-board holders.
APPENDIX D: SIMULATED PLCBUS CONNECTIONS XP8600/XP8900 Simulated PLCBus Connections s 89
BL1000 Connecting a Z-World expansion board to a BL1000 requires a special cable. Fasten the cables 20-pin connector to header J9 as shown in Figure D-1. Pins 1 and 2 of the connector must hang over the end of the header. Fasten the cables PLCBus connector to header P1 or P2 of the expansion board, observing the orientation of pin 1, as shown. Note that the first two pins of this connector must hang over the end of the header. A 20-pin connector is used because 18-pin connectors are not Pin 1 available.
BL1100 Connecting a Z-World expansion board to a BL1100 requires a special cable. Fasten the cables 20-pin connector to headers J010 and J10 as shown in Figure D-2. Pins 1 and 2 of the connector must hang over the end of the headers. Fasten the cables PLCBus connector to header P1 or P2 of the expansion board, observing the orientation of pin 1, as shown. Note that the first two pins of this connector must hang over the end of the header.
BL1400 and BL1500 Expansion boards may be connected to header H3 on the BL1400 and BL1500. The signals, listed in Table D-1, are laid out differently from those on the other controllers, and so the special cable used for the BL1000, the BL1100, or the BL1300 controllers will not work. The user may either make a custom cable or use an adapter board available from Z-World. Software from the Dynamic C EZIOMGPL.LIB library may be used. Table D-1.
INDEX Symbols #use ................................... 29, 55 /AT ............................................. 69 /RDX .......................................... 69 /STBX ........................................ 69 /WRX ......................................... 69 20-pin connector ................. 90, 91 4-bit bus operations ..... 69, 70, 72 5 × 3 addressing mode ............... 71 8-bit bus operations ..... 69, 71, 73 A A0X ........................................... 69 A1X, A2X, A3X .................
control registers ......................... 73 current output XP8600 .................... 14, 22, 25 D D/A circuitry XP8600 .................................. 23 XP8900 .................................. 51 D/A conversion XP8600 .................................. 14 XP8900 .................................. 42 stability .............................. 42 D/A converter chip AD5320 ................................. 51 AD7543 ................................. 24 D0XD7X ..................................
L memory-mapped I/O register ..... 70 mode addressing .............................. 71 mounting DIN rails ................................ 88 end caps ................................. 88 mounting expansion boards ....... 88 physical addresses XP8600 .................................. 28 XP8900 .................................. 54 pin assignments XP8600 .................................. 22 XP8900 .................................. 50 PLCBus ..................
software libraries .................... 29, 55, 70 DRIVERS.LIB ..... 29, 53, 73 EZIOBL17.LIB .......... 29, 55 EZIOCMMN.LIB .......... 29, 55 EZIOLGPL.LIB .......... 55, 73 EZIOMGPL.LIB ... 55, 73, 92 EZIOPBDV.LIB ......... 30, 31, 55, 56 EZIOPL2.LIB ................... 73 EZIOPLC.LIB . 30, 5561, 73 EZIOPLC2.LIB .......... 29, 55 EZIOTGPL.LIB .......... 55, 73 PBUS_LG.LIB ..... 29, 90, 91 PBUS_TG.LIB ............ 29, 90 PLC_EXP.LIB ................... 29 VDRIVER.LIB ............ 30, 56 PLCBus eioPlcAdr12 .
U using D/A converter boards ... 30, 56 V voltage output XP8600 ............. 14, 22, 24, 34 W writing XP8600 .................... 33, 36, 37 writing data on the PLCBus 70, 76 X XP8100 ...................................... 68 XP8200 ...................................... 68 XP8300 ...................................... 68 XP8400 ...................................... 68 XP8500 ...................................... 68 XP8600 ...................................... 14 +24 V ...............................
Blank 98 s Index XP8600/XP8900
Z-World, Inc. 2900 Spafford Street Davis, California 95616-6800 USA Telephone: Facsimile: Web Site: E-Mail: (530) 757-3737 (530) 753-5141 http://www.z w orld.com zworld@zworld.com Part No. 019-0064 Revision C Printed in U.S.A.