User Manual

Copyright 2012 Page 33
……
This command sets the retrieved data format to packed binary (as described by the Kd
command) and sends data in continuous mode. The data content and format is the same as the
Kd command data content and format. This mode is unset by using the H command.
Each data packet is defined under the Kd command above.
5.1.11 G Command:
Set Checksum Mode
Issue
G [C/R]
No Tag
Response
!MN [L/F][C/R]
The checksum consists of two characters which are added to the response string between
the contents of the message and the termination character pair: [L/F]{C/R].
The checksum is formed by setting an 8 bit checksum value to all 1’s and then performing an
“exclusive or” operation between the existing checksum value and each character of the
response string in turn, until all the characters are processed. The resulting 8 bit checksum is
then converted into two separate characters as follows:
Example:
Issue: G[c/r]
Response: !MN[l/f][c/r]
Responses of N and B commands when Checksum mode is on:
Issue: N [c/r]
Response: NS5/100-009OCooke Optics Electronic Lenses!LPF100N100UBt92 B5.03LJ[l/f][c/r]
Issue: B [c/r]
Response: B 5.03HE[l/f][c/r]
5.1.12 Ka Command:
Set Inhibit Error Response Mode
Issue
Ka[C/R]
No Tag
Response
! [L/F][C/R]
Response( Unknown )
?[L/F][C/R]
Once the Error Response Mode is set, the lens will simply ignore any bad or invalid message it
receives rather than send the ?[L/F][C/R] response to a command it does not recognize.