AXIS#.SWLS.STATE

Description

Returns the state of the software limit switches. When AXIS#.SWLS.EN is set to 1 or 2, bit 0 represents SWLS.LIMIT0 state and bit 1 represents SWLS.LIMIT1 state. When AXIS#.SWLS.EN is set to 3, bit 0 represents the negative limit is active and bit 1 represents the positive limit is active.

"AXIS#.CS.DEC " is executed when a SWLS is triggered. The user can set the CS.DEC value, or go with the default 10,000 rpm/s. Once the switch is triggered, a warning W6006 results, and the position/load must be moved back within the limits to remove the warning.


  • When Gantry mode is active (CMDSOURCE = GANTRY), a Limit Switch triggered on one axis will be reported on all axes on the drive.

Examples

Usage

0: SWLS.LIMIT0 and SWLS.LIMIT1 are not active

1: SWLS.LIMIT0 is active, SWLS.LIMIT1 is not active

2: SWLS.LIMIT0 is not active, SWLS.LIMIT 1 is active

3: SWLS.LIMIT0 and SWLS.LIMIT1 are active

Code

Axis 1 software limit switch 0 is not active and software limit switch 1 is active

-->AXIS1.SWLS.STATE

2

Context

For more information on limit switches, refer to Limits.

Versions

Action Version Notes
Implemented 02-00-00-000

General Information

Type Read Only
Units N/A
Range 0 to 3
Default Value N/A
Data Type Integer
See Also AXIS#.SWLS.EN, AXIS#.SWLS.LIMIT0, AXIS#.SWLS.LIMIT1
Stored in Non-Volatile Memory No

Variants Supported

All variants are supported.

Industrial Ethernet Information

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

AXIS1.SWLS.STATE

500fh

02h

Unsigned8

-

-

Read only

No

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

6503

1

6503 (0x1967)

AXIS1.SWLS.STATE

Unsigned8

Read Only

Yes

PROFINET

Parameter

PNU

Data Type

Access

Units

AXIS1.SWLS.STATE

6503

Unsigned8

Read Only

-