Table 4.4.5.1 types of conditional expressions – Yaskawa YASNAC PC NC Programming Manual User Manual

Page 296

Advertising
background image

4 - 159

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

Instead of “GOTO <sequence number>”, an NC statement or macro program statement can be
specified in one block. However, the following macroprogram statements cannot be used due
to restrictions.

Control instructions

RS-232C data output 2

Q Status monitoring instruction

FIGURE 4.4.5.2 Branch Instruction (1-Block Instruction)

The <conditional expression> includes those indicated in Table 4.4.5.1.

Table 4.4.5.1

Types of Conditional Expressions

Note:

Constants and <expression> can be used instead of #i and #j.

Conditional Expression

Description

#i EQ #j

#i = #j

#i NE #j

#i

#j

#i GT #j

#i

>

#j

#i LT #j

#i

<

#j

#i GE #j

#i

#j

#i LE #j

#i

#j

A OR B

Logical sum of A and B

A AND B

Logical product of A and B

A XOR B

Exclusive logical sum of A and B

Advertising