Movement by external position data input – IAI America ASEL User Manual

Page 309

Advertising
background image

Part 2 Programs

Chapter 10 Example of Building a System

287

Part 2 Programs

19. Movement by External Position Data Input

Description

Receive target position data as absolute values from a host device to execute movements.

Example of Use

Use an INB command to load position data as a BCD code from an input port.

Each BCD value should consist of four digits, with the last digit indicating a decimal place.

The moving axis is axis 1.

Example: If a BCD of “1234” is received, the axis will move to the position at 123.4 mm.

Note: When using input port Nos. 16 and 17, do so after changing them to general-purpose inputs.

Flowchart

Input assignment

Output

Port

Description

303 Movement completion

Start input

Application program

Start

Initial setting

Start input

Read BCD

Movement

completion OFF

Move to specified

position

Movement

completion ON

Advertising