![FE MONITOUCH V8 SERIES Скачать руководство пользователя страница 403](http://html1.mh-extra.com/html/fe/monitouch-v8-series/monitouch-v8-series_reference-additional-functions_3756179403.webp)
23 Macro
23-34
Example
• File read
The file “ABC.DAT” is read from its 11th byte by 512 bytes into $u1000 to $u1255.
$u00100 = 'C:\DAT0000\ABC\ABC.DAT'
[Source full pathname]
$u00200 = 512 (D)
[Size]
$u00202 = 10 (D)
[Offset]
$u00204 = 0 (W)
[0 fixed]
READ_FILE $u00100 $u01000 $u00200 $u00300
• File size acquisition
The size of the file “ABC.DAT” is read into $u300.
$u00100 = 'C:\DAT0000\ABC\ABC.DAT' [Source full pathname]
$u00200 = 0 (W)
[0 fixed]
$u00202 = 0 (W)
[0 fixed]
$u00204 = 0 (W)
[0 fixed]
READ_FILE $u00100 $u01000 $u00200 $u00300
Supplementary information
• If any characters other than alphanumerics are used to specify a source full pathname, this macro
command may not work normally. Be sure to use alphanumerics.
• Wildcard characters (such as “*” and “?”) cannot be used for a full pathname as the source.
• If the file specified as the source does not exist, an error will result.
• If an illegal full pathname is specified, this macro command does not work. An error will result.
• In the event of an error during file reading, the data having been read is stored in memory.
However, the size of the data does not affect the successfully read data size in [F3] and [F3 + 1].
• For the V8 series, the result of macro execution is stored in $s1062.
When the execution of the macro is normally complete, the value at the address is not updated.
Therefore, before macro execution, resetting the value at the address to zero is recommended.
Code (DEC)
Description
−
1
Execution error
Содержание 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...