Counting
4.2 Configuration method 4xCount
Digital input/Digital output module DIQ 16x24VDC/0.5A 8xM12 (6ES7143-5AH00-0BA0)
Equipment Manual, 08/2021, A5E38688112-AD
63
Note
Parameter assignment of the channels
The corresponding values in the output data do not trigger any reaction for all the channels
that are used as an input.
You cannot control the count outputs via the user program.
4.2.2.4
Explanations on the control interface
Table 4- 24 Explanations on the control bits
Control bit
Explanations
SLOT
You specify the load value for the respective counter in these bytes. Through the load request
LD_SLOT you load the predefined value into the counter.
LD_SLOT
With this load request you control for which value of the counter the value specified in SLOT is to be
loaded.
The counter carries out the respective action as soon as LD_SLOT changes.
If you have entered the load request LD_SLOT = 011
B
open the SW gate, every counting process
begins with the value defined in the SLOT as the start value.
If you have entered a different load request and open the SW gate, counting is continued with the
current count value at every start of the counting process.
Both cases apply as long as and until the SW gate is closed.
SW_GATE
With this bit you open and close the SW gate of the respective counter. The module only counts
when the software gate is open.
0 means: Software gate closed
1 means: Software gate open
RES_EVENT_UFLW
With this bit you trigger the resetting of the stored event in the feedback bit EVENT_UFLW for the
respective counter.
RES_EVENT_OFLW
With this bit you trigger the resetting of the stored event in the feedback bit EVENT_OFLW for the
respective counter.
RES_EVENT_CMP
With this bit you trigger the resetting of the stored event in the feedback bit EVENT_CMP for the
respective counter.
4.2.2.5
Assignment of the feedback interface
Feedback interface
The user program receives current values and status information from the module via the
feedback interface.
The figure below shows the address assignment of the module in the process image input in
the configuration method 4xCount.
At Counter 0 x stands for the input byte IB 2 in this case, at Counters 1 to 3 you add 6 bytes,
12 bytes and 18 bytes respectively to this input byte.
When you assign a different start address to the digital input/digital output module, the byte
sequence changes correspondingly.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......