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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
0.00
3-20-5 SPEED OUTPUT: SPED(885)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
@CTBL
#0000
High-speed counter input 0
Register target comparison table
#0000
and start comparison
D100
SPED(885) is used to set the output pulse frequency for a specific port and
start pulse output without acceleration or deceleration. Either independent
mode positioning or continuous mode speed control is possible. For indepen-
dent mode positioning, the number of pulses is set using PULS(886).
SPED(885) can also be executed during pulse output to change the output
frequency, creating stepwise changes in the speed.
SPED(885)
P
M
F
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
P: Port Specifier
The port specifier specifies the port where the pulses will be output.
P
0000 hex
0001 hex
0002 hex
0003 hex
0020 hex
0021 hex
M: Output Mode
The value of M determines the output mode.
D100
0002
D101
01F4
D102
0000
D103
0001
D104
03E8
D105
0000
D106
0002
P: Port specifier
M: Output mode
F: First pulse frequency word
Step program areas
OK
Pulse output 0
Pulse output 1
Pulse output 2 (CP1H only)
Pulse output 3 (CP1H only)
Inverter positioning 0 (CP1L only)
Inverter positioning 1 (CP1L only)
Section 3-20
Two target values
Target value 1: 0000 01F4 hex (500)
Incrementing, Interrupt task number 1
Target value 2: 0000 03E8 hex (1000)
Incrementing, Interrupt task number 2
SPED(885)
@SPED(885)
Not supported
Subroutines
Interrupt tasks
OK
OK
Port
723

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents