EasyManua.ls Logo

Mitsubishi Electric FX Series - Page 150

Mitsubishi Electric FX Series
284 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
Loading...
Modifying Constants to type ‘REAL
Open the Body of CENTIGRADE1 and modify the constants to ‘Floating Point’ types (i.e.
32.0) and the output variable name to read as follows:
NB: Remember to alter CENTIGRADE to CENTIGRADE1.
Close editors and save all changes.
Placing the “REALnumber Function ‘CENTIGRADE1’onto the working POU “Process”
In the GVL editor, create two new variables thus:
Open the Body of POU “Process” and place the Function CENTIGRADE1 into it as shown
below:
NOTE REAL numbers use 2 consecutive Registers (32 Bits) and are stored in a special portable
IEE format, hence the allocation in the above GVL example.
6-12 MITSUBISHI ELECTRIC
Function and Function Blocks Functions

Table of Contents

Related product manuals