"Kasparov, Aram" <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I have problem with Halscope.
>
> Tried used them for the tune-up servomotor.
> I used Axis interface.
> Reset machine F1 +F2.
> Click on button âMachineâ choosed Hal Scope.
> Instantly opened two boxes:
> 1. Hal oscilloscope
> 2. Select Sample Rate
> In Select Sample Rate I choose traj-thread 10.0 mSec and 4047
> samples (4channels) ans click OK.
You should probably be using the servo thread for tuning.
> The box Select Sample Rate disappeared after I click OK.
> In Hal oscilloscope I choose channel 1.
> Box Select Channel Source opened.
> I got options 3 buttons Pins Signals and Parameters
> I choose Signals
>
> And I can see in box:
> EstopSense
> EstopWrite
> FloodON
> LubeLewel
> LubeON
snipped list of all signals in the machine configuration
For tuning you want to view commanded position, position
error feedback, position error, and PID output. The exact
signals depend on your configuration and the axis you want
to tune, but for example:
sig Xpos-cmd (position command)
sig Xpos-fb (position feedback)
pin pid.0.error (position error)
sig Xoutput (PID loop output)
Unfortunately, it is very difficult to explain PID tuning,
it is an iterative process where you change a gain, observe
the result, change again, etc, constantly trying to get
better results. "Better" is hard to explain in words.
> In the manual I can see that Signals button delivers
> absolutely different signals, such as
>
> Siggen1.cosine
> Siggen1sine
> Siggen1.square
> Siggen1triangle
>
> So, my question is why HalScope on my computer deliver
> different signals when I click on Signal button in compare
> with what manual said?
Because the manual shows an EXAMPLE!!!!
The lists of pins, parameters, and signals show you whatever
items you have in your HAL configuration. The manual example
is a simple tutorial which contains only a few components, so
it the list of signals is quite short. When you are running
a complete EMC configuration the list is differnet and much
longer. If your configuration included additional items such
as toolchangers, coolant control, limit switches, etc, then
there would be even more items in the list.
> Continue.
>
> I click on Xenable, box Select Channels Source closed.
>
> I click on Normal, loader loaded to half. I click on Force in
> Trigger column and loader filled up.
>
> Yellow line appeared on the middle of the screen of the Hal
> Scope. At the same time loader again loaded up to 50%.
The yellow line is the value of the signal Xenable. It is a
simple straight line because the Xenable signal turns on when
you turn the machine on (F2) and turns off when you turn the
machine off. The rest of the time it is either constantly
on or constantly off.
> I start motor make machine move homing , but I can't see
> anything close that I can see in manual.
You need to understand that HalScope is just a tool, like a real
oscilliscope. It shows you what is going on in the system. The
reason it shows different things in the example compared to on
your real machine is because different things are happening.
You will NEVER see something that looks exactly like the
example, unless you are running the example (which might
not be a bad idea - go through the tutorial step by step
and you should see the same results as shown in the manual).
If you want to see anything interesting when you jog or home
your machine, you need to look at a signal that changes when
you move the axis - for example, Xpos-cmd. You also need to
trigger the scope while the axis is moving, either manually
with the Force button, or by putting it in Auto mode where it
triggers itself every few seconds, or by selecting a trigger
source signal and trigger level.
> I need help to understand such deferens between hal scope in
> manual and real situation in hal scope in my computer.
If you don't already know what an oscilliscope is and how to
use one, we are not going to be able to teach you on a mailing
list. The HalScope tutorial assumes that you already understand
the basic concepts of an oscilliscope, and simply need to learn
how to use the HAL version.
You need at least a minimal understanding of concepts like
horizontal and vertical scaling, triggering, etc, to make
effective use of ANY oscilliscope.
You also need to understand the difference between a simple
tutorial and the actual application of a test instrument on
a real system.
If you have never used any form of oscilliscope before, I
suggest googling for "oscilliscope basics" or similar, and
reading a bit.
Good luck,
John Kasunich
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users