EasyManua.ls Logo

Mitsubishi Electric Q173DSCPU - Page 218

Mitsubishi Electric Q173DSCPU
556 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4 - 25
4 MOTION SFC PROGRAMS
(1) Automatic free G number search feature
(a) When not set to automatic numbering
Searches for a free number forward, starting with the "set G number + 1" at
the "Shift Y/N" or "WAIT Y/N" symbol.
When no free numbers are found after a search up to 4095, a search is
made from 0 to the "set G number - 1".
(b) When set to automatic numbering
Searches for a free number forward (or backward) in the automatic
numbering range, starting with the "automatically numbered G number + 1
(or -1)" at the "Shift Y/N" or "WAIT Y/N" symbol. (The searching method is
as in the automatic numbering setting.)
(2) Automatic logical NOT program generation feature
Automatically generates a program which logically negates the conditional
expression block (last block) of the transition program set at "Shift Y/N" or "WAIT
Y/N".
The basic is shown below.
<Setting program (conditional expression block)>
Conditional expression//(bit conditional expression or comparison conditional expression)
<Logically negated, automatically generated program (conditional expression block)>
!Conditional expression//(bit conditional expression or comparison conditional expression)
Examples are shown below.
<Setting program (conditional expression block)>
(Example 1)
M0 //Bit device ON
(Example 2)
D0!=K100 //Data register D0 is not K100
<Logically negated, automatically generated program (conditional expression block)>
(Example 1)
!(M0) //Bit device OFF
(Example 2)
!(D0!=K100) //Data register D0 is K100
POINT
(1) Refer to Section "1.2.3 (2) Table of the operation control/transition instruction"
for the instructions usable in the conditional expressions of "Shift Y/N" or
"WAIT Y/N" transition programs.
(2) Set conditional expression block only to the setting program.

Table of Contents

Related product manuals