Rockwell-automation 2708-NBD VBASIC Language Development Kit Uživatelský manuál Strana 73

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 84
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 72
Appendix C
Application Library Subroutines
C5
PENDING% TRUE if Send will result in a pause.
This should be checked before any Send, to prevent pauses in execution.
WHILE PENDING%
. . .
WEND
Send Sends a record directly to the host.
A string is sent to the host from this terminal. You should test ONLINE%
and PENDING% if you dont want this to pause.
Send s$
SendQue Sends a record indirectly to the host through the que.
A string is placed into the network queue. The record will in turn be sent to
the host as soon as possible. SendQue has a lower priority than Send, and
will buffer records even when NOT ONLINE.
This subroutine uses the Host device, NOT the Que device. See Host
Device discussion.
Pause will occur if the unit was not ONLINE% and MEMFULL%.
SendQue s$
SetLED Turns a workstation keyboard LED on or off.
A workstation has up to 10 LEDs. The LEDs are numbered 1 to 10. state%
should be TRUE for ON and FALSE for OFF.
SetLED n%, state%
GetTIME$ Translates TIME$ into standard form (HH:MM:SS).
In A-B VBASIC TIME$ is in the form hhmmsshh. This routine drops the
hundreth seconds and puts colons between hours/minutes and
minute/seconds.
GetTIME$
GetDATE$ Translates DATE$ into standard form (MM/DD/YYYY).
In A-B VBASIC DATE$ is in the form yymmddx. This routine ignores the
day (the x).
GetDATE$
Zobrazit stránku 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 83 84

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

Žádné komentáře