
4 Mode of Operation
4.5
FC “LHcs4x00_Diag86”
HCS4x00Library
Entry ID: 109478117, V2.2.1, 09/2018
39
S
ie
m
e
n
s
A
G
2018
A
ll r
ig
h
ts
r
e
s
e
rv
e
d
For invalid values, termination is performed from FB “LHcs4x00_Diag82” via
RETURN.
For POM errors, the channel number is calculated in the diagnostic buffer.
At an incoming event, the error information in the “diag” buffer of the respective
HCS is written in DB “LHcs4x00_Get” and the error information deleted at the
outgoing event.
4.5
FC “LHcs4x00_Diag86”
At station failure of the heating control systems, FC “LHcs4x00_Diag86” resets all
interrupt messages to diagnostic buffer “dataGet.hcs[x].diag”.
It is called in module failure OB 86.
Figure 4-6
Table 4-47
Name
Data type
Description
Input
enable
Bool
Enabling the block (TRUE = active)
to be selected depending on the reason for the station
failure: Supply voltage failure of the HCS (TRUE) or
communication failure (FALSE)
laddr
HW_ANY
Hardware ID of the failing/returned module rack
(parameter “LADDR” of OB 86)
eventClass
Byte
Event class (parameter “Event_Class” of OB 86)
InOut
config
"LHcs4x00_typeConfig" Configuration data of the HCS4x00
dataPut
"LHcs4x00_typePut"
Pointer to data buffer with data to be written
dataGet
"LHcs4x00_typeGet"
Pointer to data buffer with data to be read