
12
NET145LA/NET145CL User
’s Manual Rev1.0C
© 2004 NET GmbH. All rights reserved
5. Serial Protocol and Command
5-1 Protocol
Communication mode : Transmit by Full duplex serial
Data length
: 8 bits
Stop bit
: 1 bit
Parity
: None
Transmission speed
: 9600 bps
Refer to Figure3 Serial Connector about cable connection
5.2 Command
5.2.1 Command Format
Command is transferred in the following order..
[STX][CODE1][CODE2][TYPE][DATA1][DATA 2][ETX]
In the case of NET145LA,
STX = ‘\002’, ETX = ‘\003’, ACK = ‘\006’, NACK = ‘\025’
In the case of NET145CL,
STX = ‘Z’, ETX = ‘M’, ACK = ‘\006’, NACK = ‘\025’
•
It is necessary to provide a text start character control code
“STX” at the beginning of
each
command, and a text end character control code
“ETX” at the end.
•
All the alphabetic characters of each command should be in capital letters.
Use of lower case characters does not cause the command to be executed.
•
All Commands should be converted to ASCII characters before sending to the camera.
•
In case of transmission of an incorrect command or in the event of a communication
error, a negative acknowledge character code
“NAK” will be sent back from the camera.
Characters
Type
Command
Remark
1st character
STX
-
Start of Command
2
nd
& 3rd character
CODE
00 ~ FF
Command name
5
th
and 6th character
DATA
00 ~ FF
Data Value
Last character
ETX
-
End of Command