7 BASIC INSTRUCTIONS
7.7 Data Transfer Instructions
365
7
Transferring octal bits (16-bit data)
PRUN(P)
These instructions handle the device number of (s) and (d) with nibble specification as octal numbers, and transfer data.
Setting data
■
Descriptions, ranges, and data types
*1 Make sure that the least significant digit of a specified device number is "0".
■
Applicable devices
*1 B, SB cannot be used.
Processing details
• Octal bit device
Decimal bit device
Ladder diagram
Structured text
ENO:=PRUN(EN,s,d);
ENO:=PRUNP(EN,s,d);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(s)
Nibble specification
16-bit signed binary
ANY16
(d)
Device number of transfer destination
16-bit signed binary
ANY16
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s)
(d)
(s)
(d)
EN
ENO
d
s
PRUN
K4X0
K4M0
(s)
(d)
X17
X16
X15
X14
X13
X12
X11
X10
X7
X6
X5
X4
X3
X2
X1
X0
M15 M14 M13 M12 M11
M9
M8
M7
M6
M5
M4
M3
M2
M1
M0
M17 M16
M10
Octal bit device (X)
Do not change.
Decimal bit device (M)
X0 to X17
M0 to M7, M10 to M17
Command
input
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: ......