
26
1 OVERVIEW
1.2 Data Specification Method
Nibble specification range
The following table lists the range of 16-bit data for each nibble specification.
Ex.
When nibble specification is made for X0, the applicable number of points is as follows.
• K1X0
4 points from X0 to X3
• K2X0
8 points from X0 to X7
• K3X0
12 points from X0 to X13
• K4X0
16 points from X0 to X17
■
Specifying a bit device with nibble specification in the source (s)
When a bit device with nibble specification is specified in the source of an instruction, 0 is stored in the bits, which follow the
bit for which nibble specification is made in the source, in the word device of the destination.
■
Specifying a bit device with nibble specification in the destination (d)
When a nibble specification is made in the destination of an instruction, the number of points by the nibble specification is
applicable in the destination.
The bit devices after the number of points specified by nibble remain unchanged.
Nibble
specification
Decimal notation
Hexadecimal notation
K1
0 to 15
0H to FH
K2
0 to 255
00H to FFH
K3
0 to 4095
000H to FFFH
K4
Signed 16-bit data: -32768 to 32767
Unsigned 16-bit data: 0 to 65535
0000H to FFFFH
Ladder example
Processing
• 16-bit data instruction
Ladder example
Processing
• When the source data is a word device
·
·
·
·
X17
X14 X13
X10 X7
X4 X3
X0
K1 specification
range
(4 points)
K2 specification
range
(8 points)
K3 specification
range
(12 points)
K4 specification
range
(16 points)
X10
MOV
K1X0
D0
Source (s)
b0
b15
∙∙∙
b3
b4
b2 b1
X0
0
0
0
0
0
0
0
0
0
0
0
0
X3 X2 X1
X0
X3 X2 X1
K1X0
D0
Filled with 0s.
X10
MOV
D0
K2M100
Destination (d)
M100
M115
∙∙∙
∙∙∙
M107
M108
1
1
0
0
1
1
1
0
K2M100
b0
b15
∙∙∙
b7
b8
∙∙∙
1
1
1
0
1
1
0
1
0
1
0
0
1
1
1
0
D0
The data remain the same.
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......