71
Overview of Version 1 Upgrades
Section 1-12
Stroke Ratio Extraction
The cam angle is taken as a search key, and a dichotomizing search is made
of the cam table. If there is matching data, the stroke ratio is obtained.
If there is no matching data in the cam table, an interpolation value is found
from the previous and subsequent data. The following equation is used to cal-
culate the interpolation value.
y = (y2
−
y1)
×
(x
−
x1)/(x2
−
x1) + y1
Note
The division results are truncated.
x is the present cam angle (value in degrees
×
10,000), and y is the target
stroke ratio (factor
×
10,000).
x1 is the previous cam angle (value in degrees
×
10,000) in the cam table.
x2 is the subsequent cam angle (value in degrees
×
10,000) in the cam table.
y1 is the previous stroke ratio (factor
×
10,000) in the cam table.
y2 is the subsequent stroke ratio (factor
×
10,000) in the cam table.
Operating Axis Position
The relative position of the operating axis is found.
Operating axis relative position [p] =
±
Stroke width [p]
×
Stroke ratio
[Factor
×
10,000] / 10,000
Operating Axis Speed
The operating axis speed is found.
Operating axis speed [p/2 ms] = Operating axis relative position [p]
−
Previous operating axis relative position [p]
When rotations occur with unlimited axis processing (A) for the input axis, the
following is added and feed cam operation is used.
Cam angle 360
°
stroke ratio
×
stroke width [p]
−
Cam angle 0
°
stroke
ratio
×
stroke width [p]
×
Rotation speed
Relationships to Other G
Codes
The relationships of the electronic cam function to other G codes are
described in the following table. For information on G codes, refer to the
SEC-
TION 7 G-language Programming
.
G code
Relationship to electronic cam function
G00/G26/G27/G28/
G30/G31
In Stop Mode
When repeat is set as the end condition, the electronic cam
operation does not end, so these G codes cannot be exe-
cuted.
In Pass Mode or In-position Check Off Mode
If any of these G codes is executed while electronic cam func-
tion is being preread, execution will wait until the electronic
cam function is ended.
G01/G02/G03/G32
G04/G29/G54/G79
Independent instruc-
tions, M000 to M999
D000 to D255
G17/G18/G19/G20/
G21/G22
None
G50/G51/G53
Not related. The electronic cam function is unrelated to the
coordinate system.
G60/G63
None
G69
Parameters changed by G69 are also valid for the electronic
cam function. If G69 is executed while the electronic cam
function is being preread in Pass Mode or In-position Check
Off Mode, changes by G69 are reflected immediately.
G70/G71/G72/G73
None
Summary of Contents for CS1W-MC221 -
Page 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Page 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 11: ...xii ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Page 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Page 227: ...200 Command Area Section 3 6 ...
Page 351: ...324 Interface Specifics Section 5 4 ...
Page 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Page 575: ...548 Error Log Section 12 6 ...
Page 589: ...562 Performance Appendix A ...
Page 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Page 683: ...656 Origin Search Patterns Appendix F ...
Page 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...