Omron 3G3MV-P10CDT-E User Manual page 60

Programmable controller option board
Hide thumbs Also See for 3G3MV-P10CDT-E:
Table of Contents

Advertisement

Communication, Counter and Pulse
Ladder Diagram
Programming
The following table shows the instruction operations related to interrupt input
(counter mode) control.
Instruction
Control
(@)INT(89)
Refresh incrementing
counter SV
Refresh decrementing
counter SV
Mask all interrupts
Unmask all interrupts
(@)INI(61)
Change PV
(@)PRV(62)
Read PV
The functions related to input interrupts (counter mode) are executed accord-
ing to the data areas shown in the following table.
Word
Bits
240
00 to 15
SV area for input interrupt (counter mode) 0
241
00 to 15
SV area for input interrupt (counter mode) 1
242
00 to 15
SV area for input interrupt (counter mode) 2
243
00 to 15
SV area for input interrupt (counter mode) 3
244
00 to 15
PV area for input interrupt (counter mode) 0
245
00 to 15
PV area for input interrupt (counter mode) 1
246
00 to 15
PV area for input interrupt (counter mode) 2
247
00 to 15
PV area for input interrupt (counter mode) 3
Refresh Incrementing Counter SV / Refresh Decrementing Counter SV
These functions store the counter's set values in data areas and refresh them
by means of INT(89). In this way, they start the count operation for interrupt
inputs (counter mode) and they permit interrupts.
Storing Set Values in Data Areas
The counter's set values are stored in words 240, 241, 242, and 243.
SR 240
SR 241
SR 242
SR 243
Refreshes the counter's SV and starts the
incrementing count.
Refreshes the counter's SV and starts the
decrementing count.
Prohibits all interrupts, including interrupt
inputs, interval timer interrupts, high-
speed counters, etc.
Permits all interrupts, including interrupt
inputs, interval timer interrupts, high-
speed counters, etc.
Changes the counter's PV.
Reads the counter's PV.
Name
SV for interrupt input (count mode) 0: 0000 to FFFF
SV for interrupt input (count mode) 1: 0000 to FFFF
SV for interrupt input (count mode) 2: 0000 to FFFF
SV for interrupt input (count mode) 3: 0000 to FFFF
SECTION 4
Operation
Contents
Stores the
counter's set
value(SV) .
Stores the
counter's
present value
(PV).
47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3mv-p10cdt3-e

Table of Contents