Chapter 4 Macro Function
|
ScrEdit Software User Manual
Revision Apr. 30th, 2007, 2007PDD23000002
4-41
$1 = GETSYSTEMTIME
Get $1 = 2006, $2 = 01, $3 = 4, $4 = 3, $5 = 9, $6 = 26, $7 = 25
SETSYSTEMTIME
Set system time
Equation: SETSYSTEMTIME(V1)
V1 is the starting address of continuous 7 Words within the internal memory address.
V1 Year
V1 + 1 Month
V1 + 2 Date
V1 + 3 Week
V1 + 4 Hour
V1 + 5 Minute
V1 + 6 Second
Example:
Set the current system time as 2006/01/04 Wed 09:26:25.
$1 = 2006
$2 = 1
$3 = 4
$4 = 3
$5 = 9
$6 = 26
$7 = 25
SETSYSTEMTIME($1)
GETHISTORY
Get history data
Equation: V1 = GETHISTORY (V2, V3, V4, V5, V6)
V1 is the internal memory address where store the data length.
V2 is the internal memory, constant, the buffer number of history buffer area.
V3 is the internal memory, constant, the starting address for sampling.
V4 is the internal memory, constant, the points for reading
V5 is the internal memory, controller address, the address where store the data
V6 is the internal memory, constant, the data type for reading
0: Data, 1: Time, 2: Time and Data
Summary of Contents for AE80THTD
Page 1: ......