1M28, 1M75, and 1M150 User’s Manual
PRELIMINARY
61
DALSA
03-32-00525-04
Appendix B
Appendix B
Appendix B
Appendix B
Asynchronous Communications
Asynchronous Communications
Asynchronous Communications
Asynchronous Communications
(Camera Link
(Camera Link
(Camera Link
(Camera Link) Interface
) Interface
) Interface
) Interface
The asynchronous communications serial communicator interface is part of Camera Link. (Refer to
the Camera Link Specification for more information). This interface is often used in industrial
image processing for controlling camera settings. The following communication settings from the
asynchronous serial communications protocol have been chosen for the 1MXXX camera series:
Baud rate
9600
Startbit
1
data bits
8
Parity
None
Stopbit
1
In the idle state the leads RX and TX are characterised by a
standard H-level
. Data transfer begins
with a
startbit
, which has an
L-level.
Next, the 8 data bits are transmitted in the
sequence from
D0…D7
. The parity bit follows the data. In order to separate subsequent data, a stop bit of
H-level
is added. The total number of cycles necessary for data transfer is 11. After the data transfer,
signals return to the idle state.
Definition of the Transfer Protocol
Due to the 8-bit RS232 limitation, it is not possible to distinguish between data and address
transfers. The protocol in Table 28 is implemented to allow access to the 64 internal camera
registers.
Table 28: Communications Protocol
RS232 Communication
Protocol
Data bits
Command to camera
controller
7
6
5
4
3
2
1
0
WRITE Address
0
1
A5
A4
A3
A2
A1
A0
WRITE Data Low Nibble
1
0
x
x
D3
D2
D1
D0
WRITE Data High Nibble
1
1
x
x
D7
D6
D5
D4
READ Data of Addresses
0
0
A5
A4
A3
A2
A1
A0
x:
don’t care
Ai: Address bits
Dj: Data bits
When data or addresses are written (WRITE Mode), the RS232 interface of the camera answers
with ACK = 06H if the transfer was successful, or with NAK = 15H if the transfer failed.
Therefore, it is possible to control the complete transfer process by the software. When a register is