EasyManuals Logo

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 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 #127 background imageLoading...
Page #127 background image
102
Pulse I/O Board Section 2-2
Using PRV(62)
PRV(62) is used to read the PVs of high-speed counters 1 and 2. Specify
high-speed counter 1 or 2 in P (P=001 or 002).
The PV of each high-speed counter is stored as shown below. In Linear Mode,
the leftmost bit will be F for negative values.
Note The PV can be read accurately at the time PRV(62) is executed.
Changing the PV
There are two ways to change the PV of high-speed counters 1 and 2.
Resetting to 0 using one of the reset methods
Using INI(61)
The method using INI(61) is explained here. Refer to Reset Methods on
page 71 for an explanation of the use of the reset methods.
Changing the PV with INI(61)
Change the PV of high-speed counters 1 and 2 by using INI(61) as shown
below.
To specify a negative number in Linear Mode, set F Hex in the leftmost digit.
Reading Status of High-speed Counters 1 and 2
There are 2 ways to read the status of high-speed counters 1 and 2:
Reading the relevant flags in the AR area of the CQM1H
Using PRV(62)
Reading the Relevant AR Area Flags
The CQM1H data words relating to high-speed counters 1 and 2 are shown
below. It is possible to know the status of high-speed counters 1 and 2 by
reading these words.
Inner Board Error Codes
(@)PRV(62)
P
000
D
P: Port
001: Port 1
002: Port 2
D: First destination word
Leftmost four digits Rightmost four digits Linear Mode Ring Mode
D+1 D F8388608 to 08388607
(
8,388,608 to 8,388,607)
00000000 to 0006499
Word Bits Function
AR 04 08 to 15 Slot
2
The stored error codes are as follows:
00 Hex: Normal
01, 02 Hex: Hardware error
03 Hex: PC Setup error
(@)INI(61)
P
002
P1
P: Port
001: Port 1
002: Port 2
P1: First PV word
Leftmost four digits Rightmost four digits Linear Mode Ring Mode
P1+1 P1 F8388608 to 08388607 00000000 to 0006499

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CQM1H - PROGRAM Specifications

General IconGeneral
I/O CapacityUp to 512 points
Power Supply100 to 240 VAC, 50/60 Hz or 24 VDC (depending on model)
Instruction SetBasic and advanced instructions
Operating Temperature0 to 55°C
Program Capacity7.2K to 15.2K steps
Communication PortsRS-232C
Expansion SlotsUp to 3 expansion units
TypeProgrammable Logic Controller (PLC)
CPU TypeRISC
Program Memory7.2K to 15.2K steps
I/O Points512 max
Expansion CapabilityUp to 3 expansion units
Data MemoryRAM (battery backup)

Related product manuals