Puls; Function Block Definitions; Usage; Operand - Omron CJ - INSTRUCTIONS Reference Manual

Table of Contents

Advertisement

PULS

Instruction
Mnemonic
SET PULSES
PULS
Symbol
Applicable Program Areas
Function block
Area
definitions

Usage

OK
Operands

Operand

P
Port specifier
T
Pulse type
N
Number of pulses
P: Port specifier
P
0000 hex
Pulse output 0
0001 hex
Pulse output 1
0002 hex
Pulse output 2 (CJ2M only)
0003 hex
Pulse output 3 (CJ2M only)
T: Pulse type
T
0000 hex
Relative
0001 hex
Absolute
N and N+1: Number of pulses
15
N
Lower word with number of pulses
N+1
Upper word with number of pulses
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.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
Variations
code
@PULS
886
Block program areas
Step program areas
OK
OK
Description
0
Function
PULS(886) is used to set the pulse output amount (number of out-
put pulses).
PULS
PULS(886)
P: Port specifier
P
T
T: Pulse type
N
N: Number of pulses
Subroutines
Interrupt tasks
OK
Port
Pulse type
3. Instructions
SFC action or transition
programs
OK
OK
Data type
Size
---
1
---
1
DINT
2
755
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents