PK-232 TECHNICAL MANUAL
CHAPTER 4 – HOST MODE AND SPECIAL APPLICATIONS
PK232TM Rev. A 5/87
4-15
Page 32
4.9.3
I/O Command
Use the I/O command without arguments to read an I/O location and with one argument
0-FF to write to an I/O location. The value in ADDRESS is not incremented after using the
I/O command.
Load ADDRESS with these values for easy access:
$BF0D Parallel port A
$BF0E Parallel port B
$BF0F Parallel port C
$7C08 Terminal data
$7E08 HDLC data
$7E00 HDLC RR0
HDLC RR0 is the status register of the radio interface. The following information can be
read from RR00:
bit 7
Break/Abort
bit 6
TX Underrun/End of message
bit 5
CTS (Read data)
bit 4
Sync/Hunt
bit 3
DCD
bit 2
Transmit buffer empty
bit 1
Zero count
bit 0
Receive character available
4.10
Converse and Transparent Modes
In Host mode, data is sent using the setting of CONMODE.
o
Do not send the CONVERSE or TRANS commands to the PK-232.
o
If CONMODE is CONV, the parameters 8BITCONV, ALFPACK, ALFDISP, LCOK and
ESCAPE are active.
o
If CONMODE is TRANS, all characters are passed without modification.
These are the only differences between CONV and TRANS while in Host mode.
4.11
MHEARD Command in Host mode
The MH command has been altered in Host mode because the verbose mode MHEARD re-
sponse is potentially too long for the limited Host mode response buffer.
The MHEARD response is divided into lines numbered 0-17. The MHEARD list must be polled
on a line-by-line basis.
o
Use the host command MH0 (SOH $4F M H $30 ETB), then MH1, MH2, etc. until
you get an empty response (SOH $4F M H $00 ETB), or until you reach the last
(MH17) line.
CAUTION:
If the PK-232 receives a Packet frame while the computer is polling the mid-
dle of the MHEARD list, the list entries may be garbled. One possible solution
would be to temporarily set HBAUD to 110 to disable Packet, poll the 18
MHEARD lines, then set HBAUD back to 1200.
Summary of Contents for PAKRATT PK-232
Page 75: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 1 Page 75 ...
Page 76: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 2 Page 76 ...
Page 77: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 3 Page 77 ...
Page 78: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 4 Page 78 ...
Page 79: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 5 Page 79 ...
Page 80: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 6 Page 80 ...
Page 81: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 7 Page 81 ...
Page 82: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 1 Page 82 ...
Page 83: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 2 Page 83 ...
Page 84: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 3 Page 84 ...
Page 85: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 4 Page 85 ...
Page 86: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 5 Page 86 ...
Page 87: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 6 Page 87 ...
Page 88: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 7 Page 88 ...
Page 89: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 8 Page 89 ...
Page 90: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 9 Page 90 ...
Page 91: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 10 Page 91 ...
Page 92: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 11 Page 92 ...
Page 93: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 12 Page 93 ...
Page 94: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 13 Page 94 ...
Page 95: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 14 Page 95 ...
Page 96: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 15 Page 96 ...
Page 97: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 16 Page 97 ...
Page 98: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 17 Page 98 ...
Page 99: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 18 Page 99 ...
Page 100: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 19 Page 100 ...
Page 101: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 20 Page 101 ...