EasyManua.ls Logo

Siemens SIMATIC OpenPCS 7 - Page 88

Siemens SIMATIC OpenPCS 7
96 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Selecting an absolute time period
Read from start time <TimeBegin> to end time <TimeEnd>.
Example 1:
Reads the values of ValueID 1 from start time 9:03 a.m. to end time 9:10 a.m.
"TAG:R,1,'2004-07-09 09:03:00.000','2004-07-09 09:10:00.000'"
Selecting a relative time period
Reading from the start of the recording:
<TimeBegin> = '0000-00-00 00:00:00.000'
Reading to the end of the recording:
<TimeEnd> = '0000-00-00 00:00:00.000'
However, <TimeBegin> and <TimeEnd> may not both be "ZERO" = '0000-00-0000:00:00.000' .
Note
If you want to query a relative period from a connected archive database, enter this in the
following format:
0000-00-DD hh:mm:ss.msc
If you specify a period in months, the content may be incorrect since a month can have
between 28 and 31 days.
Example 2:
Reads starting from the absolute time of "TimeBegin" to the end of the recording, in other
words, to the last archived value.
<TimeBegin> = '2003-02-02 12:00:00.000',
<TimeEnd> = '0000-00-0000:00:00.000'
Example 3:
Reads 10 seconds further starting from the absolute time of "TimeBegin" .
<TimeBegin> = '2003-02-02 12:00:00.000',
<TimeEnd> = '0000-00-00 00:00:10.000'
Example 4:
Reads 10 seconds back starting from the absolute time of "TimeEnd".
<TimeBegin> = '0000-00-00 00:00:10.000',
<TimeEnd> = '2003-02-02 12:00:00.000'
OpenPCS 7 interface
6.7 OLE DB
OpenPCS 7
88 Function Manual, 05/2012, A5E02780178-02

Table of Contents

Related product manuals