150
Program Example 2
The following example is for absolute operation.
DIFU(13)
R1
n+5
01
n+5 01
Origin Search BIt
n+16 00
n+11 03
Manual
Mode Flag
Task
Error
Flag
n+11 00
n+16 02
Servo Lock
ON Flag
OUT
(Starts the
origin
search.)
Auxiliary
Area Bit
R1
Origin Search condition
Reference
origin
6-5-19 Word n+5 Bit 02: Reference Origin Return Bit (X-axis)
This bit is used to move the X-axis to the origin of the reference coordinate sys-
tem using PTP control. The positioning will begin when the Reference Origin
Return Bit goes from OFF to ON (up-differentiation). The maximum high-speed
feed rate, acceleration time, and deceleration time are used during the opera-
tion.
An override (0.1% to 100.0%) can be applied with the manual origin return. An
error will occur if this bit is turned ON but the mechanical origin hasn’t been fixed.
This bit is ignored if the Busy Flag is ON. Keep this bit ON until the Reference
Origin Flag is turned ON.
The Reference Origin Return Bits for the Y axes (bit 02 in word n+7) operate in
the same way.
Signal
The Reference Origin Return Bit settings have the following functions.
Signal
Function
↑
(OFF-to-ON)
Starts the origin return.
↓
(ON-to-OFF)
Stops the origin return if it is in progress.
Timing Chart
20 ms
min.
20 ms
min.
Axis operation
Busy Flag
(n+16 bit 01)
Origin return
Reference Origin
Return Flag (n+5
bit 02)
Reference Origin Flag
(n+16 bit 00)
Interface Bit Specifics
Section 6-5
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......