@X4-0047-5
- 31 -
■
Read information
You can read information of the device.
The command length of the reading information is 2 byte.
Syntax
:
F<CR>
As shown below, the command line can be also described in binary.
<46h><0Dh>
※
hexadecimal representation
For example, in the case of Visual Basic, you can write as follows;
Dim Cmd
Cmd = “F” + Chr(13)
or
Dim Cmd(1) As Byte
Cmd(0) = 70 : Cmd(1) =13
Response
:
command
success
⇒
Return value is in 24 byte.
1 – 8 byte : Firmware version
9 – 16 byte : Type Name
17 – 24 byte : Serial Number
Notes:
Return value is a character string.
When the each item is less than 8 characters, it is filed with
space characters.
CR(Carriage return) is not returned.
command failure
Bad Command
⇒
“BC” is returned.
Bad Argument
⇒
“BA” is returned.