Yaskawa Ladder Works Programming Manual User Manual

Page 3

Advertising
background image

TABLE OF CONTENTS

2

3 Logical Operation/ Comparison Instructions

3.1 AND Instruction (AND) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-2

3.2 OR Instruction (OR) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-3

3.3 XOR Instruction (XOR) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-4

3.4 Comparison Instruction (<) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-5

3.5 Comparison Instruction (≦) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-6

3.6 Comparison Instruction (=) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-7

3.7 Comparison Instruction (≠) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-8

3.8 Comparison Instruction (≧) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-9

3.9 Comparison Instruction (>) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-10

3.10 RANGE CHECK Instruction (RCHK) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3-11

4 Program Control Instructions

4.1 SUB-DRAWING CALL Instruction (SEE)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-2

4.2 FUNCTION CALL Instruction (FUNC) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-3

4.3 DIRECT INPUT STRING Instruction (INS) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-5

4.4 DIRECT OUTPUT STRING Instruction (OUTS)・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-7

4.5 EXTENSION PROGRAM CALL Instruction (XCALL) ・・・・・・・・・・・・・・・・・・・・・ 4-9

4.6 WHILE Instruction (WHILE, END_WHILE) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-10

4.7 IF Instruction (IF, END_IF) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-12

4.8 IF Instruction (IF, ELSE, END_IF) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-13

4.9 FOR Instruction (FOR, END_FOR) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-15

4.10 EXPRESSION Instruction (EXPRESSION) ・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4-17

5 Basic Function Instructions

5.1 SQUARE ROOT Instruction (SQRT) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-2

5.2 SINE Instruction (SIN) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-4

5.3 COSINE Instruction (COS) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-6

5.4 TANGENT Instruction (TAN) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-8

5.5 ARC SINE Instruction (ASIN)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-9

5.6 ARC COSINE Instruction (ACOS)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-10

5.7 ARC TANGENT Instruction (ATAN)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-11

5.8 EXPONENT Instruction (EXP)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-13

5.9 NATURAL LOGARITHM Instruction (LN) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-14

5.10 COMMON LOGARITHM Instruction (LOG) ・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5-15

Advertising