I/O modules • 105
Counter modules 750-404, /000-XXX
Modular I/O System
ETHERNET TCP/IP
Organization of the input and output data:
The counter begins processing with pulses at the CLOCK input. The changes
from 0 V to 24 V are counted. (The leading edge of each pulse.)
The counter counts up, if the input U/D is set at 24 V. With an open circuit in-
put or 0 V the counter counts backwards (down).
The two bottom contacts are 24V outputs. These outputs are activated through
bits in the control byte.
The high states of the input and output channels are each indicated by a LED.
Attention
For the process data configuration of these bus modules please refer to chapter
"Process data architecture for MODBUS/TCP" in the process image descripti-
on of the corresponding coupler/controller.
The control byte has the following bits::
Bit 7 Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
x
Set
Counter
Block
Counter
Output
value at
output O2
Output
value at
output O1
x
X
The status byte has the following bits:
Bit 7 Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
x
x
Counter is
set
Counter is
blocked
State of
signal at
output O1
State of
signal at
output O1
24 V signal at
input U/D,
counter
counts up
actual si-
gnal at
input
CLOCK
With the control and status byte the following tasks are possible:
Setting the counter:
Set Bit 5 in the control byte to "1". The desired counter value with the 32 bit
value is loaded into output bytes 0-3. As long as the bits are set, the counter
can stop and information is stored. The ensuing data of the counter will be
conveyed to the status byte.
Blocking the counter:
Bit 4 is set into the control byte, then the count process is suppressed. Bit 4 in
the status byte communicates the suppression of the counter.
Setting the outputs:
Bits 2 and 3 set the additional two outputs of the counter module.
The result of the counter is in binary. The following tasks can be handled with
the control byte and the status byte:
Содержание I/O-SYSTEM 750
Страница 334: ...330 Notes Modular I O System ETHERNET TCP IP ...