
93
Key sequence:
Programming Console Display:
10005 c106
^ OFF 5000
10005 c106
^ OFF 1501
c106
1501
4–7
RESET ORIGIN
The origin is simply the point which is designated as 0 at any given time. You
can redefine it whenever you wish by using RESET ORIGIN. When the pro-
gram turns ON the RESET ORIGIN command bit, bit 08 of word n (effective
on signal’s rising edge), it redefines the present position as the origin.
Execution Example
1
0
1
0
1
0
1
0
Busy for 1 scan time
Present position changed to 0
RESET ORIGIN
IR n, bit 08
At-origin flag
IR n+5, bit 02
No-origin flag
IR n+5, bit 11
Busy flag
IR n+5, bit 12
Present position
IR n+8 and n+9
4–8
TEACH
There may be cases where you want to teach your control system a particu-
lar operation by leading it through the motions. In such cases, you can use
TEACH to write the present position as the target position for a designated
positioning action.
When the origin and present position are defined (i.e., when the no-origin flag
is OFF), you can use TEACH to write the present position as fixed data into
the C200H PC’s DM area available for use by Special I/O Units. TEACH is
executed by turning ON the TEACH command bit, bit 09 of IR word n. Data is
set as absolute positions, and not as increments. TEACH can be executed
within a single scan. The following diagram uses Unit #10 as an example.
TEACH