User Manual

Table Of Contents
Analog, Digital, Pulse IO Configurations
Advanced Digital Motor Controller User Manual 291
Syntax Scripting: setconfig(_PCTR, cc, nn)
Number of Arguments: 2
Argument 1: InputNbr
Min: 1 Max: Total Number of Pulse Inputs
Argument 2: Center
Type: Unsigned 16-bit
Min: 0 Max: 65536
Default: 1500us
Where:
cc = Pulse input number
nn = 0 to 65536us
PDB - Pulse Input Deadband
HexCode: 21
Description:
This sets the deadband value for the pulse capture. It is defined as the percent number
from 0 to 50% and defines the amount of movement from joystick or sensor around the
center position before its converted value begins to change.
Syntax Serial: ^PDB cc nn
~PDB [cc]
Syntax Scripting: setconfig(_PDB, cc, nn)
Number of Arguments: 2
Argument 1: InputNbr
Min: 1 Max: Total Number of Pulse Inputs
Argument 2: Deadband
Type: Unsigned 8-bit
Min: 0 Max: 50
Default: 5 = 5%
Where:
cc = Pulse input number
nn = Deadband in %
Note:
Deadband is not used when input is used as feedback
PINA - Pulse Input Use
HexCode: 23
Description:
This parameter selects whether an input should be used as a command feedback, posi-
tion feedback or left unused. Embedded in the parameter is the motor channel that this
command or feedback should act on. Feedback can be position feedback if potentiometer
is used or speed feedback if tachometer is used.