beautypg.com

IAI America XSEL-S User Manual

Page 115

background image

Chapter 3 Programs

107

z

XPDC (extension motion control board axis deceleration data write)

Command, declaration

Extension

condition

(LD, A, O, AB, OB)

Input condition

(I/O/flag)

Command,

declaration

Operand 1

Operand 2

Output part

operation type

(output/flag)

E

N, Cnd

Cmnd

Operand1

Operand2

Pst

Optional

Optional

XPDC

Axis No.

Position No.

CP

[Function]

Write value the content of variable 199 to deceleration [G] of position No. specified in operand

2 of extension motion control board axis No. specified in operand 1 (valid until 2 decimal

places).

[Example 1] LET

199

0.3

Assign 0.3 to variable 199.

XPDC

2

3

Write deceleration 0.3 G of variable 199 in position No. of axis

2.

[Example 2] LET

199

0.3

Assign 0.3 to variable 199.

LET

1

2

Assign 2 to variable 1.

LET

2

3

Assign 3 to variable 2.

XPDC

*1

*2

Write deceleration 0.3G of variable 199 in position No. 3

(content of variable 2) of axis 2 (content of variable 1).

z

XPIP (extension motion control board axis position complete band data write)

Command, declaration

Extension

condition

(LD, A, O, AB, OB)

Input condition

(I/O/flag)

Command,

declaration

Operand 1

Operand 2

Output part

operation type

(output/flag)

E

N, Cnd

Cmnd

Operand1

Operand2

Pst

Optional

Optional

XPIP

Axis No.

Position No.

CP

[Function]

Write value of variable 199 to position complete band [mm] of position No. specified in

operand 2 of extension motion control board axis No. specified in operand 1 (valid until 3

decimal places).

[Example 1] LET

199

0.2

Assign 0.2 to variable 199.

XPIP

2

3

Write position complete band 0.2 mm stored in variable 199 to

position No. 3 of axis 2.

[Example 2] LET

199

0.2

Assign 0.2 to variable 199.

LET

1

2

Assign 2 to variable 1.

LET

2

3

Assign 3 to variable 2.

XPIP

*1

*2

Write position complete band 0.2 mm of variable 199 to

position No. 3 (content of variable 2) of axis 2 (content of

variable 1).

This manual is related to the following products: