Changing The Pv Of The Pulse Output; Application Example - Omron SYSMAC CJ Series User Manual

Sysmac cj series cpu unit pulse i/o module
Hide thumbs Also See for SYSMAC CJ Series:
Table of Contents

Advertisement

8 Pulse Outputs
8-5-7

Changing the PV of the Pulse Output

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.
INI Instruction
New PV
Example: Setting the Present Position as the Origin
Execution condition
Operand
P
Port specifier
C
Control data
NV First word with new PV
8-5-8

Application Example

Operation
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.
Parameter Settings
• 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-52
Pulse output
Current PV
@INI
P: Port specifier, Example: Pulse output 0
#0000
C: Control data: Change PV
#0002
NV: First word with new PV
D100
D100
D101
#0000
Pulse output 0
#0001
Pulse output 1
#0002
Pulse output 2
#0003
Pulse output 3
#0002
Changes the PV.
Store the new PV in NV and NV+1 (32 bits).
Pulse output
PV
15
0
#0 0 0 0
#0 0 0 0
Setting
CJ2M CPU Unit Pulse I/O Module User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj2m-cpu seriesSysmac cj2m-md21 series

Table of Contents