
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
oRe
u
nCodes.
Comentarios a estos manuales