background image

XP8600 

and

 XP8900

Digital-to-Analog Conversion Expansion Boards

User’s Manual

Revision C

XP8900

XP8600

Summary of Contents for XP8600

Page 1: ...XP8600 and XP8900 Digital to Analog Conversion Expansion Boards User s Manual Revision C XP8900 XP8600 ...

Page 2: ...n against consequences resulting from system failure is the buyer s responsibility This device is not approved for life support or medical systems All Z World products are 100 percent functionally tested Additional testing may include visual quality control inspections or mechanical defects analyzer inspections Specifications are based on characterization of tested sample units rather than testing...

Page 3: ...pter 3 I O Configurations 21 XP8600 Pin Assignments 22 Voltage or Current Output 22 XP8600 Circuitry 23 The AD7543 Chip 24 Voltage Output 24 Current Output 25 Reset and Power Up Delay 25 Chapter 4 Software Reference 27 Expansion Board Addresses 28 XP8600 28 Logical Addresses 28 LED 28 XP8600 Software 29 Dynamic C Libraries 29 Using Digital to Analog Converter Boards 30 Reset Boards on PLCBus 30 Ad...

Page 4: ...oard Addresses 46 Power 47 Chapter 7 I O Configurations 49 XP8900 Series Pin Assignments 50 XP8900 Series Circuitry 51 Chapter 8 Software Reference 53 Expansion Board Addresses 54 XP8900 Series 54 XP8900 Series Software 55 Dynamic C Libraries 55 Using Digital to Analog Converter Boards 56 Reset Boards on PLCBus 56 Address Target Board 57 Operate Target Board 58 Sample Program 62 APPENDICES Appendi...

Page 5: ...ardware Specifications 80 XP8900 Hardware Specifications 82 Appendix C Connecting and Mounting Multiple Boards 85 Connecting Multiple Boards 86 Mounting Expansion Boards 88 Appendix D Simulated PLCBus Connections 89 BL1000 90 BL1100 91 BL1300 91 BL1400 and BL1500 92 Index 93 ...

Page 6: ...vi s Table of Contents XP8600 XP8900 Blank ...

Page 7: ...ware program and editing files under Windows on a PC Knowledge of the basics of C programming For a full treatment of C refer to the following texts The C Programming Language by Kernighan and Ritchie C A Reference Manual by Harbison and Steel Knowledge of basic Z80 assembly language and architecture for controllers with a Z180 microprocessor For documentation from Zilog refer to the following tex...

Page 8: ...asable Programmable Read Only Memory LCD Liquid Crystal Display LED Light Emitting Diode NMI Nonmaskable Interrupt PIO Parallel Input Output Circuit Individually Programmable Input Output PRT Programmable Reload Timer RAM Random Access Memory RTC Real Time Clock SIB Serial Interface Board SRAM Static Random Access Memory UART Universal Asynchronous Receiver Transmitter Table 2 Icons Icon Meaning I...

Page 9: ...d 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 Edit Sans serif font bold signifies a menu or menu selection An ellipsis indicates that 1 irrelevant program text is omitted for brevity or that 2 preceding program text may be repeated indefinitely Br...

Page 10: ...XP8600 XP8900 x s About This Manual Blank ...

Page 11: ...XP8600 ...

Page 12: ...This page is blank intentionally Blank ...

Page 13: ...XP8600 Overview s 13 CHAPTER 1 OVERVIEW Chapter 1 provides an overview and description of the XP8600 digital to analog conversion expansion boards ...

Page 14: ...fferent logical addresses are provided for The XP8600 has two D A output channels Each channel can be operated either as a voltage source or a current source The AD7543 D A chips have a linearity of 1 LSB and a gain stability of about 5 ppm per degree Celsius A factory installed LT1021 provides a precision 10 V reference when used with 24 V controllers An optional LT1019 provides a precision 2 5 V...

Page 15: ...STARTED Chapter 2 provides instructions for connecting XP8600 expansion boards to a Z World controller The following sections are included XP8600 Components Connecting Expansion Boards to a Z World Controller Setting Expansion Board Addresses Power ...

Page 16: ...nver sion outputs Figure 2 1 illustrates the basic layout and orientation of components headers and connectors Figure 2 1 XP8600 Board Layout Latch U11 P1 P2 H1 U8 Op Amps J3 5V C15 C1 RP1 C9 C3 C6 C16 U7 PAL U12 DAC U3 U8 REF U13 DAC U4 R1 C10 U5 J1 J2 R2 R6 D1 R3 U6 C5 C2 U2 U9 U10 R4 R5 C4 J4 RP2 Z1 Power 15 V ...

Page 17: ... expansion board to a Z World controller 1 Attach the 26 pin ribbon cable to the expansion board s P2 PLCBus header 2 Connect the other end of the ribbon cable to the PLCBus port of the controller Be sure pin 1 of the connector cable matches up with pin 1 of both the controller and the expansion board s 3 If additional expansion boards are to be added connect header P2 on the new board to header P...

Page 18: ...lers Setting Expansion Board Addresses Z World has established an addressing scheme for the PLCBus on its controllers to allow multiple expansion boards to be connected to a controller Remember that each expansion board must have a unique PLCBus address if multiple boards are to be connected If two boards have the same address communication problems will occur that may go undetected by the control...

Page 19: ...er 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 ...

Page 20: ...XP8600 20 s Getting Started Blank ...

Page 21: ...TER 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 XP8600 Circuitry ...

Page 22: ...lable and must be supplied from an external source to pin 8 on H1 or to the BL1400 BL1500 adapter board Figure 3 1 shows the pin assignments for Wago connector H1 Figure 3 1 XP8600 Wago Connector H1 Voltage or Current Output The XP8600 uses two jumper blocks J1 and J2 to set the mode of output channel 1 VI1 on H1 and output channel 2 VI2 on H1 respectively Connect pins 2 3 to select a voltage outp...

Page 23: ...on the PLCBus from the program running on the controller Figure 3 3 illustrates the operation of the D A conversion Figure 3 3 Schematic Illustration of D A Conversion in XP8600 Capacitors C7 and C8 are normally not installed Be sure to install C7 and C8 for applications that operate at more than 100 Hz J2 V V U1A SDI LD1 STB1 DAC1 OUT1 REF V V V V C7 RP2B R2 RP2A U1D I1 V1 V V U1B SDI LD2 STB2 DA...

Page 24: ...V when the LT1019 is used at U13 to allow the XP8600 to be used with 12 V controllers Voltage Output The voltage output is selected by connecting pins 2 3 on header J1 or J2 It is possible to operate one channel with a voltage output and the other channel with a current output The voltage output can be calculated using Equation 3 2 V OUT 1 RP2 RP1 3 2 where OUT is the output of the D A converter c...

Page 25: ...mA The op amps U1C Channel 1 and U1D Channel 2 can carry a maxi mum of 20 mA The output channels can each put out a maximum of 14 V and so an output load must be less than 700 Ω if the maximum current is to be delivered Reset and Power Up Delay The XP8600 has a reset device U12 to monitor VCC Whenever VCC is interrupted U12 pulls RST low The RST line remains low until 350 ms after VCC has been res...

Page 26: ...XP8600 26 s I O Configurations Blank ...

Page 27: ...E 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 Software Advanced Programming ...

Page 28: ... on the bus using 4 bit addressing The functions set12adr read12data and write12data in DRIVERS LIB use 12 bit bus addresses When using these and certain other functions swap the first and third nibbles of the physical address before passing the address to the function For example if the address is 0x125 pass 0x521 Logical Addresses PLCBus expansion boards have logical addresses D A specific softw...

Page 29: ...using one of these libraries in an application first include the library name in a use command For example to use functions in the library PLC_EXP LIB be sure there is a line at the beginning of the program in the following format use PLC_EXP LIB Table 4 1 Dynamic C Libraries Required by Z World Controllers for XP8600 Expansion Boards Library Needed Controller VDRIVER LIB All controllers EZIOCMMN ...

Page 30: ...de to operate the relays VdInit Initializes the timer mechanism LIBRARY VDRIVER LIB void plcBusReset Resets all expansion boards connected to the PLCBus When using this function initialize timers with VdInit before resetting the PLCBus All PLCBus devices must reset before perform ing any subsequent operations LIBRARY EZIOPBDV LIB void eioPlcRstWait Provides a delay long enough for the PLCBus to re...

Page 31: ...ut PARAMETERS Addr the logical address of the D A converter channel is 2 board_number channel_number Note that board_number and channel_number start from zero Without a special PAL board_number ranges from 0 to 7 as set by the address jumpers With the special PAL board_number can range from 0 to 63 channel_number ranges from 0 to 1 oValue is the 12 bit value to send to the D A converter RETURN VAL...

Page 32: ...m press CTRL Z 4 To restart the program press F9 Check the board jumpers PLCBus connections and the PC controller communications if an error message appears See the Dynamic C Technical Reference manual for more detailed instructions XP86_1 C use eziocmmnn lib use eziobl17 lib use ezioplc2 lib char TITLE XP86xx DAC Output main int i unsigned long delayCounter printf s n n TITLE plcBusReset reset th...

Page 33: ...to DAC2 U4 on the presently addressed XP8600 These functions are equivalent and may be used interchangeably However plc_fdac2 is slightly faster whereas plc_sdac2 is smaller 50 bytes vs 130 A call to one of these functions must be followed by a call to plc_latch2 or its equivalent in user supplied code otherwise no digital to analog conversion occurs void dac_latch1 Transfers the data in Register ...

Page 34: ... 2 Connect the XP8600 to the controller See Chapter 2 Getting Started for more details 3 Check headers J1 through J3 Leave J3 unjumpered Connect pins 2 3 on headers J1 and J2 for voltage output 4 Wire wrap or solder together the resistor and the LED as shown below to make a load circuit 3 to 4 7 cm to 10 cm long 5 Connect the resistor end of the load circuit to V I1 on header H1 Connect the LED to...

Page 35: ...nels on the selected board When it reaches maximum voltage it resets the voltage to zero and repeats the process indefinitely The setup requires a 1 kΩ resistor and LED in series or a volt ohm meter between V I1 and GND on header H1 to show the behavior of the program DASAMPL1 C main int i log_addr hi_addr reset_pbus reset all boards on PLCBus hitwd reset_pbus_wait delay after reset Locate XP8600s...

Page 36: ...rts a logical D A converter board address to a physical PLCBus address PARAMETER bd must be a number between 0 and 63 representing the D A converter board to access This number has the binary form pppzyx where ppp is determined by the board PAL number and x y and z are determined by jumper block J3 on the board ppp values of 000 001 010 etc correspond to PAL numbers of FPO4800 FPO4810 FPO4820 etc ...

Page 37: ...user supplied code void latch_DAC2 Transfers the data in Register A of DAC2 U4 to Register B of DAC2 whereupon it is converted and the analog signal is output The board address must have been set previously with a call to PBus12_Addr A call to this function must be preceded by a call to write_DAC2 or its equivalent in user supplied code void Init_DAC Initializes the presently addressed XP8600 sett...

Page 38: ...XP8600 38 s Software Reference Blank ...

Page 39: ...XP8900 ...

Page 40: ...This page is blank intentionally Blank ...

Page 41: ...XP8900 Overview s 41 CHAPTER 5 OVERVIEW Chapter 5 provides an overview and description of the XP8900 digital to analog conversion expansion boards ...

Page 42: ...P8900 with eight channels of D A converter outputs and the XP8910 with four channels of D A converter outputs Each channel produces a bipolar output of up to 10 V DC The XP8900 Series features an onboard voltage regulator for PLCBus powered operation The XP8900 Series has connectors for user supplied analog voltage rails and is able to sink or source up to 7 mA with the user rails or up to 2 mA on...

Page 43: ... Chapter 6 provides instructions for connecting XP8900 Series expansion boards to a Z World controller The following sections are included XP8900 Series Components Connecting Expansion Boards to a Z World Controller Setting Expansion Board Addresses Power ...

Page 44: ...ure 6 1 XP8900 Series Board Layout U4 U2 U3 U17 R37 U5 RN1 R36 R35 C34 C7 C33 C9 P1 U1 Op Amps U9 U10 U11 U12 C1 C2 C11 C12 C26 C31 C18 Q1 C17 U7 C27 C30 U13 U14 U15 U16 C13 C14 C15 C16 H3 H2 H1 C8 C35 C5 H4 C3 C21 C23 P3 C20 R16 R30 R15 R29 R27 R12 R28 R11 C25 C29 R32 R14 R31 R13 R10 R25 R9 R26 R24 R6 R23 R5 C19 R34 R39 R33 R19 R4 R20 R3 R7 R22 R8 R21 R2 R17 R1 R18 C24 C28 U6 C22 C32 C36 C6 R38 C...

Page 45: ...n expansion board to a Z World controller 1 Attach the 26 pin ribbon cable to the expansion board s P2 PLCBus header 2 Connect the other end of the ribbon cable to the PLCBus port of the controller Be sure pin 1 of the connector cable matches up with pin 1 of both the controller and the expansion board s 3 If additional expansion boards are to be added connect header P2 on the new board to header ...

Page 46: ...ard Addresses Z World has established an addressing scheme for the PLCBus on its controllers to allow multiple expansion boards to be connected to a controller Remember that each expansion board must have a unique PLCBus address if multiple boards are to be connected If two boards have the same address communication problems will occur that may go undetected by the controller Every XP8900 Series b...

Page 47: ... Z World s 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 With no output the XP8900 Series expansion boards draw about 30 mA with all their output channels operating at maximum current 2 mA per channel on internal power 7 mA per channel with external voltage the XP...

Page 48: ...XP8900 48 s Getting Started Blank ...

Page 49: ...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 XP8900 Series Circuitry ...

Page 50: ...s J1 and J2 No special configurations are needed for the D A converter outputs which are controlled by the software drivers An external 12 V DC may be connected to the XP8900 Series boards to reduce analog noise or to increase the current drive Figure 7 2 provides the jumper settings for headers H1 H2 and H3 to accommodate the external power The external 12 V supply is connected to the XP8900 Seri...

Page 51: ...PLCBus 24 V supply via LM7812 at U7 Charge pump NJU7662 at U17 inverts this for onboard 12 V analog power Precision 5 V and 2 V reference voltages are derived from the 12 V supply via REF195 at U2 and the voltage divider formed from R33 R34 and R39 The n channel FET FDV301N at Q1 is used to switch the 2 V reference to 0 V during a power on reset The XP8900 Series D A converters have the capability...

Page 52: ...XP8900 52 s I O Configurations Blank ...

Page 53: ... 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 Software XP8900 Series Software ...

Page 54: ...RR where x 1 when P3 pins 1 2 are not connected y 1 when P3 pins 3 4 are not connected z 1 when P3 pins 5 6 are not connected and RR is reserved for the registers There are no PAL codes The 12 bit address can be placed on the bus using 4 bit addressing The functions set12adr read12data and write12data in DRIVERS LIB use 12 bit bus addresses When the address is passed to set12adr it should be in th...

Page 55: ...ude the library name in a use command For example to use functions in the library EZIOPLC LIB be sure there is a line at the beginning of the program in the following format use ezioplc lib The use eziopbdv lib already included in other library calls for the XP8900 Series expansion boards and does not have to be repeated Table 8 1 Dynamic C Libraries Required by Z World Controllers for XP8900 Seri...

Page 56: ...used to initialize the PLCBus Use these functions in a program before introducing any code to operate the relays VdInit Initializes the timer mechanism LIBRARY VDRIVER LIB void plcBusReset Resets all expansion boards connected to the PLCBus When using this function initialize timers with VdInit before resetting the PLCBus All PLCBus devices must reset before perform ing any subsequent operations L...

Page 57: ...es board Call this function before using the other plcXP89 functions This function also initializes the XP8900 Series D A converters to tristate their outputs Call plcXP89Sw to turn the voltage reference on The first plcXP89Out call enables the output of the corresponding D A converter channel Both the voltage refer ence and the D A converter channel must be set up correctly to get the proper outp...

Page 58: ...8900 output voltages may fluctuate to 2 V for each channel while plcX89Sw is executing to turn on the op amp reference and to switch off the D A converter int plcXP89Out int Addr unsigned int oValue Sends the 12 bit oValue to the proper D A converter channel Call plcXP89Init and plcXP89Sw before calling plcXP89Out Note that plcXP89Out does not switch the voltage reference on or off Both the D A co...

Page 59: ...alibration structure initialized by calling eioAdcMakeCoeff RETURN VALUE 0 if the calibration is successful otherwise returns a negative number LIBRARY EZIOPBDV LIB Table 8 2 Summary of Basic XP8900 Series Function Calls Function Description plcXP89Init Disables everything leaves output of 0 V for all channels plcXP89Sw Enables voltage reference so the output will be at the voltage level specified...

Page 60: ...d actual values of two data points then com putes the calibration coefficients assumes linearity PARAMETERS struct _eioAdcCalib cnvrsn is a pointer to a calibration structure that stores the coefficients d1 is the raw quantized value of the first data point d2 is the raw quantized value of the second data point f1 is the actual real value in volts of the first data point f2 is the actual real valu...

Page 61: ...r 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 LIB L eioAdcDigitize 2 54 cinfo L will contain the digitized value to output to D A converter device given the calibration coefficients...

Page 62: ...atements be sure to execute the watch expression AFTER the assignment statement is executed 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 controller s memory During compilation Dynamic C rapidly displays several messages in the compiling window which is normal...

Page 63: ...o override plcBusReset if plcXP89Init channel 8 printf DAC8 board not found n else plcXP89Sw channel 8 1 enable voltage reference plcXP89Out channel margin use meter to record level f1 10 use watch expr to override plcXP89Out channel 0xfff margin use meter to record level f2 10 use watch expr to override eioAdcMakeCoeff c margin 0xfff margin f1 f2 if plcXP89WrCalib channel c printf Can t write cal...

Page 64: ...XP8900 64 s Software Reference Blank ...

Page 65: ...APPENDICES ...

Page 66: ...This page is blank intentionally Blank ...

Page 67: ...XP8600 XP8900 PLCBus s 67 APPENDIX A PLCBUS Appendix A provides the pin assignments for the PLCBus describes the registers and lists the software drivers ...

Page 68: ... a Z World controller to form an extended system Figure A 1 shows the pin lay out for the PLCBus connector Table A 1 Z World PLCBus Expansion Devices Device Description Exp A D12 Eight channels of 12 bit A D converters SE1100 Four SPDT relays for use with all Z World controllers XP8100 Series 32 digital inputs outputs XP8200 Universal Input Output Board 16 universal inputs 6 high current digital o...

Page 69: ...CBus Header The PLCBus consists of the following lines STBX negative going strobe A1X A3X three control lines for selecting bus operation D0X D3X four bidirectional data lines used for 4 bit operations D4X D7X four additional data lines for 8 bit operations AT attention line open drain that may be pulled low by any device causing an interrupt The PLCBus may be used as a 4 bit bus D0X D3X or as an ...

Page 70: ...irst is latched and a matching BUSADR1 is detected The third is latched if the first two are latched and a matching BUSADR2 is detected If 4 bit addressing is used then there are three 4 bit address nibbles giving 12 bit addresses In addition a special register address is reserved for address expansion This address if ever used would provide an additional four bits of addressing when using the 4 b...

Page 71: ... cycles with five address bits each time to yield 15 bit addresses not 24 bit addresses since the bus uses only the lower five bits of the three address bytes Table A 3 First Level PLCBus Address Coding First Byte Mode Addresses Full Address Encoding 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 4 bits 3 256 256 256 256 0000 xxxx xxxx 0001 xxxx xxxx 0010 xxxx xxxx 0011 xxxx xxxx x 0 1 0 0 x 0 1 0 1 x 0 1 1 0 x ...

Page 72: ...interrupt routine to access the bus without disturbing the activity of a background routine that also accesses the bus To work reliably bus devices must be designed according to the following rules 1 The device must not rely on critical timing such as a minimum delay between two successive register accesses 2 The device must be capable of being selected and deselected without adversely affecting t...

Page 73: ...evices Z World s XP8700 and XP8800 expansion boards use 8 bit addressing Refer to the XP8700 and XP8800 manual Expansion Bus Software The expansion bus provides a convenient way to interface Z World s controllers with expansion boards or other specially designed boards The expansion bus may be accessed by using input functions Follow the suggested protocol The software drivers are easier to use bu...

Page 74: ...ts the current address for the PLCBus All read and write operations access this address until a new address is set PARAMETER adr is a 16 bit physical address The high order nibble contains the value for the expansion register and the remaining three 4 bit nibbles form a 12 bit address the first and last nibbles must be swapped LIBRARY DRIVERS LIB void set12adr int adr Sets the current address for ...

Page 75: ...s in the BUSADR0 cycle RETURN VALUE the byte read on the PLCBus in the BUSADR0 cycle LIBRARY EZIOPLC LIB EZIOPLC2 LIB EZIOMGPL LIB char _eioReadD1 Reads the data on the PLCBus in the BUSADR1 cycle RETURN VALUE the byte read on the PLCBus in the BUSADR1 cycle LIBRARY EZIOPLC LIB EZIOPLC2 LIB EZIOMGPL LIB char _eioReadD2 Reads the data on the PLCBus in the BUSADR2 cycle RETURN VALUE the byte read on...

Page 76: ...its of data to the PLCBus PARAMETER adr is the 12 bit address to which the PLCBus is set dat bits 0 3 specifies the data to write to the PLCBus LIBRARY DRIVERS LIB void write4data int address char data Sets the last four bits of the current PLCBus address then writes four bits of data to the PLCBus PARAMETER adr contains the last four bits of the physical address bits 8 11 dat bits 0 3 specifies t...

Page 77: ...er eight bits upper bits 0 LIBRARY DRIVERS LIB int read8data0 long address Sets the last eight bits of the current PLCBus address using address bits 16 23 then reads eight bits of data from the PLCBus with a BUSRD0 cycle PARAMETER address bits 16 23 are read RETURN VALUE PLCBus data in lower eight bits upper bits 0 LIBRARY DRIVERS LIB void write24data long address char data Sets the current PLCBus...

Page 78: ...XP8600 XP8900 78 s PLCBus Blank ...

Page 79: ...XP8600 XP8900 Specifications s 79 APPENDIX B SPECIFICATIONS ...

Page 80: ...lated 5 V up to 50 mA U13 and LT1021 provides a precision 10 V reference REF The LT1021 is replaced with an LT1019 to provide a precision 2 5 V reference for REF with 12 V controllers 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 vol...

Page 81: ...600 XP8900 Specifications s 81 Figure B 1 shows the dimensions of the XP8600 expansion board Figure B 1 XP8600 Board Dimensions 2 835 72 0 125 typ 3 2 0 187 dia 4x 4 7 0 75 19 0 6 15 3 525 90 0 125 typ 3 2 ...

Page 82: ... 2 summarizes the specifications for the XP8900 Series expansion boards The XP8900 Series expansion boards derive 5 V digital power from the PLCBus supply via LM7805 at U6 When operating without user supplied external voltage rails the XP8900 Series expansion boards get their 12 V analog power from the PLCBus 24 V supply via LM7812 at U7 Charge pump NJU7662 at U17 inverts this for onboard 12 V ana...

Page 83: ... XP8900 Specifications s 83 0 187 dia 4x 4 7 0 75 19 0 6 15 4 0 102 0 15 typ 3 8 2 835 72 0 15 typ 3 8 Figure B 2 shows the dimensions of the XP8900 Series expansion boards Figure B 2 XP8900 Board Dimensions ...

Page 84: ...XP8600 XP8900 84 s Specifications Blank ...

Page 85: ...XP8600 XP8900 Connecting and Mounting Multiple Boards s 85 APPENDIX C CONNECTING AND MOUNTING MULTIPLE BOARDS ...

Page 86: ...oard s header P2 5 Add expansion boards side by side until the daisy chain is complete Figure C 1 shows an example of daisy chained connections Figure C 1 Example of Daisy Chain Connections Do not twist the ribbon cable or mount the expansion boards upside down Damage may occur Be sure Pin 1 of P1 and P2 of each board matches up with Pin 1 of the previous board Pin 1 should be at the lower right w...

Page 87: ...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 Figure C 2 Use of Y Cable to Connect Multiple ...

Page 88: ...ths 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 World s expansion boards are 72 mm wide and fit directly in these circuit board holders Z World s expansion boards can also be mounted with plastic standoffs to any flat surface that accepts screws The mounting holes are 0 125 inches 1 8 inch in from the...

Page 89: ...XP8600 XP8900 Simulated PLCBus Connections s 89 APPENDIX D SIMULATED PLCBUS CONNECTIONS ...

Page 90: ...he BL1000 s PIO port to a PLCBus port may be found in the Dynamic C PBUS_TG LIB library Use an external power supply with expansion boards con nected to the BL1000 There is no provision in the special cable to supply 24 V from the controller to header P1 or P2 on the expansion boards Pin 1 PB0 J9 17 PB1 J9 15 PB2 J9 13 PB3 J9 11 PB4 J9 9 PB5 J9 7 PB6 J9 5 PB7 J9 3 5 V J9 1 D1X D0X D3X D2X A1X A2X ...

Page 91: ...er P5 on the BL1300 using the same special cable used to connect them to the BL1000 or to the BL1100 as shown in Figure D 2 The first two pins of the special cable hang over the end of header P5 as before However the wire leading to pin 1 on the BL1300 s header P5 must be cut and may then be used to supply 5 V from an external source to the expansion board Software from the Dynamic C PBUS_LG LIB l...

Page 92: ...GPL LIB library may be used Use an external power supply with expansion boards con nected to the BL1400 or BL1500 There is no provision to supply power from the controller to header P1 or P2 on the expansion boards The adapter board has a jack and a screw terminal for the external 12 V 24 V For more information on the adapter board call your Z World Sales Representative at 530 757 3737 Table D 1 P...

Page 93: ...puts XP8900 42 BL1100 connections 90 software 90 board layout XP8600 16 XP8900 44 bus control registers 73 expansion 68 73 4 bit drivers 74 8 bit drivers 76 addresses 72 devices 72 73 functions 74 77 rules for devices 72 software drivers 73 LCD 69 bus operations 4 bit 69 70 72 8 bit 69 73 BUSADR0 70 71 BUSADR1 70 71 BUSADR2 70 71 BUSADR3 76 77 BUSRD0 73 74 75 77 BUSRD1 73 74 BUSWR 74 C cabling spe...

Page 94: ...ds connection to PLCBus 17 45 reset 74 expansion bus 68 73 4 bit drivers 74 8 bit drivers 76 addresses 72 devices 72 73 functions 74 75 76 77 rules for devices 72 software drivers 73 expansion register 72 external power supply XP8600 22 XP8900 50 G gain stability XP8600 14 H H1 XP8900 Series 50 H2 XP8900 Series 50 H3 XP8900 Series 50 I initializing XP8600 33 37 XP8900 56 57 inputs digital 73 insta...

Page 95: ...0 P2 86 90 PAL encoding XP8600 28 XP8900 54 physical addresses XP8600 28 XP8900 54 pin assignments XP8600 22 XP8900 50 PLCBus 68 70 72 73 26 pin connector pin assignments 68 4 bit operations 69 71 8 bit operations 69 71 addresses 70 71 connector 90 91 installing boards 17 45 86 90 91 reading data 70 reset 25 ribbon cables 86 special cabling 17 45 writing data 70 Y cable 87 power XP8600 25 power co...

Page 96: ...dr 75 set8adr 77 write12data 76 write24data 77 write4data 76 write8data 77 XP8600 DAC_Board_Addr 36 dac_init 33 dac_latch1 33 dac_latch2 33 software XP8600 continued EIO_NODEV 30 eioErrorCode 30 eioPlcRstWait 30 Init_DAC 37 latch_DAC1 37 latch_DAC2 37 plc_fdac1 33 plc_fdac2 33 plc_latch1 33 plc_latch2 33 plc_sdac1 33 plcBusReset 30 plcdac_addr 33 plcXP86Init 31 plcXP86Out 31 read12data 28 Set_DAC1...

Page 97: ...ent output 22 25 gain stability 14 headers H1 22 J1 22 J2 22 J3 22 J4 22 XP8600 continued input power 19 linearity 14 output calculations 24 25 output loading 24 25 PAL encoding 22 pin assignments 22 power 25 reset 25 voltage output 22 24 XP8700 68 XP8800 68 XP8900 42 analog noise 50 bipolar outputs 42 board layout 44 D A conversion 42 H1 50 H2 50 H3 50 input power 47 J1 50 J2 50 pin assignments 5...

Page 98: ...XP8600 XP8900 98 s Index Blank ...

Page 99: ...t No 019 0064 Revision C Printed in U S A Z World Inc 2900 Spafford Street Davis California95616 6800USA Telephone Facsimile Web Site E Mail 530 757 3737 530 753 5141 http www z world com zworld zworld com ...

Reviews: