Omron trajexia CJ1W-MCH72 Operation Manual page 269

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-250 UNITS
4-2-251 UNLOCK
4-2-252 UNTIL
258
Example
The following example assumes that no location higher than 1000 has
been written to the TABLE array.
>> TABLE(1000,3400)
>> PRINT TSIZE
1001.0000
See also
DEL, NEW, TABLE.
/i
Type
Axis parameter
Syntax
UNITS
Description
The UNITS parameter contains the unit conversion factor. The unit con-
version factor enables the user to define a more convenient user unit
like m, mm or motor revolutions by specifying the amount of encoder
edges to include in a user unit.
Axis parameters like speed, acceleration, deceleration and the Axis
commands are specified in these user units.
Note: The UNITS parameter can be any non-zero value, but it is recom-
mended to design systems with an integer number of encoder pulses
per user unit. Changing UNITS will affect all axis parameters which are
dependent on UNITS in order to keep the same dynamics for the sys-
tem.
Arguments
N/A
Example
A leads crew arrangement has a 5mm pitch and a 1,000-pulse/rev
encoder. The units must be set to allow moves to be specified in mm.
The 1,000 pulses/rev will generate 1,000 x 4 = 4,000 edges/rev. One rev
is equal to 5mm. Therefore, there are 4,000/5 = 800 edges/mm. UNITS
is thus set as following.
>> UNITS = 1000*4/5
See also
AXIS, ENCODER_RATIO.
See
.
LOCK
See
.
REPEAT..UNTIL
Section 4-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents