Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 762

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Applicable Program Areas
Operands
Operand Specifications
Block program areas
OK
OK
P: Port Specifier
The port specifier indicates the port. The parameters set in D and N will apply
to the next SPED(885) or ACC(888) instruction in which the same port output
location is specified.
P
0000 hex
Pulse output 0
0001 hex
Pulse output 1
0002 hex
Pulse output 2 (CP1H only)
0003 hex
Pulse output 3 (CP1H only)
0020 hex
Inverter positioning 0 (CP1L only)
0021 hex
Inverter positioning 1 (CP1L only)
T: Pulse Type
T specifies the type of pulses that are output as follows:
T
0000 hex
Relative
0001 hex
Absolute
N and N+1: Number of Pulses
N and N+1 specify the number of pulses for relative pulse output or the abso-
lute target position for absolute pulse in 8-digit hexadecimal.
15
N
Lower word with number of pulses
Upper word with number of pulses
N+1
Relative pulse output:
0 to 2,147,483,647 (0000 0000 to 7FFF FFFF hex)
Absolute pulse output:
2,147,483,648 to 2,147,483,647 (8000 0000 to 7FFF FFFF hex)
The actual number of movement pulses that will be output are as follows:
For relative pulse output, the number of movement pulses = the set number of
pulses. For absolute pulse output, the number of movement pulses = the set
number of pulses
the PV.
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Step program areas
Subroutines
OK
Port
Pulse type
0
P
T
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
Section 3-20
Interrupt tasks
OK
N
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A448 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
@ D0 to @ D32767
*D0 to *D32767
729

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents