Call 98: disable port prt2 dtr signal, Call 99: reset print head pointer – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 292

Advertising
background image

Chapter
Call Routines 69–127

13

13 -34

Use CALL 98 to disable the Data Terminal Ready (DTR) signal from
PRT2. CALL 97 re-enables the DTR signal.

Input and Output Arguments

This routine has no input and no output arguments.

Syntax

CALL 98

Example

>1 REM EXAMPLE PROGRAM

>10 CALL 98 : REM DISABLE DTR SIGNAL

>30 END

Use CALL 99 to reset the internal print head character counter of your
printer when printing out wide forms. This call prevents the automatic
CR/LF at character 79. You must keep track of the characters in each line.

Input and Output Arguments

This routine has no input and no output arguments.

Syntax

CALL 99

Example

>10 REM EXAMPLE PROGRAM

>20 REM THIS PRINTS TIME BEYOND 80TH COLUMN

>30 PRINT TAB(79)

>40 CALL 99

>50 PRINT TAB(41), “TIME -”,

>60 PRINT H,“:”,M,“:”,S

>70 END

CALL 98: Disable Port PRT2
DTR Signal

CALL 99: Reset Print Head
Pointer

Advertising