
1 Task
HCS4x00Library
Entry ID: 109478117, V2.2.1, 09/2018
4
S
ie
m
e
n
s
A
G
2018
A
ll r
ig
h
ts
r
e
s
e
rv
e
d
"LHcs4x00_typeGet" ........................................................................ 31
"LHcs4x00_typeRackDataGet" ........................................................ 31
"LHcs4x00_typeCyclicDataIn" .......................................................... 31
"LHcs4x00_typeCimDataIn" ............................................................. 32
“LHcs4x00_typePmDataIn” .............................................................. 32
"LHcs4x00_typePmTempData" ........................................................ 32
"LHcs4x00_typeDiagData" ............................................................... 32
"LHcs4x00_typeDiagDataCim" ......................................................... 33
"LHcs4x00_typeDiagDataPom" ........................................................ 33
"LHcs4x00_typeDiagDataChannel" .................................................. 33
FB “LHcs4x00_Control” ................................................................... 34
Program workflow ............................................................................ 36
FB “LHcs4x00_Diag82”.................................................................... 37
Program workflow ............................................................................ 38
FC “LHcs4x00_Diag86” ................................................................... 39
Program workflow ............................................................................ 40
Integrating the library into STEP 7 (TIA Portal) ................................. 41
Integrating the library blocks in the project ....................................... 43
Overview of the library blocks .......................................................... 43
Integrating the blocks into the project ............................................... 45
Calling the blocks in the project........................................................ 47
Updating the library.......................................................................... 48
Updating the project objects ............................................................. 48
Configuring the SIPLUS HCS4x00 ................................................... 53
PROFINET ...................................................................................... 53
PROFIBUS ...................................................................................... 57
Configuring the DB "LHcs4x00_Config" ........................................... 60
Installation and Commissioning .................................................................. 62
Installing the hardware ..................................................................... 62
Network connections ....................................................................... 63
Setting the PG/PC interface ............................................................. 65
Downloading the program ................................................................ 65
Commissioning ................................................................................ 66
PROFINET ...................................................................................... 66
PROFIBUS ...................................................................................... 68
Operating the HCS4x00 ................................................................... 69
Reading out the data record ............................................................. 70
Diagnosing channel errors ............................................................... 71
Assigning the “Channels without diagnostic interrupt” (DS 152) ........ 71
Controlling the output channels without field assignment .................. 72
Assigning the channels to fields ....................................................... 73
“Field type 1” (data record 100) ........................................................ 73
“Field type 2” (data record 101 to 132) ............................................. 75
Controlling internal fans ................................................................... 77
System reset by user ....................................................................... 78
Monitoring the power channels for loads connected in parallel ......... 78