Logical Operations; Logical Acknowledgement: (None) - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

4.12

Logical Operations

Logical acknowledgement: (None)

Format
(S)
Setting data
■Usable Data
: Usable
Setting
Usable Data
data
Bit
device
(S)
■Description, data type of result
Setting data
Description
(S)
Data which will be logically acknowledged
Processing details
• Whether the logical type data specified with (S) is true or false is returned unchanged. (Logical acknowledgement)
Operation error
An operation error will occur if:
• (S) is an indirectly specified device and its device No. is outside the range.
Program example
■Program which sets M100 when either of M0 and X0 is ON (1)
SET M100 = M0 + X0
M100
1
4 OPERATION CONTROL PROGRAMS
184
4.12 Logical Operations
Number of basic steps
Word device
16-bit
32-bit
64-bit
integer
integer
floating
type
type (L)
point
type (F)
M0
(True)
X0
Usable steps
F/FS
Constant
16-bit
32-bit
64-bit
integer
integer
floating
type
type
point
(K/H)
(K/H, L)
type (K)
0
(False)
+
1
(True)
G
Calculation
Bit
expression
conditional
expression
Data type of result
Logical type (true/false)
Comparison
conditional
expression

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents