Designating Data - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

3.2

Designating Data

The following six types of data can be used with CPU module instructions.
Data that can be handled by
CPU module
3.2.1
Using bit data
Bit data is data used in one-bit units, such as for contacts or coils.
"Bit devices" and "Bit designated word devices" can be used as bit data.
(1) When using bit devices
Bit devices are designated in one-point units.
M0
(2) Using word devices
(a) Word devices enable the use of a designated bit number 1/0 as bit data by the
designation of that bit number.
Word device
(b) Word device bit designation is done by designating "
(Designation of bit numbers is done in hexadecimal.)
For example, bit 5 (b5) of D0 is designated as D0.5, and bit 10 (b10) of D0 is designated
as D0.A. However, there can be no bit designation for timers (T), retentive timers (ST),
counters (C) or index register (Z). (Example Z0.0 is not available).
X0
D0.5
...................... Section 3.2.1
Bit data
Numeric data
Integer data
Real number
(floating point) data
.... Section 3.2.5
Character string data
Y10
SET
b15
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
SET
D0.5
SET
Y10
.......................Section 3.2.2
Word data
Double-word data
Single-precision
floating point data
Double-precision
floating point data
Designation of 1 point
of bit device M0
Designation of 1 point
of bit device Y10
to
Each bit of a word device can be
used (1=ON, 0=OFF)
Word device
Bit designated for word device
(Bit 5 (b5) of D0 is turned ON if X0 is ON.)
Bit designated for word device
(Turns ON Y10 if bit 5 (b5) of D0 is ON (1).)
...........Section 3.2.3
.... Section 3.2.4 (1)
.... Section 3.2.4 (2)
b0
Bit No.
.
".
3-3
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents