4
1. Ethernet 4-31
Network Communications
Read Words from Internal Memory
int HKEtn_ReadInternalMemory(WORD *dp,unsigned short Wordcnt,int
DeviceType,DWORD addr,char *lpAddr,int DFlag=1)
This function is retained until data is transferred from the V7 series.
• Parameters
*dp Target block pointer
Wordcnt Word count to be transferred (max. 2000 words)
DeviceType 0: $u 1: $s
addr Top memory address to be read
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX”
DFlag 0, 1, 2 (Refer to page 4-29.)
• Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
Contents Word Count
No. 1 1
No. 2 1
•
•
•
•
•
•
No. n 1