Block library TeleControl ST7
5.7 Master copies
TIM 1531 IRC
240
Operating Instructions, 02/2018, C79000-G8976-C468-02
Name:
EnableMask
Declaration: INPUT
Data type:
BYTE
Range of
values:
B#16#00 ... B#16#FF
Explanation 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
The input of the mask is only permitted in hexadecimal format B#16#00 to
B#16#FF.
Input as an 8-bit binary number from 2#0 to 2#1111 1111 is not possible with
the data type BYTE.
The assignment of the bits in the mask to the inputs in the input byte "InByte":
InByte
.7
.6
.5
.4
.3
.2
.1
.0
EnableMask B#16#
0 … F
0 … F
Example:
EnableMask B#16#83
Enabled are: Inputs .7, .1 and .0
Blocked are: Inputs .6 to .2
Name:
CntIn_0 ... CntIn_7
Declaration: INPUT
Data type:
COUNTER
Range of
values:
C0 or C1 ... Cn
(n depends on the CPU)
Explanation Pulse counter
For each of the enabled counting inputs a SIMATIC counter needs to be spec-
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 Coun-
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.
As the placeholder for parameters that are not required, it is recommended to
specify the counter C0.
Содержание TIM 1531 IRC
Страница 262: ...Block library TeleControl ST7 5 7 Master copies TIM 1531 IRC 262 Operating Instructions 02 2018 C79000 G8976 C468 02 ...
Страница 302: ...Dimension drawings TIM 1531 IRC 302 Operating Instructions 02 2018 C79000 G8976 C468 02 ...
Страница 322: ...Documentation references 13 TIM 1531 IRC 322 Operating Instructions 02 2018 C79000 G8976 C468 02 ...
Страница 336: ...Glossary TIM 1531 IRC 336 Operating Instructions 02 2018 C79000 G8976 C468 02 ...