Hello Guest it is April 20, 2024, 10:11:33 AM

Author Topic: Machine Enabled state  (Read 1555 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
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Machine Enabled state
« Reply #2 on: March 20, 2018, 12:31:06 AM »
Thank you!