8 Operating the Application
8.1 Operating the HCS4x00
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
Open the "LHcs4x00_WatchTablePut"
1.
watch table in the project tree.
Specify the start ("chanBegin") and
2.
end channel ("chanEnd") in data
record 100 ("hcs[1].datasets.ds100")
in DB "LHcs4x00_Put" for each field.
Write "100" to tag
3.
"LHcs4x00_Tags".control.dsNum and
set bit
"LHcs4x00_Tags".control.writeData.
Note
Table 8-2
step 2.
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
(Table 8-2
steps 4 and 5).
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.
HCS4x00Library
Entry ID: 109478117,
V2.2.1,
09/2018
Remark
73