Example Of Controlling Two Counters Via The Process Data; Table 51: Example Of Controlling Two Counters Via Control Byte - WAGO 767-5803 Manual

8dio 24v dc 0,5a (8xm12) digital input/output module dc 24 v, 0,5 a for wago-speedway 767 series
Table of Contents

Advertisement

WAGO-SPEEDWAY 767
767-5803 8DIO 24V DC 0,5A (8xM12)
9.2.3

Example of Controlling Two Counters via the Process Data

Prerequisite:
For the module in DTM, you have set the operating mode
"DIO module + 2 counters." For control of the counter via the output data, the
parameter "Simulation" must also be deactivated for the counter.
For the following example, heed the descriptions of the control byte
(section "Control Byte").
To control the counter via the process data (output data), the control mode
(set bit 7) must be activated. In this mode, the counter is stopped. Only with a set
control mode can you set the other bits individually or simultaneously. To check
the configuration, the control mode bit of the status byte is then read via the
process data (input data). When setting the start or limit value, the value must
remain in the output process image after resetting the control mode (at least one
cycle).
The control mode bit must be reset and then set again before configuring the
second counter.

Table 51: Example of controlling two counters via control byte

Binary
10010010
0xxxxxxx
10000110
0xxxxxxx
11000011
0xxxxxxx
Pos : 40 /D okumentation allgemei n/Glieder ungs elemente/---Seitenwechs el--- @ 3\mod_1221108045078_0.doc x @ 21810 @ @ 1
Manual
Version 1.1.0
Hexadecimal
92
0
86
0
C3
0
Counter Function
Description
Counter 1:
Set limit value and gate function for
counter release.
Both counters are released
Counter 1:
Set count direction "down" and gate
function for counter release.
Both counters are released
Both counters are released
Counter 2:
Set both start value and gate function for
counter release.
Both counters are released
83

Advertisement

Table of Contents
loading

Table of Contents