EasyManua.ls Logo

Mitsubishi Electric R64MTCPU - Page 114

Mitsubishi Electric R64MTCPU
354 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...
112
3 MOTION SFC PROGRAMS
3.10 Y/N Transitions
Automatic free G number search feature
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".
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.)
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.
Examples are shown below.
Refer to the 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. (Page 22 Table of the operation control/
transition instruction)
Set conditional expression block only to the setting program.
For Y/N transitions, there are 2 transition condition judgments by selective branching, therefore the number
of multi active steps is 3 steps.
[Setting program (conditional expression block)]
[Logically negated, automatically generated program (conditional expression block)]
!Conditional expression//(bit conditional expression or comparison conditional expression)
Conditional expression//(bit conditional expression or comparison conditional expression)
[Setting program (conditional expression block)]
[Logically negated, automatically generated program (conditional expression block)]
(Example 1)
M0
(Example 2)
(Example 1)
(Example 2)
//Bit device ON
//Data register D0 is not K100
//Bit device OFF
//Data register D0 is K100 !(D0!=K100)
!(M0)
D0!=K100

Table of Contents

Other manuals for Mitsubishi Electric R64MTCPU

Related product manuals