Device Input : Din - Mitsubishi Electric Q173CPU Programming Manual

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

7 OPERATION CONTROL PROGRAMS

7.9.4 Device input : DIN

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(D)
(S)
[Setting data]
Setting data
[Functions]
[Errors]
[Program examples]
DIN(D), (S)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
(D)
(S)
(1) The bit data specified with (S) is input to the data specified with (D).
(2) Specify a multiple of 16 as the device No. of the bit data specified with (S).
(3) If the type of (D) is a 16-bit integer type, 16 points of the (D) data, starting at the
least significant bit, are input in order to the bit devices headed by the one
specified with (S).
(4) If the type of (D) is a 32-bit integer type, 32 points of the (D) data, starting at the
least significant bit, are input in order to the bit devices headed by the one
specified with (S).
(1) An operation error will occur if:
• (D) or (S) is an indirectly specified device and its device No. is outside the
range.
• (S) is an indirectly specified device and its device No. is not a multiple of 16.
(1) Program which inputs the data of X0-XF to D0
DIN D0, X0
b15
D0
0 0 1 0 0 1 1 1 0 0 0 0 1 1 1 1
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
Input destination data
Input source bit data
b0
7 - 53
F/FS
Number of basic steps
64-bit
Calculation
floating
expression
point
type (K)
Data type of result
Data type of (D)
(Integer type)
XF
X0
0 0 1 0 0 1 1 1 0 0 0 0 1 1 1 1
G
4
Bit
Comparison
conditional
conditional
expression
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents