Advantech PCL-848A/B Manuel d'utilisateur Page 24

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 84
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 23
18 PCL-848AB User's Manual
3.4.5. ENTERA
Purpose :
This command enters a long string (can be up to 65535 bytes) from a specified
device or from the interface. Reading is terminated upon receiving the terminator, or
when the specified length is reached, or on timeout. The string is put into the
specified segment in the memory. The starting address of the received string has
offset 0 in that segment.
Offset :
ENTERA%=51
Syntax :
CALL ENTER%(ADDR%,DATASEG%,LENGTH%) ----BASIC
CALL ABSOLUTE(ADDR%,DATASEG%,LENGTH%,ENTERA%)
----EASIC Compiler
Parameter :
ADDR% - The address of the device the input string comes from, If 0 <=
ADDR% <= 30, the specified device is the talker, otherwise,
the talker is the previously defined one.
DATASEG% - The memory segment where the string is to be put. The starting
address offset is 0.
LENGTH% - The input string length. The range is from 0 to 65535.
Bus Activity :
- If 0 <= addr <= 30
ATN is set true. UNL is sent. TAD is sent. MLA is set. ATN is set false.
Data string is entered.
- If addr < 0 or addr > 30
ATN is set false. Data string is entered.
Vue de la page 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 83 84

Commentaires sur ces manuels

Pas de commentaire