Reset print head pointer – call 99, Print the argument stack – call 109 – Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual
Page 131
Operating Functions
Chapter 5
5–94
You can use CALL 99 when printing out wide forms to reset the internal
print head character counter and prevent the automatic CR/LF at character
79. You must keep track of the characters in each line.
You can solve this problem in revision A or B modules using DBY(1 6H)
= 0
Example:
u10 REM THIS PRINTS TIME BEYOND 80TH COLUMN
u20 PRINT
TAB
(79),
u30 CALL
99
u40 PRINT TAB (41), “TIME —”,
u50 PRINT H, “:”, M ,“:”,S
u60 END
CALL 109 prints the top 9 values on the argument stack to the console. No
PUSHes or POPs are needed. Use this information as a troubleshooting
aid. It does not affect the contents of, or pointer to the stack.
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.
CALL 111 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.12.5
Reset Print Head Pointer –
CALL 99
5.12.6
Print the Argument Stack –
CALL 109
5.12.7
Print the Peripheral Port
Output Buffer and Pointer –
CALL 110
5.12.8
Print the Peripheral Port
Input Buffer and Pointer –
CALL 111