ADLINK PCI-8158 User Manual
Page 182
172
Function Library
clr_mode = 0 , Clear on the falling edge (default)
clr_mode = 1 , Clear on the rising edge
clr_mode = 2 , Clear on a LOW level
clr_mode = 3 , Clear on a HIGH level
targetCounterInBit: Enable/Disable clear target counter in bit
inp_enable: INP function enabled/disabled
inp_enable = 0, Disabled (default)
inp_enable = 1, Enabled
inp_logic: Set the active logic for the INP signal
alm_logic: Setting of active logic for ALARM signals
alm_mode: Reacting modes when receiving an ALARM signal.
Value
Meaning
Bit
Description
0
Reset command counter when CLR input turns ON
1
Reset position counter when CLR input turns ON
2
Reset error counter when CLR input turns ON
3
Reset general purpose counter when CLR input turns ON
Value
Meaning
0
Negative logic
1
Positive logic
Value
Meaning
0
Negative logic
1
Positive logic
Value
Meaning
0
motor immediately stops (default)
1
motor decelerates then stops