IDEC MicroSmart User Manual
Page 303
17: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
17-25
2. Check that RXD is selected in the Type box and click Port 1 in the Port box. Then, click Insert.
The Data Type Selection dialog box appears. You will program source operand S1 using this dialog box.
3. Click Constant (Hexadecimal) in the Type box and click OK. Next, in the Constant (Hexadecimal) dialog box, type
02 to program the start delimiter STX (02h). When finished, click OK.
4. Since the Receive instruction dialog box reappears, repeat the above procedure. In the Data Type Selection dialog box,
click Skip and click OK. Next, in the Skip dialog box, type 4 in the Digits box and click OK.
5. Again in the Data Type Selection dialog box, click Variable (DR) and click OK. Next, in the Variable (Data Register)
dialog box, type D20 in the DR No. box and click ASCII to BIN to select ASCII to binary conversion. Enter 4 in the
Digits box (4 digits) and 2 in the REP box (2 repeat cycles). When finished, click OK.