ACC Utilities Reference Guide
Chapter 5 141
ZTERM - Interactive Routine Interface
ZTERM Available Commands
ThePEcommandcanalsobeusedtodisplaytheheaderofthemessage
by using the command modifier HD.
ZTERM> pehd
08:12:47 Message from program ZLU #0802 length 22 tag1=0000 tag2=0000
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII.....
000 0200 007B 0322 2021 007B 0322 2021 0000 0000 0000 {”!{”!
010 0000 0000 0000 0000 0016
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII....
000 5468 6973 2069 7320 6120 7465 7374 206D 6573 7361 This is a test message
010 6765 e.
PT - Set Port Parameters
Format: PT,card,port,rcode,param,[config1],[config2]
Sets port parameters. The parameters are s imilar to those used in the
zport call. See under zport in the ACC Programmer’s Reference Guide.
All terminals on the port must be disabled before this command i s used.
card - ACC card number
port - ACC port number
rcode - 1: Use configured data
2: Use data in this command
param - 0: Set config, clock, and port mode
1: Set config parameters
2: Set clock parameters
3:Setportmode
config1 - Port configuration word (High 16 bits)
config2 - Port configuration word (Low 16 bits)
Some example of “config1” (an “H” suffix indicates hex value):
SYNC,NoParity,ExtClock,9600
-
0006H
SYNC,OddParity,ExtClock,9600
-
0106H
ASYNC,NoParity,IntClock,19200
-
0418H
ASYNC,EvenParity,IntClock,19200
-
0718H










