90
IR Area Settings and Functions
Section 8-3
External Output Enabled
(Word n Bit 07)
Set this bit to 1 in this mode.
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 and restart or turn the High-
speed Counter Unit ON and OFF. (DM m bits 04 to 07 = 1)
2.
Set Start Bit (word n bit 00) to 0.
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 to by setting
the corresponding bits to 1.
Read Error
(Word n Bit 06)
If an error results, the Error Flag (word n+6 bit 15) is 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 error data is set to 0 when all the error data is read. Repeatedly turn this
bit ON until the error data is set to 0.
Error Data:
Preset Counter Value
(Words (n+2) and (n+3)
Words (n+4) and (n+5))
These words are used to store the present counter values of the counters.
The above is a setting example in BCD.
The following data is stored.
BCD:
0 to 8,388,607
Hexadecimal:
000000 to 7FFFFF (0 to 8,388,607)
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
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 ...