EasyManua.ls Logo

Omron CQM1H - PROGRAM

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
Loading...
131
Absolute Encoder Interface Board Section 2-3
Note These words are refreshed only once every cycle, so they may differ from the
actual PV.
Using PRV(62)
PRV(62) is used to read the PVs of absolute high-speed counters 1 and 2.
Specify absolute high-speed counter 1 or 2 in P (P=001 or 002).
The PV of the specified absolute high-speed counter is stored as shown
below. The PV is stored as 8-digit BCD, regardless of whether the Board is in
BCD Mode or 360
° Mode.
Note The PV can be read accurately at the time PRV(62) is executed.
Reading Absolute High-speed Counter Status
There are two ways to read the status of high-speed counters 1 and 2:
Reading AR area flags
Using PRV(62)
Reading AR Area Flags
The CQM1H words relating to absolute high-speed counters 1 and 2 are
listed below. It is possible to determine the status of absolute high-speed
counters 1 and 2 by reading these data words.
Inner Board Error Codes
(@)PRV(62)
P
000
D
P: Port
001: Port 1
002: Port 2
D: First destination word
D+1
D
BCD Mode 360° Mode
0000 0000 to 0000 4095 0000 0000 to 0000 0359
Leftmost
4 digits
Rightmost
4 digits
Word Bits Function
AR 04 08 to 15 Slot
2
The stored error codes are as follows:
00 Hex: Normal
01 or 02 Hex: Hardware error
03 Hex: PC Setup error

Table of Contents

Related product manuals