Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Uživatelský manuál Strana 57

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 312
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 56
Chapter 4

4-5
To confirm that the C file is resident in the control coprocessor:
1. Select
O) OS-9 Terminal on the PCBridge main menu. You get the
control-coprocessor OS-9 command-line interface.
The C file that you previously sent to the control coprocessor should
reside in the directory that you last accessed on OS-9.
2. At the
$ prompt, type dir and press [Return] to verify that the C
test file was successfully transferred to the control coprocessor.
Figure 4.7
C Test File on OSĆ9
3. At the $ prompt, type the name of your executable file—hello—and
press
[Return]. The program executes and prints the Hello,
world!
message.
This section provides a BASIC example program. You can develop and
run your BASIC program with either:
a personal computer with PCBridge software—develop and run your
BASIC example program; download it to the control coprocessor via the
PCBridge send-ASCII-file function
an ASCII terminal—use OS-9 to develop and run your BASIC example
program
See the OS-9 Operating System User Manual, publication 1771-6.5.102,
and the OS-9 BASIC User Manual, publication 1771-6.5.103, for more
information on creating and running BASIC programs.
Confirm File Passage to the
Control Coprocessor
Create a BASIC
Test Program
Zobrazit stránku 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 311 312

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

Žádné komentáře