EasyManua.ls Logo

Omron CJ2M-CPU Series - Page 133

Omron CJ2M-CPU Series
278 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7-23
7 High-speed Counters
CJ2M CPU Unit Pulse I/O Module User’s Manual
7-3 High-speed Counter Interrupts
7
7-3-1 Overview
z High-speed Counter Interrupts Settings
Click the I/O Module Tab and then click the Set Button in the High-speed Counter Settings Area. In the
High-speed Counter Detailed Settings Dialog Box, select the input pulse frequency for the Counter set-
ting parameter and set the counting mode, ring counter maximum value, reset method, pulse input
method, and other parameters.
Refer to 7-1-2 Application Procedure for details.
Application Procedure
1
Set the operation of the high-speed counters.
Select the required input pulse frequency from
the High-speed Counter Detailed Settings Dialog
Box that is accessed from the I/O Module Tab
Page of the PLC Setup using the CX-Program-
mer. Set the counting mode, reset method, pulse
input mode, and other parameters.
Input terminals IN02, IN03, IN06 to IN09, IN12,
IN13, and IN16 to IN19 can be used for high-
speed counters. These correspond to high-speed
counters 0 to 3.
2
Write a program for interrupt tasks 0 to 255.
Set the comparison values for the high-speed
counter and the interrupt tasks (0 to 255) to be
started using the CTBL(882) instruction.
Start the comparison using the INI(880) instruc-
tion. The comparison can be started simulta-
neously when registering the comparison values
using the CTBL(882) instruction.
Pulse I/O
Module No.
I/O Module Tab Page in PLC
Setup
Instruc-
tion
CTBL port
specifier (P)
Interrupt task
number
0 (on the right) High-speed counter 0 Select Use
Check Box.
CTBL(8
82)
#0000 0 to 255 (Speci-
fied by user.)
High-speed counter 1 #0001
1 (on the left) High-speed counter 2 #0002
High-speed counter 3 #0003
PLC Setup
PLC Setup
Create
ladder
program.
Interrupt task
Execution of CTBL and
INI Instructions for
Cyclic Task

Table of Contents

Other manuals for Omron CJ2M-CPU Series

Related product manuals