Block library TeleControl ST7
5.7 Master copies
TIM 1531 IRC
240 Operating Instructions, 02/2018, C79000-G8976-C468-02
Enable mask for the counting inputs
With this parameter "EnableInMask" it
is possible to specify in the form of a bit
mask at which inputs in the input byte count pulses are actually connected.
The following applies to every bit in the bit mask:
0 = Input bit blocked for acquisition
1 = Input bit enabled for acquisition
t of the mask is only permitted in hexadecimal format B#16#00 to
-bit binary number from 2#0 to 2#1111 1111 is not possible with
The assignment of the bits in the mask to the inputs in the input byte "InByte":
Enabled are: Inputs .7, .1 and .0
Blocked are: Inputs .6 to .2
... Cn
For each of the enabled counting inputs a SIMATIC counter needs to be spe
c-
ified for the corresponding parameter CntIn_0 ... . "CntIn_7". With each pulse
acquired, the SIMATIC counter is incremented.
The counters set here must be specified as input counters (parameter Cou
n-
ter_1 ... _4) in the actual counted value function blocks "Cnt01D_S" and
"Cnt04D_S". These function blocks out read the assigned counter and then
reset it.
arameters that are not required, it is recommended to