Download Print this page

Data Specification Method - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Be careful when a large numerical value is used such as for the number of transfers. It delays the scan time.
1.2

Data Specification Method

The following table lists the types of data that can be used for instructions in CPU modules.
Data
Bit data
16-bit data (word data)
32-bit data (double-word data)
Real number data (floating-point data)
BCD data
String data
Device data
Data type
Description
Bit
Bit data can be handled.
Page 28 Bit data
Word
Word data can be handled.
Page 29 16-bit data (word data)
16-bit signed binary
16-bit data can be handled.
The value range varies depending on whether the value is signed or unsigned.
16-bit unsigned binary
Page 29 16-bit data (word data)
Double word
Double-word data can be handled.
Page 31 32-bit data (double word data)
32-bit signed binary
Two consecutive sets of 32-bit data or 16-bit data can be handled.
The value range varies depending on whether the value is signed or unsigned.
32-bit unsigned binary
Page 31 32-bit data (double word data)
BCD 4-digit
BCD 4-digit data can be handled.
16-bit data is divided by 4 digits and each digit is specified in 0 to 9.
BCD 8-digit
BCD 8-digit data can be handled.
32-bit data is divided by 8 digits and each digit is specified in 0 to 9.
Single-precision real
Single-precision real number data (single-precision floating-point data) can be
number
handled.
Page 34 Configuration of single-precision real number data
Character string
ASCII code and Shift JIS code character string data can be handled.
Page 36 Character string data
*1 A constant can be used in the data specified for the source (s) or numerical data (n) by an instruction.
*2 For the specification method, refer to the detail page of each data type.
Classification
Bit data
16-bit signed binary data
16-bit unsigned binary data
32-bit signed binary data
32-bit unsigned binary data
Single-precision real number data
BCD 4-digit data
BCD 8-digit data
String
Specifiable device/constant
• Bit device
• Bit specification of word device
• Word device
• Nibble specification of bit devices (K1 to
*2
K4)
• Decimal constant
• Hexadecimal constant
• Word device
• Double-word device
• Nibble specification of bit devices (K1 to
*2
K8)
• Decimal constant
• Hexadecimal constant
• Word device
• Nibble specification of bit devices (K1 to
*2
K4)
• Decimal constant
• Hexadecimal constant
• Word device
• Double-word device
• Nibble specification of bit devices (K1 to
*2
K8)
• Decimal constant
• Hexadecimal constant
• Word device
• Double-word device
• Real constant
• Word device
• Character string constant
1.2 Data Specification Method
1
*1
1 OVERVIEW
25

Hide quick links:

Advertisement

loading