Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-245
EMOD(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.20 Floating decimal point to BCD (EMOD(P))
7.11.20 Floating decimal point to BCD (EMOD(P))
EMOD(P)
*1:Available only in multiple Universal model QCPU
Function
(1) Dissociate the 32-bit floating decimal point data designated by into BCD type floating
point format based on the decimal fraction digits specified by , and stores the result into
the area starting from the device designated by .
specifies the decimal fraction digits of the 32-bit floating decimal point real number data
of . In the example above, a decimal fraction digit is designated as shown below:
: 32-bit floating decimal point real number data or head number of the devices where the floating decimal point
real number data is stored (real number)
: Decimal fraction digits data (BIN 16 bits)
: Head number of the devices where the data after break down into BCD will be stored (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
Other
Bit Word Bit Word K, H E
–– ––
*1
–– ––
–– ––
–– –– –– –– –– –– ––
Process
High
performance
Redundant
Universal
Basic
Command
Command
EMOD
EMODP
S1
S2
D
S1
S2
D
EMOD
EMODP
S1
S2
D
S1
S2
D
S1
S2
D
32-bit floating-point real number
+1
Number of digits in decimal fraction
Sign
7 BCD digits
Sign (exponent part)
BCD exponent
+4
+3
+2
+1
+1
3
0
4270
H
0325H
1
3
+4
+3
+2
+1
3
.
2
5
42
7
32-bit floating-point real number
When positive : 0
When negative : 1
When positive : 0
When negative : 1
(0 to 38)
BCD type floating
point format
3254270
H
S1
S2
S1
S2
D
D
D
D
D
S1 S
1
D
D
D
D
D
S2
S1
3.25427
=3
S2