![Omron CJ1G-CPUxx Instructions Manual Download Page 824](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491824.webp)
803
High-speed Counter/Pulse Output Instructions
Section 3-21
Description
ORG(889) performs an origin search or origin return operation for the port
specified in P using the method specified in C.
The following parameters must be set in the PLC Setup before ORG(889) can
be executed. Refer to the CJ-series Built-in I/O Operation Manual for details.
An origin search or origin return is started each time ORG(889) is executed. It
is thus normally sufficient to use the differentiated version (@ORG(889)) of
the instruction or an execution condition that is turned ON only for one scan.
■
Origin Search (Bits 12 to 15 of C = 0 hex)
ORG(889) starts outputting pulses using the specified method at the Origin
Search Initial Speed (1 in diagram). Pulse output is accelerated to the Origin
Search High Speed using the Origin Search Acceleration Rate (2 in diagram).
Pulse output is then continued at constant speed until the Origin Proximity
Input Signal turns ON (3 in diagram), from which point pulse output is deceler-
ated to the Origin Search Proximity Speed using the Origin Search Decelera-
tion Rate (4 in diagram). Pulses are then output at constant speed until the
Origin Input Signal turns ON (5 in diagram). Pulse output is stopped when the
Origin Input Signal turns ON (6 in diagram).
When the origin search operation has been completed, the Error Counter
Reset Output will be turned ON. The above operation, however, depends on
Timer Area
---
---
Counter Area
---
---
DM Area
---
---
EM Area without bank
---
---
EM Area with bank
---
---
Indirect DM/EM
addresses in binary
---
---
Indirect DM/EM
addresses in BCD
---
---
Constants
See description of operand.
See description of operand.
Data Registers
---
---
Index Registers
---
---
Indirect addressing
using Index Registers
---
---
Area
P
C
Origin search
Origin return
Origin Search Function Enable/Disable
Origin Search Operating Mode
Origin Search Operation Setting
Origin Detection Method
Origin Search Direction Setting
Origin Search/Return Initial Speed
Origin Search High Speed
Origin Search Proximity Speed
Origin Compensation
Origin Search Acceleration Rate
Origin Search Deceleration Rate
Limit Input Signal Type
Origin Proximity Input Signal Type
Origin Input Signal Type
Origin Search/Return Initial Speed
Origin Return Target Speed
Origin Return Acceleration Rate
Origin Return Deceleration Rate
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...