Device Output: Dout - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Device output: DOUT

Format
DOUT (D),(S)
Setting data
■Usable Data
: Usable
Setting
Usable Data
data
Bit
Word device
device
16-bit
integer
type
(D)
(S)
■Description, data type of result
Setting data
Description
(D)
Output destination bit data
(S)
Output source data
Processing details
• The data specified with (S) is output to the bit data specified with (D).
• Specify a multiple of 16 as the device No. of the bit data specified with (D).
• If the type of (S) is a 16-bit integer type, 16 points of the (S) data, starting at the least significant bit, are output in order to
the bit devices headed by the one specified with (D).
• If the type of (S) is a 32-bit integer type, 32 points of the (S) data, starting at the least significant bit, are output in order to
the bit devices headed by the one specified with (D).
Operation error
An operation error will occur if:
• (D) or (S) is an indirectly specified device and its device No. is outside the range.
• (D) is an indirectly specified device and its device No. is not a multiple of 16.
Program example
■Program which outputs the data of D0 to Y0-YF
DOUT Y0, D0
YF
Y0
0 1
0 0 0 1 0 0
1 1
0 0 1
1 1 1
Number of basic steps
8
Constant
32-bit
64-bit
16-bit
integer
floating
integer
type (L)
point
type
type (F)
(K/H)
b15
D0
0
0 0 0 1 0 0
1
1 1
Usable steps
F/FS
Calculation
expression
32-bit
64-bit
integer
floating
type
point
(K/H, L)
type (K)
b0
0 0 1
1 1 1
4 OPERATION CONTROL PROGRAMS
G
Bit
Comparison
conditional
conditional
expression
expression
Data type of result
Batch bit
181
4.11 Bit Device Controls
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents