82
Overview of Version 1 Upgrades
Section 1-12
Relationship to Bits/Flags
The relationships of the register function to control bits and flags are
described in the following table.
Relationship to External
I/O
The relationships of the register function to external I/O are described in the
following table.
Application Example
N000 P000 X
N001 G63 E31=1000 .................Sets operand table from A1000.
N002 G63 A1000=4 ...................Register operation
N003 G63 A1001=1 ...................Register condition = General-purpose input
N004 G63 A1002=1005 .............Position data address for latched position
N005 G63 A1003=0 ...................Latch status
N006 G01 X(E31).......................Latch axis = X axis
N007 G71 N007/A1010 ! 1 .........Wait until latch is completed.
Etc.
Application
Precautions
• Do not use the register function with circular interpolation. The servo
cycle may be delayed, causing the operation time to be extended.
• Be careful of the execution timing when using G code commands for syn-
chronized control functions in more than one task. There is only one E
register, E31, that is used in the G code commands for synchronized con-
trol 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.
G01 (E31) (elec-
tronic gear/cam can-
cel function)
Register function cannot be canceled.
G01 (E31) (register
function)
Do not use the same input as the register function. Inputs may
be missed.
G code
Relationship to register function
Bit/Flag name
Relationship to register function
Forced Block End Bit The blocks before and after the register function will be
paused, but the G code command for the register function
itself will not be ended.
Origin Search Bit
Do not use the same input as the register function. Inputs may
be missed.
Bit/Flag name
Relationship to register function
General-purpose
input
Can be used a latch condition.
Phase Z input
Can be used a latch condition.
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 ...