beautypg.com

Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual

Page 5

background image

6.1 61

Chapter 7

Serial Ports

67

Connecting Virtual and Physical Serial Ports 68 • Configuring

a Serial Port 69 • Transmitting Data 70 • Receiving Data 70 •

Example Code 7.1 71

Chapter 8

Serial Message Support

75

Creating Simple Messages 77 • Creating Messages with Vari-

ables and Checksums 77 • Using Variables in Messages 80 •

Directly Accessing Receive Message Variable Data 82 • Using

Variable-Length Variables in Messages 83 • Using Checksums

in Messages 83 • Transmitting Data 85 • Receiving Data 86 •

Wavetronix Protocol Support 88 • Example Code 8.1 90

Chapter 9

Digital Input/Output

95

Checking Inputs 95 • Setting Digital Outputs 96 • Example

Code 9.1 96

Chapter 10

Memory Management

103

Memory Map Overview 103 • Code Space Management 104 •

Example Code 10.1 108

Chapter 11

Click Supervisor Support

113

Supervisor Software 113 • 500 Series Number 116 • Example

Code 11.1 117 • System Configuration Data 124 • OEM Con-

figuration Data 126 • Variable Map XML and Zip Files 126 •

GUI Controls 127 • GUI Layout 129 • Myxaml 129 • Device

Initialization 130

Appendix

133

Appendix A - Bundled Applications 133 • Appendix B -

Function Reference Manual 134 • ClickBtn Functions 136 •

Clickflash Functions 139 • ClickDio Functions 143 • Click-

Led Functions 147 • ClickMenu Functions 153 • ClickMsg

Functions 160 • ClickSerial Functions 172 • ClickSupervisor

Functions 179 • ClickTimer Functions 181 • ClickUtil Func-

tions 182