beautypg.com

Watlow CLS200, MLS300 and CAS200 User Manual

Page 88

background image

82 Communications Specification

Appendix A: Communications Driver

Example Call:

return_value = DownLoad(TYPE_CLS8, 1, SETPT, 0, 8, sp); This call
Uploads 8 setpoints from an 8CLS with an address of 2.

Includes:

#include “def.h”

Return Value:

Returns:

1 if the upload was successful. This what
you should normally get.

2 if the controller found an error in the
upload comm string. Sent NAK or
negative acknowledge.

3 if the upload was completely
unsuccessful.