Bit Data - Mitsubishi Electric MELSEC Q Series Structured Programming Manual

Fundamentals
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

4.4.1

Bit data

Bit data are data handled in units of 1 bit, such as contacts and coils.
'Bit devices' and 'bit-specified word device' can be used as bit data.
(1) Using bit devices
A bit device is specified in unit of one point.
(2) Using word devices
(a) By specifying a bit number for a word device, 1/0 of the specified bit number can be
(b) Specify a bit device of word device as '
M0
D0.5
4.4 Method for Specifying Data
4-22
4.4.1 Bit data
M0
SET
EN
ENO
d
used as bit data.
b15
Word device
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
specified in hexadecimal.)
For example, bit 5 (b5) of D0 is specified as D0.5 and bit 10 (b10) of D0 is specified as
D0.A. Note that bit specifications are not applicable for timers (T), retentive timers (ST),
counters (C), and index registers (Z). (Example: Z0.0 is not available).
SET
EN
ENO
d
D0.5
SET
EN
ENO
d
Y10
For FXCPU, bit specification of a word device can be used for FX
One point of M0 is
the target bit device
Y10
One point of Y10 is
the target bit device
to
Word device
Bit-specified word device
(Turns ON bit 5 (b5) of D0)
Bit-specified word device
(Turns ON/OFF according to the
status (1/0) of bit 5 (b5) of D0)
b0
Each bit of a word device can be
used (1=ON, 0=OFF)
.
Bit number
'. (Bit number is
and FX
3U
.
3UC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l seriesMelsec-f

Table of Contents