Elmomc Multi-Axis Motion Controller-Maestro Instrukcja Użytkownika Strona 110

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 313
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 109
6.3 MAC_CreateTCPConnection
This function enables the user to initiate TCP/IP communication with the Multi-axes
supervisor.
Syntax:
COMMUNICATION_HANDLE MAC_CreateTCPConnection (LPCTSTR cszIP,
DWORD
dwTimeout/*=5000*/,
WORD wPort/*=23*/ );
Input Parameters:
LPCTSTR cszIP IP Address of supervisor
DWORD dwTimeout Max time for communications to be established
WORD wPort Communication port
Return Value:
COMMUNICATION_HANDLE Multi-axes supervisor communication handle, if
connection failed - NULL.
Sample:
COMMUNICATION_HANDLE hCon = MAC_CreateTCPConnection
( _T("10.10.10.112"), 5000, 23 );
Maestro Software Manual The Maestro API
MAN-MASSW (Ver. Q)
6-3
Przeglądanie stron 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 312 313

Komentarze do niniejszej Instrukcji

Brak uwag