Pulse lenght mismatch
egor
✭
Hi,
<do_MessageReady> is signal, which pulses every time a message recieved from camera. It doesn't assigned to any device.
SocketReceive clientSocket\RawData:=raw_receive\Time:=WAIT_MAX;
PulseDO\High,do_MessageReady;
Sometimes, I see that this signal can last longer than the default 0.2s. What could be the reason?
0
Comments
-
One camera message received right after the other?Lee Justice0
-
What, if any, relationship is there between that signal and the one at the very top? I see that it is on for a longer time when doMessageReady is off for longer , and it is off when doMessageReady is on for longer time.Lee Justice0
-
Hello,I don't like pulse. It may stay at high some times. Surely if it is already at high when pulse called.To prevent it I reset always signal before call pulse.It's better to set signal, wait your camera start signal then reset it.
1 -
lemster68 said:What, if any, relationship is there between that signal and the one at the very top? I see that it is on for a longer time when doMessageReady is off for longer , and it is off when doMessageReady is on for longer time.0
-
DenisFR said:It may stay at high some times. Surely if it is already at high when pulse called.To prevent it I reset always signal before call pulse.
Encoder wheel does not slip, full turn takes a few seconds0 -
In your first picture I see a slip between encoder pulse and camera trigger.Does your camera can finish its task before next pulse?Look into TriSpector to get program time.Does your camera send something when it failed?0
-
I agree with Denis, Pulse has ways in which it can fail you. Many years ago it was even documented that a version of robotware, or versions, had a flaw with pulsed outputs. Chrysler standard a few years, or more, back prohibited the use of pulsed outputs. Another instance of pulse failing is when the cell is e-stopped before it can act on the pulsed output. When restarted, the signal is no longer high and the cell sits idle until someone can figure out that it is waiting on that signal. Pulse time does not pause for e-stop or other stops.Lee Justice2
-
DenisFR said:In your first picture I see a slip between encoder pulse and camera trigger.Does your camera can finish its task before next pulse?
Camera can create next strobe before message is fully transmitted. In that case the objects create a queue. But it is not my case, because conveyor moves slowly for camera.
0 -
I can get rid of the pulses in my RAPID code, but I can't figure out why the camera create such a long strobe signal. There's no way I can change the length of the camera strobe signal.
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings