Omron SYSMAC CJ Series User Manual page 102

Sysmac cj series cpu unit pulse i/o module
Hide thumbs Also See for SYSMAC CJ Series:
Table of Contents

Advertisement

6 Interrupts
Specifying to Detect ON or OFF
There are the following two ways to set whether to start the interrupt on OFF transitions or ON transi-
tions in the input.
• PLC Setup: The setting is always updated when the CPU Unit is changed from PROGRAM mode to
RUN mode.
• MSKS(690) instruction: The setting can be changed during operation.
Using Software Latches
The PV of a pulse output or high-speed counter can be latched when the interrupt input that starts the
interrupt task is received. The latched value is stored in the Auxiliary Area.
Pulse I/O
Module No.
0 (on the right) IN00
1 (on the left)
Application Procedure
Set the terminals to use for interrupts as interrupt inputs.
(1) Select the PV to read.
Set the edge setting in the PLC Setup to specify whether to read the PV on an ON transition
or OFF transition.
(2) Execute the MSKS(690) instruction to enable the interrupt input.
Refer to page 6-11 for the settings for MSKS(690).
Additional Information
The power supply must be restarted after the PLC Setup is transferred in order to validate the
software latch settings.
6-8
Correspond-
Terminal
ing bit
symbol
address
CIO 2960.00
IN01
CIO 2960.01
IN02
CIO 2960.02
IN03
CIO 2960.03
IN10
CIO 2962.00
IN11
CIO 2962.01
IN12
CIO 2962.02
IN13
CIO 2962.03
Interrupt task
Function
number
Interrupt input 0
140
Interrupt input 1
141
Interrupt input 2
142
Interrupt input 3
143
Interrupt input 4
144
Interrupt input 5
145
Interrupt input 6
146
Interrupt input 7
147
CJ2M CPU Unit Pulse I/O Module User's Manual
Latched PV storage words
A10145 (upper digits) and
A10144 (lower digits)
A10147 (upper digits) and
A10146 (lower digits)
A10149 (upper digits) and
A10148 (lower digits)
A10151 (upper digits) and
A10150 (lower digits)
A10153 (upper digits) and
A10152 (lower digits)
A10155 (upper digits) and
A10154 (lower digits)
A10157 (upper digits) and
A10156 (lower digits)
A10159 (upper digits) and
A10158 (lower digits)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj2m-cpu seriesSysmac cj2m-md21 series

Table of Contents