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.
Содержание PAKRATT PK-232
Страница 75: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 1 Page 75 ...
Страница 76: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 2 Page 76 ...
Страница 77: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 3 Page 77 ...
Страница 78: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 4 Page 78 ...
Страница 79: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 5 Page 79 ...
Страница 80: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 6 Page 80 ...
Страница 81: ...PK 232 TECHNICAL MANUAL APPENDIX C DRAWINGS PK232TM Rev A 5 87 C 7 Page 81 ...
Страница 82: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 1 Page 82 ...
Страница 83: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 2 Page 83 ...
Страница 84: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 3 Page 84 ...
Страница 85: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 4 Page 85 ...
Страница 86: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 5 Page 86 ...
Страница 87: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 6 Page 87 ...
Страница 88: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 7 Page 88 ...
Страница 89: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 8 Page 89 ...
Страница 90: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 9 Page 90 ...
Страница 91: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 10 Page 91 ...
Страница 92: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 11 Page 92 ...
Страница 93: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 12 Page 93 ...
Страница 94: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 13 Page 94 ...
Страница 95: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 14 Page 95 ...
Страница 96: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 15 Page 96 ...
Страница 97: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 16 Page 97 ...
Страница 98: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 17 Page 98 ...
Страница 99: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 18 Page 99 ...
Страница 100: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 19 Page 100 ...
Страница 101: ...PK 232 TECHNICAL MANUAL APPENDIX D Waveforms PK232TM Rev A 5 87 D 20 Page 101 ...