1 OVERVIEW
1.2 Data Specification Method
25
1
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.
Device 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.
Data
Classification
Bit data
Bit data
16-bit data (word data)
16-bit signed binary data
16-bit unsigned binary data
32-bit data (double-word data)
32-bit signed binary data
32-bit unsigned binary data
Real number data (floating-point data)
Single-precision real number data
BCD data
BCD 4-digit data
BCD 8-digit data
String data
String
Data type
Description
Specifiable device/constant
Bit
Bit data can be handled.
• Bit device
• Bit specification of word device
Word
Word data can be handled.
Page 29 16-bit data (word data)
• Word device
• Nibble specification of bit devices (K1 to
K4)
• Decimal constant
• Hexadecimal constant
16-bit signed binary
16-bit data can be handled.
The value range varies depending on whether the value is signed or unsigned.
Page 29 16-bit data (word data)
16-bit unsigned binary
Double word
Double-word data can be handled.
Page 31 32-bit data (double word data)
• Word device
• Double-word device
• Nibble specification of bit devices (K1 to
K8)
• Decimal constant
• Hexadecimal constant
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.
Page 31 32-bit data (double word data)
32-bit unsigned binary
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.
• Word device
• Nibble specification of bit devices (K1 to
K4)
• Decimal constant
• Hexadecimal constant
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.
• Word device
• Double-word device
• Nibble specification of bit devices (K1 to
K8)
• Decimal constant
• Hexadecimal constant
Single-precision real
number
Single-precision real number data (single-precision floating-point data) can be
handled.
Page 34 Configuration of single-precision real number data
• Word device
• Double-word device
• Real constant
Character string
ASCII code and Shift JIS code character string data can be handled.
• Word device
• Character string constant
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......