Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: KatzYaakov on June 25, 2021, 06:22:27 AM

Title: analog input by pmc
Post by: KatzYaakov on June 25, 2021, 06:22:27 AM
i use pokeys
and pokeys have in there instruction how manage analog input to control Fro Or Rro by add
"Do file" on the main plc and add lua file
my question is ,because i start use already pmc ,maybe its batter use also pmc for this uses?
is it save time?
Title: Re: analog input by pmc
Post by: joeaverage on June 28, 2021, 07:03:04 AM
Hi,
I thought the PoKeys populated a register in Mach with the analog-to-digital conversion at the refresh rate of the converter?

In that case the value is stored in one of Machs registers, probably created an 'owned' by PoKeys, and you can use PMC OR
PLC OR ordinary macros to access the value.

Craig