Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual

Page 103

Advertising
background image

Operating Functions

Chapter 5

5–66

This routine has one input argument and no output arguments. If no ID
number is pushed prior to CALL 38, an error occurs and the routine aborts
without saving.

An unlabeled save (CALL 32) has an ID of 0.

Important: Do not press rewind between programs saved. If you press
rewind only the last program is saved.

Important: Maximum baud rate is 2400 bps for all data recorder CALL
routines. The Peripheral Port is set up in these routines and does not need
setting in BASIC. The Peripheral Port parameters restore when the call is
complete. See section 4.4.3 for required cable connections. Tape
verification failures result if you use a cable with different pin connections.

This routine is identical to the CALL 34 routine except that labeled
programs are organized according to an ID number (0-255) assigned to the
stored program using a CALL 38. To use this routine:

PUSH the ID number.

Enter CALL 39. From this point on, operation is identical to the CALL
34 routine. See Section 5.8.4 above titled, “Verify Program with Data
Recorder – CALL 33” for explanation.

This routine has one input argument and no output arguments. If no ID
number is pushed prior to CALL 38, an error occurs and the routine aborts
without saving.

While searching for the correct program, one asterisk prints for each
program encountered. When the correct program is found one asterisk per
line prints. You must press the READ FROM TAPE button twice on the
SB Recorder at the end of each program encountered to continue the
search. Press the READ FROM TAPE button when the DATA OUT light
on the SB Recorder goes out. This indicates the end of file. If the BASIC
Module starts loading from the middle of a file, the DATA OUT light is on
but no asterisk is printed on the console. Follow the above procedure to
continue the search.

An unlabeled save (CALL 32) has an ID of 0.

CALL 110 prints the complete buffer with addresses, front pointer and the
number of characters in the buffer to the console. No PUSHes or POPs are
needed. Use this information as a troubleshooting aid. It does not affect the
contents of the buffer.

5.8.9
Save Labeled Program to
Data Recorder (1770-SB only)
– CALL 38 (continued)

5.8.10
Load Labeled Program from
Data Recorder (1770-SB only)
– CALL 39

5.8.11
Print the Peripheral Port
Output Buffer and Pointer –
CALL 110

Advertising