AXIS#.HWLS.POSSTATE

Description

Returns if the positive hardware limit is active (motion is being prevented).

When the axis hits the positive limit switch, the axis will decelerate to a stop using AXIS#.CS.DEC and then the axis holds the position it stopped at. Any further positive velocity motion towards the limit switch is prevented but motion is allowed in the opposite direction away from the switch. When the hardware limit is no longer active full motion is allowed in both directions.

While the limit switch is active, warning 6007 (Positive Limit Switch triggered) is generated.

The digital input selected as the limit switch using AXIS#.HWLS.POSSOURCE has to be active/energized to allow motion, AXIS#.HWLS.POSSTATE will be 1. If the digital input is not active/deenergized the axis will stop. If DIN#.INV is changed from its default value to 1 the polarity of the hardware limit switch is inverted, i.e. the limit switch is active when the digital input is energized.


  • The value returned from AXIS#.HWLS.POSSTATE is in the opposite sense to the value reported by DIN#.STATE.

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

Usage

0: Positive limit switch is not active and any motion is allowed.

1: Positive limit switch has been hit and negative motion is prevented.

Code

Axis 1 positive limit switch is active allowing motion. Axis 2 positive limit switch is preventing motion in the positive direction.

-->AXIS1.HWLS.POSSTATE0
-->AXIS2.HWLS.POSSTATE1

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 1
Default Value N/A
Data Type Integer
See Also AXIS#.HWLS​.POSSOURCE
Stored in Non-Volatile Memory No

Variants Supported

All variants are supported

Fieldbus Information

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

AXIS1.HWLS.POSSTATE

5015h

02h

Unsigned8

-

-

Read only

Yes

AXIS2.HWLS.POSSTATE

5115h

02h

Unsigned8

-

-

Read only

Yes

EtherNet/IP

Name

ID

Hex

Data Type

Access

Units

AXIS1.HWLS.POSSTATE

5601

15E1

Unsigned8

Read Only

-

AXIS2.HWLS.POSSTATE

71137

115E

Unsigned8

Read Only

-

PROFINET

Parameter

PNU

Data Type

Access

Units

AXIS#.HWLS.POSSTATE

5601

Unsigned8

Read Only

-