IDEC MicroSmart User Manual

Page 292

Advertising
background image

17: U

SER

C

OMMUNICATION

I

NSTRUCTIONS

17-14

« FC4A M

ICRO

S

MART

U

SER

S

M

ANUAL

»

6. 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.

7. In the Transmit instruction dialog box, type M10 in the destination D1 box and type D100 in the destination D2 box.

When finished, click OK.

Programming of the TXD1 instruction is complete and the transmit data is specified as follows:

STX

(02h)

D10

“1”

(31h)

“2”

(32h)

“3”

(33h)

“4”

(34h)

“5”

(35h)

“8”

(38h)

BCC

(41h)

ETX

(03h)

BCC

“6”

(36h)

“7”

(37h)

BCC calculation range

Constant

D11

Constant

(H)

BCC

(36h)

(L)

(hex)

(hex)

Advertising