4-36
1. Ethernet
Write Double-words to PLC Memory
int HKEtn_WritePlcMemory2(DWORD *sp,unsigned short Wordcnt,int
DeviceType,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 PLC memory.)
•
Parameters
*sp
Target block pointer
Wordcnt
Word count to be transferred (max. 1000 words)
DeviceType
Address of the device to be written (Refer to “Connection to PLCs.”)
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
*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
Содержание Monitouch V7
Страница 1: ...V7...
Страница 3: ......
Страница 17: ......
Страница 57: ......
Страница 95: ...2 38 3 Errors Displayed on the V7 Series Please use this page freely...
Страница 97: ......
Страница 150: ...1 Ethernet 2 FL net OPCN 2 3 MELSECNET 10 4 CC Link 5 OPCN 1 6 T LINK 7 PROFIBUS DP Network Communications...
Страница 151: ......
Страница 207: ......
Страница 343: ...5 136 29 Automationdirect PLC Please use this page freely...