52
DM Area Allocation in Linear and Circular Modes
Section 5-2
IR Bit Allocation
Word
(output)
Bit
Flag
Function
n
00
Start/Stop Command
Unit starts counting at the rising edge of this bit. Unit stops counting at
the falling edge of this bit. If the forced external output function is dis-
abled at this time, the preset counter value and output pattern will be
kept on hold.
01
CHANGE RANGES
Counter 1 Command
Sets counter 1 range to the data of word n+1 at the rising edge of this
bit.
02
CHANGE RANGES
Counter 2 Command
Sets counter 2 range to the data of word n+1 at the rising edge of this
bit.
03
Data Transfer Command
Data is transferred from the PC according to the settings of words m+3
and m+4 at the rising edge of this bit.
04
RESET Counter 1
Command
Resets counter 1 at the rising edge of this bit. Refer to
4-10 Counter
Reset Conditions
.
05
RESET Counter 2
Command
Refer to the information on the above counter 1 reset.
06
READ ERROR
Command
Unit reads error codes at the rising edge of this bit. When this bit is ON
while the Error Flag (word n+6 bit 15) is 1, error codes will be output to
word n+7.
The error code will be 0 when the last error code is read.
Repeatedly turn this bit ON until the error code is set to 0.
The Error Flag will still be 1 after the last error code is read.
To reset the Error Flag, use the control code “EC” after correcting the
error. Refer to
11-1 Error Processing
.
07
ENABLE External Out-
put Command
External outputs 0 to 7 will be enabled if this bit is set to 1. Data is trans-
ferred to word n+9 regardless of the setting of this bit.
08 to 15
Forced External Outputs
0 to 7
External outputs 0 to 7 will be turned ON if these bits are set to 1 when
the forced output function is enabled. (DM m bits 04 to 07 = 1)
Bits 08 to 15 correspond to external outputs 0 to 7.
Set the forced external outputs to Enabled.
Use these bits to check wiring. Set the forced external outputs to
1:Enabled, bit 07 to 1, and bit 00 to 0 to use this function.
n+1
00 to 15
Ranges Enable Bit 0 to
15
Bits 00 to 15 corresponds to ranges 0 to 15.
When these bits are set to 1, the corresponding ranges will be enabled.
Содержание C200H-CT021
Страница 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Страница 2: ...iv ...
Страница 4: ...vi ...