CAV 1 & 2 Command structure for LANC, S-Link & Infrared Signals.

 


This document is a revision of the original from Dan Zenechelsky, I have modified it and as at this date is my latest revision. As time goes by I shall be adding to it, if anybody has any revisions or other data please advise me and I shall update this document.

I am also looking at the CAV-50 which is supplied with the PCLK-MD1 unit and will include the details in the S-link section. This document will also appear at my web site Http://www.sonymods.com

Please send revisions to : modit@bigfoot.com

 


1.0  Overview of the CAV units

 

The CAV unit’s are an RS232 device that operates at 9600bps (8,N,1). The current family of units are the CAV 1 & 2 which have outputs for IR, S-link & control-A1, there is also the CAV 50 this unit has only a control- A1 output. For each there is a general format for both commands sent to the unit and responses received from the unit. This format consists of a sequence of bytes terminated in a 0xFF terminating character.

Example sequence --> 0x81 0x07 0x05 0x41 0x02 0x01 0xFF

The first byte in a sequence represents the direction: 0x81 is a command to the device, and 0x90 is status returned.

The second byte represents the complete length of the sequence, including the direction byte, the length byte, and the terminating byte.

The third byte describes the class of device which is to be controlled, and the connector to which the command is sent. Possible values include: 0x00 -- cancel, 0x01 -- pre-programmed infrared, 0x05 -- slink, 0x10 -- learned infrared.

The remaining bytes vary depending on the type of operation.

 

These are the functions that seem to work with these CAV units.

 

Byte 3

Value in Hex

Infrared

01

Lanc

02

S-link (control A, A1)

05

Learn Infrared

10

Cancel

00

 

 

 

Whilst working on this unit I have come across other data strings the original program from Sony sends & receives.

 

1:         PC sends to CAV1 & 2 unit

            0x81 0x06 0x80 0x20 0x11 0xFF

            I beleive that this is sent to see if the CAV1 & 2  unit is there if it is it responds with:

            CAV1 & 2  unit sends back to PC every 30 seconds

            0x90 0x06 0x80 0x02 0x05 0xFF   

 

2:         The CAV1 & 2  unit also responds to the PC with the following data string:

            0x90 0x06 0x80 0x20 0x02 0xFF Battery in Egg mouse is low

            0x90 0x06 0x80 0x20 0x01 0xFF Battery in Egg mouse is OK

 

3:         When a command is sent from the PC to the CAV1 & 2  unit and it's not a valid command we             get the following response.

            0x90 0x07 0x01 0xYZ 0x40 0x01 0xFF

            where Byte 4 (0xYZ) = device ID


2.0 Pre programmed Infra red commands

 

There are two types of IR transmissions that can be done using the CAV 1&2 hardware. The CAV 1&2 unit comes with a set of pre-programmed IR sequences that can be used, and there is also an IR learning feature, which is described further on

To use a pre-programmed IR command, you need to send a sequence of bytes, as defined below .

The third byte in the sequence, which defines the class of device, should be set to 0x01.

Byte four defines the device number of the unit that you are trying to control. See Table I for a list of device numbers.

Bytes five and six combine to define which "key to press" (for example, play, stop, etc.) See belowfor the list of key codes.

For example, the byte sequence for the PLAY button on a SONY CD player is: 0x81 0x07 0x01 0x41 0x02 0x01 0xFF.

After sending a byte sequences, you need to pause for ~50 milliseconds and send the sequence: 0x81 0x05 0x01 0x00 0xFF, which stops the IR transmitter.

 

 

 

 

 


Table 1.

Here is the current list of valid device and commands available to you with the CAV-1 &2  Interface boxes. The following is the list I have compiled for valid devices, these would appear as Byte 4 in the command sequence to the unit.

 

Device ID's

 

 

Device Controlled

 

Device ID's

 

Device Controlled

 

Device ID's

 

Device Controlled

 

 

 

 

 

 

 

 

 

 

 

 

1

 

77

Sony  VCR 1

 

85

 

GE VCR 1

 

A2

 

Kenwood LD

2

 

77

Sony  VCR 2

 

86

 

GE VCR 2

 

B1

 

Emerson TV 1

3

 

77

Sony  VCR 3

 

87

 

Hitachi VCR 1

 

B2

 

Emerson TV 2

4

 

40

Sony LD

 

88

 

Misubishi VCR 1

 

B3

 

GE TV 1

10

 

45

Sony TV

 

89

 

Misubishi VCR 2

 

B4

 

GE TV 2

15

 

11

Sony Projector

 

8A

 

Misubishi VCR 3

 

B5

 

Hitach TV 1

16

 

44

Sony ????

 

8B

 

Panasonic VCR 1

 

B6

 

Hitach TV 2

17

 

34

Sony ????

 

8C

 

Panasonic VCR 2

 

B7

 

Mitsubishi TV 1

41

 

68

Sony CD 1

 

8D

 

RCA VCR 1

 

B8

 

Mitsubishi TV 2

42

 

68

Sony CD 2

 

8E

 

RCA VCR 2

 

B9

 

Panasonic TV 1

43

 

68

Sony CD 3

 

8F

 

Toshiba VCR 1

 

BA

 

Panasonic TV 2

44

 

23

Sony Tape

 

90

 

Toshiba VCR 2

 

BB

 

RCA TV 1

45

 

28

Sony Tuner

 

91

 

Fischer VCR 1

 

BC

 

Toshiba TV

46

 

21

Sony DAT

 

92

 

Fischer VCR 2

 

BD

 

Fischer TV 1

47

 

54

Sony MD 1

 

93

 

Fischer VCR 3

 

BE

 

Fischer TV 2

48

 

54

Sony MD 2

 

94

 

Fischer VCR 4

 

BF

 

Goldstar TV 1

60

 

21

Sony Audio Amp

 

95

 

Goldstar VCR 1

 

C0

 

Goldstar TV 2

61

 

22

Sony AV Amp

 

96

 

JVC VCR 1

 

C1

 

JVC TV 1

62

 

22

Sony ????

 

97

 

JVC VCR 2

 

C2

 

Sanyo TV 1

 

 

 

 

 

98

 

Sharp VCR 1

 

C3

 

Sharp TV 1

81

 

 

Emerson VCR 1

 

99

 

Sharp VCR 2

 

C4

 

Sharp TV 2

82

 

 

Emerson VCR 2

 

9A

 

Zenith VCR 1

 

C5

 

Sharp TV 3

83

 

 

Emerson VCR 3

 

A0

 

Pioneer LD

 

C6

 

Zenith TV

84

 

 

Emerson VCR 4

 

A1

 

Panasonic LD

 

FE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 



The following is the list I have compiled for valid command’s, these would appear as Byte’s 5 & 6 in the command sequence to the unit. Note that there are simularities to these but they differ for each device. I have included the sircs device for each device and the whole sircs command for it.

 

When Byte 4 = 1 Sony VCR 1. The sircs device for VCR 1 is 01000 for 12bit & 100101101 for 15bit

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101001000

4

14

 

 000100100101101

1

3

Power Off

 111101001000

4

40

Main/ Sub

 111010001000

1

10

Power toggle

 101010001000

4

50

Tv/VTR

 010101001000

2

1

Play

 010110001000

7

1

Display

 010110101000

2

2

Stop

 000110001000

7

2

Counter Reset

 011000101000

2

3

Pause

 100110001000

7

10

Tape remaining

 100000101000

2

11

Rewind

 110110001000

7

20

Zero mem

 111000101000

2

12

Fast forward

 001110001000

7

26

Timer display

 001110101000

2

13

Seek back

 000101001000

8

10

 

 011101000101101

2

14

Seek forward

 100101001000

8

11

 

 111101000101101

2

15

Index -

 111010101000

8

12

Timer Record

 101001101000

2

16

Index +

 011010101000

B

1

 

 011000000101101

2

21

Record

 101110001000

B

2

 

 111000000101101

2

22

 

 011110001000

B

3

 

 000100000101101

3

1

1

 000000001000

B

4

 

 100100000101101

3

2

2

 100000001000

B

5

 

 010100000101101

3

3

3

 010000001000

B

6

 

 110100000101101

3

4

4

 110000001000

B

7

 

 001100000101101

3

5

5

 001000001000

B

8

 

 101100000101101

3

6

6

 101000001000

B

10

G-Code set

 000001100101101

3

7

7

 011000001000

B

11

 

 100001100101101

3

8

8

 111000001000

B

12

 

 010001100101101

3

9

9

 000100001000

B

13

 

 110001100101101

3

A

0/10

 100100001000

10

1

Index Mark

 000100101000

3

B

--/11

 010100001000

10

2

Index erase

 100100101000

3

C

12

 110100001000

10

3

Shuttle edit +

 110010101000

3

D

13

 001100001000

10

4

Shuttle edit -

 001010101000

3

E

14

 101100001000

10

5

VTR

 101101000101101

3

F

15

 011100001000

10

10

Menu

 101100101000

3

10

16

 111100001000

10

11

Enter

 100010101000

3

21

CH -

 100010001000

10

12

Menu up

 010000101000

3

22

CH +

 000010001000

10

13

Menu dwn

 110000101000

4

1

Video toggle

 111100101000

10

14

Menu right

 100001101000

4

2

 

 110000100101101

10

15

Menu left

 010001101000

4

3

Video 1

 101011000101101

10

16

 

 000000101000

4

4

Video 2

 011011000101101

 

 

 

 

4

5

Video 3

 111011000101101

 

 

 

 

4

6

Video 4

 000111000101101

 

 

 

 

4

10

 

 010000100101101

 

 

 

 

4

11

 

 001000100101101

 

 

 

 

4

12

 

 101000100101101

 

 

 

 

4

13

 

 111000100101101

 

 

 

 


When Byte 4 = (2) Sony VCR 2. The sircs device for VCR 2 is 11100 for 12bit & 11101101 for 15bit

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101011100

4

14

 

 000100111101101

1

3

Power Off

 111101011100

4

40

Main/ Sub

 111010011100

1

10

Power toggle

 101010011100

4

50

Tv/VTR

 010101011100

2

1

Play

 010110011100

7

1

Display

 010110111100

2

2

Stop

 000110011100

7

2

Counter Reset

 011000111100

2

3

Pause

 100110011100

7

10

Tape remaining

 100000111100

2

11

Rewind

 110110011100

7

20

Zero mem

 111000111100

2

12

Fast forward

 001110011100

7

26

Timer display

 001110111100

2

13

Seek back

 000101011100

8

10

 

 011101011101101

2

14

Seek forward

 100101011100

8

11

 

 111101011101101

2

15

Index -

 111010111100

8

12

Timer Record

 101001111100

2

16

Index +

 011010111100

B

1

 

 011000011101101

2

21

Record

 101110011100

B

2

 

 111000011101101

2

22

 

 011110011100

B

3

 

 000100011101101

3

1

1

 000000011100

B

4

 

 100100011101101

3

2

2

 100000011100

B

5

 

 010100011101101

3

3

3

 010000011100

B

6

 

 110100011101101

3

4

4

 110000011100

B

7

 

 001100011101101

3

5

5

 001000011100

B

8

 

 101100011101101

3

6

6

 101000011100

B

10

G-Code set

 000001111101101

3

7

7

 011000011100

B

11

 

 100001111101101

3

8

8

 111000011100

B

12

 

 010001111101101

3

9

9

 000100011100

B

13

 

 110001111101101

3

A

0/10

 100100011100

10

1

Index Mark

 000100101000

3

B

--/11

 010100011100

10

2

Index erase

 100100101000

3

C

12

 110100011100

10

3

Shuttle edit +

 110010101000

3

D

13

 001100011100

10

4

Shuttle edit -

 001010101000

3

E

14

 101100011100

10

5

VTR

 101101011101101

3

F

15

 011100011100

10

10

Menu

 101100101000

3

10

16

 111100011100

10

11

Enter

 100010101000

3

21

CH -

 100010011100

10

12

Menu up

 010000101000

3

22

CH +

 000010011100

10

13

Menu dwn

 110000101000

4

1

Video toggle

 111100111100

10

14

Menu right

 100001101000

4

2

 

 110000111101101

10

15

Menu left

 010001101000

4

3

Video 1

 101011011101101

10

16

 

 000000101000

4

4

Video 2

 011011011101101

 

 

 

 

4

5

Video 3

 111011011101101

 

 

 

 

4

6

Video 4

 000111011101101

 

 

 

 

4

10

 

 010000111101101

 

 

 

 

4

11

 

 001000111101101

 

 

 

 

4

12

 

 101000111101101

 

 

 

 

4

13

 

 111000111101101

 

 

 

 


When Byte 4 = (3) Sony VCR 3. The sircs device for VCR 3 is 11010 for 12bit & 11111101 for 15bit

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101011010

4

14

 

 000100111111101

1

3

Power Off

 111101011010

4

40

Main/ Sub

 111010011010

1

10

Power toggle

 101010011010

4

50

Tv/VTR

 010101011010

2

1

Play

 010110011010

7

1

Display

 010110111010

2

2

Stop

 000110011010

7

2

Counter Reset

 011000111010

2

3

Pause

 100110011010

7

10

Tape remaining

 100000111010

2

11

Rewind

 110110011010

7

20

Zero mem

 111000111010

2

12

Fast forward

 001110011010

7

26

Timer display

 001110111010

2

13

Seek back

 000101011010

8

10

 

 011101011111101

2

14

Seek forward

 100101011010

8

11

 

 111101011111101

2

15

Index -

 111010111010

8

12

Timer Record

 101001111010

2

16

Index +

 011010111010

B

1

 

 011000011111101

2

21

Record

 101110011010

B

2

 

 111000011111101

2

22

 

 011110001000

B

3

 

 000100011111101

3

1

1

 000000011010

B

4

 

 100100011111101

3

2

2

 100000011010

B

5

 

 010100011111101

3

3

3

 010000011010

B

6

 

 110100011111101

3

4

4

 110000011010

B

7

 

 001100011111101

3

5

5

 001000011010

B

8

 

 101100011111101

3

6

6

 101000011010

B

10

G-Code set

 000001111111101

3

7

7

 011000011010

B

11

 

 100001111111101

3

8

8

 111000011010

B

12

 

 010001111111101

3

9

9

 000100011010

B

13

 

 110001111111101

3

A

0/10

 100100011010

10

1

Index Mark

 000100111010

3

B

--/11

 010100011010

10

2

Index erase

 100100111010

3

C

12

 110100011010

10

3

Shuttle edit +

 110010111010

3

D

13

 001100011010

10

4

Shuttle edit -

 001010111010

3

E

14

 101100011010

10

5

VTR

 101101011111101

3

F

15

 011100011010

10

10

Menu

 101100111010

3

10

16

 111100011010

10

11

Enter

 100010111010

3

21

CH -

 100010011010

10

12

Menu up

 010000111010

3

22

CH +

 000010011010

10

13

Menu dwn

 110000111010

4

1

Video toggle

 111100111010

10

14

Menu right

 100001111010

4

2

 

 110000111111101

10

15

Menu left

 010001111010

4

3

Video 1

 101011011111101

10

16

 

 000000111010

4

4

Video 2

 011011011111101

 

 

 

 

4

5

Video 3

 111011011111101

 

 

 

 

4

6

Video 4

 000111011111101

 

 

 

 

4

10

 

 010000111111101

 

 

 

 

4

11

 

 001000111111101

 

 

 

 

4

12

 

 101000111111101

 

 

 

 

4

13

 

 111000111111101

 

 

 

 


When Byte 4 = (4 ) Sony LD. The sircs device for LD is 01100

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101001100

3

7

7

 011000001100

1

3

Power Off

 111101001100

3

8

8

 111000001100

1

10

Power toggle

 101010001100

3

9

9

 000100001100

2

1

Play

 010110001100

3

A

0/10

 100100001100

2

2

Stop

 000110001100

3

20

Search

 110100001100

2

3

Pause

 100110001100

3

23

+10

 100111001100

2

13

Seek back

 110110001100

3

40

Side A

 101110101100

2

14

Seek forward

 001110001100

3

41

Side B

 011110101100

2

15

Index -

 101011001100

6

10

 

 011101101100

2

16

Index +

 001011001100

6

11

 

 111101101100

2

17

 

 001010101100

6

12

 

 000011101100

2

18

 

 110010101100

6

13

 

 100011101100

2

33

 

 001010001100

6

14

 

 110011101100

2

40

 

 011010001100

7

1

Display

 010111001100

3

1

1

 000000001100

7

10

Time

 000101001100

3

2

2

 100000001100

11

1

 

 001111101100

3

3

3

 010000001100

11

2

 

 101111101100

3

4

4

 110000001100

11

3

 

 000001101100

3

5

5

 001000001100

11

4

 

 100001101100

3

6

6

 101000001100

11

5

 

 010001101100


When Byte 4 = 10  Sony TV. The sircs device for LD is 10000

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101010000

4

1

Input toggle

 101001010000

1

3

Power Off

 111101010000

4

2

TV

 001001010000

1

10

Power toggle

 101010010000

4

3

Input 1

 000000110000

3

1

1

 000000010000

4

4

Input 2

 100000110000

3

2

2

 100000010000

4

5

Input 3

 010000110000

3

3

3

 010000010000

4

6

Input  8 (4)

 111000110000

3

4

4

 110000010000

4

7

(Text Index)

 000100110000

3

5

5

 001000010000

4

8

(Text Enlarge)

 100100110000

3

6

6

 101000010000

4

9

Input 4

 110000110000

3

7

7

 011000010000

4

A

Input 5

 001000110000

3

8

8

 111000010000

4

B

Input 6

 101000110000

3

9

9

 000100010000

4

C

Input 7

 011000110000

3

A

0/10

 100100010000

4

11

SAT Input

 100010110000

3

B

--/11

 010100010000

4

12

 

 010010110000

3

C

12

 110100010000

4

20

Cable Input

 011100110000

3

D

13

 001100010000

4

30

Ant/ Aux

 010101010000

3

E

14

 101100010000

4

40

A-B/MTS/Stereo

 111010010000

3

F

15

 011100010000

4

42

 

 101100110000

3

10

16

 111100010000

5

1

Volume +

 010010010000

3

21

CH -

 100010010000

5

2

Volume -

 110010010000

3

22

CH +

 000010010000

5

10

Mute

 001010010000

 

 

 

 

6

19

PinP

 110110110000

 

 

 

 

7

1

Display

 010111010000

 

 

 

 

8

20

Sleep

 011011010000

 

When Byte 4 = 15 Sony Projector. The sircs device for Projector is 00101010

 

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

1

2

Power On

 011101000101010

1

3

Power Off

 111101000101010

1

10

Power toggle

 101010000101010

4

3

 

 010100000101010

4

4

 

 110100000101010

4

5

 

 001100000101010

4

6

 

 101100000101010

4

7

 

 011100000101010

4

8

 

 111100000101010

7

2

Picture mute

 001001000101010

7

3

Status On

 101001000101010


When Byte 4 = 16  Unknown Sony Device. The sircs device for Unknown Sony Device is 00000

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101000000

4

1

Video

 101001000000

1

3

Power Off

 111101000000

4

2

Tv

 001001000000

1

10

Power toggle

 101010000000

4

11

 

 000100100000

3

1

1

 000000000000

4

12

 

 100100100000

3

2

2

 100000000000

4

13

 

 110100100000

3

3

3

 010000000000

4

16

 

 010100100000

3

4

4

 110000000000

4

17

 

 001100100000

3

5

5

 001000000000

4

18

 

 101100100000

3

6

6

 101000000000

4

19

 

 011100100000

3

7

7

 011000000000

4

1A

 

 111100100000

3

8

8

 111000000000

4

40

 

 111010000000

3

9

9

 000100000000

4

41

 

 000101000000

3

A

10

 100100000000

4

42

 

 001101000000

3

B

11

 010100000000

5

1

Volume +

 010010000000

3

C

12

 110100000000

5

2

Volume -

 110010000000

3

D

13

 001100000000

5

10

Mute

 001010000000

3

E

14

 101100000000

7

1

Display

 010111000000

3

F

15

 011100000000

10

10

Menu

 000111000000

3

10

16

 111100000000

10

11

select

 011011100000

3

21

Channel -

 100010000000

10

12

Up arrow

 010011100000

3

22

Channel +

 000010000000

10

13

Down arrow

 110011100000

 

 

 

 

10

14

Right  arrow

 001011100000

 

 

 

 

10

15

Left arrow

 101011100000

 

When Byte 4 = 17 Sony DSS System. The sircs device for the Sony DSS is 11101101

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101011101101 

3

F

 

 011100011101101

1

3

Power Off

 111101011101101

3

10

 

 111100011101101

1

10

Power toggle

 101010011101101

3

21

Channel +

 100010011101101

3

1

1

 000000011101101

3

22

Channel -

 000010011101101

3

2

2

 100000011101101

3

24

Jump

 001101111101101

3

3

3

 010000011101101

4

1

Tv / Video

 101001011101101

3

4

4

 110000011101101

4

2

 

 001001011101101

3

5

5

 001000011101101

4

41

 

 000101011101101

3

6

6

 101000011101101

7

1

Display

 010111011101101

3

7

7

 011000011101101

10

10

Menu

 000111011101101

3

8

8

 111000011101101

10

11

Select

 011011111101101

3

9

9

 000100011101101

10

12

Up arrow

 010011111101101

3

A

0

 100100011101101

10

13

Down arrow

 110011111101101

3

B

 

 010100011101101

10

14

Right arrow

 001011111101101

3

C

Enter

 110100011101101

10

15

Left arrow

 101011111101101

3

D

 

 001100011101101

10

16

Guide

 011101111101101

3

E

 

 101100011101101

 

 

 

 


When Byte 4 = 41 Sony CD player 1. The sircs device for Sony CD player 1is 10001

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101010001

3

23

 

 111001010001

1

3

Power Off

 111101010001

3

40

 

 010100110001

1

10

Power toggle

 101010010001

3

41

 

 110100110001

2

1

Play

 010011010001

3

42

 

 001100110001

2

2

Stop

 000111010001

3

51

Disc 1

 000000110001

2

3

Pause

 100111010001

3

52

Disc 2

 100000110001

2

13

Seek back

 110011010001

3

53

Disc 3

 010000110001

2

14

Seek forward

 001011010001

3

54

Disc 4

 110000110001

2

15

Index -

 000011010001

3

55

Disc 5

 001000110001

2

16

Index +

 100011010001

3

56

Disc 6

 101000110001

2

17

Rewind

 010111010001

3

57

Disc 7

 011000110001

2

18

Fest forward

 110111010001

3

58

Disc 8

 111000110001

2

40

 

 011010010001

3

59

Disc 9

 000100110001

3

1

1 ( F )

 000000010001

3

5A

Disc 10

 100100110001

3

2

2 ( G )

 100000010001

3

5B

Disc skip

 011111010001

3

3

3 ( H )

 010000010001

3

5C

 

 101111010001

3

4

4 ( I )

 110000010001

5

1

Voluve +

 010010010001

3

5

5 ( J )

 001000010001

5

2

Volume -

 110010010001

3

6

6 ( K )

 101000010001

7

10

Display

 000101010001

3

7

7 ( L )

 011000010001

10

1

Continue ( A )

 101110010001

3

8

8 ( M )

 111000010001

10

2

Program ( C )

 111110010001

3

9

9 ( N )

 000100010001

10

3

Repeat ( ? )

 001101010001

3

A

10 ( O )

 000001010001

10

4

Shuffle ( B )

 101011010001

3

B

11 ( P )

 100001010001

10

5

M.Scan ( ) )

 001111010001

3

C

12 (Q )

 010001010001

10

6

A.Space ( ( )

 011100110001

3

D

13 (R )

 110001010001

10

7

Clear

 111100010001

3

E

14 ( S )

 001001010001

10

8

 

 111100110001

3

F

15 ( T )

 101001010001

10

9

Fader

 111110110001

3

10

16 ( U )

 011001010001

10

10

Character

 000001110001

3

11

17 ( V )

 000010010001

10

11

Number

 100001110001

3

12

18 ( W )

 100010010001

10

12

 

 010001110001

3

13

19 ( X )

 111010010001

10

13

Name

 110001110001

3

14

20( Y )

 100101010001

10

14

 

 001001110001

3

20

 

 110100010001

10

15

 

 101001110001


When Byte 4 = 42 Sony CD player 2. The sircs device for Sony CD player 2 is 15bit 10011100

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101010011100

3

23

 

 111001010011100

1

3

Power Off

 111101010011100

3

40

 

 010100110011100

1

10

Power toggle

 101010010011100

3

41

 

 110100110011100

2

1

Play

 010011010011100

3

42

 

 001100110011100

2

2

Stop

 000111010011100

3

51

 

 000000110011100

2

3

Pause

 100111010011100

3

52

 

 100000110011100

2

13

Seek back

 110011010011100

3

53

 

 010000110011100

2

14

Seek forward

 001011010011100

3

54

 

 110000110011100

2

15

Index -

 000011010011100

3

55

 

 001000110011100

2

16

Index +

 100011010011100

3

56

 

 101000110011100

2

17

 

 010111010011100

3

57

 

 011000110011100

2

18

 

 110111010011100

3

58

 

 111000110011100

2

40

 

 011010010011100

3

59

 

 000100110011100

3

1

1 ( F )

 000000010011100

3

5A

 

 100100110011100

3

2

2 ( G )

 100000010011100

3

5B

 

 011111010011100

3

3

3 ( H )

 010000010011100

3

5C

 

 101111010011100

3

4

4 ( I )

 110000010011100

5

1

 

 010010010011100

3

5

5 ( J )

 001000010011100

5

2

 

 110010010011100

3

6

6 ( K )

 101000010011100

7

10

Display

 000101010011100

3

7

7 ( L )

 011000010011100

10

1

Continue ( A )

 101110010011100

3

8

8 ( M )

 111000010011100

10

2

Program ( C )

 111110010011100

3

9

9 ( N )

 000100010011100

10

3

Repeat ( ? )

 001101010011100

3

A

10 ( O )

 000001010011100

10

4

Shuffle ( B )

 101011010011100

3

B

11 ( P )

 100001010011100

10

5

M.Scan ( ) )

 001111010011100

3

C

12 (Q )

 010001010011100

10

6

A.Space ( ( )

 011100110011100

3

D

13 (R )

 110001010011100

10

7

Clear

 111100010011100

3

E

14 ( S )

 001001010011100

10

8

 

 111100110011100

3

F

15 ( T )

 101001010011100

10

9

 

 111110110011100

3

10

16 ( U )

 011001010011100

10

10

Character

 000001110011100

3

11

17 ( V )

 000010010011100

10

11

Number

 100001110011100

3

12

18 ( W )

 100010010011100

10

12

 

 010001110011100

3

13

19 ( X )

 111010010011100

10

13

Name

 110001110011100

3

14

20( Y )

 100101010011100

10

14

 

 001001110011100

3

20

 

 110100010011100

10

15

 

 101001110011100


When Byte 4 = 43 Sony CD player 3. The sircs device for Sony CD player 3  is

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 

3

23

 

 

1

3

Power Off

 

3

40

 

 

1

10

Power toggle

 

3

41

 

 

2

1

Play

 

3

42

 

 

2

2

Stop

 

3

51

 

 

2

3

Pause

 

3

52

 

 

2

13

Seek back

 

3

53

 

 

2

14

Seek forward

 

3

54

 

 

2

15

Index -

 

3

55

 

 

2

16

Index +

 

3

56

 

 

2

17

 

 

3

57

 

 

2

18

 

 

3

58

 

 

2

40

 

 

3

59

 

 

3

1

1 ( F )

 

3

5A

 

 

3

2

2 ( G )

 

3

5B

 

 

3

3

3 ( H )

 

3

5C

 

 

3

4

4 ( I )

 

5

1

 

 

3

5

5 ( J )

 

5

2

 

 

3

6

6 ( K )

 

7

10

Display

 

3

7

7 ( L )

 

10

1

Continue ( A )

 

3

8

8 ( M )

 

10

2

Program ( C )

 

3

9

9 ( N )

 

10

3

Repeat ( ? )

 

3

A

10 ( O )

 

10

4

Shuffle ( B )

 

3

B

11 ( P )

 

10

5

M.Scan ( ) )

 

3

C

12 (Q )

 

10

6

A.Space ( ( )

 

3

D

13 (R )

 

10

7

Clear

 

3

E

14 ( S )

 

10

8

 

 

3

F

15 ( T )

 

10

9

 

 

3

10

16 ( U )

 

10

10

Character

 

3

11

17 ( V )

 

10

11

Number

 

3

12

18 ( W )

 

10

12

 

 

3

13

19 ( X )

 

10

13

Name

 

3

14

20( Y )

 

10

14

 

 

3

20

 

 

10

15

 

 


When Byte 4 = 44 Sony Tape. The sircs device for Sony CD Tape is 01110

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

2

1

Deck A Play

 010011001110

2

24

Deck B record

 011110001110

2

2

Deck B Stop

 000110001110

2

82

Deck A stop

 000111000001

2

3

Deck B Pause

 100110001110

2

83

Deck A pause

 100111000001

2

4

Deck B play

 010110001110

2

84

Deck A play

 010011000001

2

5

Deck B rev play

 000001001110

2

85

Deck A rev play

 111011000001

2

11

Deck B rewind

 110110001110

2

91

Deck A rewind

 110011000001

2

12

Deck B fast fwd

 001110001110

2

92

Deck A fast fwd

 001011000001

2

15

 

 000011001110

2

A1

 

 101011000001

2

16

 

 100011001110

2

A2

Deck A record

 011011000001

2

21

 

 101110001110

2

A3

Deck B

 010111000001

2

22

 

 011110001110

2

A4

Deck A misc key

 111111000001

2

23

 

 100001001110

 

 

 

 

 

When Byte 4 = 45 Sony Tuner. The sircs device for Sony Tuner is 10110

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

3

1

1

 000000010110

3

40

 

 110010010110

3

2

2

 100000010110

3

41

 

 010010010110

3

3

3

 010000010110

3

42

 

 110011010110

3

4

4

 110000010110

3

43

 

 000011010110

3

5

5

 001000010110

3

44

 

 100011010110

3

6

6

 101000010110

3

45

 

 010011010110

3

7

7

 011000010110

4

30

Band

 111100010110

3

8

8

 111000010110

4

31

 

 000110010110

3

9

9

 000100010110

4

32

 

 101110010110

3

A

0/10

 100100010110

4

33

 

 100110010110

3

20

 

 001100010110

4

34

 

 010110010110

3

21

Preset -

 100010010110

4

40

 

 000001010110

3

22

Preset +

 000010010110

4

42

 

 100001010110

3

23

 

 011001010110

4

43

 

 010001010110

 

When Byte 4 = 46 Sony DAT machine. The sircs device for Sony DAT machine is 00111

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

2

1

 

 010111000111

3

1

 

 000000000111

2

2

 

 000111000111

3

2

 

 100000000111

2

3

 

 100111000111

3

3

 

 010000000111

2

11

 

 110111000111

3

4

 

 110000000111

2

12

 

 001111000111

3

5

 

 001000000111

2

15

 

 000101100111

3

6

 

 101000000111

2

16

 

 100101100111

3

7

 

 011000000111

2

21

 

 011111000111

3

8

 

 111000000111

2

22

 

 101111000111

3

9

 

 000100000111

2

24

 

 111111000111

3

A

 

 001010000111

 

 

 

 

3

20

 

 110110000111


When Byte 4 = 47 Sony MD machine 1. The sircs device for Sony MD machine 1 is 11110

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 

3

10

16 ( U )

 101000111110

1

3

Power Off

 

3

11

17 ( V )

 011000111110

1

10

Power toggle

 

3

12

18 ( W )

 111000111110

2

1

Play

 010101011110

3

13

19 ( X )

 000100111110

2

2

Stop

 000101011110

3

14

20( Y )

 100100111110

2

3

Pause

 100101011110

3

15

21( Z )

 010100111110

2

13

Seek back

 000001011110

3

16

22( - )

 110100111110

2

14

Seek forward

 100001011110

3

17

23 ( |_| )

 001100111110

2

15

Index -

 

3

18

24 ( . )

 101100111110

2

16

Index +

 

3

19

25 ( , )

 011100111110

2

21

Rec

 101101011110

3

20

 

 

2

28

T.Rec

 000011011110

3

23

>25 ( / )

 010100011110

3

1

1 ( F )

 000000011110

7

10

Display

 000110011110

3

2

2 ( G )

 100000011110

7

11

Scroll

 100110011110

3

3

3 ( H )

 010000011110

7

12

Present ( E )

 010110011110

3

4

4 ( I )

 110000011110

7

13

Recorded ( D )

 110110011110

3

5

5 ( J )

 001000011110

10

1

Continue ( A )

 101110011110

3

6

6 ( K )

 101000011110

10

2

Program ( C )

 111110011110

3

7

7 ( L )

 011000011110

10

3

Repeat ( ? )

 011001011110

3

8

8 ( M )

 111000011110

10

4

Shuffle ( B )

 011110011110

3

9

9 ( N )

 000100011110

10

5

M.Scan ( ) )

 001011011110

3

A

10 ( O )

 100100011110

10

6

A.Space ( ( )

 110011011110

3

B

11 ( P )

 000000111110

10

7

Clear

 111100011110

3

C

12 (Q )

 100000111110

10

10

Character

 011011011110

3

D

13 (R )

 010000111110

10

11

Number

 111011011110

3

E

14 ( S )

 110000111110

10

12

 

 

3

F

15 ( T )

 001000111110

10

13

Name

 001111011110


When Byte 4 = 48 Sony MD machine 2. The sircs device for Sony MD machine 2 is

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 

3

10

16 ( U )

 

1

3

Power Off

 

3

11

17 ( V )

 

1

10

Power toggle

 

3

12

18 ( W )

 

2

1

Play

 

3

13

19 ( X )

 

2

2

Stop

 

3

14

20( Y )

 

2

3

Pause

 

3

15

21( Z )

 

2

13

Seek back

 

3

16

22( - )

 

2

14

Seek forward

 

3

17

23 ( |_| )

 

2

15

Index -

 

3

18

24 ( . )

 

2

16

Index +

 

3

19

25 ( , )

 

2

21

Rec

 

3

20

 

 

2

28

T.Rec

 

3

23

>25 ( / )

 

3

1

1 ( F )

 

7

10

Display

 

3

2

2 ( G )

 

7

11

Scroll

 

3

3

3 ( H )

 

7

12

Present ( E )

 

3

4

4 ( I )

 

7

13

Recorded ( D )

 

3

5

5 ( J )

 

10

1

Continue ( A )

 

3

6

6 ( K )

 

10

2

Program ( C )

 

3

7

7 ( L )

 

10

3

Repeat ( ? )

 

3

8

8 ( M )

 

10

4

Shuffle ( B )

 

3

9

9 ( N )

 

10

5

M.Scan ( ) )

 

3

A

10 ( O )

 

10

6

A.Space ( ( )

 

3

B

11 ( P )

 

10

7

Clear

 

3

C

12 (Q )

 

10

10

Character

 

3

D

13 (R )

 

10

11

Number

 

3

E

14 ( S )

 

10

12

 

 

3

F

15 ( T )

 

10

13

Name

 


When Byte 4 = 60 Sony Amp. The sircs device for Sony Amp is 00110

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101000110

4

52

Tape 2

 001001000110

1

3

Power Off

 111101000110

4

53

 

 110110000110

1

10

Power toggle

 101010000110

4

54

Tuner

 100001000110

4

40

 

 010001000110

4

55

Phono

 000001000110

4

41

 

 011110000110

4

56

Aux

 001110000110

4

42

 

 010110000110

4

57

 

 101110000110

4

45

 

 100110000110

4

60

 

 111010000110

4

46

 

 000110000110

4

61

 

 011010000110

4

50

CD

 101001000110

5

1

Volume +

 010010000110

4

51

DAT / Tape 1

 110001000110

5

2

Volume -

 110010000110

 

 

 

 

5

10

Mute

 001010000110

 

When Byte 4 = 61 Sony AV Amp. The sircs device for Sony AV Amp is 00001

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

1

2

Power On

 011101000001

4

51

DAT / Tape 1

 110001000001

1

3

Power Off

 111101000001

4

52

Tape 2

 001001000001

1

10

Power toggle

 101010000001

4

53

DAT

 011000100001

4

40

Video 1

 010001000001

4

54

Tuner

 100001000001

4

41

Video 2

 011110000001

4

55

Phono

 000001000001

4

42

Video 3

 010000100001

4

56

Aux

 101110000001

4

43

Video 4

 110000100001

4

60

Digital

 001000100001

4

44

 

 100000100001

4

61

 

 101000100001

4

45

LD

 110101100001

5

1

Volume +

 010010000001

4

46

 

 010101100001

5

2

Volume -

 110010000001

4

50

CD

 101001000001

5

10

Mute

 001010000001

 

When Byte 4 = 62 Sony ?????. The sircs device for Sony ???? is 01001

 

Byte 5

Byte6

Command

Sircs Command

Byte 5

Byte6

Command

Sircs Command

 

 

 

 

 

 

 

 

5

20

Centre +

 001010101001

6

8

 

 111110101001

5

21

Centre -

 101010101001

6

9

 

 000001101001

5

22

Rear

 011100101001

6

A

 

 100001101001

5

23

Rear -

 111100101001

6

B

 

 010001101001

6

1

 

 000110101001

6

C

 

 110001101001

6

2

 

 100110101001

6

10

Sound field mode

 011011001001

6

3

 

 010110101001

6

11

 

 111011001001

6

4

 

 110110101001

6

20

Eq/tone/on/off

 001101001001

6

5

 

 001110101001

6

21

 

 001000101001

6

6

 

 101110101001

6

22

 

 101000101001

6

7

 

 011110101001

 

 

 

 


When Byte 4 = FE unknown commands

 

Byte 5

Byte6

Command

 

Byte 5

Byte6

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


3.0 Learning New Infrared Sequences

 

The second type of IR transmission that can be done with the CAV unit involves teaching it new IR sequences. The CAV has a certain number of memory locations into which can be stored an IR sequence, the actual number of sequences that can be learned has yet to be determined. Each of these locations has an index number associated with it. When you instruct the CAV to learn a new sequence, you need to tell it which location index to store that sequence in. Likewise, you need to provide the index when you wish to play back the stored sequence.

 

To learn a new IR sequence, you need to send a sequence of bytes, as defined in section I. The third byte in the sequence, which defines the class of device, should be set to 0x10, the fourth byte should be set to 0x01, and the fifth byte should be set to the index location. For example, the sequence 0x81 0x06 0x10 0x01 0x01 0xFF, instructs the CAV to begin learning a new IR sequence and store it in location number 1.

 

After sending this command, there are several responses that the CAV may reply back with. The sequence 0x90 0x06 0x10 0x20 0x03 0xFF, signifies that the unit is in the process of receiving an IR transmission. The sequence 0x90 0x06 0x10 0x20 0x01 0xFF signifies that the unit has successfully learned the IR sequence, and the sequence 0x90 0x06 0x10 0x20 0x02 0xFF signifies that it has failed to learn the sequence.

 

A learn command can be canceled by sending the sequence 0x81 0x05 0x10 0x00 0xFF.

After the CAV has successfully learned an IR sequence, it can be played back by sending a sequence with byte three set to 0x10, byte four set to 0x02, and byte five set to the proper index. For example, the sequence 0x81 0x06 0x10 0x02 0x01 0xFF plays back the IR sequence stored in location

number 1.

 


4.0 S-Link commands and structure.

 

S-link commands are similar to that of the Infrared commands except there are slight differences when it comes to querying the unit.

Before doing anything, the protocols mentioned below are for  interfaces made by Sony (like the CAV). These commands are different from the raw Control-A1 protocol that many others are using to control their players via Control-A1 interfaces.

Format

 

Header (4byte) Command 0xFF

So the command string 0x81 0x07 0x05 0x41 0x02 0x01 0xFF can be broken down as follows

byte 1

byte 2

byte 3

byte 4

 

 

0x81

0x07

0x05

0x41

0x02 0x01

0xFF

Transmit to / from pc

S-link

# bytes

Device

function code

Termination Byte

 

There are 4 bytes in the header. The first byte is for direction of the message.

         0x81 ... message to CD player

         0x90 ... message from CD player

The second byte is the total byte length of the message, including the header and the termination bytes and is alway 0xFF.

The third byte is for selecting which medium the message will be used for. We will be using S-Link to talk with CD player, and this  is 0x05.

The fourth byte is for selecting which device the message will be sent to. The device ID looks like this:

 

0x41 ... CD Player 1

0x42 ... CD Player 2

0x43 ... CD Player 3

0x47 ... Mini disc player 1

0x48 ... Mini disc player 2

 

Sending basic commands via the SLINK port is very similar to using pre-programming infrared. There are, however, some differences. For SLINK commands, byte three should be set to 0x05. The transmitter stop sequence is also different. For SLINK, you need to use the sequence: 0x81 0x05 0x06 0x00 0xFF.

For example, to send the PLAY command to a SONY CD player via the SLINK port, the sequence is: 0x81 0x07 0x05 0x41 0x02 0x01 0xFF. This should be followed by a ~50 millisecond pause after which you send the sequence: 0x81 0x05 0x06 0x00 0xFF.

There are also more advanced commands that can be sent using SLINK, and since SLINK is a two-way bus, status can be sent from the device to the CAV as well.

The following table are the S-link commands I have found so far.

 



5.0 S-Link commands

 

Note Byte 4 (0xYZ) is rhe device that you wish to control ie CD player. This is just the basic list and I shall add to it when time permits.

 

Command

 

Code

 

 

 

Play

0x02 0x01

 

 

Send

0x81 0x07 0x05 0xYZ 0x02 0x01 0xFF

 

Receive

0x90 0x07 0x05 0xYZ 0x02 0x01 0xFF

 

 

 

Stop

0x02 0x02

 

 

Send

0x81 0x07 0x05 0xYZ 0x02 0x02 0xFF

 

Receive

0x90 0x07 0x05 0xYZ 0x02 0x02 0xFF

 

 

 

Toggle pause

0x02 0x03

 

 

Send

0x81 0x07 0x05 0xYZ 0x02 0x01 0xFF

 

Receive  play->pause

0x90 0x07 0x05 0xYZ 0x02 0x03 0xFF

 

Receive  pause->play

0x90 0x07 0x05 0xYZ 0x02 0x01 0xFF

 

 

 

Pause

0x02 0x06

 

 

Send

0x81 0x07 0x05 0xYZ 0x02 0x06 0xFF

 

Receive

0x90 0x07 0x05 0xYZ 0x02 0x03 0xFF

 

 

 

Next Track

0x02 0x16

 

 

Send

0x81 0x07 0x05 0xYZ 0x02 0x16 0xFF

 

Receive

0x90 0x0B 0x05 0xYZ 0x20 0x50 DSK TRK MIN SEC 0xFF DSK = disk number,

TRK = track number, MIN = minutes, SEC = seconds

 

 

 

Previous Track

0x02 0x15

 

 

Send

0x81 0x07 0x05 0xYZ 0x02 0x15 0xFF

 

Receive

0x90 0x0B 0x05 0xYZ 0x20 0x50 DSK TRK MIN SEC 0xFF

DSK = disk number, TRK = track number, MIN = minutes, SEC = seconds

 

 

 

Scan Forward

0x02 0x18 or 0x02 0x14

 

 

Send

0x81 0x07 0x05 0xYZ 0x02 0x18 0xFF

 

Receive

NONE

 

 

 

 

 

 

 

Scan Backward

0x02 0x17 or 0x02 0x13

 

 

Send

0x81 0x07 0x05 0xYZ 0x02 0x13 0xFF

 

Receive

NONE

 

 

 

Remote On

0x10 0x01

 

 

Send

0x81 0x07 0x05 0xYZ 0x10 0x01 0xFF

 

Receive

0x90 0x0C 0x05 0xYZ 0x20 0x20 0x00 0x80 0x00 DSK TRK 0xFF

DSK = disk number, TRK = track number

 

 

 

Remote Off

0x10 0x02

 

 

Send

0x81 0x07 0x05 0xYZ 0x10 0x02 0xFF

 

Receive

0x90 0x0C 0x05 0xYZ 0x20 0x20 0x01 0xC0 0x00 DSK TRK 0xFF

DSK = disk number, TRK = track number

 

 

 

Time Report

0x07 0x10

 

 

Send

0x81 0x07 0x05 0xYZ 0x07 0x10 0xFF

 

Receive

0x90 0x0B 0x05 0xYZ 0x20 0x51 TRK IND MIN SEC 0xFF

TRK = track number, IND = index number, MIN = minutes, SEC = seconds

 

 

 

Time Report Off

0x07 0x11

 

 

Send

0x81 0x07 0x05 0xYZ 0x07 0x11 0xFF

 

Receive

NONE

 

 

 

PowerOn

0x01 0x02

 

 

Send

0x81 0x07 0x05 0xYZ 0x01 0x02 0xFF

 

Receive

0x90 0x07 0x05 0xYZ 0x01 0x02 0xFF

 

 

 

Power Off

0x01 0x02

 

 

Send

0x81 0x07 0x05 0xYZ 0x01 0x03 0xFF

 

Receive

0x90 0x07 0x05 0xYZ 0x01 0x03 0xFF

 

 

 

Get CD Info

0x20 0x44 DSK

 

 

Send

0x81 0x08 0x05 0xYZ 0x20 0x44 DSK 0xFF

 

Receive

0x90 0x0D 0x05 0xYZ 0x20 0x60 DSK MINTRK MAXTRK MIN SEC FRM 0xFF

DSK = disk number, MINTRK = minimum track, MAXTRK = maximum track, MIN = minutes,

SEC = seconds FRM = frame offsets (time is TOTAL TIME)

 

 

 

 

 

 

 

Get Track Info

0x20 0x45 DSK TRK

 

 

Send

0x81 0x09  0x05 0xYZ 0x20 0x45 DSK TRK 0xFF

 

Receive

0x90 0x0B 0x05 0xYZ 0x20 0x62 DSKTRK MIN SEC 0xFF

DSK = disk number, TRK = track number, MIN = minutes, SEC = seconds (time is TRACK TIME)

 

 

 

Play Specific Disc and Track

0x03 0x42 DSK TRK

 

 

Send

0x81 0x09 0x05 0xYZ 0x03 0x42 DSK TRK 0xFF

 

Receive

0x90 0x0B 0x05 0xYZ 0x20 0x50 DSK TRK MIN SEC 0xFF

DSK = disk number, TRK = track number, MIN = minutes, SEC = seconds (time is TRACK TIME)