IDEC MicroSmart User Manual

Page 304

Advertising
background image

17: U

SER

C

OMMUNICATION

I

NSTRUCTIONS

17-26

« FC4A M

ICRO

S

MART

U

SER

S

M

ANUAL

»

6. Again in the Data Type Selection dialog box, click BCC and click OK. Next, in the BCC dialog box, enter 1 in the Cal-

culation Start Position box, click ADD for the Calculation Type, click BIN to ASCII for the Conversion Type, and
click 2 for the Digits. When finished, click OK.

7. Once again in the Data Type Selection dialog box, click Constant (Hexadecimal) and click OK. Next, in the Constant

(Hexadecimal) dialog box, type 03 to program the end delimiter ETX (03h). When finished, click OK.

8. In the Receive instruction dialog box, type M20 in the destination D1 box and type D200 in the destination D2 box.

When finished, click OK.

Programming of the RXD1 instruction is complete and the receive data will be stored as follows:

5678h

D20

90ABh

D21

= 22136

= 37035

Advertising