18
•
750-404 [Up/Down Counter /100 kHz]
Process
Image
WAGO-I/O-SYSTEM
750
I/O
Modules
2.1.2.7.1 Control- / Status byte 750-404
The control byte C0 serves for setting and locking the counter and for setting
the outputs. The status byte S0 shows the status of the counter and the inputs
and outputs.
Control byte
B7
B6
B5
B4
B3
B2
B1
B0
0 0 Set
counter
Lock
counter
Set
output
DO 2
Set
output
DO 1
0 0
0
This constant must be set to zero.
Status byte
B7
B6
B5
B4
B3
B2
B1
B0
X X
Counter
is set
Counter
is
blocked
actual
signal at
output
DO 2
actual
signal at
output
DO 1
actual
signal at
input
U/D
actual
signal at
input
CLOCK
X
This value is not evaluated.
With the control and status byte the following tasks are possible:
Set Counter:
Put Bit 5 into the control byte. The counter 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.
Lock 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.
Set/ Reset Outputs:
Bits 2 and 3 set the additional two outputs of the counter module.