K11208a;30/36
- 30 -
Example) If level 90 (decimal) is set:
“5A”
Example) If level 90 (decimal) is set as a MGC setting value.
STX: “WMG”: “5A”: “00”: ETX
(25) Command “ROF”
Function: Command for reading offset (Read OFFSET)
Transmission from host: STX: “ROF”: ETX
Return by camera:
STX: ACK: “ROF”: OFFSET setting value: (OFFSETB setting (right screen)): ETX
(26) Command “WOF”
Function: Command for writing offset (Write OFFSET)
Transmission from host: STX: “WOF”: OFFSET setting value: (OFFSETB setting (right screen)): ETX
Return by camera:
STX: ACK: ETX (transaction completion), or STX: NAK: ETX (transaction rejection)
A 2 digit ASCII code from “00” to “FF” in the hexadecimal system is used for the OFFSET setting value.
Example) If level 100 (decimal) is set:
”64”
Example) If level 90 (decimal) is set as an OFFSET setting value:
STX: “WOF”: “64”: “00”: ETX
(27) Command “RPS”
Function: Command for reading preset (Read PRESET)
Transmission from host: STX: “RPS”: ETX
Return by camera:
STX: ACK: “RPS”: PRESET No.: ETX
When gain and offset set value coincides with preset value (four levels of preset value), corresponding preset No. is
read. When it does not coincide with preset value, ”0” is returned.
(28) Command “WPS”
Function: Command for writing0 preset (Write PRESET)
Transmission from host: STX: “WPS”: “PRESET No.”: ETX
Return by camera:
STX: ACK: ETX (transaction completion), or STX: NAK: ETX (transaction rejection)
It can read out and employ PRESET (four levels of gain preset value ) set before shipment.
●
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.