User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 241
Syntax Scripting: result = getvalue(_DDT, ee)
Reply:
CAN = dd1:dd2:dd3: ... :dd64 Type: Unsigned 8-bit Min: 0 Max: 255
Where:
ee = Byte in frame
dd1 = byte size
dd2 to dd64 = data0 to data62
Examples: Q: ?DDT
R: DDT=8:82:111:98:111:116:101:113
Q: ?DDT 3
R: DDT=111
DI - Read Individual Digital Inputs
Alias: DIN HexCode: 0F CANOpen id: 0x2145
Description:
Reports the status of an individual Digital Input. The query response is a boolean value (0
or 1). 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: ?DI [cc]
Argument: InputNbr
Min: 1 Max: Total Number of Digital Inputs
Syntax Scripting: result = getvalue(_DI, cc)
result = getvalue(_DIN, cc)
Reply:
DI=nn Type: Boolean Min: 0 Max: 1
Where:
cc = Digital Input number
nn = 0 or 1 state for each input
Example:
Q: ?DI
R: DI=1:0:1:0:1:0
Q: ?DI 1
R: DI=0