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.


  • 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.

Fieldbus Information

FieldbusClosed A Fieldbus is an industrial network system for real-time distributed control (e.g. CAN or Profibus). It is a way of connecting instruments in a plant design Parameter Index Sub-Index Data Type Float Scale Units Access PDOClosed PDO is a type of protocol frame used in some fieldbuses. A PDO contains one or more object dictionary entries, which define the application data transferred between devices. Mappable
EtherCATClosed ***EtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs COE and CANopen AXIS1.SWLS.STATE 0x500F 0x2 USINT - - RO False
AXIS2.SWLS.STATE 0x510F 0x2 USINT - - RO False