Mitsubishi Electric Q173CPU Programming Manual page 220

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

6 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
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.
6 - 23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents