51
Overview of Version 1 Upgrades
Section 1-12
Execution Results
With normal completion, after the IOWR instruction has been executed the
Equals Flag turns ON and the selected functions are enabled. Under the fol-
lowing conditions the operation will not be completed normally.
• If an intelligent transfer requested immediately before has not been com-
pleted.
• If the Teaching Box is in Enabled Mode or Occupy Mode.
• If a number other than 3 is specified as the number of words to be trans-
ferred.
• If the data in words S+0 and S+1 is not correct.
• If executed more than once after powering up or restarting.
The other Condition Flags operate the same as for other addresses used for
IORD/IOWR in the MC Unit. (Refer to
Flags on page 210
.)
If an attempt is made to change the settings more than once after powering
up or restarting, an IOWR instruction formatting error will occur.
Application Example
Application Precautions
Set customized function selection bits 05 to 15 to 0 to prevent malfunctioning
in the future when new functions are added for these bits.
It is recommended that this function be executed first after the MC Unit is pow-
ered up or restarted. If it is executed while an operation related to the function
to be enabled is in progress, the function will be enabled in the middle of the
operation and may have an undesired effect.
Using G Language to Make Settings (Synchronized Control Functions Only)
When a synchronized control function (i.e., virtual axes, electronic gear, elec-
tronic cam, electronic cam/gear cancel function, or register function) is used,
normally G01 (the G code for linear interpolation commands) is used, and
register E31 is specified (indirectly specifying a position data address from
register E31 as the operand).
At the beginning of the indirectly specified operand table, specify which of the
synchronized control functions is to be used.
Specifically, use G63 (SUBSTITUTION) and the G01 operating axis (E31) as
follows:
Example: Electronic Gear Function
G63 E31 = 1000 ······Sets the operand table from A1000.
G63 A1000 = 1·······Sets 1000 to 1 (electronic gear function) at the beginning
of the operand table.
IOWR
#FFFF
D00000
#00030000
A20011
R1
R2
R1
R2
C
S
D
MOVL
#FBE5341AC
D00000
MOV
#0010
D00002
15
0
0
D00000
4
1
A
C
D00001 B
E
5
3
D00002
0
07
06
05
04
03
02
01
00
0
0
0
1
0
0
0
0
=
First Cycle
Flag
Writes 41AC hex to
D00000, and BE53 to
D00001.
Transfer source data
Bits 00 to 04: Customized function selection bits
Bit 00: Linked traverse function (not used)
Bit 01: Memory link function (not used)
Bit 02: M code reset with memory
operation stopped
Bit 03: High-speed general-purpose
output function (not used)
Bit 04: Synchronized
control functions (used)
Writes 0010 hex to D00002.
Turns ON customized function
selection bit 04 (synchronized
control functions). The other
functions are turned OFF and
not used.
Specifies FFFF hex for the
control data, and writes the
customized function usage
selections to the MC Unit
(example: Unit #0).
S:
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...