RAPID command
Options
We have been having an unreliable input signal issue that triggers false MoveL.
The "PART_PRESENT" is from a photo eye. Normally when there is no part blocking the photo eye, the PE signal is 0 (steady 00000000 for example). But whenever the photo eye reflector gets dirty, the signal status changes erractically (01010100001110000 for example) causing the MoveL wrongly . I'm not familir with RAPID code. Is there a timer command that times the duration of an input signal status? If so, I can time the input signal to make sure the signal is reliable.
The robot has ethernet connection to a Controllogix. I could probably use the photo_eye signal as an input to the PLC, then do the timing in the PLC, then have the PLC imer DN bit to trigger the robot's PART_PRESENT. But it would be much simpler if there was a RAPID command for a timer output.
Thanks.
WaitDI PART_PRESENT, 1;
MoveL p20, v7000, fine, toolGRIPPER;
The "PART_PRESENT" is from a photo eye. Normally when there is no part blocking the photo eye, the PE signal is 0 (steady 00000000 for example). But whenever the photo eye reflector gets dirty, the signal status changes erractically (01010100001110000 for example) causing the MoveL wrongly . I'm not familir with RAPID code. Is there a timer command that times the duration of an input signal status? If so, I can time the input signal to make sure the signal is reliable.
The robot has ethernet connection to a Controllogix. I could probably use the photo_eye signal as an input to the PLC, then do the timing in the PLC, then have the PLC imer DN bit to trigger the robot's PART_PRESENT. But it would be much simpler if there was a RAPID command for a timer output.
Thanks.
0
Comments
-
Hello,
in your definition of the Input signal, you can use the "Filter Time Active" parameter where you can filter out noise.
check the manual "system parameters", topic "I/O system"
BR
Peter0
Categories
- All Categories
- 5.4K RobotStudio
- 383 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 733 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings