49
Overview of Version 1 Upgrades
Section 1-12
Using Customized Functions
The following table shows how the customized functions are used.
Using IOWR Instructions in the Ladder Program to Make Settings
Overview
It is necessary to specify, by means of IOWR instructions (operand C: FFFF
hex) in the ladder program, whether or not each function is to be used.
To retain compatibility with earlier versions, the customized functions are ini-
tially set so that they cannot be used. For any particular function to be used,
the setting must be made specifically for that function.
The default settings are for none of the functions to be available for use after
powering up or restarting (i.e., they are all set to all-zeros). These settings can
be changed by selecting customized functions. The settings can be changed
only once after powering up or restarting. If an attempt is made to change
them more than once, an error will occur.
Note
With the virtual axis function, unlike the customized functions, each axis is
specified individually as a virtual axis using an IOWR instruction (operand C:
1840 hex) in the ladder program.
Settings
With the IOWR instruction, set FFFF hex for the control data (C) and write the
data to the MC Unit.
Function
Method of use
Set with IOWR instruction in ladder
program
Set with G language
Synchronized
control functions
Virtual axes
Set operand C to FFFF hex and turn
ON customized function selection bit
04 (the virtual axes, electronic gear,
electronic cam, electronic cam/gear
cancel function, and register function
enable bit).
Set the virtual axes with the IOWR
instruction.
Electronic gear func-
tion (CONNECT)
With G01, specify register E31 and set
1 at the beginning of the operand table.
Electronic cam func-
tion (CAMBOX)
With G01, specify register E31 and set
2 at the beginning of the operand table.
Electronic cam/gear
cancel function
(CANCEL)
With G01, specify register E31 and set
3 at the beginning of the operand table.
Register function
(present position
hardware latch func-
tion)
With G01, specify register E31 and set
4 at the beginning of the operand table.
Linked traverse function
Set operand C to FFFF hex and turn
ON customized function selection bit
00 (the linked traverse function enable
bit).
Write G32 (TRAVERSE) to multiple
blocks.
Memory link function
• Set operand C to FFFF hex and turn
ON customized function selection bit
01 (the memory link function enable
bit).
• Set operand C to 1838, 183A, 183C,
and 183E hex, and specify addresses
in the CPU Unit's I/O memory.
---
M code reset with program execution
stopped
Set operand C to FFFF hex and turn
ON customized function selection bit
02 (the bit to enable M code reset with
program execution stopped).
None
High-speed general-purpose output
function
Set operand C to FFFF hex and turn
ON customized function selection bit
03 (the high-speed general-purpose
output function enable bit).
For position data A1999, allocate
zones to general-purpose outputs.
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 ...