72
IR Area Settings and Functions
Section 7-3
External Output Enabled
(Word n Bit 07)
External outputs 0 to 7 will be enabled and the corresponding indicators will
be lit if this bit is set to 1. Data is transferred to word n+9 regardless of the set-
ting of this bit.
Forced External Outputs 0
to 7 (Word n Bits 08 to 15)
External outputs 0 to 7 will be turned ON if these bits are set to 1. Bits 08 to 15
correspond to external outputs 0 to 7. Use these bits to check wiring. Take the
following steps to use this function.
1,2,3...
1.
Enable the forced external output function. (DM m bits 04 to 07 = 1)
2.
Set Start/Stop Bit (word n bit 00) to 0 to stop the High-speed Counter Unit.
3.
Enable the external output function by setting word n bit 07 to 1.
4.
Set forced external outputs 0 to 7 (word n bits 08 to 15) to 0.
5.
Turn ON any external outputs out of external outputs 0 to 7 by setting the
corresponding bits to 1.
Change Ranges
(Word n Bits 01 or 02)
The High-speed Counter Unit sets ranges enabled with words m+5 and m+6
to the data of word n+1 at the rising edge of this bit.
Take the following steps to change the ranges.
1,2,3...
1.
Set word n+1 to the data to enable or disable ranges.
2.
Enable the ranges by setting word n bits 01 or 02 to 1. This function will be
effective immediately even when the High-speed Counter Unit is counting.
Read Error
(Word n Bit 06)
If an error results, the Error Flag (word n+6 bit 15) will be set to 1, at which
time the error codes will be output to word n+7 when word n bit 06 is set to 1.
The Read Error is set to 0 when all the error data is read. Repeatedly turn this
bit ON until this error code is set to 0.
The error codes can be read again from the first error code if this bit is set to
1.
Error Data
Word
Bit
Output
Wd n
08
Forced external output 0
09
Forced external output 1
10
Forced external output 2
11
Forced external output 3
12
Forced external output 4
13
Forced external output 5
14
Forced external output 6
15
Forced external output 7
Bits 15 to 00 correspond to
ranges 15 to 0.
Each bit (0: Disabled; 1: Enabled)
Error location
Two rightmost DM digits are indicated.
Error code
Refer to
SECTION 11 Error Processing
and Troubleshooting
.
Содержание C200H-CT021
Страница 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Страница 2: ...iv ...
Страница 4: ...vi ...