![background image](http://html1.mh-extra.com/html/omron/cs1w-mc221/cs1w-mc221_operation-manual_742361106.webp)
79
Overview of Version 1 Upgrades
Section 1-12
Relationship to Bits/Flags
The relationships of the electronic gear/cam cancel function to control bits and
flags are described in the following table.
Application
Precautions
Be careful of the execution timing when using G code commands for synchro-
nized control functions in more than one task. There is only one E register,
E31, that is used in the G code commands for synchronized control functions.
When specifying the first position data address, be sure that another address
is not being specified in E31 in another task. Interlocking between tasks will
be necessary.
Application Example
N000 P000 X
N001 G54 X0
N002 G63 E31=1000 ................. Sets operand table from A1000.
N003 G63 A1000=1 ................... Electronic gear function
N004 G63 A1001=0 ................... Input axis = MPG
N005 G63 A1002=0 ................... Integrated axis = None
N006 G63 A1003=1 ................... Gear ratio numerator = 1
N007 G63 A1004=10 ................. Gear ratio denominator = 10
N008 G01 X(E31) ...................... Operating axis = X axis
N009 G63 A1010=X .................. Gets present position of X axis.
N010 G71 N009/A1010<20 ....... Waits until X axis is 20.
N011 G63 E31=1010 ................. Gets operands from A1010.
N012 G63 A1010=3 ................... Electronic gear/cam cancel operation
N013 G63 A1011=0 ................... Specifies electronic gear/cam cancel func-
tion for current operation.
N014 G01 X(E31) ...................... Executes electronic gear/cam cancel func-
tion for X axis.
N015 G79
1-12-1-5
Register Function (REGIST) (Hardware Latch of Present Position)
Overview
This function stores the present value of an axis at a position data address in
the MC Unit on the rising edge of a specified external signal (i.e., a general-
purpose input or phase Z). It is executed in the G-language program.
Hardware is used to latch and record the present position to enable highly
accurate compensation. This function can thus be used for accurate position
compensation, e.g., using marks printed on film.
G90/G91
None
G01 (E31) (elec-
tronic gear/cam func-
tion)
Canceled by the electronic gear/cam cancel function.
G code
Relationship to electronic gear/cam cancel function
Bit/Flag name
Relationship to electronic gear/cam cancel function
Forced Block End Bit The blocks before and after the electronic gear/cam cancel
function will be paused, but the G code command for the elec-
tronic gear/cam cancel function itself will not be ended.
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 ...