
4-34  1. Ether net
Read Bits from Memory Card Memory
int HKEtn_ReadCardBitMemory(int *lpOnFlag,int FileNo,int RecordNo,DWORD
addr,int BitNo,char *lpAddr)
This function is retained until data is transferred from the V7 series.
•Parameters
*IpOnFlag Returns the bit status. 0: OFF 1: ON
FileNo File number
RecordNo Record number
addr Top memory address to be read
BitNo Bit number to be read
*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 ().
Read Words (Blocks) from PLC Memory
int HKEtn_ReadBlockMemory(WORD *sp,BYTE *pReadblockData,int BlockCnt,char 
*lpAddr)
This function is retained until data is transferred from the V7 series.
•Parameters
*sp Re turns the read data.
*pReadblockData Top pointer of the read data
BlockCnt Block count to be read
*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 ().
Word Count 2 bytes
Source PLC memory 9 bytes