Yaskawa Ladder Works Programming Manual User Manual

Page 4

Advertising
background image

TABLE OF CONTENTS

3

6 Data Manipulation Instructions

6.1 BIT ROTATION LEFT Instruction (ROTL) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-2

6.2 BIT ROTATION RIGHT Instruction (ROTR) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-4

6.3 MOVE BITS Instruction (MOVB) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-6

6.4 MOVE WORD Instruction (MOVW) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-8

6.5 EXCHANGE Instruction (XCHG)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-10

6.6 SET WORDS Instruction (SETW) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-12

6.7 BYTE-TO-WORD EXPANSION Instruction (BEXTD) ・・・・・・・・・・・・・・・・・・・・ 6-14

6.8 WORD-TO-WORD COMPRESSION Instruction (BPRESS) ・・・・・・・・・・・・・・ 6-16

6.9 BINARY SEARCH Instruction (BSRCH) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-18

6.10 SORT Instruction (SORT)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-19

6.11 BIT SHIFT LEFT Instruction (SHFTL) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-20

6.12 BIT SHIFT RIGHT Instruction (SHFTR)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-21

6.13 COPY WORD Instruction (COPYW) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-22

6.14 BYTE SWAP Instruction (BSWAP) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6-23

7 DDC Instructions

7.1 DEAD ZONE A Instruction (DZA) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-2

7.2 DEAD ZONE B Instruction (DZB) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-4

7.3 UPPER/LOWER LIMIT Instruction (LIMIT) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-6

7.4 PI CONTROL Instruction (PI)・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-9

7.5 PD CONTROL Instruction (PD) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-12

7.6 PID CONTROL Instruction (PID) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-15

7.7 FIRST-ORDER LAG Instruction (LAG) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-19

7.8 PHASE LEAD/LAG Instruction (LLAG) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-21

7.9 FUNCTION GENERATOR Instruction (FGN) ・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7-23

7.10 INVERSE FUNCTION GENERATOR Instruction (IFGN)・・・・・・・・・・・・・・・・ 7-26

7.11 LINEAR ACCELERATOR/DECELERATOR 1 Instruction (LAU) ・・・・・・・・・・ 7-29

7.12 LINEAR ACCELERATOR/DECELERATOR 2 Instruction (SLAU) ・・・・・・・・ 7-32

7.13 PULSE WIDTH MODULATION Instruction (PWM) ・・・・・・・・・・・・・・・・・・・・・ 7-35

8 Table Data Manipulation Instructions

8.1 BLOCK READ Instruction (TBLBR) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8-2

8.2 BLOCK WRITE Instruction (TBLBW) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8-4

8.3 ROW SEARCH Instruction (TBLSRL) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8-6

8.4 COLUMN SEARCH Instruction (TBLSRC) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8-8

8.5 BLOCK CLEAR Instruction (TBLCL) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8-10

8.6 BLOCK MOVE Instruction (TBLMV) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8-12

8.7 QUEUE TABLE READ Instructions (QTBLR, QTBLRI) ・・・・・・・・・・・・・・・・・・ 8-14

8.8 QUEUE TABLE WRITE Instructions (QTBLW, QTBLWI) ・・・・・・・・・・・・・・・・・ 8-16

8.9 QUEUE POINTER CLEAR Instruction (QTBLCL) ・・・・・・・・・・・・・・・・・・・・・・・ 8-18

Advertising