User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 235
reported value in the number of pulses as detected. This counter only increments. In order
to reset that counter the pulse capture mode needs to be set back to disabled and then
again to Pulse Count.
Syntax Serial: ?PI [cc]
Argument: InputNbr
Min: 1 Max: Total Number of Pulse Input
Syntax Scripting: result = getvalue(_PI, cc)
result = getvalue(_PLSIN, cc)
Reply:
PI=nn Type: Unsigned 16-bit Min: 0 Max: 65536
Where:
cc = Pulse capture input number
nn = Value
Note:
The total number of Pulse input channels varies from one controller model to another and
can be found in the product datasheet.
PIC - Read Pulse Input after Conversion
Alias: PLSINC HexCode: 24 CANOpen id: 0x6404
Description:
Returns value of a Pulse input after all the adjustments were performed to convert it to a
command or feedback value (Min/Max/Center/Deadband/Linearity). If an input is disabled,
the query returns 0.
Syntax Serial: ?PIC [cc]
Argument: InputNbr
Min: 1 Max: Total Number of Pulse Input
Syntax Scripting: result = getvalue(_PIC, cc)
result = getvalue(_PLSINC, cc)
Reply:
PIC=nn Type: Signed 16-bit Min: -1000 Max: 1000
Where:
cc = Pulse input number
nn = Converted input value to +/-1000 range