Table of Contents
Introduction........................................................................................................................... 2
Chapter 1 Overview.....................................................................................................................4
Product Comparison................................................................................................................ 5
CUTOUCH Overview................................................................................................................ 6
The CT1820's Appearance........................................................................................................7
CUBLOC STUDIO...................................................................................................................10
Downloading Programs to the CT1820.....................................................................................11
Download and Execution........................................................................................................13
Firmware Download.............................................................................................................. 14
CT1820 Start Pack............................................................................................................... 15
Chapter 2 I/O............................................................................................................................16
The CT1820's I/O Ports..........................................................................................................17
PWM Output......................................................................................................................... 20
CT1820's I/O Port Electrical Specifications................................................................................23
Interfacing to Proximity Sensors.............................................................................................24
CT18XX Series' Relays & Registers..........................................................................................26
Chapter 3 Command Reference...................................................................................................27
CT1820 Analog Input............................................................................................................28
CT1820's Non-volatile FRAM...................................................................................................29
Real-Time Clock....................................................................................................................30
Beep (Sound).......................................................................................................................33
RS-232/485 Communication...................................................................................................34
LCD Contrast Adjustment.......................................................................................................35
Chapter 4 Touch Input................................................................................................................ 36
Menu System Library.............................................................................................................37
Menu Commands.................................................................................................................. 37
Processing Touch Input.......................................................................................................... 42
Touch Calibration..................................................................................................................44
Setting the RTC's Date and Time.............................................................................................46
Chapter 5 ModPort I/O Expansion................................................................................................47
Using the CT2820 with the Modport.........................................................................................48
Modport Function Library.......................................................................................................49
Modport Test Program........................................................................................................... 54
Chapter 6 Sample Programs........................................................................................................56
Sample 1.............................................................................................................................57
Sample 2.............................................................................................................................58
Sample 3.............................................................................................................................59
Sample 4: Numeric Input.......................................................................................................60
Sample 5: CuCanvas............................................................................................................. 62
Sample 6: Multi-page Menu Implementation.............................................................................67
Sample 7: Contrast Adjustment..............................................................................................72
Sample 8: RTC Adjustment.................................................................................................... 74
Sample 9: Input Status Monitor..............................................................................................78
Sample 10: Digital Output Control...........................................................................................79
Chapter 7 Panel Mounting........................................................................................................... 82
Dimensions.......................................................................................................................... 83
Panel Cutout.........................................................................................................................84
Panel Mounting Procedure...................................................................................................... 85
Comfile Technology, Inc CT1820 User's Manual 3 Of 93