Human Machine Interface User Manual
Table Of Contents
- Cover
- Preface
- Table of Contents
- Chapter 1 Introduction
- Chapter 2 Creating and Editing Screens
- 2.1 ScrEdit (Screen Editor) Setup
- 2.2 How to Start ScrEdit
- 2.3 Menu Bar and Toolbar (File)
- 2.4 Menu Bar and Toolbar (Edit)
- 2.5 Menu Bar and Toolbar (View)
- 2.6 Menu Bar and Toolbar (Element)
- 2.7 Menu Bar and Toolbar (Screen)
- 2.8 Menu Bar and Toolbar (Tools)
- 2.9 Menu Bar and Toolbar (Options)
- 2.10 Menu Bar and Toolbar (Window)
- 2.11 Menu Bar and Toolbar (Help)
- Chapter 3 Element Function
- Chapter 4 Macro Function
- Chapter 5 Control Block and Status Block
- Chapter 6 Internal Memory
- Chapter 7 Example Explanation
- Appendix A Specifications and Installation
- Appendix B USB Flash Drive Function
- Appendix C Main Menu Operation of HMI System
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