EasyManuals Logo
Home>Mitsubishi>Controller>Q03UD(E)CPU

Mitsubishi Q03UD(E)CPU User Manual

Mitsubishi Q03UD(E)CPU
976 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 #185 background imageLoading...
Page #185 background image
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
3.9 Numeric Values which can be Used in Sequence Programs
3.9.4 Real numbers (Floating-point data)
3 - 87
1
Overview
2
Performance
Specification
3
Sequence Program
Configuration and
Execution Conditions
4
I/O Nunber Assignment
5
Memories and Files
Handled by CPU Module
6
Functions
7
Communication using
built-in Ethernet ports of
CPU module
8
Communication with
Intelligent Function
Module
(b) Calculation example
Calculation examples are shown below (the nnnnn "X" indicates an X-system data
expression).
1) Storing "10"
(10)
10 (1010)2 (1.01000..... 2
3
)2
SignPositive to 0
Exponent part3 to 82
H to (1000 0010)
2
Mantissa(010 00000 00000 00000 00000)
2
Therefore, the data expression will be 41200000H, as shown below.
2) Storing "0.75"
(0.75)
10 (0.11)2 (1.100..... 2
-1
)2
SignPositive to 0
Exponent part-1 to 7E
H to (0111 1110)2
Mantissa(100 00000 00000 00000 00000)2
Therefore, the data expression will be 3F400000H, as shown below.
POINT
In binary notation, the portion of the value following the decimal point is calculated
as follows:
Example) (0.1101)
2
(0.1101)2=2
-1
+2
-2
+2
-4
=0.5+0.25+0.0625=(0.8125)10
0.1101
This bit expresses2
-1
This bit expresses2
-2
This bit expresses2
-3
This bit expresses2
-4
Sign Exponent part Mantissa
0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
41 2 00000
Sign Exponent part Mantissa
0 0 1 1 1 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3F4 00000

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi Q03UD(E)CPU and is the answer not in the manual?

Mitsubishi Q03UD(E)CPU Specifications

General IconGeneral
BrandMitsubishi
ModelQ03UD(E)CPU
CategoryController
LanguageEnglish

Related product manuals