PK-232 TECHNICAL MANUAL
CHAPTER 4 – HOST MODE AND SPECIAL APPLICATIONS
PK232TM Rev. A 5/87
4-2
Page 19
In Host mode, the PK-232 sends data to the computer only when the computer requests
data. This feature is selectable by the user (see HPOLL below).
4.1.3
Entering Host Mode
Enter Host mode by typing the following commands:
Type:
AWLEN 8<CR>
PARITY 0<CR>
8BITCONV ON<CR>
RESTART<CR>
Verify that your computer's serial interface driver is also set to eight bits, no parity, and
that you have set your system for hardware control by disabling XON/XOFF and enabling
RTS/CTS/DTR.
Type:
HOST ON<CR>
If you wish to apply power to your computer and Host mode immediately, be aware that
power transients may cause random data to be sent to the PK-232.
o
To ensure correct entry into Host mode, send XON, CANLINE and COMMAND char-
acters first, as shown below with the hexadecimal representation of each character
listed above each its acronym or literal. Note: 'sp' is the 'space bar' character.
$11
$18
$03
$48
$4F
$53
$54
$20
$59
$0D
XON
CAN
COM
H
O
S
T
sp
Y
CR
Follow these steps:
1.
Send $01 [^A]
(^ = CTRL)
2.
Send the sequence: $01 $4F $47 $47 $17
3.
If you receive the response: $01 $4F $47 $47 $00 $17
you have successfully entered the Host mode. If you receive some other response, got to
Step 2.
4.1.4
Leaving Host Mode
To leave the Host mode and return to conventional or verbose mode, type:
$01
$4F
$48
$4F
$4E
$17
or
^A
O
H
O
N
^W
(^ = CTRL)
or transmit a BREAK signal (reversal to SPACE or START polarity of at least 300 millisec-
onds) on the serial link.
4.1.5
The Host Mode Dialog
The host computer and PK-232 communicate in blocks of characters:
o
Each block starts with the SOH (Start of Header) character, which is $01 or ^A.
o
The next character is a special data-type identification byte, called the CTL (control)
character that indicates whether the following characters are a command, status or
data.
Содержание 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 ...