07.03.2014 Views

D-Series Syringe Pumps - Isco

D-Series Syringe Pumps - Isco

D-Series Syringe Pumps - Isco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

D <strong>Series</strong> <strong>Syringe</strong> <strong>Pumps</strong><br />

Section 6 Serial Interface<br />

Examples<br />

Frame is R304STOPD1[CR] =<br />

(R) (3) (0) (4) (S) (T) (O) (P)<br />

52H + 33H + 30H + 34H + 53H + 54H + 4FH + 50H + D1H = 300H<br />

300H MODULO 256 = 00<br />

It is important to note that all characters are converted to<br />

the ASCII equivalent and added, except for the checksum.<br />

The two characters of the checksum are converted to<br />

hexadecimal numbers and concatenated to form a single<br />

two-digit number. This number is then converted to its<br />

ASCII equivalent and added to the end of the message.<br />

Hexadecimal Format Using<br />

MODULO<br />

Step 1:<br />

Step 2:<br />

22FH = 52H + 33H + 30H + 34H + 53H + 54H +4FH + 50H<br />

2FH = 22FH ··<br />

2R2FH<br />

100H<br />

100H 22FH<br />

Modulo<br />

200H<br />

2FH<br />

Step 3:<br />

D1H = 100H 2FH<br />

Step 4: Convert D1H to ASCII (Hex) and put at end of message.<br />

Step 5: Put a “CR” (0DH) at the end of message for end of frame.<br />

Decimal Format Using<br />

MODULO<br />

Step 1:<br />

Step 2:<br />

559 = 82 + 51 + 48 + 52 + 83 + 84 + 79 + 80<br />

47 = 559 ··<br />

2R47<br />

256<br />

256 559<br />

Modulo<br />

512<br />

47<br />

Step 3:<br />

209 = 256 47<br />

Step 4: Convert 209 to ASCII (Hex) and put at end of message.<br />

Step 5: Put a “CR” (13) at the end of message for end of frame.<br />

6-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!