The SFLSO[axis] command selects the encoder counter (1) or pulse generator counter (0) for the soft-limit axis position.


Applies to: CMD-4CR, CMD-4EX-SA, Firmware V 2.01+


ASCII                SFLSO[axis]

Syntax:                        

Read:

SFLSO[axis]                

Where:        [axis] is set to X, Y, Z, U


Write:

SFLSO[axis]=[source]                 

Where:        [axis]    is set to X, Y, Z, U

[source]      encoder counter (1) or pulse generator counter (0

Reply: 

Command is accepted and executed

Read:         

Returns 1 for the encoder counter or 0 if pulse generator counter is the source for the the soft-limit axis position.


Write:           

OK


Command cannot be processed

       An error message is returned. See Error Codes

Example: 

Read:        

SFLSOY                * Returns source for the the soft-limit axis position for the Y axis 


Write:        

SFLSOX=1         * Sets the encoder counter as the source for the the soft-limit axis position for the X axis.


Notes:

  • It is safest to use the encoder counter if an encoder is available, as it will allow the tracking of the motor even if an outside force moves the motor. 

See also:

Limits/Safety Setup

SFL, SFLP, SFLN, SFLSD

Commander Manual

2.1.3.1.1.4 Soft-Limits