2-2
Section
CPM2A/CPM2C High-speed Counters
61
Read Status
This function reads the high-speed counter status, such as whether a compari-
son operation is in progress or whether an overflow or underflow has occurred.
Using an Instruction
Port specifier (000: High-speed counter)
Control designation (001: Read status)
Overflow/underflow
0: Normal
1: Overflow/underflow
Comparison
0: Stopped
1: In progress
(@)PRV(62)
000
001
D
Word for storing status
Using Data Areas
The status is stored in AR 1108 and AR 1109 as shown below.
Overflow/underflow
0: Normal
1: Overflow/underflow
Comparison
0: Stopped
1: In progress
AR 1108 and AR 1109 are refreshed with every scan, so there may be a discrep-
ancy from the exact status at any given time.
When the status is read by executing PRV(62), AR 1108 and AR 1109 are re-
freshed with the same timing.
Read Range Comparison Result
This function reads the result of a range comparison showing whether or not the
PV is within a range.
Using an Instruction
Port specifier (000: High-speed counter)
Control designation (002: Read range comparison result)
Beginning word for storing range comparison result
Match with 1st condition (0: No match; 1: Match)
Match with 2nd condition (0: No match; 1: Match)
Match with 3rd condition (0: No match; 1: Match)
Match with 4th condition (0: No match; 1: Match)
Match with 5th condition (0: No match; 1: Match)
Match with 6th condition (0: No match; 1: Match)
Match with 7th condition (0: No match; 1: Match)
Match with 8th condition (0: No match; 1: Match)
(@)PRV(62)
000
002
D
Using Data Areas
The range comparison result is stored in AR 1100 through AR 1107, as shown
below.
Match with 1st condition (0: No match; 1: Match)
Match with 2nd condition (0: No match; 1: Match)
Match with 3rd condition (0: No match; 1: Match)
Match with 4th condition (0: No match; 1: Match)
Match with 5th condition (0: No match; 1: Match)
Match with 6th condition (0: No match; 1: Match)
Match with 7th condition (0: No match; 1: Match)
Match with 8th condition (0: No match; 1: Match)
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...