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
Summary of Contents for SYSMAC C200H-CT001-V1
Page 1: ...Cat No W141 E1 4 High speed Counter Units SYSMAC C200H CT001 V1 CT002 OPERATION MANUAL...
Page 2: ......
Page 3: ...C200H CT001 V1 CT002 High speed Counter Units Operation Manual Revised September 2000...
Page 4: ...iv...
Page 6: ...vi...
Page 8: ......
Page 10: ......
Page 20: ......
Page 46: ......
Page 96: ......
Page 98: ......