AXIS#.SWLS.STATE
Description
Returns the state of the software limit switches.
-
- 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
Fieldbus![]() |
Parameter | Index | Sub-Index | Data Type | Float Scale | Units | Access | PDO Mappable |
---|---|---|---|---|---|---|---|---|
EtherCAT![]() |
AXIS1.SWLS.STATE | 0x500F | 0x2 | USINT | - | - | RO | False |
AXIS2.SWLS.STATE | 0x510F | 0x2 | USINT | - | - | RO | False |