Pioneer PDP-425CMX manual Check Sum, Examples of check sum applications

Page 19

RS-232C Adjustment

7Check Sum

This is data to which 2-Byte ASCII code is added to a data group returned by a QUEST command.

PC side

STX

ID

QUEST command

ETX

 

02 (hex)

2 Byte

3 Byte

03 (hex)

 

Set side

STX

QUEST command

Data

Check sum

ETX

02 (hex)

3 Byte

*Byte

2 Byte

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)

QUEST command

Data (6 Byte)

Check sum

+ check sum

QAA

100128

xx (before calculation)

 

 

 

 

 

The data group is put into binary code one character at a time then displayed (only the last two digits are displayed).

 

47

41

41

31

30

30

31

32

38

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

ETX

02 (hex)

QAA

100128

0B

03 (hex)

 

 

 

 

 

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

7Examples of check sum applications

Example 1) When the data is missing 1 Byte

STX

QUEST command

 

 

 

Data

 

 

Check sum

ETX

02 (hex)

 

 

QAA

 

100 (missing data) 28

 

0B

03 (hex)

 

 

 

47

41

31

30

30

32

38

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

QUEST command

 

 

 

Data

 

 

 

 

Check sum

ETX

02 (hex)

 

 

QAA

 

 

 

100328

 

 

 

 

0B

03 (hex)

 

 

 

47

41

31

30

33

30

32

38

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

19

again and gets the data again.

Image 19
Contents PDP-425CMX About the RS-232C Adjustment RS-232C AdjustmentGND InterfaceConnection method Combination ConnectionOUT ID Assignment Precautions when assigning IDsOUT PDP-425CMX PDP-42MXE10 Normal Operation Related Commands List of RS-232C CommandsMENU-SET UP related commands INTEGRATOR-PICTURE related commands MENU-OPTION related commandsNTEGRATOR-SET UP related commands INTEGRATOR-SCREEN related commandsINTEGRATOR-OPTION related commands Function Default Front IndicatorColor Mode Seamless Input SwitchAuxiliary Command Quest CommandsOther commands Quest Command TableObtaining QST Status Information Data Content Size RemarksQWB Obtaining integrator/WHITE Balance information QPI Obtaining Integrator/PICTURE informationQPS Obtaining integrator/SCREEN information QSO Obtaining menu integrator/OPTION information QSS Obtaining Setup informationQCI Obtaining time information QSU obtaining the audio statusQAP Obtaining machine name Examples of check sum applications Check SumStandard Functions Settings cannot be changed Menu modeIntegrator Mode Menu Mode and Integrator ModeNumber Concerning frame delay lip syncVideo input signal Input vertical Frame delay These data are reference values they cannot be ensuredError Message Remedy PrecautionsSelf-diagnosis Function Name Part Number Readjustment of the White BalanceScreen front protection panel VentsPioneer Electronics USA Inc RS-232C Command Reference Manual