I use KRC4 and Heidenhain Probe TS 460 with SE 660 for interrupt activation. The sensor works correct and gives trigger signal. The trigger signals connected to 2 and 3 (inverted trigger signal) outputs of X33 socket. How I can see it at robot side? How to declare it (INTERRUPT DECL 21 WHEN = TRUE DO STOP() )?
How to use Fast Measurement inputs?
-
Mischa -
April 2, 2015 at 7:53 AM -
Thread is marked as Resolved.
-
-
$meas_puls[1]
-
Can I see does it work without running the program? Similar to Display > Analog I/O
-
In Display->Variable->Single you can enter and watch any $variable you like.
Fubini
-
Ohh. I tried to see the $meas_puls[1] (or any [1-4]) in Display->Variable->Single, but it didn't work. There is no error. I just see "" (Quotation Mark). I checked all connections and sensor really gives trigger signal to first pin of X33 socket or second pin of X23 socket. What can be the problem?
-
You have to activate it in WorkVisual.
Look for menu's like Options....propertiesor make it manually
C:\KRC\Roboter\Config\User\Common\Mada\KRCAxes.xml
delete the comments:
<!--MeasureChannel ID="1"/>
</MeasureChannels>should be:
<MeasureChannels>
<MeasureChannel ID="1"/>
<MeasureChannel ID="2"/>
<MeasureChannel ID="3"/>
<MeasureChannel ID="4"/>
<MeasureChannel ID="5"/>
<MeasureChannel ID="6"/>
<MeasureChannel ID="7"/>
<MeasureChannel ID="8"/>
</MeasureChannels> -
I corrected it manually, but...
it was only single line of code:
</MeasureChannels>I changed all to:
<MeasureChannels>
<MeasureChannel ID="1"/>
<MeasureChannel ID="2"/>
<MeasureChannel ID="3"/>
<MeasureChannel ID="4"/>
<MeasureChannel ID="5"/>
<MeasureChannel ID="6"/>
<MeasureChannel ID="7"/>
<MeasureChannel ID="8"/>
</MeasureChannels>But again it didn't work
-
I forgot to restart the KRC. Cold reboot did all trick. Thank you
-
The variable name is $MEAS_PULSE[1] ... [4]