Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
3  CONFIGURATION OF INSTRUCTIONS
3.2  Designating Data
83
3
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.
When using bit devices
Bit devices are designated in one-point units.
Using word devices
Word devices enable the use of a designated bit number 1/0 as bit data by the designation of that bit number.
Word device bit designation is done by designating "[Word device].[Bit No.]". (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).
M0
SET
Y10
Designation of 1 point 
of bit device Y10
Designation of 1 point 
of bit device M0
b15
b0
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
 to 
Word device
Each bit of a word device can be 
used (1=ON, 0=OFF)
D0.5
SET
Y10
Bit designated for word device
(Turns ON Y10 if bit 5 (b5) of D0 is ON (1).)
X0
SET
D0.5
Bit designated for word device
(Bit 5 (b5) of D0 is turned ON if X0 is ON.)