Pioneer 607CMX Technical Manual - Page 209

The returned data group is in capital letters. Please keep this in mind when introducing it into

Page 209 highlights

RS-232C Adjustment 7 Check Sum This is data to which 2-Byte ASCII code is added to a data group returned by a QUEST command. PC side STX 02 (hex) ID 2 Byte QUEST command 3 Byte ETX 03 (hex) Set side STX 02 (hex) QUEST command 3 Byte Data *Byte Check sum 2 Byte ETX 03 (hex) A detailed example is given below. Example) The check sum value that is added when the QUEST command "QAA" returned the following 6-Byte data string. Data group (ASCII) + check sum QUEST command QAA Data (6 Byte) 100128 Check sum xx (before calculation) ≠ The data group is put into binary code one 47 character at a time then displayed (only the 41 41 31 30 30 31 32 38 last two digits are displayed). When these values are added the result is 1F5 (hex). ≠ xx, where xx is 0B (hex), is added to 1F5 so the last two digits are 00 (in this case 200). ≠ As the data format, OB is converted to ASCII code and sent. ≠ The following data is output from the Plasma Display side. STX QUEST command Data Check sum 02 (hex) QAA 100128 0B ETX 03 (hex) * The returned data group is in capital letters. Please keep this in mind when introducing it into the binary display. 7 Examples of check sum applications Example 1) When the data is missing 1 Byte STX 02 (hex) QUEST command QAA Data 100 (missing data) 28 47 41 31 30 30 32 38 Check sum 0B ETX 03 (hex) The data group is calculated according to rules by a PC application, and when these values are added the result is 1C4 (hex). ≠ A value xx, where xx is 3C (hex), is added to 1C4 such that the last two digits are 00 (in this case 200). ≠ Here, the check sum [OB (hex)] and the calculated [3C (hex)] do not match. ≠ Since they do not match, the PC application sends the QUEST command again and gets the data again. Example 2) When 1 Byte of data in the data is unreadable STX 02 (hex) QUEST command QAA Data 100328 47 41 31 30 33 30 32 38 Check sum 0B ETX 03 (hex) The data group is calculated according to rules by a PC application, and when these values are added the result is 1F7 (hex). ≠ A value xx, where xx is 09 (hex), is added to 1F7 such that the last two digits are 00 (in this case 200). ≠ Here, the check sum [OB (hex)] and the calculated [09 (hex)] do not match. ≠ Since they do not match, the PC application sends the QUEST command again and gets the data again. 209

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215

209
RS-232C Adjustment
7
Check Sum
This is data to which 2-Byte ASCII code is added to a data group returned by a QUEST command.
STX
02 (hex)
2 Byte
3 Byte
03 (hex)
ID
QUEST command
ETX
STX
02 (hex)
QUEST command
3 Byte
Data
*Byte
Check sum
2 Byte
ETX
03 (hex)
PC side
Set side
A detailed example is given below.
Example)
The check sum value that is added when the QUEST command
QAA
returned the following 6-Byte data string.
QUEST command
QAA
Data (6 Byte)
100128
Data
100128
Check sum
0B
ETX
03 (hex)
Check sum
xx (before calculation)
Data group (ASCII)
+ check sum
47
41
41
31
30
30
31
32
38
When these values are added the result is 1F5 (hex).
As the data format, OB is converted to ASCII code and sent.
The following data is output from the Plasma Display side.
xx, where xx is 0B (hex), is added to 1F5 so the last two digits are 00 (in this case 200).
STX
02 (hex)
QUEST command
QAA
The data group is put into binary code one
character at a time then displayed (only the
last two digits are displayed).
7
Examples of check sum applications
Example 1)
When the data is missing 1 Byte
47
41
31
30
30
32
38
Here, the check sum [OB (hex)] and the calculated [3C (hex)] do not match.
Data
100 (missing data) 28
Check sum
0B
ETX
03 (hex)
STX
02 (hex)
QUEST command
QAA
The data group is calculated according to rules by a PC application,
and when these values are added the result is 1C4 (hex).
A value xx, where xx is 3C (hex), is added to 1C4 such that the last
two digits are 00 (in this case 200).
Since they do not match, the PC application sends the QUEST command
again and gets the data again.
Example 2)
When 1 Byte of data in the data is unreadable
47
41
31
30
33
30
32
38
Here, the check sum [OB (hex)] and the calculated [09 (hex)] do not match.
Data
100328
Check sum
0B
ETX
03 (hex)
STX
02 (hex)
QUEST command
QAA
The data group is calculated according to rules by a PC application,
and when these values are added the result is 1F7 (hex).
A value xx, where xx is 09 (hex), is added to 1F7 such that the last
two digits are 00 (in this case 200).
Since they do not match, the PC application sends the QUEST command
again and gets the data again.
* The returned data group is in capital letters. Please keep this in mind when introducing it into the binary
display.