Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: thespindoctor on March 14, 2018, 05:09:51 PM

Title: meters stopped working
Post by: thespindoctor on March 14, 2018, 05:09:51 PM
I had a great setup with several meters displaying voltages from 4 analog inputs.  I was changing the ticks and max value on one of the meters and they all stopped working.  Then I reverted back to the original settings but no matter what I do, the meters are silent.  However, one meter showing an average/sec of voltage is working fine.  The registers for these analog inputs show the proper voltages.  I have the code in the PLC script and was wondering "are if then statements in the PLC a problem"?  Would it be better to do this in the signal script?  Does the signal script scan just like the PLC so I could basically use the same code there?

Thanks
Title: Re: meters stopped working
Post by: joeaverage on March 14, 2018, 05:28:05 PM
Hi,

http://www.machsupport.com/forum/index.php/topic,36590.msg251089.html#msg251089 (http://www.machsupport.com/forum/index.php/topic,36590.msg251089.html#msg251089)

Might help.

Craig
Title: Re: meters stopped working
Post by: thespindoctor on March 14, 2018, 05:55:57 PM
Yes that was my posting to set this all up but now it has stopped working for no apparent reason...
Title: Re: meters stopped working
Post by: thespindoctor on March 14, 2018, 06:56:41 PM
Fixed it!  Just during a copy the meter names changed...  escy fix difficukt to see