User Manual

Table Of Contents
Commands Reference
186 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Syntax Serial: !GID [nn] mm
Syntax Scripting: setcommand(_GID, nn, mm)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Amps
Type: Signed 32
Min: 0 Max: Max Amps in datasheet
Where:
cc = Motor channel
nn = Amps*10
Example:
!GID 1 -200: In Closed Loop Torque mode, applies -20,0A flux amps command (field weak-
ening).
H - Load Home counter
Alias: HOME HexCode: 0D CANOpen id: 0x200B
Description:
This command loads the Home count value into the Encoder, SSI Sensor, or Brushless
Counters. The Home count can be any user value and is set using the EHOME, SHOME
and BHOME configuration parameters. When SSI sensors are used as absolute encoders
(Absolute Feedback) then this command loads to the Home count value the SSI sensor
counter. In this case the Home count value is used as offset to the SSI sensor Counter.
Beware that loading the counter with the home value while the controller is operating in
closed loop can have adverse effects.
Syntax Serial: !H [cc]
Syntax Scripting: setcommand(_H, cc)
setcommand(_HOME, cc)
Number of Arguments: 1
Argument 1: Channel Type: Unsigned 8-bit
Min: 1 Max: Total Number of Encoders
Where:
cc = Motor channel