314
6 BASIC INSTRUCTIONS
6.6 Data Transfer Instructions
Transferring octal bits (32-bit data)
DPRUN(P)
These instructions handle the device number of (s) and (d) with nibble specification as octal numbers, and transfer 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.
• Octal bit device Decimal bit device
• Decimal bit device Octal bit device
Ladder diagram Structured text
ENO:=DPRUN(EN,s,d);
ENO:=DPRUNP(EN,s,d);
Operand Description Range Data type Data type (label)
(s) Nibble specification
*1
32-bit signed binary ANY32
(d) Device number of transfer destination
*1
32-bit signed binary ANY32
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s)
*1
(d)
*1
DPRUN K6X0 K6M0
(s) (d)
X27 X20 X17 X10 X7 X6 X5 X4 X3 X2 X1 X0
M19 M18 M17 M9 M8 M7 M6 M5 M4 M3 M2 M1 M0M27 M10M20
Do not change.
X0 to X27 M0 to M7, M10 to M17,M20 to M27
Octal bit device (X)
Decimal bit device (M)
Command
input
DPRUN
K6M0 K6Y0
Y27 Y20 Y17 Y10 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
M19
M18 M17 M9 M8 M7 M6 M5 M4 M3 M2 M1 M0M27 M20 M10
(s) (d)
Octal bit device (X)
Decimal bit device (M)
Not transferred
M0 to M7, M10 to M17,M20 to M27 Y0 to Y27
Not transferred
Command
input