Hello Guest it is April 18, 2024, 11:18:09 PM

Author Topic: IsActive(Input1) issue. Mach2.  (Read 4009 times)

0 Members and 1 Guest are viewing this topic.

IsActive(Input1) issue. Mach2.
« on: January 16, 2012, 09:25:17 AM »
I have tested Mach2, spent few days and can not resolve one problem.

Why function IsActive(Input1) always return 0 (false) even if really is active and led of Input1 is ON in Diagnostic window?

Anyone know any another way how check value (true or false) of some pin number in Mach2?
« Last Edit: January 16, 2012, 09:37:46 AM by smnv »
Re: IsActive(Input1) issue. Mach2.
« Reply #1 on: February 19, 2012, 10:27:38 AM »

One way is to use the VB script editor. Maybe you already are.

Code

a = IsActive(input1)
print a

 My machine returns the correct state.
 
Re: IsActive(Input1) issue. Mach2.
« Reply #2 on: February 19, 2012, 12:24:33 PM »
delete Mach2, install Mach3, there are no problem.
Re: IsActive(Input1) issue. Mach2.
« Reply #3 on: January 06, 2015, 10:31:20 PM »
Hi, I am having the same issue ... IsActive(Input1) always return 0 (false) even if really is active and led of Input1 is ON. I am using Mach3 and the breakout board is Mach3 USB Motion Card AKZ250 from http://leafboy77.com/.  Any opinion or suggestion will be really great.