User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 235
accessed using the ?DDT or ?SDT queries. Sending ?CD again, copies the next frame into
the read buffer.
Syntax Serial: ?CD
Argument: None
Syntax Scripting: result = getvalue(_CD, 1)
Reply:
CD=nn Type: Unsigned 8-bit Min: 0 Max: 255
Where:
nn = Number of frames in receive queue
CF - Read Raw CAN Received Frames Count
Alias: CF HexCode: 28 CANOpen id:
Description:
This query is used to read the number of received CAN frames pending in the FIFO buf-
fer and copies the oldest frame into the read buffer, from which it can then be accessed
using the ?CAN query. Sending ?CF again, copies the next frame into the read buffer. The
controller can buffer up to 16 CAN frames
Syntax Serial: ?CF
Argument: None
Syntax Scripting: result = getvalue(_CF, 1)
Reply:
CF=nn Type: Unsigned 8-bit Min: 0 Max: 16
Where:
nn = Number of frames in receive queue
add chapter:
CHS - CAN Consumer Heartbeat Status
Alias: - HexCode: 94 CANOpen id: -
Description:
Returns the the status of the respective consumer heartbeat channel. With CANOpen
enabled, there are 4 slots in order to monitor heartbeats. Their status can be checked with
this query.
Syntax Serial: ?CHS [cc]
Argument: Heartbeat Channel