Sony CIS200 User Manual

CIS-200
Control System Interface
Instruction and Protocol Manual
Release 1.01
TABLE OF CONTENTS
Introduction ...................................................................................1
Parts Identification............................................................................ 1
Typical System Configuration ..............................................................3
CIS-200 RS-232 Protocol
Overview .............................................................................4
Examples:
Command Number 1
Send A1 Data.........................................................................5
Command Number 2
Request A1 Data ..................................................................... 6
Responses to Send A1 Data
Command Sent ACK................................................................7
Command Sent NACK (busy)..................................................... 8
Responses to Request A1 Data
Receive Data ACK................................................................... 9
Receive Data NACK (busy)........................................................ 10
Command Number 3
Send Control-S Data ................................................................11
Command Number 4
Send Control-S Data Continuous.................................................. 12
Command Number 5
Request Control-S Status........................................................... 13
Responses to Send Control-S Data
Command Sent ACK or Continuous Command Sent ACK.................... 14
Response to Request Control-S Status
Request Control-S Status........................................................... 15
Control-S Commands / Responses
Stop All Data ......................................................................... 16
All Off ACK..........................................................................17
Programmers Notes.......................................................................... 17
CIS-200 Protocol Summary.................................................................17
Code Tables:
Control-A1 Product Codes..................................................................18
Control-S Product Codes....................................................................18
Control A1 Request, Answer and Correspondence Codes:
AMP .........................................................................................19
CD .........................................................................................23
DAT .........................................................................................29
MD .........................................................................................31
SOUND ADAPTOR .........................................................................35
TC1 (Tape)....................................................................................37
TUNER........................................................................................39
Control-S Command Codes:
AC3 .........................................................................................46
AMP .........................................................................................47
AUDIO SYSTEM / PREAMP ..............................................................48
AUDIO TUNER..............................................................................49
CD1, CD2, CD3.............................................................................. 50
DAT .........................................................................................51
DSS ......................................................................................... 52
DST .........................................................................................53
DVD ......................................................................................... 54
LDP .........................................................................................55
MD .........................................................................................56
CRT PROJECTOR........................................................................... 57
LCD PROJECTOR...........................................................................58
SOUND ADAPTOR .........................................................................59
TAPE .........................................................................................61
TV .........................................................................................62
VCR1, VCR2, VCR3........................................................................ 63
Introduction
The CIS-200 Control Interface is designed to allow hardwired control with two way communication of Sony audio/video products that use the S-Link control system from an RS232C serial communications device. S-Link is a general term for Sony audio/video control systems. S-Link is composed of the following two systems: Control-A1 for audio components, and Control-S for TVs and video components.
Audio products use the Control-A1 system, a completely new protocol that allows full two way communication. This makes possible not only component control with transport status information back, but also exchange of information such as custom file data from a CD changer. Up to ten components can be linked in daisy chained fashion.
TVs and Video products with the S-Link label use the Control-S system, also referred to as SIRCS (Sony Infrared Remote Control Standard), which has been in use since the early 1980’s. Although Control-S is a unidirectional protocol, the S-Link system employs circuitry that allows a component to return confirmation that it has been activated.
Parts Identification
Front Panel
1
POWER on LED Indicator
1
1
Rear Panel
1 2 3 4 5
1
POWER Connector
Input for 9VDC-500mA Power Supply (Supplied)
2
RS232 Connector
3 pin Terminal Block Connection to User Interfaces RS232 Control System Serial Port.
Typical Wiring Configurations:
CIS-200 I/O 9-Pin D-Sub
TX > Pin 2 - RX RX < Pin 3 - TX GND - Pin 5 - GND
CIS-200 I/O 25-Pin D-Sub
TX > Pin 3 - RX RX < Pin 2 - TX GND - Pin 7 - GND
3
LOOP OUT Connector
2 pin Terminal Block Connection to Additional CIS-200 Series ExpansionInterface(s). Typical Wiring Configuration:
LOOP OUT RS232 on CIS-200 I/O on expansion
TX > RX GND - GND
2
4
S-LINK - A1 Connectors
Two 1/8” (3.5mm) mini phone jacks. Parallel output of one Control-A1 channel. Supports daisy chain connection of up to ten devices. Note that the CIS-200 counts as one device.
5
S-LINK - CONTROL-S Connectors
Four 1/8” (3.5mm) mini phone jacks. Individual outputs for four Control-S channels.
Typical System Configuration
The illustration below represents a typical system setup.
RS232
CONTROL-A1
CIS-200
CONTROL-S
CABLES
DATA
CABLE
DVD player DSS
User Interface
Touch Screen, Computer, etc.
Receiver MD deckCD changer
DATA DATADATA
DATA STATUS
VCR
Up to Ten Devices
TV
3
CIS-200 RS-232 Protocol
Overview
Transfer Format
Transfer Rate 9600bps Character Length 8 bits Parity Check None Start Bit 1 Stop Bit 1
ID Number
CIS-200 ID Number = 0
Send Strings:
A1 Send Strings
Send A1 Data Request A1 Data
Control-S Send Strings
Send Control-S Data Send Control-S Data Continuous Request Control-S Status Stop ALL Data
Return/Respond Strings:
A1 Return/Respond Strings
Command Sent ACK Command Sent NACK (busy) Receive Data ACK Receive Data NACK (busy)
Control-S Return/Respond Strings
Command Sent ACK Continuous Command Sent ACK Receive Control-S Status
A1/Control-S Common Return/Respond Strings
All OFF ACK
4
Command Number 1
Send A1 Data
st
1
Byte 2
Attention
Byte
nd
Byte 3
Command
Number
rd
Byte 4
Number
of Bytes
th
Byte
Product
code
5
th
Data
Byte
Data
1st Byte: Attention Byte
<8xH> 80H logically OR’d with ID number (80H for CIS-200).
2nd Byte: Command Number
<1> Send A1 Data
3rd Byte: Number of Bytes
The 3rd byte is equal to the total number of bytes including the 4th byte (Product Code) to the last data byte.
4th Byte: Product Code
5th Byte: Data
Data can be from 1 to 19 bytes in length
Example: <CD1> <PLAY>
st
1
Byte 2
nd
01H80H 70H02H 01H
Attention
Byte
Command
Number
Byte 3
rd
Byte 4
Number of Bytes
th
Byte
Product
code: CD 1
th
5
Byte
Request
code:
PLAY
5
Command Number 2
Request A1 Data
st
1
Byte 2
Attention
Byte
nd
Byte 3
Command
Number
rd
Byte 4
Number
of Bytes
th
Byte
Product
code
5
th
Data
Byte
Data
1st Byte: Attention Byte
<8xH> 80H logically OR’d with ID number (80H for CIS-200).
2nd Byte: Command Number
<2> Request A1 Data
3rd Byte: Number of Bytes
The 3rd byte is equal to the total number of bytes including the 4th byte (Product Code) to the last data byte.
4th Byte: Product Code
5th Byte: Data
Data can be from 1 to 19 bytes in length
Example: <CD3> <TRACK TEXT REQUEST>
st
1
Byte 2
nd
02H80H 72H02H 28H
Attention
Byte
Command
Number
Byte 3
rd
Byte 4
Number of Bytes
th
Byte
Product
code: CD 3
th
5
Byte
Request
code:
TRACK
TEXT REQ
6
Responses to Send A1 Data
After initiating a Command Number 1 (Send A1 Data) an ‘ACK’ or ‘NACK’ response must be received before initiating next command.
Command Sent ACK
1 Byte: Response
<FDH> Command acknowledged. A1 data sent.
Example: <CD 1> <PLAY >
CD 1 PLAY
TX
RX
01H80H 70H02H
01H
FDH
Command Sent ACK
7
Responses to Send A1 Data
After initiating a Command Number 1 (Send A1 Data) an ‘ACK’ or ‘NACK’ response must be received before initiating next command.
Command Sent NACK (busy)
1 Byte: Response
<FEH> Command received. A1 data NOT sent
Example: <AMP> <POWER ON>
AMP POWER ON
TX
RX
TX
RX
01H80H A0H02H
01H80H A0H02H
41H
FEH
Command
Sent NACK
AMP POWER ON
41H
FDH
Command Sent ACK
8
Responses to Request A1 Data
After initiating Command Number 2 (Request A1 Data) an ‘ACK’ or ‘NACK’ response must be received before initiating next command.
Receive Data ACK
1st Byte: Response
<FDH> Command acknowledged. A1 data sent.
2nd Byte: Product Code
3rd Byte: Data
Example: <CD3> <TRACK TEXT REQUEST>
TX
RX
TX
RX
TX
RX
st
1
Byte 3
nd
2
72HFDH 00H xxH
Receive
Data ACK
th
Product
Code
Byte
45H48H 4CH 50H 00H 00H
ASCII
‘H’
ASCII
TRACK
CD 3
TEXT REQ
02H80H 72H03H 28H
Byte
rd
Byte 4
th
Byte 5
th
Byte
28H
Language
Code
11
th
Byte
Byte 20
‘P’
th
Byte7
‘E’
TRACK
TEXT DATA
th
9
Byte8
ASCII
‘L’
Track No.
th
10
ASCII
Track No.
00H
Current Track
th
6
Byte
xxH
Copy Control
Flag
th
continued
Byte
9
Responses to Request A1 Data
After initiating Command Number 2 (Request A1 Data) an ‘ACK’ or ‘NACK’ response must be received before initiating next command.
Receive Data NACK (busy)
1 Byte: Response
<FEH> Command received. A1 data NOT sent
VOLUME
AMP
POSITION REQ
TX
RX
TX
RX
02H80H A0H02H
02H80H A0H02H
AMP
VOLUME
POSITION REQ
21H
21H
FDH
Command Sent ACK
FEH
Command
Sent NACK
A0H
AMP
POSITION DATA
7AH
VOLUME
10
Command Number 3
Send Control-S Data
st
1
Byte 2
Attention
Byte
nd
Byte 3
Command
Number
rd
Byte 4
Channel
th
Byte
Product
code - HI
1st Byte: Attention Byte
<8xH> 80H logically OR’d with ID number (80H for CIS-200).
2nd Byte: Command Number
<3> Send Control-S Data
3rd Byte: Channel
Control-S channel 1 through 4
4th Byte: Product Code HI Byte
5th Byte: Product Code LO Byte
th
5
Byte
Product
code - LO
th
Byte
6
Command
6th Byte: Command
st
1
Byte 2
Attention
Byte
Example: <VCR1> <PLAY>
nd
Byte
rd
3
Byte 4
th
Byte
th
5
03H80H 00H01H 12H
Command
Number
Control-S
Channel
Product code: VCR1
11
LO ByteHI Byte
Byte
th
6
Byte
24H
Command:
PLAY
Command Number 4
Send Control-S Data Continuous
st
1
Byte 2
Attention
Byte
nd
Byte 3
Command
Number
rd
Byte 4
Channel
th
Byte
Product
code - HI
1st Byte: Attention Byte
<8xH> 80H logically OR’d with ID number (80H for CIS-200).
2nd Byte: Command Number
<4> Send Control-S Data Continuous
3rd Byte: Channel
Control-S channel 1 through 4
4th Byte: Product Code HI Byte
5th Byte: Product Code LO Byte
th
5
Byte
Product
code - LO
th
Byte
6
Command
6th Byte: Command
st
1
Byte 2
Attention
Byte
Example: <TV> <VOLUME +>
nd
Byte
rd
3
Byte 4
th
Byte
th
5
04H80H 00H03H 10H
Command
Number
Control-S
Channel
Product code: TV
12
LO ByteHI Byte
Byte
th
6
Byte
13H
Command:
VOLUME +
Command Number 5
Request Control-S Status
st
1
Byte 2
Attention
Byte
nd
Byte 3
Command
Number
rd
Byte
Channel
1st Byte: Attention Byte
<8xH> 80H logically OR’d with ID number (80H for CIS-200).
2nd Byte: Command Number
<5> Request Control-S Status
3rd Byte: Channel
Control-S channel 1 through 4
Example: <REQUEST STATUS> <Channel 4>
st
1
Byte 2
nd
Byte 3
rd
Byte
05H80H 04H
Attention
Byte
Command
Number
13
Control-S
Channel
Responses to Send Control-S Data
After initiating either Command Number 3 (Send Control-S Data) or #4 (Send Control-S Data Continuous) an ‘ACK’ response must be received before initiating next command.
Command Sent ACK or Continuous Command Sent ACK
1 Byte: Response
<FDH> Command acknowledged. Control-S data sent.
Example: <VCR 1> <PLAY >
PLAYVCR1
TX
RX
03H80H 00H01H
12H
24H
FDH
Command Sent ACK
14
Response to Request Control-S Status
After initiating Command Number 5 (Request Control-S Status).
Receive Control-S Status
1st Byte: Response
<FDH> Command acknowledged. Control-S data sent.
2nd Byte: Channel
Control-S channel 1 through 4
3rd Byte: Status
0 = ‘OFF’ , 1 = ‘ON’
Example: <REQUEST STATUS > <Channel 4>
TX
RX
Request Control-S
Status Channel 4
05H80H 04H
FDH
Command Sent ACK
04H
Channel 4
01H
‘ON’
15
Control-S Commands / Responses
Stop All Data
This command stops all Control-S continuous data being sent, and also stops A1 data from being received. This must be sent after any continuous command has been initiated, otherwise the next command(s) sent will be ignored.
1 Byte: Attention Byte
<9xH> 90H logically OR’d with ID number (90H for CIS-200).
All Off ACK
1 Byte: Response
<FDH> Command acknowledged. All data stopped
TX
RX
Example: <AMP/VOL+> <STOP ALL DATA>
04H80H 00H01H
AMP VOLUME +
40H
12H
FDH
Command Sent ACK
STOP ALL DATA
90H
FDH
All Off ACK
16
Programmers Notes:
Since CONTROL-A1 is a half-duplex "network" running at an equivalent baud rate of approximately 600 bps, it is recommended that the following guidelines be observed to achieve maximum efficiency:
1. The CIS-200 Command #1 (Send A1 Data), is intentionally designed NOT to read back the A1 returned data, as to achieve a faster response time. It is recommended to use Command #1 for commands such as "PLAY", "STOP", "PAUSE", etc. that would require instant response.
2. The CIS-200 Command #2 (Request A1 Data), will read back ALL A1 data on the A1 bus immediately after "ACK" is received. It is recommended to use this command only when data reception is necessary (i.e. obtaining product status’s) as to minimize A1 "data clog". After data is received, a "Stop ALL Data" Command (90H) or a subsequent Command #1 should be sent to minimize data throughput.
CIS-200 Protocol Summary
Send Strings
Command
Header No. Send A1 Data <80H> <1> <Number of Bytes> <Product Code> <Data> Request A1 Data <80H> <2> <Number of Bytes> <Product Code> <Data> Send Control-S Data <80H> <3> <Channel> < Prod_Hi> <Prod_Lo> <Data> Send Control-S Continuous <80H> <4> <Channel> < Prod_Hi> <Prod_Lo> <Data> Request Control-S Status <80H> <5> <Channel> Stop ALL Data <90H>
Return/Respond Strings
A1 Responses: (after initiating command number 1) Command Sent ACK <FDH> Command Sent NACK (busy) <FEH>
A1 Responses: (after initiating command number 2) Receive Data ACK <FDH> <Product Code> <Data> Receive Data NACK (busy) <FEH>
Control-S Responses: (after initiating commands number 3-4) Command Sent ACK <FDH> Continuous Command Sent ACK <FDH>
Control-S Responses: (after initiating command number 5) Receive Control-S Status <FDH> <Channel> <Status>
A1 / Control-S Common Response All OFF ACK <FDH>
17
Loading...
+ 46 hidden pages