Set Pulses -- Puls - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

7-26-5 SET PULSES - - PULS(65)
PULS(65)
P
C
N
Limitations
Description
Ladder Symbols
@PULS(65)
P
C
N
This instruction is supported by the CPM1A and CPM2A/CPM2C PCs with
transistor outputs only.
N and N+1 must be in the same data area.
DM 6144 to DM 6655 cannot be used for N.
PULS(65) is used to set the number of pulses for pulse outputs that are started
later in the program using SPED(64) or ACC(----). The number of pulses set with
PULS(65) are output in independent mode.
The number of pulses cannot be changed while pulses are being output. In gen-
eral, PULS(65) should be executed just once each time that the number of
pulses needs to be set; use the differentiated variation (@PULS(65)) or an input
condition that is ON for just one cycle.
Note Refer to 2-5 Pulse Output Functions for more details.
Port Specifier (P)
The port specifier indicates the pulse output location. The parameters set by the
in C and N will apply to the next SPED(64) or ACC(----) instruction in which the
same port output location is specified.
P
000 Single-phase pulse output 0 without acceleration or deceleration (output
01000) or single-phase pulse output 0 with trapezoidal acceleration and decel-
eration (outputs 01000 and 01001)
010 Single-phase pulse output 1 without acceleration or deceleration (output
01001)
This setting is supported by CPM2A/CPM2C PCs only.
Control Data (C)
The control data determines the type of pulses (relative or absolute).
C
000 Relative pulse specification
001 Absolute pulse specification (Valid only when the absolute coordinate system
is being used.)
This setting is supported by CPM2A/CPM2C PCs only.
Number of Output Pulses (N+1 and N)
N+1 and N contain the 8-digit BCD number of output pulses setting for indepen-
dent mode pulse outputs. The number of output pulses can be --16,777,215 to
16,777,215. Bit 15 of N+1 acts as a sign bit; the number is negative if bit 15 is ON,
positive if it is OFF.
Positive: 0 to +16,777,215 (0000 0000 to 1677 7215)
Negative: --16,777,215 to 0 (9677 7215 to 8000 0000)
N+1 contains the leftmost 4 digits and N contains the rightmost 4 digits.
Operand Data Areas
P: Port specifier
000 or 010
C: Control data
000 or 001
N: Number of pulses
IR, SR, AR, DM, HR, LR
Pulse output location(s)
Pulse type
Section
7-26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents