Diagnosing Channel Errors; Assigning The "Channels Without Diagnostic Interrupt" (Ds 152) - Siemens SIPLUS HCS4 00 Series Configuration

Heating control in tia portal
Table of Contents

Advertisement

8 Operating the Application
8.1 Operating the HCS4x00
8.1.2

Diagnosing channel errors

Occurring errors are displayed in DB "LHcs4x00_Get" in "hcs[x].diag" (see chapter
4.2.41). The cannel diagnostic is shown on the example of controlling a power
output without connected consumer:
Table 8-3
No.
Action
Open the "LHcs4x00_WatchTablePut"
1.
watch table in the project tree.
2.
Set the
"LHcs4x00_Tags".control.heatingOn
bit for switching on the heating.
In the "LHcs4x00_WatchTableGet"
3.
watch table the faulty channels with
"errorCode" error ID (here: 16#5107 =
channel error: heating element defect)
are displayed.
4.
Then reset the
"LHcs4x00_Tags".control.heatingOn
bit for switching the heating off.

Assigning the "Channels without diagnostic interrupt" (DS 152)

8.1.3
To prevent unconnected power outputs to be diagnosed as defective heating
elements (see chapter 8.1.2) when switching on the heating mode, proceed as
follows:
Table 8-4
No.
Action
Open the "LHcs4x00_WatchTablePut"
1.
watch table in the project tree.
2.
Select the output channels that are
not to report a diagnosis, and write
"TRUE" to it in DB "LHcs4x00_Put" at
"hcs[1].datasets.ds152.pom[1]".
Write "152" 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 152 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).
HCS4x00Library
Entry ID: 109478117,
V2.2.1,
09/2018
Remark
Remark
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cim4 10 profinet fw v2 seriesCim4 10 profibus fw v1 series

Table of Contents