Hello Guest it is April 25, 2024, 05:37:59 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - havery

Pages: « 1 2
11
I have a 12V solenoid actuated air valve attached to OutPut 2.  To fix this do I need to shield the cables?  Which would be better to shield: The source (line for the output) or the receiver (X,Y,Z limit switch cables)?

Haze

12
When I run the following code and get to the DeActivateSignal(Output2) the Reset Button lights and the message says a limit switch has activated.  I am no where near a limit switch and no movement is occurring anyway.  My machine homes fine and the limit switches do stop an overtravel movement.  Even though this is a new setup, I have been able to cut parts without issue.  This is the 1st time I am trying to use the Activate Deactivate commands.

ActivateSignal(Output2)
Sleep(500)
DeActivateSignal(Output2) 'When it gets to this point the reset activates.
Sleep(500)
ActivateSignal(Output2)
Sleep(500)
DeActivateSignal(Output2)
Sleep(500)
ActivateSignal(Output2)
Sleep(500)
DeActivateSignal(Output2)
Sleep(500)
ActivateSignal(Output2)
Sleep(500)
DeActivateSignal(Output2)
Sleep(500)
Message "ALMOST DONE"
While IsMoving()
Sleep 100
Wend
Message "NOW WE ARE DONE"

I am using the VB editor and both running and stepping through the code.  Same result.   Any ideas why this would be happening and more importantly how to fix it.

Thanks
Haze

Pages: « 1 2