20 MES Interface Function
20-25
20
MES UPDATE (F1 , F2 , F3)
Function: Updating the database
This macro is used to search the line set in the [Write] tab window under MES setting No. [F3]. The
search will be performed based on the specified search conditions via the V-Server at the location
specified in table No. [F2], then the database will be updated. The result will be stored in memory at
the return address [F1].
Available memory
: Setting enabled (indirect designation disabled)
: Setting enabled (indirect designation enabled)
Range
Example
• MES UPDATE ($u0000, 10, 0)
The above program searches the database in the computer specified in network table No. 10 and
updates the database. The search is performed according to the settings in the [Write] and
[Search condition] tab windows under MES setting No. 0.
When the data addition is completed normally, the returned value 0 will be stored in memory at
the return address $u0000.
Supplementary information
• With $s514, you can set the execution style of the macro. For more information, refer to the V8
Series Connection Manual.
• The result of the macro execution is stored in memory at $s515.
-40: The [Write] or [Search condition] tab window setting is not made in the specified MES setting
number. Or any setting error is found.
For information on other error numbers, refer to the V8 Series Connection Manual.
• The returned value will not be placed at the address [F1] immediately. The [F1] address can be
monitored by the event timer macro, etc.
• This macro command cannot be executed when “Update” is set in the [Search condition] tab
window.
Internal memory
PLC1 - PLC8
Memory
Memory Card
Constant
F1
F2
F3
Value
F0
MES UPDATE
F1
Return address
Returned value
0: Normally finished
-1: End in error
F2
0 to 99: Network table number
F3
0 to 255: MES setting number
Network table No. 10
Return address
MES setting No. 0
Содержание MONITOUCH V8 SERIES
Страница 1: ...Reference Additional Functions V8series...
Страница 57: ...2 Global Overlap 2 12 Please use this page freely...
Страница 101: ...7 2 Panel Meter Extended 7 18 Please use this page freely...
Страница 123: ...9 2 Acknowledge Function 9 18 Please use this page freely...
Страница 127: ...10 RGB Display touch switch emulation 10 4 Please use this page freely...
Страница 187: ...14 3 Addition of Titles to a CSV File Sampling Data 14 20 Please use this page freely...
Страница 199: ...15 Item Show Hide Function 15 12 Please use this page freely...
Страница 211: ...16 FTP Server 16 12 With Explorer or Internet Explorer To log out close Explorer Click the close button to log out...
Страница 213: ...16 FTP Server 16 14 ls command This command is used to display the names of files and folders...
Страница 221: ...16 FTP Server 16 22 Please use this page freely...
Страница 233: ...17 2 Two Ethernet Ports 17 12 Please use this page freely...
Страница 241: ...18 Network Camera 18 8 5 The Live view window is displayed...
Страница 261: ...18 Network Camera 18 28 Please use this page freely...
Страница 327: ...20 MES Interface Function 20 38 6 The table is created...
Страница 369: ...22 Security Function 22 12 Please use this page freely...
Страница 429: ...24 Tag 24 24 Please use this page freely...
Страница 491: ...26 6 USB FDD Floppy Disk Drive 26 14 Please use this page freely...
Страница 503: ...27 Ladder Transfer via USB or Ethernet 27 12 Please use this page freely...