Examples and tips
PROGRAMMING MANUAL
299
R
e
vi
si
o
n
1
.0
change happens. The limitation of manual triggering is that it requires user
interaction, which means that the start of tracing is not synchronized with the
movement that is analyzed. Also, with manual triggering the tracing range is
limited to 200 samples per channel.
Using the oscilloscope
The alternative, triggering by a program, does not have the limitations of
manual triggering of the tracing. Triggering by a program stores the axis and
system parameters in the memory of the TJ2-MC64. Later, the parameters
are given to the oscilloscope for graphical representation. The axis and
system parameters are stored in the Table memory. The memory range
used is defined by the parameters of the
SCOPE
command. When the
parameters are in the Table memory, the oscilloscope can be configured to
show a range of Table memory locations instead of axis and system
parameters. The exact moment when the tracing is started can be exactly
determined because it is controlled by the
TRIGGER
command. This means
the start of tracing is synchronized with the movement.There is no limitation
of 200 samples per channel, the oscilloscope shows as many samples
(Table entries) as configured in the
Oscilloscope Configuration
window.
Example
This section gives you a practical example on the use of the
SCOPE
and
TRIGGER
commands, and how to use them in combination with the
oscilloscope to monitor axis parameters and troubleshoot the system. For
more information on the
SCOPE
and
TRIGGER
commands, refer to
sections 3.2.260 and 3.2.294.
fig. 43
Suppose the motion system consists of two axis,
AXIS(0)
and
AXIS(1)
.
AXIS(0)
is the master axis. It makes a simple forward movement.
AXIS(1)
is
the slave axis. It must follow the master axis in accordance to cosine rule: