Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 81

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C High-speed Counters
60
Change PV
This function changes the high-speed counter PV.
(@)INI(61)
000
Port specifier (000: High-speed counter)
Control designation (002: Change PV)
002
Beginning word of PV data to change
C
2
Rightmost 4 digits
C
2
Leftmost 4 digits
C
+1
2
No interrupt will occur during a target value comparison even if the target value
registered in the comparison table is changed by INI(61).
Read PV
This function reads the high-speed counter PV.
Using an Instruction
(@)PRV(62)
Port specifier (000: High-speed counter)
000
Control designation (000: Read PV)
002
Beginning word for storing PV
C
2
D
Rightmost 4 digits
D+1
Leftmost 4 digits
Using Data Areas
The high-speed counter PV is stored in words 248 and 249 as shown below.
Words 248 and 249 are refreshed with every scan, so there may be a discrepan-
cy from the exact PV at any given time.
When the high-speed counter is not used, words 248 and 249 can be used as
work words.
When the PV is read by executing PRV(62), words 248 and 249 are refreshed
with the same timing.
PV data to change (Rightmost and leftmost)
Register the PV data to be changed.
The leftmost digit shows the sign (+/–).
Differential phase input mode
Pulse + direction input mode
Up/down pulse input mode
Increment mode
PV (Rightmost and leftmost)
The read PV will be stored here.
The leftmost digit shows the sign (+/–).
Differential phase input mode
Pulse + direction input mode
Up/down pulse input mode
Increment mode
SR 248
PV (Rightmost word)
SR 249
PV (Leftmost word)
Section
2-2
F8388608 to 08388607
00000000 to 16777215
F8388608 to 08388607
00000000 to 16777215

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Questions and answers

Table of Contents