Data Designation Method; Bit Data - Mitsubishi Electric M800VW Series Programming Manual

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions

6.3 Data Designation Method

6.3 Data Designation Method
The following three types of data can be used in each instruction.
 Bit data
 Word (16-bit) data
 Double-word data (32 bits)

6.3.1 Bit Data

Bit data is data which handles contacts and coils, etc., in 1-bit units.
"Bit devices" and "Bit-designated word devices" can be used for bit data.
 When using bit devices
The bit device is designated with a 1-point unit.
M0
 When using word devices
With the word device, when the bit No. is designated, the bit for the designated bit No. can be 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
The word device bit is designated as the form of ""word device"."bit number"".
(The bit No. is designated with a hexadecimal.)
For example, "D0 bit5 (b5)" is designated as "D0.5", and "D0 bit10 (b10)" is designated as "D0.A".
Note that the bits cannot be designated for the timer (T), integrated timer (ST), counter (C) or index register (Z).
(Example: Z0.0 is invalid)
X0
D0.5
IB-1501667-B
One M0 point is target.
SET
Y10
One Y10 point is target.
~
Each bit can be used with 1 as ON and 0 as OFF
Word device bit designation
(This turns ON by setting "D0 bit5 (b5)" to "1".)
SET
D0.5
Word device bit designation
SET
Y10
(This turns ON by setting "D0 bit5 (b5)" to "1".
Similarly, it turns OFF by setting the bit to "0".)
98
b0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents