Mitsubishi Electric MELSEC Q Series Programming Manual page 45

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

Advertisement

4 ST PROGRAM EXPRESSIONS
4 - 5
(2) Operation of Boolean type (BOOL)
(a) When actual devices are used
[Example of use]
M0 : = X0 AND X1 AND (D1 = 100);
<<Operation order>>
1) Only when the result of X0 AND X1 is ON and D is 100, M0 turns ON.
(b) When labels are used
 When bit type labels Btest1, Btest2 are used
[Example of use]
Btest2 : = Btest2 OR Btest1;
<<Operation order>>
1) When Btest2 or Btest1 is ON, Btest2 turns ON.
4 - 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents