20 • 750-404 [Up/Down Counter /100 kHz]Process ImageWAGO-I/O-SYSTEM 750I/O Modules2.1.2.7.3 Control- / Status byte 750-404/000-004The control byte C0 serves for setting and locking the counter and for settingthe outputs dependent or independently on the counter reading. The status byteS0 shows the status of the counter and the inputs and outputs.Control byteB7 B6 B5 B4 B3 B2 B1 B00 0 SetcounterLockCounterSetoutputDO 2SetoutputDO 1OutputO2activateddepending of thecountervalueOutputO1activateddepending of thecountervalue0 This constant must be set to zero.Status byteB7 B6 B5 B4 B3 B2 B1 B0X X Counteris setCounterisblockedactualsignal atoutputDO 2actualsignal atoutputDO 1actualsignal atinputU/Dactualsignal atinputCLOCKX 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 intooutput bytes 0-3. As long as the bits are set, the counter can stop andinformation is stored. The ensuing data of the counter will be conveyed to thestatus byte.Lock Counter:Bit 4 is set into the control byte, then the count process is suppressed. Bit 4 inthe status byte communicates the suppression of the counter.Switching the outputs dependent of the counter:The bits 0 and 1 activate the function: output dependent setting of binaryoutputs. If the counter reading 0x80000000 is exceeded, output DO 1 isactivated. For the output DO 2 only the bottom 16 bits of the counter readingare taken into account, which means that output DO 2 is activated as soon asthe counter reading 0x8000 is exceeded. Having reached 0 again, the outputsare reset.