Idec MicroSmart Manual do Utilizador Página 291

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 290
17: USER COMMUNICATION INSTRUCTIONS
« FC4A MICROSMART USERS MANUAL » 17-13
2. Check that TXD 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 Transmit instruction dialog box reappears, repeat the above procedure. In the Data Type Selection dialog box,
click Variable (DR) and click OK. Next, in the Variable (Data Register) dialog box, type D10 in the DR No. box and
click BCD to ASCII to select the BCD to ASCII conversion. Enter 4 in the Digits box (4 digits) and 2 in the REP box
(2 repeat cycles). When finished, click OK.
5. 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 Calculate Type, click BIN to ASCII for the Conversion Type, and click
2 for the Digits. When finished, click OK.
Vista de página 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 524 525

Comentários a estes Manuais

Sem comentários