Elmomc Multi-Axis Motion Controller-Maestro Manual do Utilizador Página 110

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 313
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 312 313

Comentários a estes Manuais

Sem comentários