Epson Robot question

MartB

Lifetime Supporting Member
Join Date
Jun 2005
Location
Pinellas Park, FL
Posts
684
Does anyone know how to flash an output?
I have a push button light that I'd like to flash on & off when it needs pushing.

I have tried

If MemSw(MachineRun) = 0 And MemSw(ALARMING) = 0 Then
On StartLight, 0.1
EndIf



But it just flashes once and never again (even though the conditions are correct).

If anyone knows a better method I'd love to hear it - thanks.
 
The code did exactly what you told it to do. Now think of how you can repeat the same thing over and over again if the condition are correct....
 
Try this:

Code:
Do While (MemSw(MachineRun) = 0 And MemSw(ALARMING) = 0)
   On StartLight, 0.1
   Wait 0.1
Loop
 
Hi

Don't put this in the main program, as the Epson robot is a multitasking controller check out XPT instruction

Donnchadh
 
I do have it running in a XQT (,nopause) task.
I always reserve the main task for critical tasks only.

I did try it originally with a Do - While loop, but that didn't work as expected either.
I'm re writing a bunch of code today to try and tidy up the program execution in general, so I'll give it another shot once it's all restructured.
 
Update:
After a rather extensive re-organization of the code, we found the original code we had tried worked perfectly in a separately executed routine (which is how we tried it before).
Obviously we were missing something that was stepping on the code somewhere else and not allowing it to work as intended.

Thanks to everyone for their input.
 

Similar Topics

Hello everyone! I have an Epson RC170 that is communicating with a SLC 5/05 over DeviceNet and working great. We are attempting to upgrade the...
Replies
1
Views
1,711
I am currently working on a project with an Epson Scara robot using an RC-90 controller communicating with a ML1400 Ser. B PLC. The robot...
Replies
4
Views
3,984
Epson robot controller RC620. Epson software RC+6.0. The controller successfully launches Windows XP, but when it starts the Epson software, the...
Replies
5
Views
3,700
HI All I have a CLX device net network with Power flex drives, Smart guard 600, Festio CLX valve blocks, POint I/O etc. I have set them all up...
Replies
4
Views
3,651
Anyone here have personal experience with robots made by Epson? Are they easy to use and reliable?
Replies
2
Views
3,343
Back
Top Bottom