8 Pulse Outputs
8-52
CJ2M CPU Unit Pulse I/O Module User’s Manual
The present value of the pulse output can be changed by using the INI(880) instruction. To define the
present value as the origin, set the pulse output PV to 0 using the INI(880) instruction.
z Example: Setting the Present Position as the Origin
Connect a Servo Drive and execute an origin search based on the Servomotor's built-in encoder phase-
Z signal and an origin proximity input signal.
• Operation Mode: 1
(Uses the Servomotor encoder's phase-Z signal as the origin input signal.)
• Origin Search at Limit Input: 0
(Sets reverse mode 0. Reverses direction when the limit input signal is input in the origin search
direction.)
• Origin Detected after Prox Input: 0
(Reads the origin input signal after the origin input signal goes OFF→ON→OFF.)
• Search Direction: CW
8-5-7 Changing the PV of the Pulse Output
Operand Setting
P Port specifier #0000 Pulse output 0
#0001 Pulse output 1
#0002 Pulse output 2
#0003 Pulse output 3
C Control data #0002 Changes the PV.
NV First word with new PV Store the new PV in NV and NV+1 (32 bits).
8-5-8 Application Example
Operation
Parameter Settings
Pulse output
INI Instruction
Pulse output
PV
New PV
Current PV
D100
D101
#0000
#0002
D100
@INI
15
0
#0 0 0 0
#0 0 0 0
Execution condition
P: Port specifier, Example: Pulse output 0
C: Control data: Change PV
NV: First word with new PV