Rockwell-automation 1771-DB BASIC MODULE Manuel d'utilisateur Page 312

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 394
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 311
Chapter
Call Routines 69–127
13
13 -54
Input and Output Arguments
This routine has five input arguments and one output argument.
Argument Description Page
input 1
enables or disables the call 13 -54
input 2 BTR buffer, with or without the internal string, or the
internal string alone
13 -54
input 3 always 1 13 -54
input 4 the string number 13 -55
input 5 maximum word length allowed for the data packet 13 -55
output 1 call status 13 -55
Input Argument One
The first input argument enables or disables the call:
0 = disable the previously executed CALL 118
1 = enable CALL 118. These commands are acceptable:
PLC (Unprotected writes)
PLC (Word range writes)
PLC (Typed writes)
SLC 5/02 (Unprotected writes)
SLC 5/02 (Typed writes)
If the data received exceeds the string length or CPU file size, the
remaining data is truncated.
Input Argument Two
The second input argument is the selection of the BTR buffer with or
without the internal string, or the internal string alone:
0 = BTR buffer
2 = internal string
4 = BTR buffer and internal string
If you choose the internal string (2), the input/output table data
handshaking bit (17) is not used to indicate that data was received by the
BASIC module. In the BASIC program, you must monitor the second
character of the string (transaction number) which is incremented upon
every successful data transfer. Then you must remove the data from the
string before the next data packet is received or data is lost.
Input Argument Three
The third input argument is always 1.
Vue de la page 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 393 394

Commentaires sur ces manuels

Pas de commentaire