Changes between Version 4 and Version 5 of S6350serialcom


Ignore:
Timestamp:
10/27/08 11:38:55 (16 years ago)
Author:
pinwc4
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S6350serialcom

    v4 v5  
    5151ChrB(&h01) + ChrB(&h0D) + ChrB(&h00) + ChrB(&h00) + ChrB(&h00) + ChrB(&h00) + ChrB(&h60) + ChrB(&h11) + ChrB(&h27) + ChrB(&h01) + ChrB(&h00) + ChrB(&h5B) + ChrB(&hA4) 
    5252 
     53 
    5354= Silence Tag = 
    5455 
     
    8586   
    8687  'Do a XOR of all the bytes of the string for byte 1 of the checksum 
     88 
    8789  'Do not worry about xornumber having a zero initially, this does not impact the XOR operation 
     90 
    8891  for i as Integer=1 to len(data) 
    8992    xornumber1 = xornumber1 xor ascB(mid(data,i,1))