Hello Guest it is April 17, 2024, 11:12:07 PM

Author Topic: Art Code:8877  (Read 10290 times)

0 Members and 1 Guest are viewing this topic.

Offline nemoc

*
  •  22 22
    • View Profile
Art Code:8877
« on: April 25, 2012, 05:55:43 PM »
Hello people, can someone help me with this message?
 "Art Code: 8877."
 What does it mean?
 Where can I get an error table?

Thanks

NEMO

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art Code:8877
« Reply #1 on: April 25, 2012, 06:08:27 PM »
Only Art will know what that means I suspect. I will see if he will look in and reply.
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art Code:8877
« Reply #2 on: April 25, 2012, 06:24:28 PM »
Art says possibly an error with your MPG control. He said the error means that the last successfull thing run as MPGControl..not necessarily that the erro r is there.
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art Code:8877
« Reply #3 on: April 25, 2012, 06:25:50 PM »
Art said to see if selecting shuttle mode changes the error.
Hood

Offline nemoc

*
  •  22 22
    • View Profile
Re: Art Code:8877
« Reply #4 on: April 25, 2012, 08:27:24 PM »
Hi Hood
I have a macro like this below , where the error  (Art Code:8877) occurs when changing the value of INPUT1.
Can you see anything wrong?

Thanks

Nemo

*************************
Dim Value as boolean

Value = IsActive(INPUT1)
   

   If Value = True Then
         Code "(Ativado)"
         Code "M8"
         Code "G04 P2.5"
         Code "M9"
         Code "G04 P1"   
              Code "(            )"

      Else

   Do
   Value = IsActive(INPUT1)
   If Value = False then
      Code "(Pneumatico Desativado)"
   Else
         Code "(Ativado)"
         Code "M8"
         Code "G04 P2.5"
         Code "M9"
         Code "G04 P1"   
              Code "(            )"

      Exit Do
   End If
   Loop
    End If
Exit Sub

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art Code:8877
« Reply #5 on: April 26, 2012, 02:50:50 AM »
I dont seem to have a problem with that code when I run it with Input 1 active. Can you attach your xml and also what version of Mach are you using and are you using the parallel port or some external device?
Hood

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Art Code:8877
« Reply #6 on: April 26, 2012, 03:15:35 PM »
Can you explain what the macro is suppose to do. I see a couple of things but really need to know what it is you want it to do.

(;-) TP

Offline nemoc

*
  •  22 22
    • View Profile
Re: Art Code:8877
« Reply #7 on: April 27, 2012, 01:02:42 PM »
Hi BR549
It's Simple. The macro checks if INPUT#1 is or not active.
If TRUE - forward , If FALSE,  wait for TRUE condition.

thanks


Nemo

Offline nemoc

*
  •  22 22
    • View Profile
Re: Art Code:8877
« Reply #8 on: April 27, 2012, 01:15:03 PM »
Hi Hood
Parallel Port
Mach Version R3.042.029
INPUT#1 - PIN10
Active HI
The external Device is a single MicroSwitch.
Could the problem be caused by debouncing or noise?

Nemo

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Art Code:8877
« Reply #9 on: April 27, 2012, 02:22:40 PM »
Cant see how noise would be the problem. If you attach your xml I will see if I can get the same happening here.
Hood