Hitachi KP-FD30 User Manual

15-July-2004
KP-FD30 remote control protocol (Rev.1)
1) Comms* specifications
Sync system Start-stop sync Bit rate 9600 bps
Data length 8 bits
Stop bits 1
Parity None
Bit transfer LSB first
*Comms : Communications
2) Comms control
The remote control software controls all communications. Data send/receive (BSC
handshake) is by transferring TEXT data to the camera controller chip.
3) Comms procedure
The following pages indicate the camera controller chip and remote control software
data protocol. In the description, the camera is designated as slave and the software
as master.
Receive protect timer (time out error)
The receive protect timer for master and slave processes is 1 second. For example,
if 1 block of TEXT data is being received, if the data interval exceeds 1 second, error
is produced and the data are lost. An acknowledgment of data receipt is not
produced.
1
a) Transmission from master (normal process)
ENQ code (05H)
2) ACK code (06H)
15-July-2004
MasterSlave
1)
3)
Transmit code (ASCII code)
4)
ACK code (06H)
1) Session starts when ENQ is sent from master to slave.
2) Slave acknowledges by returning ACK to master.
3) Master sends data to slave.
4) Slave acknowledges receipt of data by again returning ACK to master and end the
handshake.
2
b) Master reads data (normal process)
ENQ code (05H)
2) ACK code (06H)
15-July-2004
MasterSlave
1)
3)
Read command (ASCII code)
4) ACK code (06H)
5)
Read data (ASCII code)
6)
ACK code (06H)
1) Session starts when ENQ is sent from master to slave.
2) Slave acknowledges by returning ACK to master.
3) Master sends read data command to slave.
4) Slave receives read data command, then acknowledges by returning ACK code to
master.
5) Slave sends read data to master.
6) Master receives read data, then acknowledges by returning ACK code to slave.
3
c) Data transmitted by master (control abort process)
ENQ code (05H)
2)
NAK code (15H)
ENQ code (05H)
15-July-2004
MasterSlave
1)
NAK code (15H)
ENQ code (05H)
NAK code (15H)
ENQ code (05H)
NAK code (15H)
1) Master sends ENQ code to slave.
2) Since ACK code cannot be sent, slave sent NAK code to master.
3) Sequence is repeated 3 times in attempts to retransmit. After receiving the 3
successive NAK code, comms control is aborted.
3)
rd
4
d) Data transmitted by master (data error process)
e
ENQ code (05H)
2)
ACK code (06H)
4)
Send data (error occurs)
15-July-2004
MasterSlave
1)
3)
3 seconds elaps
Send data (error occurs)
Send data (data normal)
6)
ACK code (06H)
1) Session starts when ENQ is sent from master to slave.
2) Slave acknowledges by returning ACK to master.
3) Master sends data, but error detected (framing, over-run error).
4) Slave detects error and does not accept data.
5) Sequence 3 and 4 repeats, then master transfers normal data.
6) Slave detects normal data and returns ACK code to master to end the session.
3 seconds elapse
5)
5
e) Data frame error (Master transmission)
e
e
e
ENQ code (05H)
2)
ACK code (06H)
4)
Send data (ASCII code)
15-July-2004
MasterSlave
1)
3)
3 seconds elaps
5)
Send data (ASCII code)
Send data (ASCII code)
3 seconds elaps
3 seconds elaps
6)
Send data (ASCII code)
1) Session starts when ENQ is sent from master to slave.
2) Slave acknowledges by returning ACK to master.
3) Master sends data.
4) For some reason, slave does not receive data.
5) Master does not receive acknowledgment to the send code and repeats the sequence
every 3 seconds for 3 times.
6) If unsuccessful after 3 attempts, master aborts the sequence and ends communication.
6
Loading...
+ 14 hidden pages