Omron CP1H CPU Operation Manual page 317

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Pulse Outputs
ORIGIN SEARCH:
ORG(889)
MODE CONTROL: INI(880)
Note
ORG(889) performs an origin search or origin return operation. The required
PLC Setup parameters must be set before performing an origin search or ori-
gin return operation.
Origin Search
Positions the system to the origin based on the origin proximity input and ori-
gin input signals.
Origin Return
Returns the system from its present position to the pre-established origin.
ORG(889)
P
P: Port specifier
C
C: Control data
Operand
P
Port specifier
C
Con-
Bits 0 to 3
trol
Bits 4 to 7
data
Bits 8 to 11
Bits 12 to 15 Mode
In addition to the various interrupt and high-speed counter functions, INI(880)
can be used to change the pulse output PV or stop the pulse output.
This section explains the functions related to pulse outputs only. For details on
the INI(880) instruction's high-speed counter or interrupt functions, refer to 5-1
Interrupt Functions or 5-2 High-speed Counters.
INI(880)
P
P: Port specifier
C: Control data
C
NV
NV: First word of new PV
Operand
P
Port specifier
C
Control data
NV
First word of new PV
Contents
#0000: Pulse output 0
#0001: Pulse output 1
#0002: Pulse output 2
#0003: Pulse output 3
Not used. (Always 0 hex.)
Not used. (Always 0 hex.)
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
0 hex: Origin search
1 hex: Origin return
Contents
#0000: Pulse output 0
#0001: Pulse output 1
#0002: Pulse output 2
#0003: Pulse output 3
#1000: PWM output 0
#1001: PWM output 1
#0002: Change the PV.
#0003: Stop pulse output.
NV and NV+1 contain the new PV when changing the
PV. (N contains the rightmost 4 digits and N+1 con-
tains the leftmost 4 digits.)
00000000 to FFFFFFFF hex
Section 5-3
283

Advertisement

Table of Contents
loading

Table of Contents