Speed Output- Sped(64) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Special Instructions
5-28-10 SPEED OUTPUT– SPED(64)
SPED(64)
P
M
F
Limitations
Description
Port Specifier (P)
Output Mode (M)
1,2,3...
Ladder Symbols
@SPED(64)
P
M
F
F must be BCD, #0000 to #5000 when a port is specified, #0000 or #0002 to
#0100 when an output bit is specified.
DM 6144 to DM 6655 cannot be used for F.
SPED(64) can be used with the functions listed in the following table.
Unit/Board
Transistor Output Unit
Pulse I/O Board
SPED(64) is used to set, change, or stop pulse output from the specified port
or output bit. When the execution condition is OFF, SPED(64) is not executed.
When the execution condition is ON, SPED(64) sets the pulse frequency F for
the port or output bit specified by P. M determines the output mode.
Since SPED(64) has a relatively long execution time, the cycle time can be
reduced by executing the differentiated version (@SPED(64)) of this instruc-
tion only when it is needed.
Note Refer to 1-5 Pulse Output Function for more details.
The port specifier specifies the port or output bit where the pulses will be out-
put.
P
001
Port 1
002
Port 2
000 to
Output bits IR 10000 to IR 10015.
150
The first two digits of P specify which bit of IR 100 is the output bit and the
third digit of P is always set to 0. For example, P=000 specifies IR 10000,
P=010 specifies IR 10001, ... and P=150 specifies bit IR 10015.
The value of M determines the output mode.
M
000
Independent mode, frequency set in units of 10 Hz
001
Continuous mode, frequency set in units of 10 Hz
002
Independent mode, frequency set in units of 1 Hz (See note.)
003
Continuous mode, frequency set in units of 1 Hz (See note.)
Note Settings of 002 and 003 can be specified only for ports 1 and 2 of a Pulse I/O
Board (P=001 or P=002).
In independent mode, the pulse output will continue until one of the following
occurs:
1. The number of pulses specified by the PULS(65) instruction is reached.
(Execute PULS(65) before SPED(64) when specifying independent
mode.)
Operand Data Areas
P: Port specifier
001, 002, or 010 to 150
M: Output mode
F: Pulse frequency
IR, SR, AR, DM, EM, HR, LR, #
Function
Pulse outputs
Pulse outputs 1 and 2
Pulse output location
Output mode
Section 5-28
000 or 001
395

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents