Filtered/Unfiltered inputs
Hi. Some times i need to use the same signal in different ways.
Say i need to use it with at filter time sometimes.
what i would like to do, is something like
Say i need to use it with at filter time sometimes.
what i would like to do, is something like
-Name "DI_PHOTO_VERT" -SignalType "DI" -Device "PN_Internal_Device"\
-Label "Tool vertical photosensor" -DeviceMap "32" -Access "All"
-Name "DI_PHOTO_VERT_DEB" -SignalType "DI"\
-Label "Tool vertical photosensor" -Device "PN_Internal_Device"\
-Label "Tool vertical photosensor slow" -DeviceMap "32" -Access "All"\
-Label "Tool vertical photosensor slow" -DeviceMap "32" -Access "All"\
-FiltPas 100 -FiltAct 100
This is not allowed, as its the same signal
Then i tried
This is not allowed, as its the same signal
Then i tried
CrossConnect
-Name "Debounce_DI_PHOTO_VERT" -Res "DI_PHOTO_VERT_DEB"\
-Act1 "DI_PHOTO_VERT"
#
Signal
#
Signal
-Name "DI_PHOTO_VERT" -SignalType "DI" -Device "PN_Internal_Device"\
-Label "Tool vertical photosensor" -DeviceMap "32" -Access "All"
-Name "DI_PHOTO_VERT_DEB" -SignalType "DI"\
-Label "Tool vertical photosensor"\
-Label "Tool vertical photosensor slow" -Access "All"\
-Label "Tool vertical photosensor slow" -Access "All"\
-FiltPas 100 -FiltAct 100
Also no go. As the signal isn't filtered.
Is there any way of blowing with flour in our mouth on this one ?
Also no go. As the signal isn't filtered.
Is there any way of blowing with flour in our mouth on this one ?
Tagged:
0
Comments
-
In the case of filtering of the signal coming on, for example;
WaitDI Mysignal, ON;
WaitDI MySignal, OFF\MaxTime:=.1;
WaitDI MySignal, ON;
Lee Justice0 -
It just occurred to me that you could make it look a lot cleaner by putting those in a routine into which you pass the signal as a parameter.Lee Justice0
-
You could also send the filter time as a parameter as well.Lee Justice0
-
My problem is, im using the signal in a search.
And depending on what the background is i'm getting fake positives, as the sensor "blinks"0 -
Then maybe there are some tuning possibilities on the sensor itself? Or perhaps you need a different sensor.Lee Justice0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings