Moxa M-1401 Manuál Strana 125

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 129
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 124
8
8
Chapter 8. Active I/O Message Commands
Active I/O message commands are for ioLogik E2000 Ethernet I/O only. These commands manage
active I/O messages that are received from an ioLogik E2000.
Message2K_Start
This function code is used to start receiving active I/O messages
from an ioLogik E2000 Ethernet I/O.
C/C++
Callback Function
Arguments
Return Value
int Message2K_Start ( int iProtocol,
WORD wPort,
pfnCALLBACK iProcAddress);
Void FunctionName ( BYTE bytData[],
WORD wSize);
iProtocol: Transmission protocol.
1: TCP
2: UDP
wPort: TCP or UDP port number.
iProcAddress: Callback function, which is called after
receiving an active I/O message from an
ioLogik E2000 Ethernet I/O.
bytData: An array that stores the message.
wSize: Array size.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Message2K_Stop
This function code is used to stop receiving active I/O messages
from an ioLogik E2000 Ethernet I/O.
C/C++
Arguments
Return Value
int Message2K_Stop( int iProtocol);
iProtocol: Transmission protocol.
1: TCP
2: UDP
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Zobrazit stránku 124
1 2 ... 120 121 122 123 124 125 126 127 128 129

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

Žádné komentáře