![Omron CJ1W-MA - REV 10-2008 Скачать руководство пользователя страница 426](http://html1.mh-extra.com/html/omron/cj1w-ma-rev-10-2008/cj1w-ma-rev-10-2008_operation-manual_742343426.webp)
399
Basic Program Examples
Section 11-2
Installation and
Wiring
Install and wire the devices according to the directions in
SECTION 3 Installa-
tion and Wiring
.
Connect a 24-VDC control input power supply for the Servo Drive's I/O signals
and connect normally closed switches/sensors for the positive and negative
overtravel inputs (forward drive prohibited and reverse drive prohibited sig-
nals).
Also, when an origin search operation is to be executed, connect a normally
open switch/sensor for the origin proximity input signal (origin return decelera-
tion LS).
11-2 Basic Program Examples
This section provides sample ladder programs related to the PCU's basic
functions.
11-2-1 Transferring PCU Parameters
Overview
The parameters set in the PCU (Common Parameters and Axis Parameters)
can be transferred to and from the CPU Unit's EM Area using the READ DATA
Bit and WRITE DATA Bit.
Also, the parameters that have been written to the PCU can be saved to the
PCU's internal flash memory using the SAVE DATA Bit.
These sample programs use the following parts of the CPU Unit's I/O mem-
ory.
CPU Bus Unit Area
CIO 1500 to CIO 1524
These word addresses are contained in the CPU Bus Unit Area words allo-
cated to unit number 0.
Data Memory Area (DM Area)
D10000 to D10039
These words contain the write data when writing or the read data when read-
ing.
In this sample program, 40 words of data are written and read, and D10000 is
specified as the starting word, so D10000 to D10039 are used.
Work Area (WR Area)
Writing data: W300.00 to W300.06
Reading data: W301.00 to W301.06
Saving data:
W302.00 to W302.06
These Work Area bits are used to show the progress of function execution
and the execution status.
Writing Data
Use the WRITE DATA Bit in the Common Operating Memory Area to write the
write data prepared in the DM Area of the CPU Unit to the PCU.
When the execution condition for the write operation goes ON, the 40 words
of write data (preset in the CPU Unit's DM Area starting at D10000) are trans-
ferred to the PCU's internal memory starting at address 1838 hex.
When the data has been written, W300.05 is turned ON for one cycle.
Содержание CJ1W-MA - REV 10-2008
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 21: ...xxii ...
Страница 57: ...30 Starting Operation Section 2 2 ...
Страница 97: ...70 Wiring Section 3 4 ...
Страница 247: ...220 Transferring Servo Parameters Section 5 3 ...
Страница 281: ...254 Standard Settings for Servo Drives Using MECHATROLINK Section 6 4 ...
Страница 343: ...316 Absolute Encoder Origin Section 8 6 ...
Страница 375: ...348 Linear Interpolation Section 9 7 ...
Страница 423: ...396 DEVIATION COUNTER RESET Section 10 10 ...
Страница 631: ...604 Additional Functions for the CJ1W NCF71 MA Appendix F ...
Страница 641: ...614 Index ...
Страница 643: ...616 Revision History ...