Download Print this page

Z-World OP7100 Series User Manual

Graphic display
Hide thumbs Also See for OP7100 Series:

Advertisement

Quick Links

All manuals and user guides at all-guides.com
OP7100
Serial Graphic Display
User’s Manual
019–0065 • 020418–J

Advertisement

loading
Need help?

Need help?

Do you have a question about the OP7100 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Z-World OP7100 Series

  • Page 1 All manuals and user guides at all-guides.com OP7100 Serial Graphic Display User’s Manual 019–0065 • 020418–J...
  • Page 2 Specifications are based on characterization of tested sample units rather than testing over temperature and voltage of each unit. Z-World may qualify components to operate within a range of parameters that is different from the manufacturer’s recommended range.
  • Page 3 All manuals and user guides at all-guides.com ABLE OF ONTENTS About This Manual Chapter 1: Overview Chapter 2: Getting Started Chapter 3: Hardware OP7100 Table of Contents s iii...
  • Page 4 All manuals and user guides at all-guides.com Chapter 4: Software iv s Table of Contents OP7100...
  • Page 5 All manuals and user guides at all-guides.com Chapter 5: Graphics Programming Chapter 6: Installation Appendix A: Troubleshooting OP7100 Table of Contents s v...
  • Page 6 All manuals and user guides at all-guides.com Appendix B: Specifications Appendix C: Memory, I/O Map, and Interrupt Vectors Appendix D: Serial Interface Board Appendix E: Backup Battery Index vi s Table of Contents OP7100...
  • Page 7 All manuals and user guides at all-guides.com BOUT ANUAL Assumptions The C Programming Language C: A Reference Manual Z180 MPU User's Manual Z180 Serial Communication Controllers Z80 Microprocessor Family User's Manual OP7100 About This Manual s vii...
  • Page 8 All manuals and user guides at all-guides.com Acronyms Table 1. Acronyms Acronym Meaning EPROM Erasable Programmable Read-Only Memory EEPROM Electronically Erasable Programmable Read-Only Memory Liquid Crystal Display Light-Emitting Diode Nonmaskable Interrupt Parallel Input/Output Circuit (Individually Programmable Input/Output) Programmable Reload Timer Random Access Memory Real-Time Clock Serial Interface Board...
  • Page 9 All manuals and user guides at all-guides.com Conventions 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...
  • Page 10 All manuals and user guides at all-guides.com x s About This Manual OP7100...
  • Page 11 All manuals and user guides at all-guides.com VERVIEW HAPTER OP7100 Overview s 11...
  • Page 12 All manuals and user guides at all-guides.com Introduction KEYPAD Battery backlight Trans- former Contrast Adjustment DANGER! HIGH VOLTAGE RS485 TERM. R24 R25 EPLD SRAM RS-232 C40 C41 Flash Flash Control RS232 Z180 DCIN Power, 485+ RS-485 485– R51R52 PRGM PORT DIGITAL I/O Figure 1-1.
  • Page 13 All manuals and user guides at all-guides.com Features Options Table 1-1. OP7100 Series Features Model Features Serial graphic display, touchscreen, blue and white screen, OP7100 ¼VGA LCD with bezel mount, software contrast control OP7110 OP7100 with no touchscreen, manual contrast control...
  • Page 14 All manuals and user guides at all-guides.com Development and Evaluation Tools Software 14 s Overview OP7100...
  • Page 15 Class B emissions standards. Since Z-World products are connected to other devices, good EMC prac- tices should be taken to ensure compliance. CE compliance is eventually the responsibility of the integrator. For more information on tips and technical assistance, visit our Web site at www.zworld.com/products/...
  • Page 16 All manuals and user guides at all-guides.com 16 s Overview OP7100...
  • Page 17 All manuals and user guides at all-guides.com ETTING TARTED HAPTER OP7100 Getting Started s 17...
  • Page 18 All manuals and user guides at all-guides.com Initial OP7100 Setup Parts Required Setting Up the OP7100 DCIN (12–30 VDC) DCIN 485 + to power 485– supply 485+ 485– Figure 2-1. OP7100 Power Supply Connections wrong 18 s Getting Started OP7100...
  • Page 19 All manuals and user guides at all-guides.com SUPPORT Figure 2-2. OP7100 Demo Screens OP7100 Getting Started s 19...
  • Page 20 All manuals and user guides at all-guides.com Connecting the OP7100 to a Host PC CAUTION: High-Voltage Transformer. Only qualified persons may open this case. CONTRAST RS232 n.c. n.c. 232_RX1/ CT 232_TX1/ RT n.c. PWR_DE9 DCIN (12–30 VDC) 485 + 485– S/N: Figure 2-3.
  • Page 21 All manuals and user guides at all-guides.com Pin 1 PRGM PORT Marked Conductor to Pin 1 Figure 2-4. SIB Programming Connection To PC J4 SIB2 Figure 2-5. Direct Programming Connection OP7100 Getting Started s 21...
  • Page 22 All manuals and user guides at all-guides.com Running Dynamic C Serial Options OPTIONS OPTIONS Target Not Responding Communication Error <Ctrl Y> DEFDEMOL.C SAMPLES\QVGA 22 s Getting Started OP7100...
  • Page 23 All manuals and user guides at all-guides.com ARDWARE HAPTER OP7100 Hardware s 23...
  • Page 24 All manuals and user guides at all-guides.com OP7100 Subsystems Overview Digital Z180 SRAM Flash1 Flash2 ’691 Batt. super. RS-232 Control VRAM1 VRAM2 EPLD RS-485 Backlight 320 x 240 Drive Keypad Interface Sense Buzzer Contrast Adjustment Optional Software Touchscreen Contrast Adjustment Figure 3-1.
  • Page 25 All manuals and user guides at all-guides.com Power Management 12–30 V DC J10:9 2575 2575 Sw Reg Sw Reg 2951 Lin Power J11:5 12–30 V DC 7662 7662 Sw Reg Sw Reg 300 V rms, 32.7 kHz, Backlight to CCFL backlight Power from EPLD Figure 3-2.
  • Page 26 All manuals and user guides at all-guides.com ADM691 Supervisor Chip Handling Power Fluctuations NMI. 1.3 V 26 s Hardware OP7100...
  • Page 27 All manuals and user guides at all-guides.com main(){ char dummy[24]; #define NMI _ BIT ; bit 0 #JUMP _ VEC NMI _ VEC myint #asm myint:: sp,dummy+24 ; force stack pointer ; to top of dummy vector ; to prevent overwriting ;...
  • Page 28 All manuals and user guides at all-guides.com hitwd hitwd wderror main(){ if( wderror() ) wd _ cleanup(); hitwd(); Power Shutdown and Reset /RESET PFI “Early Warning” /NMI /RESET 28 s Hardware OP7100...
  • Page 29 All manuals and user guides at all-guides.com U28 Reg. U12 Supervisor DCIN VOUT VOUT VBAT 10 kW 47 µF 29.4 kW PFI to supervisor INT1 4.99 kW 220 kW Figure 3-3. OP7100 Power-Failure Detection Circuit      ...
  • Page 30 All manuals and user guides at all-guides.com Liquid Crystal Display (LCD) VA[0–14] D[0–7] VD[0–7] FRAME /INT0 ON/OFF A[0–14] A[0–14] /RESET XD[0–3] D[0–7] D[0–7] SED1335F VRAMCS1 VRAMCS2 LCD Control FRAME ON/OFF XD[0–3] 10 kΩ 2.5 kΩ Manual ADJUST Software Contrast Adjustment Figure 3-4.
  • Page 31 All manuals and user guides at all-guides.com Software Manual Contrast Contrast Adjustment Adjustment OP7100 OP7110 Figure 3-6. Contrast Control Jumper Configurations Background 10 12 9 11 Positive Background (white with blue graphics) 10 12 9 11 Negative Background (blue with white graphics) Figure 3-7.
  • Page 32 All manuals and user guides at all-guides.com Coordinate Systems Touchscreen 320,0 landscape landscape 0,240 320,240 240,0 portrait portrait 0,320 240,320 Figure 3-8. Coordinate Systems (row, column) 32 s Hardware OP7100...
  • Page 33 All manuals and user guides at all-guides.com Keypad Interface Table 3-1. OP7100 Keypad Header Pinout Signal Header J5/J6 Pin Signal Header J5/J6 Pin ROW0 COL0 ROW1 COL1 ROW2 COL2 ROW3 COL3 ROW4 COL4 ROW5 COL5 ROW6 COL6 ROW7 COL7 Figure 3-9. OP7100 Headers J5 and J6 (Keypad Interface) U8, U9 ROW[0–7] Q[0–7]...
  • Page 34 All manuals and user guides at all-guides.com Digital I/O +5 V +5 V 10 kΩ To Z180 DIN[0–7] Data CMOS Input Figure 3-11. OP7100 Digital Inputs 10 12 14 16 18 20 22 24 26 28 30 32 34 9 11 13 15 17 19 21 23 25 27 29 31 33 Figure 3-12.
  • Page 35 All manuals and user guides at all-guides.com Serial Communication TXA1 RXA1 to J11 EN485 TXA0 TXA0 T1IN T1OUT TX1/RTS RTS0 to J10 (DE9) T2IN T2OUT RXA0 RXA0 and J8 R1OUT R1IN RX1/CTS CTS0 R2OUT R2IN 232A Figure 3-13. Serial Channels 5-wire RS-232, 3-wire RS-232, RS-485...
  • Page 36 All manuals and user guides at all-guides.com RS-485 on RS-232 on header J11 header J11 Figure 3-15. Serial Communication Options for External Plug Connector (Header J11) 36 s Hardware OP7100...
  • Page 37 All manuals and user guides at all-guides.com RS-232 Communication Figure 3-16. RS-232 Signals Receive and Transmit Buffers OP7100 Hardware s 37...
  • Page 38 All manuals and user guides at all-guides.com CTS/RTS Control Modem Communication Modem OP7100 Side Side Figure 3-17. Connections Between Controller and Modem 38 s Hardware OP7100...
  • Page 39 All manuals and user guides at all-guides.com RS-485 Communication DCIN (12–30 V DC) 485 + Developing an RS-485 485– Network Figure 3-18. RS-485 Signals CAUTION: High-Voltage Transformer. Only qualified persons may open this case. CONTRAST RS232 n.c. n.c. 232_RX1/ CT 232_TX1/ RT n.c.
  • Page 40 All manuals and user guides at all-guides.com Termination Resistors “Enabled” Termination Resistors “Disabled” Figure 3-20. Enabling/Disabling Termination Resistors 40 s Hardware OP7100...
  • Page 41 All manuals and user guides at all-guides.com Use of the Serial Ports Z180 MPU User’s Manual Z180 SIO Microprocessor Family User’s Manual inport outport Table 3-2. Z180 Serial Port Registers Address Name Description CNTLA0 Control Register A, Serial Channel 0 CNTLA1 Control Register A, Serial Channel 1 CNTLB0...
  • Page 42 All manuals and user guides at all-guides.com Z180 Serial Ports Z180 Z180 /RTS /DCD Microprocessor Internal Bus RDR0 TDR0 RXA0 RSR0 TSR0 TXA0 Shift Register In Shift Register Out /RTS0 CKA0 CNTLA0 Baud-Rate /CTS0 Generator CNTLB0 /DCD0 STAT0 Figure 3-21. Z180 Serial Channel 0 42 s Hardware OP7100...
  • Page 43 All manuals and user guides at all-guides.com polling /CTS /CTS /CTS interrupt-driven /DCD0 /DCD0 Table 3-3. Serial Port Interrupt Vectors Address Name Description Z180 Serial Port 0 (higher priority) SER0_VEC Z180 Serial Port 1 SER1_VEC OP7100 Hardware s 43...
  • Page 44 All manuals and user guides at all-guides.com Asynchronous Serial Communication Interface ASCI Status Registers (04H) STAT0 RDRF OVRN /DCD0 TDRE R / W R / W (05H) STAT1 RDRF OVRN CTS1E TDRE R / W R / W /DCD0 (Data Carrier Detect) /DCD0 /DCD0 TIE (Transmitter Interrupt Enable)
  • Page 45 All manuals and user guides at all-guides.com CTS1E (CTS Enable, Channel 1) RIE (Receiver Interrupt Enable) /DCD0 FE (Framing Error) PE (Parity Error) OVRN (Overrun Error) RDRF (Receiver Data Register Full) /DCD0 OP7100 Hardware s 45...
  • Page 46 All manuals and user guides at all-guides.com ASCI Control Register A (00H) CNTLA0 MPBR/ /RTS0 MOD2 MOD1 MOD0 R / W R / W R / W R / W R / W R / W R / W R / W (01H) CNTLA1 MPBR/...
  • Page 47 All manuals and user guides at all-guides.com RE (Receiver Enable) Þ Þ MPE (Multiprocessor Enable) Þ Þ ASCI Control Register B (02H) and (03H) CNTLB0 CNTLB1 /CTS MPBT R / W R / W R / W R / W R / W R / W R / W...
  • Page 48 All manuals and user guides at all-guides.com Prescaler Divider Divide Processor Ratio External ÷10 Clock Clock ÷30 Figure 3-22. Z180 Baud-Rate Generator DR (Divide Ratio) PEO (Parity Even/Odd) Þ Þ /CTS/PS (Clear to Send/Prescaler) Þ /CTS Þ /CTS MP (Multiprocessor Mode) MPBT (Multiprocessor Bit Transmit) 48 s Hardware OP7100...
  • Page 49 All manuals and user guides at all-guides.com Table 3-5. Baud Rates for ASCI Control Register B Baud Rate at Baud Rate at Baud Rate at Baud Rate at ASCI ASCI 9.216 MHz 18.432 MHz 9.216 MHz 18.432 MHz B Value B Value (bps) (bps)
  • Page 50 All manuals and user guides at all-guides.com 50 s Hardware OP7100...
  • Page 51 All manuals and user guides at all-guides.com OFTWARE HAPTER OP7100 Software s 51...
  • Page 52 All manuals and user guides at all-guides.com Supplied Software OP71L.LIB OP71P.LIB EZIOOP71.LIB OP71L.LIB OP71P.LIB Table 4-1. OP7100 Software Libraries Library Application AASCZ0.LIB Serial communication applications Z180 Serial Port 0 AASCZ1.LIB Serial communication applications Z180 Serial Port 1 BIOS.LIB BIOS routines DRIVERS.LIB General drivers OP71L.LIB...
  • Page 53 All manuals and user guides at all-guides.com Digital I/O inport outport BIOS.LIB outport( 0x4142,1 ); outport( 0x4147,0 ); inport & if( inport(0x4140) & 0x04 ) if( inport(0x4140) & 0x80 ) IBIT if( IBIT(0x4140,2) ) if( inport(0x4140) & 0x04 ) IBIT ISET IRES ISET...
  • Page 54 All manuals and user guides at all-guides.com OP71.C OP71.C void delay( unsigned wDelay ){ for(;--wDelay;hitwd()); void main( void ){ unsigned wAddr; for (;;) for(wAddr=0x4140;wAddr<0x4148;++wAddr){ outport( wAddr,0x01 ); printf( "%04x%02x\n",wAddr,inport(0x4140) ); delay( 0x8000 ); outport( wAddr,0x00 ); Real-Time Clock (RTC) DRIVERS.LIB Dynamic C Function Reference •...
  • Page 55 All manuals and user guides at all-guides.com Display Flash EPROM WriteFlash DRIVERS.LIB • int WriteFlash( unsigned long physical_addr, char *buf, int count ) count physical _ adr xdata phy _ adr(array) xdata physical _ adr *buf count WriteFlash physical _ addr physical _ addr WriteFlash WriteFlash...
  • Page 56 All manuals and user guides at all-guides.com Dynamic C 32 Libraries #use op71l.lib #use op71p.lib #use op71hw.lib #use op71l.lib #use op71p.lib #use op71hw.lib #use op71p.lib #use op71l.lib OP71HW.LIB • void op71Init( void ); • void op71BackLight( int isOn ); isOn •...
  • Page 57 All manuals and user guides at all-guides.com • void op71BrdOff485( void ); • void op71BrdOn485( void ); • void op71Beep( int onOff ); onOff • void op71BuffLock( void ); op71BuffLock() op71BuffUnlock() op71BuffLock op71BuffUnlock • void op71BuffUnlock( void ); • void op71SetBrushType( int type ); type GL _ SET OP71BLACK...
  • Page 58 All manuals and user guides at all-guides.com • void op71Left1( int left, int top, int cols, int rows ); left cols rows • void op71Right1( int left, int top, int cols, int rows ); left cols rows • void op71Up1( int left, int top, int cols, int rows );...
  • Page 59 All manuals and user guides at all-guides.com • void op71Down1( int left, int top, int cols, int rows ); left cols rows • void op71HScroll( int left, int top, int cols, int rows, int nPix ); left cols rows nPix •...
  • Page 60 All manuals and user guides at all-guides.com • void op71XPutBitmap( int left, int top, int width, int height, unsigned long bitmap ); xmem op71XPutFastmap left width height bitmap xmem • void op71XPutFastmap( int left, int top, int width, int height, unsigned long bitmap ); xmem op71XPutBitmap left...
  • Page 61 All manuals and user guides at all-guides.com • void op71XGetFastmap( int x, int y, int bmWidth, int bmHeight, unsigned long xBm ); xmem op71XGetBitmap bmWidth bmHeight xmem • void op71PlotDot( int x, int y ); • void op71PlotLine( int x0, int y0, int x1, int y1 );...
  • Page 62 All manuals and user guides at all-guides.com • void op71PlotCircle( int xc, int yc, int rad ); • void op71FillCircle( int xc, int yc, int rad ); • void op71PlotVPolygon( int n, int *pFirstCoord ); pFirstCoord • void op71FillVPolygon( int n, int *pFirstCoord ); pFirstCoord •...
  • Page 63 All manuals and user guides at all-guides.com • void op71FillPolygon( int n, int x1, int y1, int x2, int y2, ... ); x1 y1 x2 y2 • void op71XFontInit( struct _fontInfo *pInfo, char pixWidth, char pixHeight, unsigned startChar, unsigned endChar, unsigned long xmemBuffer );...
  • Page 64 All manuals and user guides at all-guides.com • int op71GetPfStep( void ); op71Printf op71SetPfStep • void op71SetPfStep( int stepX, int stepY ); op71Printf op71GetPfStep stepX op71Printf stepY op71Printf • void op71Printf( int x, int y, struct _ fontInfo *pInfo, char *fmt, ... ); printf op71SetPfStep op71GetPfStep...
  • Page 65 All manuals and user guides at all-guides.com Using Dynamic C v. 5.xx EZIOOP71.LIB • void op71BackLight( int onOff ) onOff • void op71SetContrast( unsigned contrast ) contrast • void eioBeep( int onOff ) onOff GLCD.LIB • void glFontInit( struct _fontInfo *pInfo, char pixWidth, char pixHeight, unsigned startChar, unsigned endChar, char *bitmapBuffer )
  • Page 66 All manuals and user guides at all-guides.com • glXFontInit( struct _ fontInfo *pInfo, char pixWidth, char pixHeight, unsigned startChar, unsigned endChar, unsigned long xmemBuffer ) xmem glFontInit pInfo pixWidth pixWidth pixHeight pixHeight startChar endChar xmemBuffer • void glSetBrushType( int type ) glSetBrushType type Macro...
  • Page 67 All manuals and user guides at all-guides.com • int glInit() • int glPlotDot( int x, int y ) • void glPlotLine( int x1, int y1, int x2, int y2 ) • void glPrintf( int x, int y, struct _fontInfo *pInfo, char *fmt,... ) printf *pInfo *fmt...
  • Page 68 All manuals and user guides at all-guides.com • void glPlotVPolygon( int n, int *pFirstCoord ) *pFirstCoord • void glPlotPolygon( int n, int x1, int y1, int x2, int y2,... ) • void glFillVPolygon( int n, int *pFirstCoord ) *pFirstCoord • void glFillPolygon( int n, int x1, int y1, int x2, int y2,...
  • Page 69 All manuals and user guides at all-guides.com • void glXPutBitmap( int x, int y, int bmWidth, int bmHeight, unsigned long bmPtr ) glPutBitmap bmWidth bmHeight bmPtr KP _ OP71.LIB • void kpInit( int (*changeFn)() ) kpDefInit changeFn kpScanState kpScanState • int kpScanState() kpInit OP7100 Software s 69...
  • Page 70 All manuals and user guides at all-guides.com • int kpDefStChgFn( char *curState, char *changed ) kpDefGetKey kpScanState kpDefGetKey curState changed kpScanState 8*row+col+edge*256 edge • int kpDefGetKey() kpDefStChgFn kpScanState kpDefInit kpDefGetKey 8*row+col+edge*256 edge • void kpDefInit() kpScanState kpDefGetKey 70 s Software OP7100...
  • Page 71 All manuals and user guides at all-guides.com SYS.LIB • int sysChk2ndFlash( struct _ flashInfo *pInfo ) struct _ flashInfo pInfo • void sysRoot2FXmem( struct _ flashInfo *pInfo, void *src, unsigned long int dest, unsigned integer len ) struct _ flashInfo pInfo sysChk2ndFlash dest...
  • Page 72 All manuals and user guides at all-guides.com 72 s Software OP7100...
  • Page 73 All manuals and user guides at all-guides.com RAPHICS ROGRAMMING HAPTER OP7100 Graphics Programming s 73...
  • Page 74 All manuals and user guides at all-guides.com Initialization Drawing Primitives Plot a Pixel • int op71PlotDot(int x, int y); 74 s Graphics Programming OP7100...
  • Page 75 All manuals and user guides at all-guides.com Plot a Line • void op71PlotLine(int x1, int y1, int x2, int y2); Plot a Circle • void op71PlotCircle(int xc, int yc, int rad); Plot a Polygon • void op71PlotPolygon(int n, int x1, int y1,...); Fill a Circle •...
  • Page 76 All manuals and user guides at all-guides.com Font and Bitmap Conversion List files of type File name Font files Bitmap files List files of type 76 s Graphics Programming OP7100...
  • Page 77 All manuals and user guides at all-guides.com Using the Font/Bitmap In Your Program /*make call to op71XFontInit(&fi, 6, 8, 32, 127, fontBitMap)*/ OP7100 Graphics Programming s 77...
  • Page 78 All manuals and user guides at all-guides.com Printing Text 78 s Graphics Programming OP7100...
  • Page 79 All manuals and user guides at all-guides.com Keypad Programming Initialization Scanning the Keypad Reading Keypad Activities OP7100 Graphics Programming s 79...
  • Page 80 All manuals and user guides at all-guides.com 80 s Graphics Programming OP7100...
  • Page 81 All manuals and user guides at all-guides.com NSTALLATION HAPTER OP7100 Installation s 81...
  • Page 82 All manuals and user guides at all-guides.com Grounding 82 s Installation OP7100...
  • Page 83 All manuals and user guides at all-guides.com FGND 0 V/GND External Ground Bezel/Casing to Power Supply GND FGND 0 V/GND External Ground Bezel/Casing to External Ground Figure 6-1. Location of Header JP5 Installation Guidelines OP7100 Installation s 83...
  • Page 84 All manuals and user guides at all-guides.com Mounting Bezel-Mount Installation CUTOUT 0.125 D, 8x 0.180 1.620 (4.5) (40) 5.380 (137) 7.000 (178) Figure 6-2. Recommended Cutout Dimensions 84 s Installation OP7100...
  • Page 85 All manuals and user guides at all-guides.com OP7100 Bezel/Gasket Bracket Panel CAUTION: High-Voltage Transformer. Only qualified persons may open this case. CONTRAST RS232 n.c. n.c. 232_RX1/ CT 232_TX1/ RT n.c. PWR_DE9 DCIN (12–30 VDC) 485 + 485– S/N: Figure 6-3. Strengthening Bracket General Mounting Recommendations OP7100 Installation s 85...
  • Page 86 All manuals and user guides at all-guides.com 86 s Installation OP7100...
  • Page 87 All manuals and user guides at all-guides.com ROUBLESHOOTING PPENDIX OP7100 Troubleshooting s 87...
  • Page 88 All manuals and user guides at all-guides.com Out of the Box 88 s Troubleshooting OP7100...
  • Page 89 All manuals and user guides at all-guides.com Dynamic C Will Not Start Wrong Communication Mode Wrong COM Port Wrong Operating Mode Dynamic C Loses Serial Link OP7100 Repeatedly Resets hitwd OP7100 Troubleshooting s 89...
  • Page 90 All manuals and user guides at all-guides.com Common Programming Errors Table A-1. Ranges of Dynamic C Function Types Type Range –32,768 (–2 ) to +32,767 (2 – 1) −2,147,483,648 (−2 long int ) to +2147483647 (2 – 1) float 1.18 × 10 3.40 ×...
  • Page 91 All manuals and user guides at all-guides.com PECIFICATIONS PPENDIX OP7100 Specifications s 91...
  • Page 92 All manuals and user guides at all-guides.com Electrical and Mechanical Specifications LCD Dimensions 320 x 240 pixel matrix 115.17 mm x 86.37 mm (4.534" x3.400") 5.984 0.157 typ (152) (4.0) 5.551 0.433 (141) (11.0) 0.984 4.803 (25) (122) 6.299 (160) 6.579 (167) Figure B-1.
  • Page 93 All manuals and user guides at all-guides.com General Specifications Table B-1. OP7100 General Specifications Parameter Specification 6.63" × 4.40" × 1.36" Module Size (168 mm × 112 mm × 35 mm) 8.00" × 5.4" × 0.156" (203 mm × 137 mm × 4.0 mm) Bezel Size with gasket Package Size...
  • Page 94 All manuals and user guides at all-guides.com Header and Jumper Configurations KEYPAD DANGER! HIGH VOLTAGE RS485 TERM. RS232 PRGM PORT DIGITAL I/O Figure B-3. OP7100 Headers Table B-2. OP7100 Signal Headers Header Description LCD (hard-wired) Backlight LCD (ribbon cable) Programming port Touchscreen interface (OP7100 only) Keypad interface (OP7110 only) Digital I/O...
  • Page 95 All manuals and user guides at all-guides.com Table B-3. OP7100 Jumper Settings Pins Factory Header Function Connected Default 1–2 Positive LCD background 5–6 (blue characters on white 7–8 background) 11–12 1–3 Negative LCD background 4–6 (white characters on blue 7–9 background) 10–12 1–2...
  • Page 96 All manuals and user guides at all-guides.com 96 s Specifications OP7100...
  • Page 97 All manuals and user guides at all-guides.com EMORY PPENDIX I/O M NTERRUPT ECTORS OP7100 Memory, I/O Map, and Interrupt Vectors s 97...
  • Page 98 All manuals and user guides at all-guides.com OP7100 Memory 1024K Socket U8 0x80000 512K Socket U7 EPROM 0x00000 Figure C-1. Memory Map of 1M Address Space XMEM XMEM UNITIALIZED UNITIALIZED DATA DATA STACK STACK UNUSED UNUSED USER CODE USER CODE LIBRARY LIBRARY RAM-Based...
  • Page 99 All manuals and user guides at all-guides.com Execution Timing Table C-1. CM7000 Execution Times for Dynamic C Execution Time Operation (µs) DMA copy (per byte) 0.73 Integer assignment (i=j;) Integer add (j+k;) Integer multiply (j*k;) Integer divide (j/k;) Floating add (p+q;) (typical) Floating multiply (p*q;) Floating divide (p/q;) Long add (l+m;)
  • Page 100 All manuals and user guides at all-guides.com Memory Map Input/Output Select Map IBIT ISET IRES BIOS.LIB Z180 Internal Input/Output Registers Addresses 00-3F Table C-2. Z180 Internal I/O Registers Addresses 0x00–0x3F Address Name Description 0x00 CNTLA0 Serial Channel 0, Control Register A 0x01 CNTLA1 Serial Channel 1, Control Register A...
  • Page 101 All manuals and user guides at all-guides.com Table C-2. Z180 Internal I/O Registers Addresses 0x00–0x3F (concluded) Address Name Description 0x18 Free-running counter 0x19–0x1F — Reserved 0x20 SAR0L DMA source address Channel 0, least 0x21 SAR0H DMA source address Channel 0, most 0x22 SAR0B DMA source address Channel 0, extra bits...
  • Page 102 All manuals and user guides at all-guides.com Epson 72423 Timer Registers 0x4180–0x418F Table C-3. Epson 72423 Timer Registers 0x4180–0x418F Address Name Data Bits Description 0x4180 SEC1 D7–D0 seconds 0x4181 SEC10 D7–D0 10 seconds 0x4182 MIN1 D7–D0 minutes 0x4183 MIN10 D7–D0 10 minutes 0x4184 HOUR1...
  • Page 103 All manuals and user guides at all-guides.com Other Registers Table C-4. Other I/O Addresses Address Name Data Bits Description 4000–403F Chip Select 1 4040–407F Chip Select 2 4080–40BF Chip Select 3 40C0–40FF Chip Select 4 4100–413F Chip Select 5 COLUMN 4140–417F Chip Select 6 41C0–41FF...
  • Page 104 All manuals and user guides at all-guides.com Interrupt Vectors Table C-5. Interrupt Vectors for Z180 Internal Devices Address Name Description — Used for power-failure detection NMI_VEC — Available for use. INT0 0x00 Available for use as expansion bus attention INT1_VEC vector INT1 0x02...
  • Page 105 All manuals and user guides at all-guides.com Nonmaskable Interrupts /NMI #JUMP _ VEC NMI _ VEC myint interrupt retn myint(){ body of interrupt routine while(!IBIT(WDO,0)){} // input voltage is still below the threshold // that triggered the NMI return; // if just a power glitch, return Jump Vectors #JUMP_VEC NMI_VEC name OP7100...
  • Page 106 All manuals and user guides at all-guides.com Interrupt Priorities Table C-6. Interrupt Priorities Interrupt Priorities (Highest Priority) Trap (illegal instruction) NMI (nonmaskable interrupt) INT 0 (maskable interrupts, Level 0; three modes) INT 1 (maskable interrupts, Level 1; PLCBus attention line interrupt) INT 2 (maskable interrupts, Level 2) PRT Timer Channel 0 PRT Timer Channel 1...
  • Page 107 All manuals and user guides at all-guides.com PPENDIX ERIAL NTERFACE OARD OP7100 Serial Interface Board 2 s 107...
  • Page 108 All manuals and user guides at all-guides.com Introduction Reset Target 108 s Serial Interface Board 2 OP7100...
  • Page 109 All manuals and user guides at all-guides.com External Dimensions 2.25 (57.2) Top View 12.0 3.60 (305) (91.4) (20) 1.525 1.625 (38.7) (41.3) Side View Figure D-1. SIB External Dimensions OP7100 Serial Interface Board 2 s 109...
  • Page 110 All manuals and user guides at all-guides.com 110 s Serial Interface Board 2 OP7100...
  • Page 111 All manuals and user guides at all-guides.com ACKUP ATTERY PPENDIX OP7100 Backup Battery s 111...
  • Page 112 All manuals and user guides at all-guides.com Battery Life and Storage Conditions Replacing the Lithium Battery 112 s Backup Battery OP7100...
  • Page 113 All manuals and user guides at all-guides.com Battery Cautions (English) (German) (French) (Spanish) (Dutch) (Swedish) OP7100 Backup Battery s 113...
  • Page 114 All manuals and user guides at all-guides.com 114 s Backup Battery OP7100...
  • Page 115 All manuals and user guides at all-guides.com NDEX Symbols #INT_VEC #JUMP_VEC #use /CS1 /CS6 /CTS /CTS/PS /DCD0 /NMI /RESET /RTS0 /RTS1 /TEND0 /WDO CKA1 CKA1 CKA1/~TEND0 CKA1D OP7100 Index s 115...
  • Page 116 All manuals and user guides at all-guides.com CSI/O float fntcvtr.exe CTS1 fntstrip.exe 116 s Index OP7100...
  • Page 117 All manuals and user guides at all-guides.com hitwd IEF1 IEF2 OP7100 Index s 117...
  • Page 118 All manuals and user guides at all-guides.com literal OVRN MOD0 MOD1 MOD2 MPBR/EFR MPBT NMI _ VEC NO _ CARRIER 118 s Index OP7100...
  • Page 119 All manuals and user guides at all-guides.com RDRF RETN IBIT inport IRES ISET outport EZIOOP71.LIB eioBeep RTS0 op71BackLight op71SetContrast OP7100 Index s 119...
  • Page 120 All manuals and user guides at all-guides.com GLCD.LIB OP71HW.LIB glFillCircle op71BackLight glFillPolygon op71Beep glFillVPolygon op71BlankScreen glFontInit op71Block glInit op71BrdOff485 glPlotCircle op71BrdOn485 glPlotDot op71BuffLock glPlotLine op71BuffUnlock glPlotPolygon op71Down1 glPlotVPolygon op71FillCircle glPrintf op71FillPolygon glPutBitmap op71FillScreen glSetBrushType op71FillVPolygon glSetBrushType op71FontChar glXFontInit op71GetBrushType glXPutBitmap op71GetPfStep KP _ OP71.LIB op71HScroll...
  • Page 121 All manuals and user guides at all-guides.com WriteFlash SYS.LIB sysChk2ndFlash sysRoot2FXmem tm _ rd tm _ wr TRAP source STAT0 TDRE wderror OP7100 Index s 121...
  • Page 122 All manuals and user guides at all-guides.com 122 s Index OP7100...