User guide

91
VTB USER GUIDE
NGQ NGQx – ANALOG INPUTS
The NGQ and NGQx, have up to 4 Analog Inputs (only ONE for NGQx). 12 Bit.
In THE NGQ if are ENABLED the STEP/DIR channels, only ONE analog input is available
Syntax
NG_ADC(Char Ch) as uint
Parameters
Chan Number of the channel (from 0 to 7)
Return value:
Returns the analog value (from 0 to 4095).