### Okay I'm stuck and BEGGING for help.

Posted:

**Sat Nov 07, 2009 5:49 pm**I have made some progress in trying to figure all this stuff out but at this point I am stuck trying to figure out how to calculate the "1 byte sum".

I found this example command that WORKS:

0,1,27,PUT,Main_Zone(Vol(Mute=On)),135

But when I follow the instructions on how to calculate the 1 byte sum I come up with this command that does NOT work:

0,1,27,PUT,Main_Zone(Vol(Mute=On)),71

Obviously I am not doing my calculations correctly. Here are the instructions that I am trying to follow.

=========================================================

A character is considered as a hexadecimal data (ex. "A"=0x41)

Calculate 1byte sum and convert it to a decimal number (0 to 255)

(Example of Sum calculation)

When the first 10 characters of the above command 0,1,27,PUT

are presented in ASCII code and added up...

0 , 1 , 2 7 , P U T

0x30+0x2C+0x31+0x2C+0x32+0x37+0x2C+0x50+0x55+0x54=0x247

To calculate 1 byte sum, take out the last 1 byte of the above result "0x47"

and then convert it to decimal number. The final result becomes 71

==========================================================

Even these instructions from Yamaha say that the final result is 71 and that does not work, but the example command I found with 135 does.

I'm so confused ANY help would be greatly appreciated.

Thanks,

Jim

I found this example command that WORKS:

0,1,27,PUT,Main_Zone(Vol(Mute=On)),135

But when I follow the instructions on how to calculate the 1 byte sum I come up with this command that does NOT work:

0,1,27,PUT,Main_Zone(Vol(Mute=On)),71

Obviously I am not doing my calculations correctly. Here are the instructions that I am trying to follow.

=========================================================

A character is considered as a hexadecimal data (ex. "A"=0x41)

Calculate 1byte sum and convert it to a decimal number (0 to 255)

(Example of Sum calculation)

When the first 10 characters of the above command 0,1,27,PUT

are presented in ASCII code and added up...

0 , 1 , 2 7 , P U T

0x30+0x2C+0x31+0x2C+0x32+0x37+0x2C+0x50+0x55+0x54=0x247

To calculate 1 byte sum, take out the last 1 byte of the above result "0x47"

and then convert it to decimal number. The final result becomes 71

==========================================================

Even these instructions from Yamaha say that the final result is 71 and that does not work, but the example command I found with 135 does.

I'm so confused ANY help would be greatly appreciated.

Thanks,

Jim