Bit Device Output : Out - Mitsubishi Electric Melsec Q Series Programming Manual

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS

5.9.5 Bit device output : OUT

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(D)
(S)
[Setting data]
Setting data
[Functions]
[Errors]
[Program examples]
OUT(D)=(S)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
(D)
(S)
Condition data which determines device output
(1) If the data specified with (S) is true, the bit data specified with (D) is set, and if the
data specified with (S) is false, the bit data specified with (D) is reset.
(2) When this instruction is set as a transition condition in the last block of a transient
program, whether the data specified with (S) is true or false is returned as logical
type data.
(3) In this case, (S) cannot be omitted.
(1) An operation error will occur if:
• (D) or (S) is an indirectly specified device and its device No. is outside the
range.
(1) Program which sets M100 when M0 is ON (1) and program which resets M100
when M0 is OFF (0)
OUT M100 = M0
(2) Program which sets M100 when M0 and M1 are both on and resets M100 except
it
OUT M100 = M0 * M1
(3) Program which sets M100 when D0 is equal to D2000 and resets M100 when D is
not equal to D2000
OUT M100 = (D0 == D2000)
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
Bit device for device output
5 - 61
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
Data type of result
Bit logical type
(true/false)
G
4
Comparison
conditional
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents