Data Exchange with the SM 335
3-4
SM 335 – High-Speed Analog Input/Output Module for the SIMATIC S7-300
6ES7 335-7HG00-8BA1
Configuration
The input values are located in bytes ModAdd (module start address) to Mo-
dAdd + 15. See the SIMATIC Programmable Logic Controller, S7-300 Module Data
Reference Manual for information about how to compute the module start address.
Table 3-1 lists the input values, their addresses, and their default values.
Table 3-1
SM 335 Input Values
Byte
Content
Value
0
High-order byte of the measuring value from measuring
channel CH0
7F
H
*) or ***)
1
Low-order byte of the measuring value from measuring
channel CH0
FF
H
*) or ***)
2
High-order byte of the measuring value from measuring
channel CH1
7F
H
*) or ***)
3
Low-order byte of the measuring value from measuring
channel CH1
FF
H
*) or ***)
4
High-order byte of the measuring value from measuring
channel CH2
7F
H
*) or ***)
5
Low-order byte of the measuring value from measuring
channel CH2
FF
H
*) or ***)
6
High-order byte of the measuring value from measuring
channel CH3
7F
H
*) or ***)
7
Low-order byte of the measuring value from measuring
channel CH3
FF
H
*) or ***)
8
Number of end-of-cycle interrupts, only for “Comparator”
and “Measuring Only” modes
Default = 1;
If end-of-cycle interrupts have been suppressed:
1 + number of suppressed end-of-cycle interrupts
00
H
*) or ***)
9
Comparator mode (on power-up) or Return code for
“Comparator” and “Measuring Only” modes.
00
H
*) or
01
H
*)
or ***)
10
High-order byte of the sensor voltage (see Subsec-
tion 2.5.1)
**)
11
Low-order byte of the sensor voltage (see Subsec-
tion 2.5.1)
**)
12
Interval counter (see Section 4.5)
00
H
*) or ***)
13
Interval time values in bits 16 to 24 (see Section 4.5)
FF
H
*)
or ***)
14
Interval time values in bits 8 to 15 (see Section 4.5)
FF
H
*)
or ***)
15
Interval time values in bits 0 to 7 (see Section 4.5)
FF
H
*)
or ***)
*)
Initial value
**)
factory-set
***) current value
Analog values ( 0...7)
See Subsections 3.1.3 and 3.1.4 for information about how an analog value is rep-
resented in binary in the CPU and on which binary value corresponds to which
analog value.