
4 Mode of Operation
4.2 PLC data types
HCS4x00Library
Entry ID: 109478117, V2.2.1, 09/2018
20
S
ie
m
e
n
s
A
G
2018
A
ll r
ig
h
ts
r
e
s
e
rv
e
d
4.2
PLC data types
The data for calculating the HCS configuration as well as the data of the SIPLUS
HCS to be written and to be read are stored in data blocks “LHcs4x00_Config”,
“LHcs4x00_Put” and “LHcs4x00_Get”. The FBs and the FC access these DBs
(defined via PLC data types).
Below, the elementary PLC d
ata types “LHcs4x00_typeConfig” (chapter
),
) and “LHcs4x00_typeGet” (chapter
) as
well as the PLC data types integrated therein are explained.
Note
This chapter is intended for a better understanding of the individual tags.
The configuration is described in chapter
4.2.1
"LHcs4x00_typeConfig"
The PLC data type "LHcs4x00_typeConfig" includes the configuration
specifications for the HCS4x00 heating control systems.
Table 4-1
Name
Data type
Description
global
"LHcs4x00_typeGlobal"
PLC data type with global constants
hcs
Array[1..n] of
"LHcs4x00_typeRackConfig"
Array with the entries for the configured HCS4x00 heating
control systems (size has to correspond to the number of
HCSs to be controlled)
4.2.2
"LHcs4x00_typeGlobal"
PLC data type “LHcs4x00_typeGlobal” includes constants for internal calculations
of FBs “LHcs4x00_Control” and “LHcs4x00_Diag82”.
Table 4-2
Name
Data type
Default
value
Description
numHcs
Int
1
Number of HCSs to be controlled (must be
covered by the "hcs" arrays -> see
chapters
and
maxErrorCount
Int
10
Max. number of error entries
maxPomHcs
Int
24
Max. number of POMs per HCS
maxChannel4300
Int
216
Number of power outputs per HCS4300
maxChannel4200
Int
384
Number of power outputs per HCS4200
maxChannelPom43xx
Int
9
Number of power outputs per POM4320
maxChannelPom42xx
Int
16
Number of power outputs per POM4220
maxChannelPom4220H
Int
8
Number of power outputs per POM4220
Highend
maxFields
Int
32
Number of fields of type 2 (data record 101
to 132)
webInterface
Bool
false
Use of the user-defined web pages for the
HCS (not supported -> FALSE)