VCC-16MV02
Rev.905-0163-00
©2018 CIS Corporation. All rights reserved.
30
11.
User Data SAVE/Read-out Function
This is the function for users to save any data with 32 byte (Address 0 ~ 31).
Set the data to the specified address with command and issue SAVE command to save the user data. These data are not
initialized by INIT command.
For the details for protocol, please refer to the
Section 9. “Serial Communication Function”
11.1.
Save User Data
There are two ways to write in the data.
Data shall be set per 1 byte (0 ~ 255 or 0x00 ~ 0xFF).
(1)
Data writing with 1 Byte
【
Send
】
SU[sp]200[sp]Write Address[sp]Data
【
Returned value
】
[¥r][¥n]
【
Returned value
】
>[sp]
(2)
Continuous data writing
The maximum four of 1 byte data (0 ~ 255 or 0x00 ~ 0xFF) data can be set with space partitions.
If more numbers than the address were set, error would occur.
【
Send
】
SU[sp]200[sp]Write Address[sp]Data[sp]Data[sp]Data[sp]Data
[Note]Please make sure to insert [sp] one by one.
【
Returned value
】
[¥r][¥n]
【
Returned value
】
>[sp]
11.2.
Reading Out of User Data
This is to specify the address and the number of data to be read out.
Data are shown with hexadecimal with space partitions.
When data count more than the address are specified, error would occur and it would not be read out.
【
Send
】
GU[sp]200[sp]Readout Address[sp]Readout Count
【
Returned value
】
0xnn[sp]0xnn[sp]0xnn[sp][¥r][¥n]
【
Returned value
】
>[sp]