Elmomc Multi-Axis Motion Controller-Maestro Manuale Utente Pagina 110

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 313
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 312 313

Commenti su questo manuale

Nessun commento