![background image](http://html.mh-extra.com/html/omron/sysmac-c200h-ct001-v1/sysmac-c200h-ct001-v1_operation-manual_742017054.webp)
40
4-2-3
IR Area Settings
The IR area contains commands used to operate the Counter Unit and flags
used to monitor its operation. Both of these are used in programming the desired
counter operations.
START Command
Word n, bit 00
Counting starts on rising edge of the START command bit and stops on the fall-
ing edge. The current counter value and output pattern immediately before stop-
ping are retained. An exception to this, however, is when the output force bits are
used (see below).
Word n, bit 02
Set this bit to enable external output of outputs #0 through #7. The status of the
outputs are indicated by LEDs 0 though 7 when the outputs are enabled. Word
n+9 status is output regardless of the status of ENABLE OUTPUT.
Word n, bit 07
Setting this command bit enables usage of the output force bits in word n, bits 08
through 15.
Output Force Bits
Word n, bits 15 through 08
Output force bits can be set to turn ON outputs #0 through #7, thereby permitting
wiring checks. Both ENABLE OUTPUT and ENABLE FORCED OUTPUT must
be ON to use the output force bits. The following procedure is used.
1, 2, 3... 1.
Make sure START is OFF.
2.
Set ENABLE OUTPUT.
3.
Make sure all output force bits are OFF.
4.
Set ENABLE FORCED OUTPUT.
5.
Set the required output force bits.
Refer to 4-2-1 Data Allocation for the specific bit allocations.
Range Enable Bits
Word n+1
Range enable bits are turned ON to enable and turned OFF to disable outputs
within the specified range. The number of the bit in word n+1 is the same as the
number of the range it enables. The ranges that are currently effective are indi-
cated in DM word m+1. The settings of the currently effective bits will be changed
to those specified by the range enable bits when CHANGE RANGES is set.
Word n, bit 04
Set this command bit to change the effective ranges designated in DM word m+1
to correspond to the settings of the range enable bits.
CHANGE RANGES is effective during counter operation.
Word n, bit 06
RESET COUNTER is effective when the internal reset bit is designated with
back panel DIP switch settings (refer to 2-1 Switch Settings). RESET COUNT-
ER can be combined with input Z and control input IN1 or resetting is possible
using only input Z and/or control input IN1. Refer to 3-3 Counter Reset Condi-
tions for details. Resetting returns the counter value to 0 and turns OFF all out-
puts.
Word n, bit 01
ENABLE OUTPUT
Command
ENABLE FORCED OUTPUT
Command
CHANGE RANGES
Command
RESET COUNTER
Command
TRANSFER DATA
Command
Linear and Circular Modes
Section 4-2
Содержание SYSMAC C200H-CT001-V1
Страница 1: ...Cat No W141 E1 4 High speed Counter Units SYSMAC C200H CT001 V1 CT002 OPERATION MANUAL...
Страница 2: ......
Страница 3: ...C200H CT001 V1 CT002 High speed Counter Units Operation Manual Revised September 2000...
Страница 4: ...iv...
Страница 6: ...vi...
Страница 8: ......
Страница 10: ......
Страница 20: ......
Страница 46: ......
Страница 96: ......
Страница 98: ......