VCC-5CL4MHS
Rev.905-0079-01
©2017 CIS Corporation. All rights reserved.
25
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 user data. These data are not
initialized by INIT command. For the details of protocol, please refer to the Section 9. Remote 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 4 of 1 byte (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
【
Returned value
】
[¥r][¥n]
【
Returned value
】
>[sp]
11.2.
Reading Out of User Data
Specify the address to be read out and the number of data to 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]Read out Count
【
Returned value
】
0xnn[sp]0xnn[sp]0xnn[sp][¥r][¥n]
【
Returned value
】
>[sp]