![background image](http://html1.mh-extra.com/html/hakko-electronics/monitouch-v7/monitouch-v7_user-manual_3318358181.webp)
4-30
1. Ethernet
Read Double-words from PLC Memory
int HKEtn_ReadPlcMemory2(DWORD *dp,unsigned short Wordcnt,int
DeviceType,DWORD addr,char *lpAddr, int DFlag=1)
This function is retained until PLC data is transferred from the V7 series.
•
Parameters
*dp
Target pointer of the data to be read
Wordcnt
Word count to be read (max. 1000 words)
DeviceType
Address of the device to be read (Refer to “Chapter 5 Connection to
PLCs.”)
addr
Top memory address to be read
For YOKOGAWA or YASKAWA PLCs, specify a number “
−
1” for the
address (addr).
Example: D400
→
399 D25
→
24
*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
2
No. 2
2
•
•
•
•
•
•
No. n
2
Summary of Contents for Monitouch V7
Page 1: ...V7...
Page 3: ......
Page 17: ......
Page 57: ......
Page 95: ...2 38 3 Errors Displayed on the V7 Series Please use this page freely...
Page 97: ......
Page 151: ......
Page 207: ......
Page 343: ...5 136 29 Automationdirect PLC Please use this page freely...