
414
Basic Program Examples
Section 11-2
In these examples, the origin search is performed on the Servo Drive regis-
tered as axis 1.
The Axis Operating Output/Input Memory Areas are based on the settings of
the Common Parameter Area, as shown below. The application example in
11-3-1 Initial PCU Settings
shows a sample program that can be used to
make the following settings.
Beginning word of Axis Operating Output Memory Area: CIO 0000
(Axis 1 Operating Output Memory Area: CIO 0000 to CIO 0024)
Beginning word of Axis Operating Input Memory Area: CIO 1000
(Axis 1 Operating Input Memory Area: CIO 1000 to CIO 1024)
This sample program uses the following parts of the CPU Unit's I/O memory
in addition to the CIO Area words listed above.
Work Area (WR Area)
W350.00 to W350.02
These Work Area bits are used to show the progress of function execution
and the execution status.
Timer Area
TIM0002
Used as a watchdog timer to detect an origin search timeout error.
This sample program starts an origin search on axis 1 when the Origin Search
execution condition goes from OFF to ON. The speed command value and
origin search speed must be set in advance in the Axis 1 Operating Output
Memory Area before executing this sample program.
If the Axis 1 origin is not established within 10 seconds after the origin input
signal is detected and the
Final Travel Distance to Return to Zero Point
posi-
tioning is performed, the Origin Search Timeout will occur and W305.02 will
be turned ON for one cycle.
Summary of Contents for CJ1W-MA - REV 10-2008
Page 3: ...iv ...
Page 5: ...vi ...
Page 21: ...xxii ...
Page 57: ...30 Starting Operation Section 2 2 ...
Page 97: ...70 Wiring Section 3 4 ...
Page 247: ...220 Transferring Servo Parameters Section 5 3 ...
Page 281: ...254 Standard Settings for Servo Drives Using MECHATROLINK Section 6 4 ...
Page 343: ...316 Absolute Encoder Origin Section 8 6 ...
Page 375: ...348 Linear Interpolation Section 9 7 ...
Page 423: ...396 DEVIATION COUNTER RESET Section 10 10 ...
Page 631: ...604 Additional Functions for the CJ1W NCF71 MA Appendix F ...
Page 641: ...614 Index ...
Page 643: ...616 Revision History ...