Hello Guest it is April 19, 2024, 04:53:18 AM

Author Topic: infrared screen  (Read 1200 times)

0 Members and 1 Guest are viewing this topic.

infrared screen
« on: April 30, 2020, 10:15:07 AM »
I want to make a makro for a infrared screen.
Only while running a G-code and there is an input from the infrared screen .
The machine will go in reset or stop state.
Where do I have to start?
Re: infrared screen
« Reply #1 on: May 02, 2020, 05:31:11 AM »
I have now this:
   Sub Main
   
      If  GetOEMLED(1000) Then ' is run
      
         
      
      If IsActive(INPUT1)And (GetLed(116) = true) Then
 
      DoOemButton(1004)      ' 1004 DoOemButton stop
      End If
      
      End If
      
   End Sub 


It is not working, any idea?

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: infrared screen
« Reply #2 on: May 03, 2020, 04:05:26 AM »
try this

Code: [Select]
   Sub Main()
      If  GetOEMLED(804) Then ' is run
        If IsActive(INPUT1)And (GetLed(116) = true) Then
          DoOemButton(1004)      ' 1004 DoOemButton stop
        End If
      End If     
   End Sub 


anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.