EasyManuals Logo

IFM ecomat 100 R 360 Series User Manual

IFM ecomat 100 R 360 Series
166 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
Page #112 background imageLoading...
Page #112 background image
page 112
9.5. Processing of variables
Function
NORM
Library CRxxxx.LIB
Function symbol
Purpose
Norms a value within set limits to a value with new limits
Parameter
Function inputs
Function output
Description
The function NORM norms a value of type WORD which lies
within the limits XH and HL to an output value within the limits
YH and YL.
This function is e.g. used for creating PWM values from analog
input values.
Example
not normed value:
50
bottom limit value input: 0
upper limit value input: 100
bottom limit value output: 0
upper limit value output: 2000
normed value:
1000
Due to rounding errors in hexadecimal figures a normed value
might deviate by 1. If the limits (XH/XL or YH/YL) are stated
invertedly the norming is also inverted.
Name Data type Description
X WORD output value
XH WORD bottom limit input value range
XL WORD upper limit input value range
YH WORD bottom limit output value range
YL WORD upper limit output value range
Name Data type Description
Y WORD normed data type BYTE

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IFM ecomat 100 R 360 Series and is the answer not in the manual?

IFM ecomat 100 R 360 Series Specifications

General IconGeneral
BrandIFM
Modelecomat 100 R 360 Series
CategoryController
LanguageEnglish

Related product manuals