Escape code control, Lead control of ports – Dataprobe 8PK-SCS User Manual
Page 7

Model 8PK-SCS
Page 7
ESCAPE CODE CONTROL
The 8PK-SCS allows direct computer control using simple ASCII strings. These codes can control the
port selection and relay operation. To access the 8PK-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 8PK-
SCS responds with 8PK-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 - H)
The Relay Number (1 - 8)
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
Query Status
E
s
C
Access Menu System
E
s
C
E
s
C
Code Control Responses
The 8PK-SCS has an option to allow confirmation of switching commands. With this option enabled,
the 8PK-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
ENERG for energize or DE-ENERG for de-energized status.
n selected
1E 2D 3E 4D 5E 6D 7E 8D
Response to Query Command. (E = Energized, D = De-energized)
Responses to Code Control commands are optional and set via the Programming Menu.
LEAD CONTROL OF PORTS
The 8PK-SCS provide the means for automatic port selection via control leads. The feature must be set
up prior to use. Any port can access the master by raising the RTS or DTR lead (jumper selectable)
provided no other port is already connected by Menu, Manual or Code Control. If another port is
connected the request is placed in queue. The queue is first in first out.
Once a port has been connected via lead control it remains in connected until the control lead has gone
low. If a port has been manually selected, and another port requests access, the manually selected
port remains active until it is deselected via the Menu, Code or Manual Control.