8-45
8 Pulse Outputs
CJ2M CPU Unit Pulse I/O Module User’s Manual
8-5 Defining the Origin
8
8-5-4 Origin Search Instructions
Execute the ORG(889) instruction in the ladder program to perform an origin search with the specified
parameters.
Precautions for Correct UsePrecautions for Correct Use
Limit Sensor Application
Create a program that can detect the limit sensor when performing an origin search.
The OUT instruction is used in the ladder program to write signals received from the CW limit
sensor and CCW limit sensor connected to normal inputs to the Auxiliary Area bits.
Bits Written in the Auxiliary Area
8-5-4 Origin Search Instructions
ORIGIN SEARCH (ORG(889)) Instruction
Auxiliary Area
bit
Name
Word Bit
A540 08 Pulse Output 0 CW Limit Input Signal Flag Signals received from external sen-
sors connected to normal inputs
must be written to the Auxiliary Area
bits in the user program.
09 Pulse Output 0 CCW Limit Input Signal Flag
A541 08 Pulse Output 1 CW Limit Input Signal Flag
09 Pulse Output 1 CCW Limit Input Signal Flag
A542 08 Pulse Output 2 CW Limit Input Signal Flag
09 Pulse Output 2 CCW Limit Input Signal Flag
A543 08 Pulse Output 3 CW Limit Input Signal Flag
09 Pulse Output 3 CCW Limit Input Signal Flag
ORG
P
C
P: Port specifier
Pulse output 0: 0000 hex
Pulse output 1: 0001 hex
Pulse output 2: 0002 hex
Pulse output 3: 0003 hex
C: Control data
Origin search and CW/CCW method: 0000 hex
Origin search and pulse + direction output method: 0100 hex
Normal input from
CW limit sensor
CW limit input signal
A540.08 to A543.08
Normal input from
CCW limit sensor
CCW Limit Input Signal
A540.09 to A543.09