DLogVal()
DLogVal() |
DLogVal | Returns the logged data from the specified time | |
Function | Command | DLogVal("Tag Name", βTime Valueβ) |
Script | n = DLogVal("Tag Name", βTime Valueβ) | |
Description | Returns the tag value according to the Time Value. The omitted values after the Time Value is set as the initial value. E.g.) If you have entered Time Value as β2003β, it represents β2003-1-1 0:0:0β. | |
Example | Returns the βELECβ tag value of 2018- 3- 29 9: 54 DLogVal(βELECβ, β2018Y03M29D09h54mβ) |
Β
Time Value Type
Time Value | Range | Example |
yyyyYmmMddD | -(Present Year-1970) β¦yyyyβ¦0 1970 β¦ yyyy < 2037 mm: 01~12 dd: 01~31 hh: 00~23 mm: 00~59 ss: 00~59 | 2013Y12M15D0h30m30s -3Y01M01D00h00m00s |
mmMddD | mm β¦ 0 mm: 01~12 dd: 01~31 hh: 00~23 mm: 00~59 ss: 00~59 | 3M15D10h30m30s -1M01D00h00m00s |
ddD | dd β¦ 0 dd: 01~31 hh: 00~23 mm: 00~59 ss: 00~59 | 15D10h30m30s -5D00h00m00s |
HHhMMmSSs | HH β¦ 0 hh: 00~23 mm: 00~59 ss: 00~59 | 10h30m30s -30h00m00s |
MMmSSs | MM β¦ 0 mm: 00~59 ss: 00~59 | 30m30s -15m00s |
SSs | SS β¦ 0 | β300s |
Β