AKD BASIC User Guide | 6 AKD BASIC Parameters, Operators, Statements
6.3.5 AIN.MODE
General Information
Type NV Parameter
Description
Analog input
mode
Units N/A
Range 0 to 2
Default
Value
1
Data Type Integer
See Also AIN Parameters
Start Version M_01-04-09-000
Fieldbus Index/Subindex Is 64 bit? Attributes Signed?
Modbus 1188 No 8 bit No
AKDSynqNet
Range 0
AKDBASIC
Range 0 to 1
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 volt-
age will be scaled with:
l AIN.ISCALE if DRV.OPMODE has been set to 0 ( torque mode)
l AIN.VSCALE if DRV.OPMODE has been set to 1 ( velocity mode)
l 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 meas-
ured voltage will be scaled with AIN.VSCALE.
Kollmorgenâ„¢ | March 30, 2012 130