26.05.2014 Views

V750-series UHF RFID System User's Manual - PLCeasy

V750-series UHF RFID System User's Manual - PLCeasy

V750-series UHF RFID System User's Manual - PLCeasy

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example FCS calculation for RS-232C<br />

FCS is the result of the horizontal parity calculation (Exclusive OR) of the data right after SOH to the end of the<br />

Command data.<br />

An example of FCS calculation:<br />

Command code and Command data: RDID –seq MOC –ant 1 –tmo 500<br />

FCS value: 19<br />

Command frame:<br />

[SOH]RDID –seq MOC –ant 1 –tmo 50019[CR][LF]<br />

Command code<br />

Command data<br />

SOH R D I D - s e q M O C - a n t 1 - t m o 5 0 0<br />

01 52 44 49 44 20 2D 73 65 71 20 4D 4F 43 20 2D 61 6E 74 20 31 20 2D 74 6D 6F 20 35 30 30<br />

FCS CR LF<br />

31 39 0D 0A<br />

Calculation<br />

Character ASCII Code (Hex) Binary<br />

R 52 01010010<br />

D 44 01000100<br />

I 49 01001001<br />

D 44 01000100<br />

(Space) 20 00100000<br />

- 2D 00101101<br />

s 73 01110011<br />

e 65 01100101<br />

q 71 01110001<br />

(Space) 20 00100000<br />

M 4C 01001100<br />

O 4F 01001111<br />

C 43 01000011<br />

(Space) 20 00100000<br />

- 2D 00101101<br />

a 61 01100001<br />

n 6E 01101110<br />

t 74 01110100<br />

(Space) 20 00100000<br />

1 31 00110001<br />

(Space) 20 00100000<br />

- 2D 00101101<br />

t 74 01110100<br />

m 6C 01101100<br />

o 6F 01101111<br />

(Space) 20 00100000<br />

5 35 00110101<br />

0 30 00110000<br />

0 30 00110000<br />

XOR 19 00011001<br />

“19” is translated to “31” and<br />

“39” as ASCII code.<br />

58 of 135

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

Saved successfully!

Ooh no, something went wrong!