hit counter script

Example Of The Measuring Points Of A Sensor; Bytes For Counter Assignment - Siemens SIMATIC S7 Equipment Manual

Ultrasonic position encoding module
Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Sensor-related
counter assign-
ment
SM 338 Equipment Manual
(4) J31069-D401-U1-A0-7618
Two bytes each are used to assign the eight counters to the four sensors and
to specify their measuring points.
Table 4-2 shows the applicable bytes for each sensor.
Table 4-2

Bytes for counter assignment

Sensor Number
1
2
3
4
7
Byte n
Note
The counter assignments marked with an * are illegal and will trigger the
diagnosis message "wrong parameters on the module".
Counting of the measuring points of a sensor always begins with the sensor
electronics.
Measuring point
4
3
Figure 4-2

Example of the measuring points of a sensor

Data Communication with the PLC
0
7
Byte (n+1)
Measuring point 1
Measuring point 2
0 0 0 0
No counter assigned
0 0 0 1
Counter 1 assigned
0 0 1 0
Counter 2 assigned
0 0 1 1
Counter 3 assigned
.
.
.
0 1 1 1
Counter 7 assigned
1 0 0 0
Counter 8 assigned
1 0 0 1
No counter assigned*
.
.
.
1 1 1 1
No counter assigned*
Electronics
2 1
Bytes
2 and 3
5 and 6
8 and 9
11 and 12
0
Measuring point 3
Measuring point 4
.
.
.
.
.
.
4-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sm 338

Table of Contents