Prosoft-technology MVI56E-LDM Manuel d'utilisateur Page 146

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 264
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 145
CIP API Functions ControlLogix Platform "C" Programmable
Developer's Manual Linux Application Development Module
Page 140 of 264 ProSoft Technology, Inc.
March 12, 2014
OCXCIPIDOBJ idobject;
BYTE Path[]="p:1,s:0";
// Read ID data from ControlLogix in slot 0
OCXcip_GetDeviceIdObject(apihandle, &Path, &idobject, 5000);
printf ("\r\n\rDeviceName: "); printf ((char *) idobject.Name);
printf ("\n\rVendorID: %2X Device Type: %d", idobject.VendorID,
idobject.DeviceType);
printf ("\n\rProdCode: %d SerialNum %ld", idobject.ProductCode,
idobject.SerialNo);
printf ("\n\tRevision: %d.%d", idobject.MajorRevision, idobject.MinorRevision);
Vue de la page 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 263 264

Commentaires sur ces manuels

Pas de commentaire