Appendix 1 Short Ascii Command Communication Protocol; Communication Setting; Protocol(Short Ascii Command; Transmit The Setting Command To Camera - JAI SP-20000M-PMCL User Manual

20m cmos digital progressive scan monochrome and color camera
Table of Contents

Advertisement

Appendix 1
This chapter described the communication control protocol based on the short ASCII command as the
reference.

1 Communication setting

Baud Rate
Data Length
Start Bit
Stop Bit
Parity
Xon/Xoff Control
2
Protocol(Short ASCII Command)
2.1

Transmit the setting command to camera

NN is any kind of command.
NN=[Param.]<CR><LF>
e.g.
Send to camera: GA=0 <CR><LF>
Camera response:
When camera receives a valid command, camera will return 'COMPLETE'.
If camera receives an improper command, camera will return one of the following:
e.g.
Send to camera: GAX=0 <CR><LF>
Camera response:
e.g.
Send to camera: GA=1000 <CR><LF>
Camera response:
2.2

Transmit the request command to camera

The status of camera's settings can be queried by transmitting NN?<CR><LF>, where NN is any valid
command.
The camera will return the current setting data.
e.g.
Send to camera: GA? <CR><LF>
Camera response:
2.3

Switching baud rate between PC and camera

Camera always starts up with 9600 bps. This can be switched to higher baud rates after
communication has been established. When switching to other baud rates the procedure is as
follows.
e.g. Change baud rate to 115200 bps
1. Confirm baud rates camera supported
Send to camera: SBDRT? <CR><LF>
Camera response:
SP-20000M-PMCL / SP-20000C-PMCL
Short ASCII Command Communication Protocol
9600
8bit
1bit
1bit
Non
Non
COMPLETE<CR><LF>
01 Unknown Command!!<CR><LF>
02 Bad Parameters!!<CR><LF>
GA=0<CR><LF>
SBDRT=31(0x1F)<CR><LF>
- 88 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sp-20000c-pmcl

Table of Contents