Mitsubishi Electronics FXCPU Welding System User Manual


 
2 Function List
2.1 Type Conversion Functions
23
FXCPU Structured Programming Manual
(Application Functions)
1
Outline
2
Function List
3
Function
Construction
4
How to Read
Explanation of
Functions
5
Applied
Functions
6
Standard
Function Blocks
A
Correspondence
between Devices
and Addresses
REAL_TO_INT(_E)
Converts float (single precision) data into word
[signed] data.
3 *1 3
Subsection
5.1.23
REAL_TO_DINT(_E)
Converts float (single precision) data into double
word [signed] data.
3 *1 3
Subsection
5.1.24
REAL_TO_STR(_E)
Converts float (single precision) data into string
data.
3
Subsection
5.1.25
WORD_TO_BOOL(_E)
Converts word [unsigned]/bit string [16-bit] data
into bit data.
33333333
Subsection
5.1.26
DWORD_TO_BOOL
(_E)
Converts double word [unsigned]/bit string [32-
bit] data into bit data.
33333333
Subsection
5.1.27
WORD_TO_INT(_E)
Converts word [unsigned]/bit string [16-bit] data
into word [signed] data.
33333333
Subsection
5.1.28
WORD_TO_DINT(_E)
Converts word [unsigned]/bit string [16-bit] data
into double word [signed] data.
33333333
Subsection
5.1.29
DWORD_TO_INT(_E)
Converts double word [unsigned]/bit string [32-
bit] data into word [signed] data.
33333333
Subsection
5.1.30
DWORD_TO_DINT
(_E)
Converts double word [unsigned]/bit string [32-
bit] data into double word [signed] data.
33333333
Subsection
5.1.31
WORD_TO_DWORD
(_E)
Converts word [unsigned]/bit string [16-bit] data
into double word [unsigned]/bit string [32-bit].
33333333
Subsection
5.1.32
DWORD_TO_WORD
(_E)
Converts double word [unsigned]/bit string [32-
bit] data into word [unsigned]/bit string [16-
bit]data.
33333333
Subsection
5.1.33
WORD_TO_TIME(_E)
Converts word [unsigned]/bit string [16-bit] data
into time data.
33333333
Subsection
5.1.34
DWORD_TO_TIME
(_E)
Converts double word [unsigned]/bit string [32-
bit] data into time data.
33333333
Subsection
5.1.35
STR_TO_BOOL(_E) Converts string data into bit data. 3
Subsection
5.1.36
STR_TO_INT(_E) Converts string data into word [signed] data. 3
Subsection
5.1.37
STR_TO_DINT(_E)
Converts string data into double word [signed]
data.
3
Subsection
5.1.38
STR_TO_REAL(_E)
Converts string data into float (single precision)
data.
3
Subsection
5.1.39
STR_TO_TIME(_E) Converts string data into time data. 3
Subsection
5.1.40
BCD_TO_INT(_E) Converts BCD data into word [signed] data. 33333333
Subsection
5.1.41
BCD_TO_DINT(_E)
Converts BCD data into double word [signed]
data.
33333333
Subsection
5.1.42
TIME_TO_BOOL(_E) Converts time data into bit data. 33333333
Subsection
5.1.43
TIME_TO_INT(_E) Converts time data into word [signed] data. 33333333
Subsection
5.1.44
TIME_TO_DINT(_E)
Converts time data into double word [signed]
data.
33333333
Subsection
5.1.45
TIME_TO_STR(_E) Converts time data into string data. 3
Subsection
5.1.46
TIME_TO_WORD(_E)
Converts time data into word [unsigned]/bit
string [16-bit]data.
33333333
Subsection
5.1.47
TIME_TO_DWORD
(_E)
Converts time data into double word [unsigned]/
bit string [32-bit] data.
33333333
Subsection
5.1.48
*1. The function is provided in the FX3G Series Ver.1.10 or later.
Function name Function
Applicable PLC
Reference
FX3U(C)
FX3G
FX2N(C)
FX1N(C)
FX1S
FX
U
/FX
2C
FX0N
FX0(S)