EasyManuals Logo
Home>Omron>I/O Systems>CJ1M-CPU21

Omron CJ1M-CPU21 User Manual

Omron CJ1M-CPU21
267 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #222 background imageLoading...
Page #222 background image
193
Built-in Outputs Section 7-1
7-1-2 Outputting Pulses after a Preset Delay
Specifications and Operation
This example program waits for a preset time (0.5 ms) after the interrupt input
(2960.03) goes ON and then outputs 100,000 pulses at 100 kHz from pulse
output 0.
The I/O interrupt task starts a scheduled interrupt with a scheduled time of
0.5 ms. The scheduled interrupt task executes the pulse output instruction
and stops the scheduled interrupt.
Instructions Used
MSKS(690) Enables the I/O interrupt. Starts the scheduled interrupt.
PULS(886) Sets the number of output pulses.
SPED(885) Starts the pulse output.
Preparation
PLC Setup Settings Built-in Input (IN3: 2960.03) Settings
MSKS
PULS SPED
Pulse output 0 (2961.00)
Interrupt input 3 (2960.03)
I/O interrupt
response time
Scheduled interrupt
time 500 µs
PLC Setup setting details Address Data
Use built-in inputs IN3 as an interrupt input. 060 1000 hex
Do not use high-speed counter 0. 050 0000 hex
Disable origin search function for pulse output 1. 274 0000 hex

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ1M-CPU21 and is the answer not in the manual?

Omron CJ1M-CPU21 Specifications

General IconGeneral
BrandOmron
ModelCJ1M-CPU21
CategoryI/O Systems
LanguageEnglish

Related product manuals