IAI America ASEL User Manual

Page 277

Advertising
background image

Chapter 7

Application Program Examples

Part 2 Programs

255

Part 2 Programs

(3) ASEL Controller application program

Step E

N

Cnd

Cmnd Operand 1 Operand 2

Pst

Comment

1

HOME

11

Axes 1 and 2 return to home (servo ON).

2

VEL

400

Set speed to 400 mm/s.

3

TAG

1

4

WTON

16

Wait for input from axis-1 movement switch.

5

JFWN

1

16

Move forward while axis-1 movement switch

is ON.

6

WTON

17

Wait for input from axis-2 movement switch.

7

JFWN

10

17

Move forward while axis-2 movement switch

is ON.

8

BTON

307

Start command for external control unit turns

ON.

9

WTON

18

Wait for external control unit to complete

operation.

10

BTOF

307

Start command for external control unit turns

OFF.

11

JBWF

11

18

Axes 1 and 2 move backward while 18 is

ON.

12

GOTO

1

Jump to TAG1.

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

Advertising