
PoKeys Pulse engine v2 documentation
25
www.poscope.com
Analog inputs
Available analog inputs on the PoKeys device (pins 43-47 on PoKeys55 and pins 41-47 on PoKeys56)
can be either mapped to Mach3 OEM DRO register or used as an analog joystick axis, used for
jogging.
Analog inputs are displayed as 12-bit value (10-bit analog values on PoKeys55 devices are up-scaled
to 12-bit) and can be configured with user specific offset and gain value using the following formula:
𝑢
𝑐𝑜𝑟𝑟𝑒𝑐𝑡𝑒𝑑
=
𝑢
𝐴𝐷
− 𝑢
𝑜𝑓𝑓𝑠𝑒𝑡
4096
∗ 𝑢
𝑔𝑎𝑖𝑛
where
𝑢
𝑐𝑜𝑟𝑟𝑒𝑐𝑡𝑒𝑑
is the corrected value of analog to digital readout
𝑢
𝐴𝐷
using the offset
𝑢
𝑜𝑓𝑓𝑠𝑒𝑡
and
gain
𝑢
𝑔𝑎𝑖𝑛
. The offset and gain values can be adjusted for each analog input separately. Mapping to
DRO or analog joystick is done using the corrected value
𝑢
𝑐𝑜𝑟𝑟𝑒𝑐𝑡𝑒𝑑
.
Analog joystick functionality enables convenient jogging option. Based on the analog voltage, present
on the selected pin, the selected axis can be jogged progressively. To enable analog joystick, assign
the axes in the 'Analog joystick' column and click 'Calibrate' button at the bottom of the dialog. A
simple wizard will walk you through the process and enable you to calibrate (automatically set the
gain and offset values) based on your input. After the successfull calibration, enable analog joystick
functionality by checking the box 'Enable analog joystick'.
To disable unwanted jogging in zero position, adjust the parameter 'Deadband' based on the noise of
your analog input (enter value in analog value ticks – 0 to 2048). If the
|𝑢
𝐴𝐷
− 𝑢
𝑜𝑓𝑓𝑠𝑒𝑡
| < 𝑢
𝑑𝑒𝑎𝑑𝑏𝑎𝑛𝑑
the axis will not be jogged.
If 'Use OEM LED 1911 to enable the joystick' option is checked, analog joystick can be enabled and
disabled using the OEM LED 1911 signal.
Raw analog
input value
𝑢
𝑜𝑓𝑓𝑠𝑒𝑡
𝑢
𝑔𝑎𝑖𝑛
𝑢
𝑐𝑜𝑟𝑟𝑒𝑐𝑡𝑒𝑑
Analog joystick
axis selection
Mach3 OEM
DRO selection
Analog joystick
test window (x-y)
Analog joystick
calibration
Enable analog joystick
Analog joystick deadband
Analog joystick
calibration