
8 Operating the Application
8.1 Operating the HCS4x00
HCS4x00Library
Entry ID: 109478117, V2.2.1, 09/2018
70
S
ie
m
e
n
s
A
G
2018
A
ll r
ig
h
ts
r
e
s
e
rv
e
d
No.
Action
Remark
3. STEP 7 (TIA Portal) connects
online with the S7-1500, the
“Monitor value” column shows the
current value of the respective tag.
In the “Modify value” column
assign the value to be written. By
selecting a tag and right-clicking >
“Modify” you can set the tag to 0/1
or set the control value. Several
control values can be written
immediately by selecting the
column and activation via
.
8.1.1
Reading out the data record
Proceed as follows in order to read out a data record (for example, data record 200
“measured values”):
Table 8-2
No.
Action
Remark
1. Open watch table
“LHcs4x00_WatchTableGet” in the
project tree.
2. If you have configured several
heating control systems at your S7-
1500, specify those via
“
LHcs4x00_Tags".control.onHcs
that shall be used for data record
communication.
3.
Write the value “200” to the
“
LHcs4x00_Tags".control.dsNum
tag.
4. Set the
“
Hcs4x00_Tags".control.readData
bit.
5. Then reset the bit
“
LHcs4x00_Tags”.control.readData
again.
6. The read out data is displayed
under the respective data record (in
this case: measured values of data
record 200).
Equivalently, the other data records can be read out via the specification of the
respective data record number.