User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 259
S - Read Encoder Motor Speed in RPM
Alias: ABSPEED HexCode: 03 CANOpen id: 0x2103
Description:
Reports the actual speed measured by the encoders as the actual RPM value. To report
RPM accurately, the correct Pulses per Revolution (PPR) must be stored in the encoder
configuration
Syntax Serial: ?S [cc]
Argument: Channel
Min: 1 Max: Total Number of Encoders
Syntax Scripting: result = getvalue(_S, cc)
result = getvalue(_ABSPEED, cc)
Reply:
S = nn Type: Signed 32-bit Min: -65535 Max: 65535
Where:
cc =Motor channel
nn = Speed in RPM
SCC - Read Script Checksum
Alias: SCC HexCode: 45 CANOpen id: 0x2133
Description:
Scans the script storage memory and computes a checksum number that is unique to
each script. If not script is loaded the query outputs the value 0xFFFFFFFF. Since a stored
script cannot be read out, this query is useful for determining if the correct version of a
given script is loaded.
Syntax Serial: ?SCC
Argument: None
Syntax Scripting: result = getvalue(_SCC, 1)
Reply:
SCC = nn Type: Unsigned 32-bit
Where:
nn = Checksum number