App5-34 Appendix 5 Ethernet
Read Bits from Internal Memory
int HKEtn_ReadInternalBitMemory(int *lpOnFlag,int DeviceType,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
DeviceType 0: $u 1: $s 2: $L 3: $LD 4: $T
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 Bits from Memory Card Memory
int HKEtn_ReadCardBitMemory(int *lpOnFlag,int FileNo,int RecordNo,DWORDaddr,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 ().