COMMUNICATION PROTOCOL E8-V5 - SIC-Venim s.r.o.
COMMUNICATION PROTOCOL E8-V5 - SIC-Venim s.r.o.
COMMUNICATION PROTOCOL E8-V5 - SIC-Venim s.r.o.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
•E6_TO_PC Code 'S' (0x53 in hexadecimal)<br />
Data<br />
Answer<br />
= Name[0x0B] reserved[0x01] Kind[0x01]<br />
= Name[0x0B] reserved[0x01] Kind[0x01] [File contents(n bytes)]<br />
Name : file Name to look for, or 12 NULL char for every file<br />
File name must be 12 bytes long, padding with NULL char to the right<br />
File name must be in upper-case without space (char 0x20).<br />
reserved : one reserved byte, must be NULL<br />
Kind : 0 = all kinds 2 = marking file<br />
4 = dot logo file 5 = scribbling logo file<br />
File contents : all the bytes of the file<br />
Example :<br />
String to send :<br />
[0x02][0x00][0x35][0x53][0x00][0x0D]<br />
a b c d<br />
e<br />
[0x54][0x45][0x53][0x54][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x02][0x03]<br />
f<br />
g h i<br />
Answer string:<br />
- When the TEST file has been found<br />
[0x02][0x00][0x35][0x53][0x02][0x22]<br />
a b c d<br />
e<br />
[0x54][0x45][0x53][0x54][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x02][File contents(533)][0x03]<br />
f g h j i<br />
- When there is not TEST file<br />
[0x02][0x00][0x35][0x53][0x00][0x00][0x01][0x03]<br />
a b c d<br />
e<br />
a = Start of Text [STX]<br />
c = Protocol version<br />
e = Data size<br />
g = reserved<br />
i = End of text [ETX]<br />
k = Error : file not found<br />
b = Desable check-sum<br />
d = Command code<br />
f = File name<br />
h = File kind<br />
j = File contents<br />
• DEL_FILE Code 'D' (0x44 in hexadecimal)<br />
Data<br />
Answer<br />
= Name[0x0C] Kind[0x01]<br />
= [Return code(1)]<br />
Name : File name to be deleted (written in upper case)<br />
Kind : 2 = Marking file<br />
4 = Dot logo file<br />
5 = Scribling logo file<br />
Example :<br />
[0x02][0x00][0x35][0x44][0x00][0x0D]<br />
a b c d<br />
e<br />
[0x54][0x45][0x53][0x54][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x02][0x03]<br />
f<br />
g h i<br />
a = Start of Text [STX]<br />
c = Protocol version<br />
e = Data size<br />
g = reserved<br />
i = End of text [ETX]<br />
b = Desable check-sum<br />
d = Command code<br />
f = File name<br />
h = File kind<br />
NOTPROTO<strong>E8</strong><strong>V5</strong>US – R02<br />
22/38