
416
Basic Program Examples
Section 11-2
These Work Area bits are used to show the progress of function execution
and the execution status.
Holding Area (HR Area)
H1.00
This bit is used as a switch to indicate whether positioning is performed with
ABSOLUTE MOVEMENT or RELATIVE MOVEMENT.
Timer Area
TIM0003
Used as a watchdog timer to monitor the positioning operation.
This sample program starts Axis 1 positioning when the Positioning execution
condition goes ON.
The position command value must be set to the target position and the speed
command value must be set to the target speed in the Axis Operating Output
Memory Area before executing this sample program.
At this point, the ON/OFF status of HR1.00 determines whether the position-
ing is executed with RELATIVE MOVEMENT (HR1.00 OFF) or ABSOLUTE
MOVEMENT (HR1.00 ON).
If axis 1 positioning is not completed within 10 seconds after completion of
sending the positioning command, i.e., after pulse distribution is completed, a
Positioning Timeout will occur and bit W201.03 will be turned ON for one
cycle.
The target position can be changed during an Absolute Movement or Relative
Movement positioning operation by setting a new position command value
and turning ON the ABSOLUTE or RELATIVE MOVEMENT Bit. Torque limits
can also be enabled/disabled during positioning by turning ON/OFF the for-
ward and reverse rotation current limit bits in the Axis Operating Output Mem-
ory Area and turning ON the ABSOLUTE or RELATIVE MOVEMENT Bit.
This sample program allows the target position to be changed during an oper-
ation by turning the execution condition OFF and then ON again.
A Multistart Error will occur if a Movement command is sent while the PCU's
Receiving Command Flag is already ON, so the Receiving Command Flag is
ANDed with the Positioning execution condition (in the W201.00 output cir-
cuit). An OR circuit containing the ABSOLUTE MOVEMENT Bit and RELA-
TIVE MOVEMENT Bit has been added so that the W201.00 is not output
again when the Receiving Command Flag goes from ON to OFF.
The target speed can be changed sequentially during operation by overwriting
the speed command value in the Axis Operating Output Memory Area.
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 ...