K12703 ; 33/43
- 33 -
(37)
Command “WALC”
Function: Command for writing ALC (Write ALC)
Transmission from host:
STX: “WALC”: ALC flag:
Return by camera:
STX: ACK:
“RALC”:ALC flag:
Target level (Upper left):Target level (Upper right): Target level (Lower left): Target level (Lower right):
Target shift (Upper left): Target shift (Upper right): Target shift (Lower left): Target shift (Lower right):
Gain correction value (CNT) (Upper left): Gain correction value (CNT) (Upper right):
Gain correction value (CNT) (Lower left): Gain correction value (CNT) (Lower right):
Gain correction value (1 SHOT) (Upper left): Gain correction value (1 SHOT) (Upper right):
Gain correction value (1 SHOT) (Lower left): Gain correction value (1 SHOT) (Lower right):
Offset correction value (1 SHOT) (Upper left): Offset correction value (1 SHOT) (Upper right):
Offset correction value (1 SHOT) (Lower left): Offset correction value (1 SHOT) (Lower right): ETX
Return by camera:
STX: ACK: ETX (transaction completion), or STX: NAK: ETX (transaction rejection)
ALC flag is set in 4-digit ASCII code in hexadecimal. Only the low two bits are alterable.
“000F”: to request the correction value with a goal of the reference image. Do not set other than that.
Target level is set in 2-digit ASCII code in hexadecimal
“0” to “FF” (0 to +255,decimal)
Usually, it is automatically set by ALC command
“3”, then transmit “.”.
Target shift is set in 2-digit ASCII code in hexadecimal
“C0” to ”3F” (-64 to +63, decimal).
It can shift the target value of right and left images. Set it to + side when it is required to brighten the image during
automatic correction and to - side when it is required to darken the image. Transmit
“.”,unless it is needed to change.
Gain & Offset correction value is set in 2-digit ASCII code in hexadecimal
“B0” to ”4F” (-79 to +79, decimal).
Usually, it is automatically set by ALC operation, then transmit
“.”.
(38)
Command “SALC”
Function: Command for saving ALC setting. (Save ALC)
Transmission from host:
STX: “SALC”: ETX
Return by camera:
STX: ACK: ETX (transaction completion) or STX: NAK: ETX (transaction rejection)
The current ALC settings are saved in EEPROM.
(Note) ALC setting is saved in an area independent from the program pages, and this common value is applied when the
camera is turned on with any one of the program pages.
● Note in use of commands
● The internal nonvolatile ROM (EEPROM) guarantees the rewritable times up to 1 million based on the specifications of
the device. Accordingly, it is highly recommended to avoid such usage as the commands accompanied by writing in
EEPROM including
“WA to WF”, “SMC” and “e” are repeated endlessly (or almost endlessly) in the program loop on
the user side.