23.06.2014 Views

common - Sanyo Denki America, Inc.

common - Sanyo Denki America, Inc.

common - Sanyo Denki America, Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5. Type R Interface <br />

5.8.3 Daisy Chain<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Master<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Slave No.0<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Slave No.1 Slave No.n(max E)<br />

5.8.4 Data Format<br />

1Command IssueMaster Slave<br />

Packet Length Address Command Code Data Checksum<br />

1byte 1byte 1byte byte 1byte<br />

Packet Length<br />

Shows the number of bytes in one packet in hexadecimal notation. Indicates the total number of<br />

transmitted bytes from the packet length to the checksum.<br />

Packet length Number of databytes(N)4<br />

Address<br />

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0<br />

<br />

Address<br />

A maximum of 16 amplifiers can be connected. This value specifies the address set by the rotary<br />

Switch.<br />

Address=FFh simultaneously specifies all the amplifiers connected to the communication line.<br />

In this case only the amplifier at address 0 will respond.<br />

Command Code<br />

Specifies the command code defined in Chapter 6.<br />

Data <br />

The number of data bytes depends on the command. Sets the defined data for each command.<br />

Data longer than 2 bytes is sent in lower-higher order.<br />

Checksum<br />

The checksum is calculated by adding all bytes except the checksum, and taking the lowest byte.<br />

572

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!