User Manual

Table Of Contents
Commands Reference
240 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
Reply:
CSS=nn Type: Signed 32-bit Min: -2147M Max: 2147
Where:
cc = SSI sensor channel
nn = Absolute counter value
D - Read Digital Inputs
Alias: DIGIN HexCode: 0E CANOpen id: 0x210E
Description:
Reports the status of each of the available digital inputs. The query response is a single
digital number which must be converted to binary and gives the status of each of the in-
puts. The total number of Digital input channels varies from one controller model to anoth-
er and can be found in the product datasheet.
Syntax Serial: ?D
Argument: None
Syntax Scripting: result = getvalue(_D, 1)
result = getvalue(_DIGIN, 1)
Reply:
D=nn Type: Unsigned 32-bit
Where:
nn = b1 + b2*2 + b3*4 + ... +bn*2^n-1
Example:
Q: ?D
R: D=17 : Inputs 1 and 5 active, all others inactive
DDT - Read Raw Redirect Received Frame
Alias: DDT HexCode: 8F CANOpen id: -
Description:
This query is used in Raw Redirect mode to read the content of a received Raw Redirect
frame. Data will be available for reading with this query only after a ?CD query is first
used to check how many received frames are pending in the FIFO buffer. When the query
is sent without arguments, the controller replies by outputting all elements of the frame
separated by colons.
Syntax Serial: ?DDT [ee]
Argument: Element
Min: 1 Max: 64