beautypg.com

Escape code control – Dataprobe 4PK-SCS User Manual

Page 6

background image

Model 4PK-SCS

Page 6

X) Exit the Programming Mode

Exit the programming menu and activate all current settings. If the baud rate and/or character format
have been changed, Exit will enable those changes.

X) Logout

From the Main Menu, this terminates the current session and a new connection to the 4PK-SCS will be
required. The calling system must terminate the session and hang up the modem.

ESCAPE CODE CONTROL

The 4PK-SCS allows direct computer control using simple ASCII strings. These codes can control the
port selection and relay operation. To access the 4PK-SCS for code control, enter the commands as
shown below. To invoke the auto-rate detector, send the Escape Key one or more times, until the 4PK-
SCS responds with 4PK-SCS READY. The syntax for all commands use the following:

E

s

C

The Escape Character (Decimal 27 Hex 1B)

The Security Code (Default = TEST)

The Port Letter (A - D)

The Relay Number (1 - 4)

The End of Text Character (Decimal 04 Hex 04 Ctl+D on the IBM Keyboard)

Select Port

E

s

C

Deselect Port

E

s

C

Toggle Relay

E

s

C

R

Query Status

E

s

C

?

Access Menu System

E

s

C

E

s

C

Code Control Responses

The 4PK-SCS has an option to allow confirmation of switching commands. With this option enabled,
the 4PK-SCS will report back:

n selected

where ‘n’ is the current port number or name (if programmed)

no ports selected

when all ports are de-selected

r

Indicating the relay (number ‘r’) has been changed will be
ENERG for energize or DE-ENERG for de-energized status.

n selected
1E 2D 3E 4D

Response to Query Command. (E = Energized, D = De-energized)

Responses to Code Control commands are optional and set via the Programming Menu.