MCC MIIC-203 Uživatelská příručka Strana 46

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 71
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 45
38
Programmer’s
Quick Start
Creating a custom iPort/AFM program is easier if you know what to expect. Follow
these steps to manually control the iPort/AFM from your computer’s keyboard and
screen.
1 Install the iPort/AFM as directed in the “Hardware Set-Up” section of this User’s
Guide.
2 Use a terminal emulator program, like Windows’ Hyperterminal, to start
communicating with the I
2
C adapter. Remember to select the correct Com Port
(COM1, COM2,…) and set the communication parameters to 19200 Baud, 8 Data
Bits, No Parity, and 1 Stop Bit.
3 Enter //[CR] to get an iPort/AFM Status Report. Note: All iPort/AFM
commands are terminated with a Carriage Return ([CR]) character. On most
terminal emulators, press the Enter key.
4 Enter /F0[CR] (XON/XOFF) or /F1[CR] (RTS/CTS) to set iPort/AFM’s
communications Flow Control to match your terminal.
5 Enter /Ixx[CR] (xx = 02…FE even) to set iPort/AFM’s Own I
2
C Slave Address.
6 Enter /O[CR] to Open the iPort/AFM Connection. The iPort/AFM does not
need to be connected to an I
2
C Bus to open a connection.
7 Enter /Dxx[CR] (xx = 00…FE even) to select a Destination I
2
C Slave Address
8 Enter /Ttext[CR] (text = ASCII or Hex-Equivalent ~00…~FF) to Master
Transmit a message to the current Destination I
2
C Slave device
9Enter /Rn[CR] (n = 0…32767) to Master Read a message from the current
Destination I
2
C Slave device.
Zobrazit stránku 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 70 71

Komentáře k této Příručce

Žádné komentáře