
8 Operating the Application
8.1 Operating the HCS4x00
HCS4x00Library
Entry ID: 109478117, V2.2.1, 09/2018
73
S
ie
m
e
n
s
A
G
2018
A
ll r
ig
h
ts
r
e
s
e
rv
e
d
8.1.5
Assigning the channels to fields
To summarize output channels and controlling them with a setpoint value, you can
assign them to field type 1 or 2.
Field type 1 combines successive channels.
Field type 2 combines any channels.
You can only select one field type. You can reset the selection of the field type via
data record 190 or by disconnecting the 24 V power supply from the HCS.
“Field type 1” (data record 100)
Table 8-6
No.
Action
Remark
1.
Open the “
LHcs4x00_WatchTablePut
”
watch table in the project tree.
2. Spec
ify the start (“
chanBegin
”) and
end channel (“
chanEnd
”) in data
record 100 (“
hcs[1].datasets.ds100
”)
in DB
“LHcs4x00_Put
” for each field.
3.
Write “100” to tag
“
LHcs4x00_Tags".control.dsNum
and
set bit
“
LHcs4x00_Tags".control.writeData
.
Note
4. Then reset bit
“
LHcs4x00_Tags".control.writeData
.
5. You can verify the adopted settings
via reading data record 100 in DB
“LHcs4x00_Get“
.
To do this, set the
"LHcs4x00_Tags.control.readData
bit
in the
“LHcs4x00_WatchTableGet“
watch table and then back again
(
6. Set all of the assigned channel value
setpoints to 100% in watch table
“
LHcs4x00_WatchTablePut”
so that
only the field value setpoints are
adopted as resulting output values.
7. Set the
“
LHcs4x00_Tags".control.heatingOn
bit for switching on the heating.
8. Depending on operating mode
“Production” or “Standby”, you can
now control the field value setpoints
via data record 150, or 151
respectively.