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
4-16 Revision Apr. 30th, 2007, 2007PDD23000002
Example:
Subtract 1 form the value contained within the internal memory address #2
$2 = $2 - 1
The value contained within the internal memory address #1 is subtracted from the value contained
within the internal memory address #2 and the result of this calculation is stored in the internal memory
address #3.
$3 = $2 - $1
Subtract 1.9 form the value contained within the internal memory address #4
$4 = FSUB($4, 1.9) (Signed DW)
The floating point value contained within the internal memory address #4 is subtracted from the floating
point value contained within the internal memory address #6 and the result of this calculation is stored
in the internal memory address #8.
$8 = FSUB($4, $6) (Signed DW)
*, FMUL
Multiplication
Equation: V1 = V2 * V3
V1 = FMUL(V2, V3) (Signed DW)
Perform the multiplication of V2 and V3, and store the multiplication result in V1.
Example:
The value contained within the internal memory address #2 is multiplied by 2
$2 = $2 * 2
The value contained within the internal memory address #2 is multiplied by #1 and the result of this
calculation is stored in the address #3.
$3 = $2 * $1
The value contained within the internal memory address #4 is multiplied by 1.5
$4 = FMUL($4, 1.5) (Signed DW)
The floating point value contained within the internal memory address #4 is multiplied by #6 and the
result of this calculation is stored in the address #8.
$8 = FMUL($4, $6) (Signed DW)
/, FDIV
Division
Equation: V1 = V2 / V3
V1 = FDIV(V2, V3) (Signed DW)
Perform the division of V2 and V3, and store the division result in V1. The value contained