Hello Guest it is September 22, 2020, 05:01:44 AM

Author Topic: Machine Enabled state  (Read 754 times)

0 Members and 1 Guest are viewing this topic.

Machine Enabled state
« on: March 19, 2018, 04:22:18 PM »
There is function mcCntlEnable which can Enable/Disable machine, like Enable button on standard screens. But I can`t find function for get current sate. Function mcCntlGetState return MC_STATE_IDLE regardless of Enabled state. Or I must do this via signal OSIG_MACHINE_ENABLED?
Re: Machine Enabled state
« Reply #1 on: March 19, 2018, 07:39:23 PM »
Hi,

http://www.machsupport.com/forum/index.php/topic,36548.msg250379.html#msg250379

As you can see 'Enabled' is not a Mach state per se. It has certain properties like enable outputs activated and so on
but to my knowledge cannot be queried in the same manner as Mach's state. As far as I know OSIG_MACHINE_ENABLED
is the only way.

Craig
My wife left with my best friend...
     and I miss him!
Re: Machine Enabled state
« Reply #2 on: March 20, 2018, 12:31:06 AM »
Thank you!