Elmomc Multi-Axis Motion Controller-Maestro Uživatelský manuál Strana 110

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 313
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 312 313

Komentáře k této Příručce

Žádné komentáře