Support for Analog ENC7360

The ENC7360 is very similar to the ENC7480. The input is not digital signals but sinus signal from the encoder.

It only supports the count configuration MODE_FOUR_AB_PHASE.

The counts from the encoder or latch can be read with normal functions (same as ENC7480) or with precise functions. It is controlled by UsePreciseFunctions. If UsePreciseFunctions is True, then counts per mm are controlled by PRECISE_X_COUNTS_PER_MM, PRECISE_Y_COUNTS_PER_MM, PRECISE_Z_COUNTS_PER_MM.

GmsENC7360.XML

Example:

<GmsENC7360>

<Card number="0">

<SetTriggerLogic>RISING_EDGE</SetTriggerLogic>

<CountConfig>MODE_FOUR_AB_PHASE</CountConfig>

<EZLogic>DISABLED</EZLogic>

<SetEZLogic>ACTIVE_LOW</SetEZLogic>

<TriggerChannel>TR_1</TriggerChannel>

<X_COUNTS_PER_MM>-2500</X_COUNTS_PER_MM>

<Y_COUNTS_PER_MM>2500</Y_COUNTS_PER_MM>

<Z_COUNTS_PER_MM>2500</Z_COUNTS_PER_MM>

<UsePreciseFunctions>True</UsePreciseFunctions>

<PRECISE_X_COUNTS_PER_MM>-2500.0</PRECISE_X_COUNTS_PER_MM>

<PRECISE_Y_COUNTS_PER_MM>2500.0</PRECISE_Y_COUNTS_PER_MM>

<PRECISE_Z_COUNTS_PER_MM>2500.0</PRECISE_Z_COUNTS_PER_MM>

<POINT_HISTORY>20</POINT_HISTORY>

<POSITION_SENSITIVITY>0.02</POSITION_SENSITIVITY>

<CAL_VEC_DEPTH>5</CAL_VEC_DEPTH>

<VECTOR_SENSITIVITY>0.5</VECTOR_SENSITIVITY>

<BUTTONS_NEGATIVE_POLARITY>True</BUTTONS_NEGATIVE_POLARITY>

<BUTTONS>

<Button line="0">PCDMIS_BUTTON_DONE</Button>

<Button line="1">PCDMIS_BUTTON_CANCEL</Button>

<Button line="2">PCDMIS_BUTTON_ERASE</Button>

<Button line="3">PCDMIS_BUTTON_MOVEPOINT</Button>

<Button line="4">PCDMIS_BUTTON_STOP</Button>

<Button line="5">PCDMIS_BUTTON_DONE</Button>

<Button line="6">PCDMIS_BUTTON_CONTINUE</Button>

<Button line="25">PCDMIS_BUTTON_CONTINUE</Button>

</BUTTONS>

</Card>

</GmsENC7360>

ENC7360 ConfigUsePreciseFunctions

Support of ENC7360.DLL version 1001. It uses the new function for obtaining positions more precisely.

When ConfigUsePreciseFunctions is True, it can be used to enable the “_count” functions from the latest version 1001 of ENC7360.DLL (for example Enc7360_get_precise_encoder_count).

If ConfigUsePreciseFunctions is True, the CountConfig option must be set to the number corresponding to the integrator. CountConfig is usually set to 256 and the resulting "COUNTS" must be multiplied by this number. Note that CountConfig is ignored for other settings.

Original description:

<UsePreciseFunctions>True</UsePreciseFunctions>

<UsePreciseCountFunctions>False</UsePreciseCountFunctions>

<PRECISE_X_COUNTS_PER_MM>100</PRECISE_X_COUNTS_PER_MM>

<PRECISE_Y_COUNTS_PER_MM>100</PRECISE_Y_COUNTS_PER_MM>

<PRECISE_Z_COUNTS_PER_MM>-100</PRECISE_Z_COUNTS_PER_MM>

 

New description:

<CountConfig>256</CountConfig>

<UsePreciseFunctions>True</UsePreciseFunctions>

<UsePreciseCountFunctions>True</UsePreciseCountFunctions>

<PRECISE_X_COUNTS_PER_MM>25600</PRECISE_X_COUNTS_PER_MM>

<PRECISE_Y_COUNTS_PER_MM>25600</PRECISE_Y_COUNTS_PER_MM>

<PRECISE_Z_COUNTS_PER_MM>-25600</PRECISE_Z_COUNTS_PER_MM>

More:

Manual CMM Interface