FE MONITOUCH V8 SERIES Reference: Additional Functions page 311

Table of Contents

Advertisement

20
MES Interface Function
MES READ (F1, F2, F3)
Function: Searching the database
This macro is used to search the line set in the [Read] 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]. The result will be stored in memory at the return address [F1].
Available memory
F1
F2
F3
Range
F0
F1
F2
F3
Return address
The following data will be stored in memory at the addresses starting from the return address [F1].
n
n + 1
n + 2 -
:
:
:
:
20-22
Internal Memory
MES READ
Return address
0 to 99: Network table number
0 to 255: MES setting number
Execution result
Normally finished: 0
Error:
Other than 0
Number of retrieved records
The number of records that match the search conditions is stored.
If no such record is found, 0 is stored.
The maximum number of records is set in the [Read] tab window in the MES setting.
Obtained data 1
The retrieved data is stored in the format as specified in the [Read] tab window in the
MES setting.
Obtained data 2
Obtained data 3
Obtained data m (= maximum number of records)
PLC1 - PLC8
Memory Card
Memory
: Setting enabled (indirect designation disabled)
: Setting enabled (indirect designation enabled)
Value
Value
:
Constant

Advertisement

Table of Contents
loading

Table of Contents