Siemens TIM 1531 IRC Operating Instructions Manual page 240

Telecontrol
Table of Contents

Advertisement

Block library TeleControl ST7
5.7 Master copies
Name:
Declaration: INPUT
Data type:
Range of
values:
Explanation
Name:
Declaration:
Data type:
Range of
values:
Explanation
240
EnableMask
BYTE
B#16#00 ... B#16#FF
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
EnableMask B#16#
Example:
CntIn_0 ... CntIn_7
INPUT
COUNTER
C0 or C1 ... Cn
(n depends on the CPU)
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.
.7
.6
.5
.4
0 ... F
EnableMask B#16#83
Enabled are: Inputs .7, .1 and .0
Blocked are: Inputs .6 to .2
Operating Instructions, 02/2018, C79000-G8976-C468-02
.3
.2
.1
.0
0 ... F
TIM 1531 IRC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents