M310-HT Manual
Appendix B: Sample Communication Program
•
27
'-----generate the full setpoint string--
setpoints$ = CHR$(4) + "0011" + CHR$(2) + setpoint$ + CHR$(x) 'full setpoint string
'-----chr$(4) is diamond symbol
'-----chr$(2) is 'happy face' symbol
'---display the setpoint string---
PRINT "string sent="; setpoints$
'----send the string to controller---
start:
PRINT #1, setpoints$ 'send to controller
'---repeat as required--
GOTO inman
endman:
CLOSE 1