User Manual

Table Of Contents
Commands Reference
236 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
Min: 1 Max: 4
Syntax Scripting: result = getvalue(_CHS, cc)
Reply:
CIA=nn Type: Unsigned 8-bit Min: 0 Max: 127
Where:
cc = Heartbeat channel
nn = Heartbeat Status:
0: Not configured
1: Pending (waiting for the first heartbeat message from node)
2: Active (node is sending heartbeat regularly)
127: Inactive (node stopped sending heartbeat)
CIA - Read Converted Analog Command
Alias: CMDANA HexCode: 1A CANOpen id: 0x2117
Description:
Returns the motor command value that is computed from the Analog inputs whether or
not the command is actually applied to the motor. The Analog inputs must be con-
figured as Motor Command. This query can be used, for example, to read the com-
mand joystick from within a MicroBasic script or from an external microcomputer,
even though the controller may be currently responding to Serial or Pulse command
because of a higher priority setting. The returned value is the raw Analog input value with
all the adjustments performed to convert it to a command (Min/Max/Center/Deadband/
Linearity).
Syntax Serial: ?CIA [cc]
Argument: Channel
Min: 1 Max: Total Number of Motors
Syntax Scripting: result = getvalue(_CIA, cc)
result = getvalue(_CMDANA, cc)
Reply:
CIA=nn Type: Signed 32-bit Min: -1000 Max: 1000
Where:
cc = Motor channel
nn = Command value in +/-1000 range