12 - call routines 0 – 68, What’s in this chapter, Call routines 0 – 68 – Rockwell Automation 1771-DB BASIC MODULE User Manual
Page 191: Chapter

12
Chapter
12 -1
Call Routines 0 – 68
Calls 0 – 68 are described here. Calls 69 – 127 are described in Chapter
13. 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
0
reset module
35
retrieve numeric input character from PRT2 port
1
no operation
36
get number of characters in PRT2 port buffers
2
timed-block-transfer-read buffer
37
clear PRT2 port buffers
3
timed-block-transfer-write buffer
38
expanded ONERR restart
4
set block-transfer-write length
39
3.3-Digit Signed, BCD to BASIC Floating Point
5
set block-transfer-read length
40
set wall clock time
6
block-transfer-write buffer
41
set wall clock date
7
block-transfer-read buffer
42
set wall clock day of week
8
disable interrupts (no operation)
43
date/time retrieve string
9
enable interrupts (no operation)
44
date retrieve numeric
10
3-digit decimal BCD to BASIC floating point
45
time retrieve string
11
16-bit binary to BASIC floating point
46
time retrieve numeric
12
4-digit octal to BASIC floating point
47
retrieve day of week string
13
6-digit decimal BCD to BASIC floating point
48
retrieve day of week numeric
14
SLC 16-bit signed integer to BASIC floating point
49
read remote DH-485 SLC data file
15
SLC 16-bit unsigned integer to BASIC floating point
50
write to remote DH-485 SLC data file
16
enable/disable DF1 packet interrupt
51
undefined
17
4-digit BCD to BASIC floating point
52
date retrieve string
18
re-enable control C break function
53
undefined
19
disable the control C break function
54
undefined
20
BASIC floating point to 3-digit decimal BCD
55
undefined
21
BASIC floating point to 16-bit binary
56
undefined
22
BASIC floating point to 4-digit octal
57
undefined
23
BASIC floating point to 6-digit decimal BCD
58
undefined
24
BASIC floating point to SLC 16-bit signed integer
59
undefined
25
BASIC floating point to SLC 16-bit binary
60
string repeat
26
BASIC floating point to 3.3-digit BCD
61
string append
27
BASIC floating point to 4-digit BCD
62
number to string conversion
28
undefined
63
string to number conversion
29
read/write to PLC/SLC from module internal string
64
find a string in a string
30
PRT2 port support parameter set
65
replace a string in a string
31
display PRT2 port parameters
66
insert a string in a string
32
enable/disable processor interrupt
67
delete a string from a string
33
transfer data from PRT1/PRT2 to BTR buffer
68
determine length of a string
34
transfer data from BTW buffer to PRT1/PRT2
what’s next?
What’s in This Chapter?
Chapter