Call 97 – enable port prt2 dtr signal, Call 98 – disable port prt2 dtr signal, Purpose – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 141: Syntax, Example

Advertising
background image

Publication 1746-RM001A-US-P

Status Functions 11-11

CALL 97 – Enable Port
PRT2 DTR Signal

Purpose

Use CALL 97 to enable the Data Terminal Ready (DTR) signal from port PRT2.
The DTR signal on PTR2 is enabled by default on powerup. This CALL re-enables
the DTR signal if it has been disabled by CALL 98.

Syntax

CALL 97

Example

>10 REM EXAMPLE PROGRAM

>20 CALL 97 : REM ENABLE DTR SIGNAL

READY

>

CALL 98 – Disable Port
PRT2 DTR Signal

Purpose

Use CALL 98 to disable the Data Terminal Ready (DTR) signal from port PRT2.

Syntax

CALL 98

Example

>10 REM EXAMPLE PROGRAM

>20 CALL 98 : REM DISABLE DTR SIGNAL

READY

>

Advertising