![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585256.webp)
All BASIC commands
Section 4-2
244
4-2-215 SCOPE_POS
/i
Arguments
•
control
Set on or off to control
SCOPE
execution. If turned on the
SCOPE
is
ready to run as soon as the
TRIGGER
command is executed.
•
period
The number of servo periods between data samples.
•
table_start
The address of the first element in the TABLE array to start storing
data.
•
table_stop
The address of the last element in the TABLE array to be used.
•
P0
First parameter to store.
•
P1
Optional second parameter to store.
•
P2
Optional third parameter to store.
•
P3
Optional fourth parameter to store.
Example
SCOPE(ON,10,0,1000,MPOS AXIS(1),DPOS AXIS(1))
This example programs the
SCOPE
function to store the
MPOS
param-
eter for axis 1 and the
DPOS
parameter for axis 1 every 10 servo
cycles. The
MPOS
parameter will be stored in TABLE locations 0 to
499; the
DPOS
parameters, in TABLE locations 500 to 999. The
SCOPE
function will wrap and start storing at the beginning again
unless stopped. Sampling will not start until the
TRIGGER
command is
executed.
Example
SCOPE(OFF)
This above line turns the scope function off.
See also
SCOPE_POS
,
TABLE
,
TRIGGER
.
Type
System parameter (read-only)
Syntax
SCOPE_POS
Description
The
SCOPE_POS
parameter contains the current TABLE position at
which the
SCOPE
command is currently storing its parameters.
Arguments
N/A
Example
No example.
See also
SCOPE
.
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...