Bit Device Statuses; On (Normally Open Contact): (None) - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

4.10

Bit Device Statuses

ON (Normally open contact): (None)

Format
(S)
Setting data
■Usable Data
: Usable
Setting
Usable Data
data
Bit
Word device
device
16-bit
integer
type
(S)
■Description, data type of result
Setting data
Description
(S)
Bit device used in bit conditional expression
Processing details
• True is returned when the bit device specified with (S) in a bit conditional expression is ON (1), or false is returned when
that bit device is OFF (0).
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
(True)
M100
1
Number of basic steps
4
Constant
32-bit
64-bit
16-bit
integer
floating
integer
type (L)
point
type
type (F)
(K/H)
M0
0
(False)
+
X0
1
(True)
Usable steps
F/FS
Calculation
expression
32-bit
64-bit
integer
floating
type
point
(K/H, L)
type (K)
4 OPERATION CONTROL PROGRAMS
G
Bit
Comparison
conditional
conditional
expression
expression
Data type of result
Logical type (true/false)
177
4.10 Bit Device Statuses
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents