beautypg.com

Cn (configure limit switches), Returns the captured position value. the, Configuration – Yaskawa SMC–4000 User Manual

Page 89

background image

79

SMC–4000 User Manual

CN (Configure Limit Switches)

[Configuration]

DESCRIPTION:

The CN command configures the polarity of the limit switches, the home switch and the latch input.

ARGUMENTS: CN m,n,o,p where

m, n, o, p are integers.

*Note: The latch function will occur within 25

µ

sec only when used in active low mode, the opto

isolator requires more time if active high.

SELECTIVE ABORT

USAGE:

m =

1

Limit switches active high

-1

Limit switches active low

n =

1

Home switch configured to drive motor in forward direction when input is high
upon initial HM execution. See HM and FE commands

-1

Home switch configured to drive motor in reverse direction when input is high
upon initial HM execution. See HM and FE commands

o =

1

*

Latch input is active high

-1

Latch input is active low

p =

1

Selective abort function (See chart below)

0

Normal input operation.

Input

Axis

5

X

6

Y

7

Z

8

W

While Moving

Yes

Default Value

-1, -1, -1, 0

In a Program

Yes

Default Format

2.0

Command Line

Yes

Can be Interrogated

No

Used as an Operand

Yes