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 #262 background imageLoading...
Page #262 background image
Appendix 5 Ethernet App5-37
Write Words to Memory Card Memory
int HKEtn_WriteCardMemory(WORD *sp,unsigned short Wordcnt,int FileNo,int
RecordNo,DWORD addr,char *lpAddr,int DFlag=1)
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
*sp Target block pointer
Wordcnt Word count to be transferred (max. 2000 words)
FileNo File number
RecordNo Record number
addr Top memory address to be written
*lpAddr IP address shown as a string of characters separated by dots
Example: “192.168.XXX.XXX
DFlag 0, 1, 2 (Refer to page App5-31.)
Return values
Success TRUE
Failure FALSE
Error details Get using HKEtn_GetLastError ().
Write Bits to PLC Memory
int HKEtn_WritePlcBitMemory(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 PLC memory.)
Parameters
DeviceType Address of the device to be written (Refer to “Chapter 2” to “Chapter 33.”)
addr Top memory address to be written
* For YOKOGAWA or YASKAWA PLCs, specify a number “1” for the
address (addr).
Example: D400 399 D25 24
BitNo Bit number to be accessed
Example 1: When accessing to D20-05 of MITSUBISHI PLC
DeviceType 0
addr 20
BitNo 5
Example 2: When accessing to M20 of MITSUBISHI PLC
20 ÷ 16 = 1 ... 4
DeviceType 6
addr 1
BitNo 4
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 ().
Contents Word Count
No. 1 1
No. 2 1
No. n 1

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