Download CUWIN manual - Comfile Technology

Transcript
Table of Contents
Preface.........................................................................................................3
Overview......................................................................................................4
Powering On the CUWIN for the First Time...................................................6
Setting the CUWIN's Operating Mode..............................................................6
Powering On the CUWIN................................................................................7
Connecting the CUWIN to a Personal Computer (PC)....................................9
Installing the USB Driver...............................................................................9
ActiveSync (Windows XP)............................................................................13
Windows Mobile Device Center (Windows Vista, 7)..........................................21
Setting the CUWIN’s Ethernet MAC Address................................................27
CUWIN 5xxx & 6xxx....................................................................................27
CUWIN CWV Series.....................................................................................27
Developing Software for the CUWIN...........................................................29
Installing Visual Studio 2008........................................................................29
Installing the CUWIN Software Development Kit (SDK)....................................33
Creating Our First CUWIN Program................................................................38
Interfacing the CUWIN to Other Devices.....................................................46
RS-232.....................................................................................................46
Writing to the CUWIN's Serial Port.............................................................46
Reading from the CUWIN's Serial Port........................................................55
Modbus.....................................................................................................59
Using Modbus to Interface the CUWIN to the CUBLOC...................................59
Setting Up the CUBLOC............................................................................62
Programming the CUWIN..........................................................................64
Comfile Technology
CUWIN 5000/6000/CWV Series – User's Manual
2 of 73