
13
Chapter
13 -1
Call Routines 69–127
There are 128 BASIC calls. Calls 69 – 127 are described here.
Calls 0 – 68 are described in Chapter 12. Chapter 7 gives you an overview
of how to use these calls within your BASIC program. Use these calls
within your BASIC program or from the command line.
Important: CALL numbers above 127 are not valid and cause the BASIC
module error–
ERROR
CALL ARGUMENT OUT OF RANGE.
CALL Description Page CALL Description Page
69
undefined 13 -2 99 reset print head pointer 13 -34
70 ROM to RAM program transfer 13 -2 100 download/program assembly language to EEPROM 13 -35
71 ROM/RAM to ROM program transfer 13 -3 101 upload user (E)EPROM code to host 13 -35
72 RAM/ROM return 13 -4 102 undefined 13 -35
73 battery-backed RAM disable 13 -5 103 print PRT1 transmit buffer and pointer 13 -36
74 battery-backed RAM enable 13 -5 104 print PRT1 receive buffer and pointer 13 -37
75 undefined 13 -5 105 reset PRT1 to default settings 13 -37
76 undefined 13 -5 106 undefined 13 -38
77 protected variable storage 13 -6 107 undefined 13 -38
78 set program port communication rate 13 -8 108 enable DF1 driver communications 13 -38
79 set active LED blinking state (no operation) 13 -8 109 print the argument stack 13 -44
80 check battery condition 13 -9 110 print the PRT2 port transmit buffer and pointer 13 -45
81 user PROM check and description 13 -10 111 print the PRT2 receive buffer and pointer 13 -46
82 check user memory module map 13 -11 112 user LED control 13 -47
83 display DH485 port setup 13 -11 113 disable DF1 driver communications 13 -47
84 transfer DH-485 CIF to BASIC input buffer 13 -12 114 transmit DF1 packet 13 -48
85 transfer BASIC output buffer to DH-485 CIF file 13 -13 115 check DF1 status 13 -49
86 check DH-485 interface remote write status 13 -14 116 call user defined assembly language routine 13 -50
87 check DH-485 interface file remote read status 13 -15 117 get DF1 packet length 13 -51
88 BASIC floating point to PLC-5 floating point 13 -16 118 PLC/SLC unsolicited writes 13 -52
89 PLC-5 floating point to BASIC floating point 13 -17 119 reset PRT2 port to default settings 13 -56
90 read remote DH-485 data file to BASIC input buffer 13 -18 120 clear BASIC module I/O buffers 13 -57
91 write BASIC output buffer to remote DH-485 data file 13 -22 121 undefined 13 -57
92 read remote DH-485 CIF to BASIC input buffer 13 -26 122 read remote DF1 PLC data file 13 -58
93 write output buffer to remote DH-485 CIF file 13 -29 123 write to remote DF1 PLC data file 13 -66
94 display current PRT1 port setup 13 -32 124 undefined 13 -74
95 get number of characters in PRT1 buffers 13 -32 125 undefined 13 -74
96 clear PRT1 receive/transmit buffers 13 -33 126 undefined 13 -74
97 enable PRT2 DTR signal 13 -33 127 undefined 13 -74
98 disable PRT2 DTR signal 13 -34
What’s in This Chapter?
Chapter
Komentarze do niniejszej Instrukcji