Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 151

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 150
Digital Modules
08 Jan. 98
SMART I/O User’s Manual
Page 4 - 65Manual ID 09901, Rev. Index 0500
Software Requirements
The compiler belonging to one of the following environments:
Ultra C Version 1.1.2 or higher;
FasTrak for Windows version 2.02 or higher.
Attention:
As far as programming is concerned, to the
SM-Module on the very left the figure ’0’ is assigned,
although physically it is slot 1.
Before a library function can be used, the function SMACI1Init
must be called first. By this the requested resources are allo-
cated. Beyond, this function needs to be called for each SM-
ACI1 Module called within the task. Upon completion of the
application, the function SMACI1DeInit needs to be called for
each SM-ACI1 Module that has been initialized.
In order to illustrate the use of the SM-ACI1 library, an applica-
tion facsimile called demoaci1.c can be found in the SMART I/
O application directory (normally to be found in /<device>/
APPLIC/SMART/SRC).
4.4.8.2 SMACI1Init
Syntax
error_code SMACI1Init(u_int8 PortNr);
Description:
This function initializes the SM-ACI1 Module on port PortNr
by allocating space in memory for resources and resetting all
inputs.
Seitenansicht 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare