EasyManuals Logo

Hakko Electronics V Series User Manual

Hakko Electronics V Series
332 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #263 background imageLoading...
Page #263 background image
App5-38 Appendix 5 Ethernet
Write Bits to Internal Memory
int HKEtn_WriteInternalBitMemory(int DeviceType,DWORD addr,int BitNo,int OnFlag,char
*lpAddr)
This function is retained until write completion is received from the V7 series.
(It is reset on receipt of write completion to the internal memory.)
Parameters
DeviceType 0: $u 1: $s 2: $L 3: $LD 4: $T
addr Top memory address to be written
BitNo Bit number to be accessed
OnFlag 0: OFF 1: ON
*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 ().
Write Bits to Memory Card Memory
int HKEtn_WriteCardBitMemory(int FileNo,int RecordNo,DWORD addr,int BitNo,int OnFlag,char
*lpAddr)
This function is retained until write completion is received from the V7 series.
(It is reset on receipt of write completion to the memory card memory.)
Parameters
FileNo File number
RecordNo Record number
addr Top memory address to be written
BitNo Bit number to be accessed
OnFlag 0: OFF 1: ON
*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 ().
Others Functions
Initialization Function
int HKEtn_Init(unsigned short Port=10000,int Retry=3,int RecvTime=2,int RecvTime2=10)
Creates a socket.
Parameters
Port Set 10000 or above.
Retry Number of send retrials
RecvTime Receive timeout
RecvTime2 Receive timeout 2
Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
*1 When “HKEtn_Recvfrom()” is used, the time for [RecvTime] is used for timeout judgment.
*2 When “HKEtn_Readxxx” or “HKEtn_Writexxx” is used, both the times for [RecvTime] and
[RecvTime2] are used for timeout judgment.
Total time for timeout = [RecvTime] x [RecvTime2] x [Retry] (seconds)
*1
*2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Hakko Electronics V Series and is the answer not in the manual?

Hakko Electronics V Series Specifications

General IconGeneral
BrandHakko Electronics
ModelV Series
CategoryMonitor
LanguageEnglish

Related product manuals