AIN.MODE

Description

The parameter AIN.MODE is used to assign a functionality to the voltage measured on the analog input pin.

0 – The analog input value is not used by any function.

1 – This mode only works when DRV.CMDSOURCE is set to 3 (analog). The measured voltage will be scaled with:

  • AIN.ISCALE if DRV.OPMODE has been set to 0 ( torque mode)
  • AIN.VSCALE if DRV.OPMODE has been set to 1 ( velocity mode)
  • AIN.PSCALE if DRV.OPMODE has been set to 2 (position mode)

Afterwards, the value will be forwarded as a command value to the control-loops.

2 – This mode is used for generating a target velocity of a motion task. This mode works when DRV.OPMODE is set to 2 (position) and DRV.CMDSOURCE is set to 0 ( service). The measured voltage will be scaled with AIN.VSCALE.

A motion task with the control-word bit 16 set to true (see also MT.CNTL) will capture the velocity-scaled value upon a motion task trigger command and use this value as the target velocity to be reached by that motion task.

3 – This mode is used to generate faults or warnings if analog input exceeds defined voltage limits. Use the AIN.UVFTHRESH, AIN.UVWTHRESH, AIN.OVFTHRESH, and AIN.OVWTHRESH parameters to set the under/over voltage fault and warning thresholds. If AIN.VALUE exceeds the thresholds, the corresponding warning/fault will be generated. When the fault thresholds are exceeded, a controlled stop occurs and the drive is disabled. The warning thresholds will only generate a warning message.

4 – This mode is used for controlling the value of MT.FEEDRATE. The resulting feedrate will be linearly interpolated between 0% at 0V and 100% at 10V measured input voltage

General Information

Type

NV Parameter

Units

N/A

Range

0 to 4

SynqNet: 0

BASIC: 0 to 1

Default Value

1

SynqNet: 0

Data Type

Integer

Start Version

M_01-04-09-000

Variants Supported

Variant Supported
AKD Base Yes
AKD with Position Indexer Yes
AKD EtherCAT Yes
AKD CANopen Yes
AKD BASIC Yes
AKD SynqNet Yes*
AKD EtherNet/IP Yes
AKD PROFINET Yes
AKD Sercos® III Yes
AKD-N No
AKD-C No

*In SynqNet, a parameter may be available in the firmware but have no effect on the system. See SynqNet Supported Parameters.

Fieldbus Information

If your drive type is listed as supported but no index, address, or instance number is listed, then this parameter is accessible through WorkBench, but not over your fieldbus type. For information on SynqNet parameters see SynqNet Supported Parameters.

EtherCAT CoE and CANopen
Index/Subindex Object Start Version

5252h /0

M_01-04-09-000
PROFINET and Sercos® III
Fieldbus Address Attributes Signed?

PROFINET

2594 Byte No
Sercos® III 2 Octets
EtherNet/IP
Instance Data Size Data Type
595 1 Byte Integer
Modbus
Register Address Is 64 bit? Attributes Signed?

1188

No 8 bit No

Related Topics

MT.CNTL

DRV.OPMODE