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

  • 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 157

Appendix B

B-27
Initializes internal data structures and installs trap handler.
Important: The CC_INIT function must be called before you can use any
API function.
C Syntax
unsigned CC_INIT()
Parameters
None.
Returns
None.
Description
Use the CC_INIT function to initialize internal control-coprocessor
memory structures and install the trap handler used for the users
API functions.
C Example
main ()
{
CC_INIT ();
}
.
/* other API functions */
.
.
.
BASIC Example
procedure COPRO
rem * CC_INIT - This call must be made before any other API functions are called
RUN AB_BAS (0)
.
.
.
CC_INIT
Zobrazit stránku 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 311 312

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

Žádné komentáře