![background image](http://html1.mh-extra.com/html/hakko-electronics/v-series/v-series_connection-manual_3303640264.webp)
Appendix 5 Ethernet
App5-39
Receive Wait from V7
int HKEtn_Recvfrom(BYTE *dp,short *lpCnt)
This function is retained internally until data is received from the V7 series.
The function returns a response and ends only when a command is received.
The user should interpret the received data and create the next action.
This function must be executed within the thread.
•
Parameters
*dp
Top pointer of receive buffer
Allocate 5000 bytes.
*lpCnt
Returns the number of bytes received.
•
Return values
Success
TRUE
Failure
FALSE
Error details
Get using HKEtn_GetLastError ().
Cancel Receive Wait Function
void HKEtn_Cancel(void)
Cancels the function in the receive wait status, such as Recvfrom().
Request Connection Information
int HKEtn_GetInf(struct inf *lpinf,char *lpAddr)
•
Parameters
*Ipinf
All “0”
*lpAddr
IP address shown as a string of characters separated by dots
Example:
“192.168.XXX.XXX”
•
Return values
Success
TRUE
Failure
FALSE
Error details
Get using HKEtn_GetLastError ().
Close Processing
int HKEtn_Close()
Execute this function when ending HKEtn10.dll.
Get Source’s IP Address
int HKEtn_GetSinAddr(char *lpAddr)
Execute this function after the recvfrom() function or receiving the data.
Summary of Contents for V Series
Page 1: ...V Series...
Page 35: ...2 10 2 Allen Bradley PLC Please use this page freely...
Page 41: ...3 6 3 Automationdirect PLC Please use this page freely...
Page 49: ...6 4 6 FANUC PLC Please use this page freely...
Page 53: ...7 4 7 FATEK AUTOMATION PLC Please use this page freely...
Page 79: ...12 8 12 KEYENCE PLC Please use this page freely...
Page 95: ...14 8 14 LG PLC Please use this page freely...
Page 119: ...16 20 16 MITSUBISHI ELECTRIC PLC Please use this page freely...
Page 135: ...20 4 20 SAIA PLC Please use this page freely...
Page 155: ...24 12 24 Siemens PLC Please use this page freely...
Page 163: ...27 4 27 TOSHIBA PLC Please use this page freely...
Page 169: ...29 4 29 Toyoda Machine Works PLC Please use this page freely...
Page 185: ...33 6 33 Yokogawa Electric PLC Please use this page freely...
Page 215: ...App2 8 Appendix 2 n 1 Connection Multi link 2 Please use this page freely...
Page 221: ...App3 6 Appendix 3 n 1 Connection Multi link Please use this page freely...
Page 225: ...App4 4 Appendix 4 1 n Connection Multi drop Please use this page freely...
Page 317: ...App6 48 Appendix 6 Universal Serial Communications Please use this page freely...