background image

4 Mode of Operation 

4.2 PLC data types 
 

HCS4x00Library 
Entry ID: 109478117,    V2.2.1,    09/2018 

 

 

26 

 

 S

ie

m

e

n

s

 A

G

 2018

 A

ll r

ig

h

ts

 r

e

s

e

rv

e

d

 

4.2.18 

“LHcs4x00_typeDs100FieldDef” 

The “LHcs4x00_typeDs100FieldDef” PLC data type includes the channel limits of a 
field of “field type 1" (data record 100). 

Table 4-18 

Name 

Data type 

Description 

chanBegin 

Word 

Start channel of the field 

chanEnd 

Word 

End channel of the field 

 

4.2.19 

"LHcs4x00_typeDs101" 

The “LHcs4x00_typeDs101” PLC data type includes the data of data records 101 
to 132 (“field type 2”). 

Table 4-19 

Name 

Data type 

Default 

value 

Description 

valid 

Bool 

false 

Validity 

channelNum 

Array[1..24] of Word 

 

List of channels of the respective field 
of “field type 2” (maximum 24) 

 

4.2.20 

"LHcs4x00_typeDs150" 

The “LHcs4x00_typeDs150” PLC data type contains the field values for the 
operating modes “Production” / “Standby” (data record 150/151). 

Table 4-20 

Name 

Data type 

Default value 

Description 

valid 

Bool 

false 

Validity 

setpoint 

Array[1..32] of Byte 

 

Array with the field value setpoints 

 

4.2.21 

"LHcs4x00_typeDs152" 

The “LHcs4x00_typeDs152” PLC data type contains the data for data record 152 
“channels without diagnostic interrupt”. 

Table 4-21 

Name 

Data type 

Default 

value 

Description 

valid 

Bool 

false 

Validity 

pom 

Array[1..24] of 
"LHcs4x00_typeDs152DiagDef" 

 

Array with channel selection for each POM 

 

Summary of Contents for CIM4 10 PROFINET FW V2 Series

Page 1: ... the SIPLUS HCS4x00 Heating Control in TIA Portal CIM4x10 PROFINET FW V2 CIM4x10 PROFIBUS FW V1 Support of the POM4220 Highend https support industry siemens com cs ww en view 109478117 Siemens Industry Online Support ...

Page 2: ...ges arising from a breach of material contractual obligations shall however be limited to the foreseeable damage typical of the type of agreement unless liability arises from intent or gross negligence or is based on loss of life bodily injury or damage to health The foregoing provisions do not imply any change in the burden of proof to your detriment You shall indemnify Siemens against existing o...

Page 3: ...00_typePut 23 4 2 8 LHcs4x00_typeRackDataPut 23 4 2 9 LHcs4x00_typeCyclicDataOut 23 4 2 10 LHcs4x00_typeCimDataOut 23 4 2 11 LHcs4x00_typePmDataOut 24 4 2 12 LHcs4x00_typePomDataInOut 24 4 2 13 LHcs4x00_typeDataset 24 4 2 14 LHcs4x00_typeDs2 25 4 2 15 LHcs4x00_typeDs2Pom 25 4 2 16 LHcs4x00_typeDs2Def 25 4 2 17 LHcs4x00_typeDs100 25 4 2 18 LHcs4x00_typeDs100FieldDef 26 4 2 19 LHcs4x00_typeDs101 26 ...

Page 4: ... 3 Calling the blocks in the project 47 5 3 Updating the library 48 5 3 1 Updating the project objects 48 6 Configuration and Settings 53 6 1 Configuring the SIPLUS HCS4x00 53 6 1 1 PROFINET 53 6 1 2 PROFIBUS 57 6 2 Configuring the DB LHcs4x00_Config 60 7 Installation and Commissioning 62 7 1 Installing the hardware 62 7 2 Network connections 63 7 2 1 Setting the PG PC interface 65 7 3 Downloading...

Page 5: ...1 Task HCS4x00Library Entry ID 109478117 V2 2 1 09 2018 5 Siemens AG 2018 All rights reserved 11 History 81 ...

Page 6: ...rements in industry and ensures highly precise control of resistive loads The SIPLUS HCS heating control system enables most precise and efficient control of industrial heating elements such as for PET blow molding for drying of varnishes and coatings in the plastics processing industry Depending on the requirement the SIPLUS HCS4200 and SIPLUS HCS4300 heating control systems are available to you ...

Page 7: ...9478117 V2 2 1 09 2018 7 Siemens AG 2018 All rights reserved Overview of the automation task The figure below provides an overview of the automation task Figure 1 1 PROFINET IE S7 1500 HCS4300 HCS4200 SIMATIC SIPLUS PROFIBUS DP S7 1200 ...

Page 8: ...e V2 or as PROFIBUS slave with CIM4x10 PROFIBUS firmware V1 The library blocks enable Controlling the heating control system via the I O output address area Status request via the I O input address area Reading and writing of data records Cyclic diagnostic evaluation in a ready made data structure The main focus of this document is to describe all blocks pertaining to the block library the functio...

Page 9: ...The configuration of an HCS heating control system consists of the central interface module CIM either as communication version via PROFINET or PROFIBUS and the individual power output modules POM for controlling the heating elements or heating panels In addition each CIM has a module slot Here depending on the requirement one of the following I O modules can be integrated PM4000 DI DO with 8 digi...

Page 10: ...he LHcs4x00 library enables you to control several configured heating control systems Advantages The solution presented here offers the following advantages Time and cost savings Expandability Direct integration into your existing project via block library Convenient control of your HCS4x00 via watch table Status and diagnostic information in a ready made data structure Example project with integr...

Page 11: ...7 memory card for S7 1x 00 CPU SINAMICS 3 3 V FLASH 24 MByte 1 6ES7954 8LF02 0AA0 pluggable into S7 1500 as load memory 4 Industrial Ethernet TP Cord RJ45 RJ45 CAT 6A TP lines 4x2 assembled with 2 RJ45 connectors length 2 m 2 6XV1870 3QH20 5 SIPLUS HCS4200 CIM4210 central interface module with PROFINET communication 1 6BK1942 1AA00 0AA0 Firmware V2 2 6 SIPLUS HCS4200 POM4220 Highend Power output m...

Page 12: ... class A 6 languages de en fr es it cn runnable on Windows 7 64 bit Windows 10 64 bit Windows Server 2012R2 64 bit Windows Server 2016 64 bit for configuration of SIMATIC S7 1200 1500 SIMATIC S7 300 400 WinAC SIMATIC Basic Panels 1 6ES7822 1AA05 0YC5 Alternatively for no 1 For integration of the hardware SIPLUS HCS4x00 into your project you need the HSP 6 or the GSD file for PROFINET 17 or the GSD...

Page 13: ...osis of heating elements switched in parallel 4 or 12 POM per rack Quickly installed and flexibly expandable thanks to plug in power output modules Installation of the rack directly onto the carrier plate in the control cabinet Intelligent and detailed diagnostic SIPLUS HCS4300 the performant system For controlling 400 V 480 V AC heating elements Up to 69 1 kW output power per power output module ...

Page 14: ...CS4200 CIM4310 POM4320 8 bytes status bits UL12 UL23 UL31 2 bytes control bits 2 bytes control bits 2 bytes status bits 2 bytes 16 dig outputs 1 byte 8 dig inputs 2 bytes TComp 16 bytes measured values 12 bytes setpoints 12 bytes actual values 16 bytes setpoints 16 bytes actual values POM4220 Lowend POM4220 Midrange with phase control POM4220 Flexible 9 bytes setpoints 9 bytes actual values PM4000...

Page 15: ...d 50 X X Direct switching of the outputs not supported by the library 100 X X Field type 1 Combining successive power output channels 101 to 132 X X Field type 2 List of combined power output channels 150 X X Production field value Default setpoint for each field operating mode production 151 X X Standby field value Default setpoint for each field operating mode standby 152 X X Channels without di...

Page 16: ...e numbered continuously e g for HCS4200 POM2 Lowend channel 17 to 32 Selecting one field type prevents access to the others If for example data record 100 field type 1 is read or written to it is no longer possible to read from or write to data record 101 to 132 field type 2 The SIPLUS HCS including selection of the field type is reset upon returned voltage 24 V or via data record 190 Depending on...

Page 17: ... field operation it makes sense to set the channel value setpoints to 100 for each POM and to control the field only via the field value setpoints data record 150 for production operating mode and data record 151 for operating mode standby The not required output channels from the diagnostic evaluation can be excluded via data record 152 In the default setting of data record 160 the fans integrate...

Page 18: ...ecord on the writing side DB LHcs4x00_Put and on the reading side LHcs4x00_Get has a validity bit valid It serves to check whether acyclic data have been transferred successfully and whether these data are up to date for read and write access Thus each data record that has been transferred successfully to the SIPLUS HCS resets not only the write validity bit in DB LHcs4x00_Put valid true but also ...

Page 19: ...vides the following three blocks between FB LHcs4x00_Control for communication and control of HCS4x00 FB LHcs4x00_Diag82 evaluates the diagnostic interrupts of the HCS4x00 FC LHcs4x00_Diag86 resets the diagnostic interrupts for example during an HCS4x00 station failure All of the instructions access the following data blocks LHcs4x00_Config includes the configuration data for the HCS4x00 LHcs4x00_...

Page 20: ...escription 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 ...

Page 21: ... Int Length of data records 101 to 132 ds150Length Int 32 Length of data record 150 ds151Length Int 32 Length of data record 151 ds152Length Int 48 Length of data record 152 ds160Length Int 1 Length of data record 160 ds190Length Int 6 Length of data record 190 ds200Length Int 240 Length of data record 200 ds201Length Int 158 Length of data record 201 ds202Length Int 32 Length of data record 202 d...

Page 22: ...s of the CIM oCimHead UDInt Start address of the output addresses of the CIM iCimSubSlot UDInt Start address of the input addresses of the PM oCimSubSlot UDInt Start address of the output addresses of the PM pmModuleType UInt PM4000 variant 1 DI DO 2 temperature 3 U I countedPom UInt Number of configured POMs maxChannelHcs UInt maximum number of channels per HCS indexDirectAddressablePom Array 1 2...

Page 23: ...clicDataOut Cyclic output data of the HCS4x00 datasets LHcs4x00_typeDataset Data record information 4 2 9 LHcs4x00_typeCyclicDataOut PLC data type LHcs4x00_typeProcessDataOut contains the cyclic output data for the configured HCS4x00 Table 4 9 Name Data type Description cim LHcs4x00_typeCimDataOut PLC data type with the control bits pm LHcs4x00_typePmDataOut PLC data type with the data of the PM t...

Page 24: ...ctual values of the power output channels 4 2 13 LHcs4x00_typeDataset PLC data type LHcs4x00_typeDataset contains the required data for the data communication read or write with the configured HCS4x00 Table 4 13 Name Data type Description ds2 LHcs4x00_typeDs2 Data record 2 configuration data POM4220 Highend ds100 LHcs4x00_typeDs100 Data record 100 field type 1 ds101 Array 1 32 of LHcs4x00_typeDs10...

Page 25: ...lLoadOfChannel Array 1 8 of Bool Array with indication of the parallel connection of loads for each channel of the POMs4220 Highend 4 2 16 LHcs4x00_typeDs2Def The LHcs4x00_typeDs2Def PLC data type includes the configuration data for detecting a partial load interruption in case of heating elements connected in parallel only for plugged and configured POM4220 Highend Table 4 16 Name Data type Descr...

Page 26: ...fault value Description valid Bool false Validity channelNum Array 1 24 of Word List of channels of the respective field of field type 2 maximum 24 4 2 20 LHcs4x00_typeDs150 The LHcs4x00_typeDs150 PLC data type contains the field values for the operating modes Production Standby data record 150 151 Table 4 20 Name Data type Default value Description valid Bool false Validity setpoint Array 1 32 of...

Page 27: ...a type Default value Description valid Bool false Validity value Byte 16 0 16 01 all fans are switched on permanently 4 2 24 LHcs4x00_typeDs190 The LHcs4x00_typeDs190 PLC data type includes the data for data record 190 system reset by user Table 4 24 Name Data type Default value Description valid Bool false Validity value LHcs4x00_typeDs190Def Data type with reset request 4 2 25 LHcs4x00_typeDs190...

Page 28: ...a type contains the measured values of the HCS4x00 data record 200 per POM Table 4 27 Name Data type Description internalTemp Byte Internal temperature reserved Byte reserved frequency Int Frequency with one decimal place voltageL12 Int Voltage reading L12 LX1 voltageL23 Int Voltage reading L23 LX3 voltageL31 Int Voltage reading L31 unused one decimal place each voltage readings only available for...

Page 29: ...mChar Char FW version PM fwVersionPmNum Array 0 2 of Byte pom Array 1 24 of LHcs4x00_typeDs201PomVersion POM version information 4 2 30 LHcs4x00_typeDs201PomVersion The LHcs4x00_typeDs201PomVersion PLC data type contains the version details of a power output module Table 4 30 Name Data type Description fwVersionPomChar Char FW version POM x fwVersionPomNum Array 0 2 of Byte hwVersionPomTriac Byte ...

Page 30: ...in A with three decimal points powerRmsL12 Int Power RMS L1 L12 in W with one decimal place powerRmsL23 Int Power RMS L2 L23 in W with one decimal place powerRmsL31 Int Power RMS L3 L31 in W with one decimal place powerNominalL12 Int Mean power L1 L12 in W with one decimal place powerNominalL23 Int Mean power L2 L23 in W with one decimal place powerNominalL31 Int Mean power L3 L31 in W with one de...

Page 31: ... data of the HCS4x00 heating control systems Table 4 36 Name Data type Description io LHcs4x00_typeHwDataOut I O address area for the modules of the configured HCS4x00 cyclicData LHcs4x00_typeCyclicDataIn Cyclic input data of the HCS4x00 diag LHcs4x00_typeDiagData Diagnostic information datasets LHcs4x00_typeDataset Data record information 4 2 37 LHcs4x00_typeCyclicDataIn The LHcs4x00_typeCyclicDa...

Page 32: ...data of the configured and plugged I O module PM4000 Table 4 39 Name Data type Description modulDiDoIn Array 1 8 of Bool Inputs of PM4000 DI DO modulTempIn LHcs4x00_typePmTempData PLC data type with the input values of the PM4000 temperature modulUiVoltageInPhase Array 1 3 of Int measured voltages with one decimal place of the PM4000 U I 4 2 40 LHcs4x00_typePmTempData The LHcs4x00_typePmTempData P...

Page 33: ...rrors errorCode Array 1 10 of Word Array with error IDs 4 2 43 LHcs4x00_typeDiagDataPom The LHcs4x00_typeDiagDataPom PLC data type includes the diagnostic data of a POM Table 4 43 Name Data type Description fault Bool Fault occurred errorCount Int Number of active errors errorCode Array 1 10 of Word Array with error IDs channel Array 1 16 of LHcs4x00_typeDiagDataChannel Array with error informatio...

Page 34: ...HCS4x00Library Entry ID 109478117 V2 2 1 09 2018 34 Siemens AG 2018 All rights reserved 4 3 FB LHcs4x00_Control The FB LHcs4x00_Control communicates with the configured HCS4x00 heating control systems It is called in a cycle OB e g OB1 Figure 4 2 ...

Page 35: ... 1 4 2 7 and 4 2 35 Output readBusy Bool Job read data record is active writeBusy Bool Job write data record is active fault Bool Error on an HCS entry in the diagnostic structure dataGet hcs x diag state Word Returned block value 1 initialization error HW ID hwIoDevice unknown 2 data record dsNum cannot be written to 3 heater onHCS non existent 4 data record dsNum not readable 5 error when readin...

Page 36: ...ts dsNum ds100 field type 1 ds150 production field values ds151 standby field values ds152 channels without diagnostic alarm ds160 control of internal fans ds200 measured values ds201 versions ds202 measured values of PM4000 U I ds002 configuration data of POM4220 Highend ds203 measured values of POM4220 Highend ds101 ds132 field type 2 search for errors general fault CIM general fault POM channel...

Page 37: ...ut into the HCS4x00 onHcs A positive edge at input readData reads the values of data record dsNum from the HCS4x00 onHcs and stores them in the DB LHcs4x00_Get When errors occur this is signaled with output fault in connection with error code state 4 4 FB LHcs4x00_Diag82 The FB LHcs4x00_Diag82 decodes the diagnostic interrupts of the heating control systems in case of an error and writes them into...

Page 38: ...led for each coming and going interrupt of a diagnostics capable I O module When calling FB LHcs4x00_Diag82 the RALRM instruction in MODE 2 is called for receiving the AINFO interrupt information Depending on the communication type PROFINET or PROFIBUS the following interrupt information is read out of the AINFO array Identifier for the AlarmSpecifier interrupt type Slot number SlotNum and sub mod...

Page 39: ... 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 fa...

Page 40: ...umHcs yes no Failure station numHcs yes no i i 1 Start Stop Start Stop enable yes no Module rack failure OB 86 is called for each coming and going failure of an I O module When an HCS fails incoming event the enabled enable TRUE FC LHcs4x00_Diag86 deletes all errors in the diag data buffer of the respective HCS in DB LHcs4x00_Get This DB ensures that diagnostic interrupts are not displayed if a he...

Page 41: ...ML page as this document see 2 5 1 Integrating the library into STEP 7 TIA Portal The steps below define how to integrate the LHcs4x00 library into your STEP 7 project Subsequently you can use the blocks of the LHcs4x00 library Note The following section assumes that a STEP 7 project exists 1 Unzip the file 109478117_HCS4x00_LIB_v22 zip 2 Display the Libraries task card in the project view of your...

Page 42: ...brary Entry ID 109478117 V2 2 1 09 2018 42 Siemens AG 2018 All rights reserved 4 Select the global library LHcs4x00 V2 2 Write protection is enabled for the library If you want to modify the global library disable the Open as read only option 5 Click on Open Result The LHcs4x00 library opens ...

Page 43: ...the Control Diag folder They consist of the types FB LHcs4x00_Control for communication and control FB LHcs4x00_Diag82 for the diagnostic interrupts of HCS4x00 FC LHcs4x00_Diag86 for resetting the diagnostic interrupts during power failure of HCS4x00 Master copies DB LHcs4x00_Config contains the configuration data DB LHcs4x00_Get contains the read data DB LHcs4x00_Put contains data to be written D...

Page 44: ...5 How to Work with the Library 5 2 Integrating the library blocks in the project HCS4x00Library Entry ID 109478117 V2 2 1 09 2018 44 Siemens AG 2018 All rights reserved Figure 5 1 ...

Page 45: ...into your STEP 7 program 1 Select the Control Diag folder in the Types library folder and move it to the Program blocks project folder of your S7 1500 CPU via drag and drop 2 Select the Control Diag library folder in the Master copies library folder and move it each via drag and drop to the project folder Program blocks PLC data types and Watch and force tables Figure 5 2 3 In the project tree sel...

Page 46: ...V2 2 1 09 2018 46 Siemens AG 2018 All rights reserved Result The project data have been compiled The correctly grouped library elements are now located in your TIA Portal project Figure 5 3 Note By right clicking the heading Name in the project navigation you will get to the display of the block version Display Hide ...

Page 47: ...2018 47 Siemens AG 2018 All rights reserved 5 2 3 Calling the blocks in the project Main OB1 The LHcs4x00_Control function block is called in cycle OB 1 Main Move the block into OB Main and generate an instance block for the FB Figure 5 4 Then interconnect the interface parameters according to the specification in Figure 4 2 ...

Page 48: ...w organization blocks Figure 5 5 2 Then drag FB LHcs4x00_Diag82 into OB DiagnosticErrorInterrupt and generate an instance data block for it 3 Interconnect the interface parameters according to the specifications in Figure 4 4 4 Drag FC LHcs4x00_Diag86 into OB RackOrStationFailure and interconnect the interface parameters according to the specification in Figure 4 6 5 3 Updating the library Below y...

Page 49: ...HCS4x00Library Entry ID 109478117 V2 2 1 09 2018 49 Siemens AG 2018 All rights reserved Table 5 1 No Action Note 1 In STEP 7 V14 SP1 open your existing STEP 7 V14 project with library version 2 1 2 Start upgrading the project 3 Confirm the project upgrading ...

Page 50: ... following project folders via drag and drop Program blocks PLC data types Watch and force tables When the window Conflicts detected during pastings appears select the Replace existing objects and move to this location option 5 Select the Types folder in the LHcs_4x00 V2 2 block library and right click to select Update Project 6 Select the devices you would like to update Select the Delete unused ...

Page 51: ...cs4x00_Control in OB1 Main In the new version the tags LHcs4x00_Tags control retValDsReadWrite and LHcs4x00_Tags control retValStartup no longer exist For this reason delete the link 8 Then select the controller and start compiling 9 The interfaces of the block calls are updated Interconnect the missing tag links according to the specification in Figure 4 2 Figure 4 4 and Figure 4 6 ...

Page 52: ... open the Basic instructions in the instruction list and change the version of the Move operations folder to V2 1 11 After this compiling will be completed successfully 12 In the example project network 2 of the OB1 Main offers the option to copy the read data of data record 2 into the data to be written Add the network shown to facilitate the configuration for detecting a partial load interruptio...

Page 53: ...en changing the example project In the example project these steps have already been carried out for the pre defined configuration Figure 7 1 6 1 Configuring the SIPLUS HCS4x00 6 1 1 PROFINET In the following the hardware configuration in STEP 7 V14 SP1 via Hardware Support Package HSP is described 6 Instead you can also use the GSD file for PROFINET 17 Table 6 1 No Action 1 Open Devices networks ...

Page 54: ...ights reserved No Action 3 Select a firmware version V2 0 Note For operating the POM4220 Highend or POM4220 Flexible firmware V2 2 of the CIM4210 is required 4 Integrate the CIM from the hardware catalog into the Network view via double click or via drag and drop 5 Select the S7 1500 CPU as IO controller via Not assigned for the HCS4x00 ...

Page 55: ...x00 by double clicking on the IO device 7 Select the respective PM POM in the hardware catalog and add it to your HCS4x00 IO device via double click or drag and drop Repeat this step depending on the number of POMs in your configuration 8 Select the CIM or POM module and right click to open the properties in order to adjust the configuration parameters 4 or 5 chapter Configuration parameters ...

Page 56: ...No Action For heating elements connected in parallel to the POM4220 Highend you can specify the limits for detecting a partial load interruption in Parameter parallel connection of loads However this is also possible during operation via data record 2 Note Make sure that the configured hardware setup of the SIPLUS HCS4x00 matches that of the actual one ...

Page 57: ...FIBUS Table 6 2 No Action 1 Download the GSD file for your HCS 13 and unzip it 2 Open the Manage general station description files GSD item in the Options menu in the TIA Portal 3 Navigate to the storage of the unzipped GSD files select the ones required and install them Close the window after successful installation 4 Open Devices networks in the project tree ...

Page 58: ... Entry ID 109478117 V2 2 1 09 2018 58 Siemens AG 2018 All rights reserved No Action 5 Select the respective CIM in the hardware catalog in Other field devices PROFIBUS DP General SIEMENS AG SIPLUS_HCS 6 Integrate the CIM into the Network view via double click or via drag and drop ...

Page 59: ...for Slave_1 8 Go to the device view of HCS4x00 DP by double clicking on the slave Split the window so that you can also see the device overview 9 Select the respective CIM PM POM in the hardware catalog and add it via double click or drag and drop to your Slave_1 SIPLUS HCS DP Repeat this step depending on the number of POMs in your configuration Note Make sure that the configured hardware setup o...

Page 60: ...structure in DB LHcs4x00_Config numHcs Enter the number of heating control systems to be controlled as a start value IO devices or DP slaves Accordingly the upper limit of the hcs array must be identical or higher If necessary adjust the upper limit in PLC data types LHcs4x00_typeConfig LHcs4x00_typePut and LHcs4x00_typeGet an 2 Open the ioDataIn data structure of the first array element hcs 1 Ent...

Page 61: ... and enter the hardware ID of the GSD device of the Hw_DpSlave type as start value for the hwIoDevice parameter see Table 6 2 step 7 4 Open the array LHcs4x00_Config hcs x io pomTypInSlot Enter 3 as start value for each slot with a POM4220 Highend All other configured POMs will be recognized automatically by the program For these devices keep the default value 0 for the start values 5 When control...

Page 62: ...hapter 2 2 2 7 1 Installing the hardware The figure below shows the hardware setup of the application Figure 7 1 S7 1500 SIPLUS HCS4200 PC PG PROFINET IE Radiant heater panels STEP 7 TIA Portal X3 24 V DC X3 L2 X1 X3 X1 1 X1 2 X1 3 X1 4 X3 1 X3 2 X3 3 L M 24 V DC X1 P1R P2R CIM4210 PROFINET V2 2 POM4220 HIGHEND IP address 192 168 0 1 Subnet 255 255 255 0 IP address 192 168 0 242 Subnet 255 255 255...

Page 63: ...er required components as described See S7 1500 Manual 8 3 Plug the empty memory card into the S7 1500 CPU Table 2 2 See chapter Plug Pull SIMATIC Memory Card at the CPU S7 1500 manual 8 4 Finally connect the SIMATIC PM 1507 power supply module to the AC power system 230 V and supply the HCS with power 7 2 Network connections The LAN network card of the programming device requires a static IP addr...

Page 64: ...7 V2 2 1 09 2018 64 Siemens AG 2018 All rights reserved No Action Remark 2 Select the Internet Protocol Version 4 TCP IPv4 element in Networking and open its properties 3 Choose Use the following IP address Select an IP address in the CPU s subnet mask Confirm the settings with OK and Close ...

Page 65: ...uration used Confirm the settings with OK 7 3 Downloading the program This chapter describes the steps required for the installation of the STEP 7 project Table 7 4 No Action Remark 1 The Step 7 V14 SP1 project can be found on the HTML page from which you have downloaded this document 2 Save the project 109478117_HCS4x00_PRJ_v22 zip to your hard disk 2 Unzip the project and open it in STEP 7 V14 S...

Page 66: ...OFINET For correct communication between CPU and HCS via PROFINET the name of the IO devices need to match the configured names Table 7 5 No Action Remark 1 Open the device view of IO device HCS4x00 and select module 0 Open the Ethernet addresses menu in the General task card via PROFINET interfaces X1 Here you can see the configured PROFINET device name of the HCS ...

Page 67: ...ine access select the network card you used and update the accessible nodes Identify the HCS via the MAC address and select Online diagnostics 3 Select the Assign name menu in Functions Assign the PROFINET device name from step 1 and press the Assign name button After successful configuration of the HCS the RUN LED should light green and the ERROR LED of the S7 1500 CPU should be off ...

Page 68: ... configured address Table 7 6 No Action Remark 1 Open the device view of the Slave_1 GSD device Open the General task card in the Properties and the PROFIBUS address menu This is where the configured PROFIBUS address can be seen 2 Set this address via the address selection switches S1 and S2 of your PROFIBUS CIM see 4 or 5 chapter Connecting the PROFINET PROFIBUS field bus Addresses 0 to 99 can be...

Page 69: ...is operated via watch tables LHcs4x00_WatchTablePut serves for writing on the HCS LHcs4x00_WatchTableGet serves for reading out the data of the HCS 8 1 Operating the HCS4x00 The heating control system is controlled via the watch table Table 8 1 No Action Remark 1 Open the watch tables LHcs4x00_WatchTablePut and LHcs4x00_WatchTableGet in the project tree 2 Enable the Monitor all button ...

Page 70: ...data record Proceed as follows in order to read out a data record for example data record 200 measured values Table 8 2 No Action Remark 1 Open watch table LHcs4x00_WatchTableGet in the project tree 2 If you have configured several heating control systems at your S7 1500 specify those via LHcs4x00_Tags control onHcs that shall be used for data record communication 3 Write the value 200 to the LHcs...

Page 71: ...LHcs4x00_Tags control heatingOn bit for switching the heating off 8 1 3 Assigning the Channels without diagnostic interrupt DS 152 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 Remark 1 Open the LHcs4x00_WatchTablePut watch table in the project tree 2 Select the output c...

Page 72: ...in the project tree 2 Set the LHcs4x00_Tags control heatingOn bit for switching on the heating 3 The heating operation in the LHcs4x00_WatchTableGet watch table is displayed under the CIM information 4 Control the power output channels in the LHcs4x00_WatchTablePut watch table via hcs 1 cyclicData pom 1 in DB LHcs4x00_Put value range 0 to 100 5 Open the LHcs4x00_WatchTableGet watch table with the ...

Page 73: ...egin and end channel chanEnd in data record 100 hcs 1 datasets ds100 in DB LHcs4x00_Put for each field 3 Write 100 to tag 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 ...

Page 74: ...eset bit LHcs4x00_Tags control writeData Note Table 8 2 step 2 11 Open the LHcs4x00_WatchTableGet watch table The actual values of the assigned power output channels show the respective field value setpoints 12 In the LHcs4x00_WatchTablePut watch table you can use the control prodStandby bit to choose between operating modes Production and Standby and switch the compensation voltage on and off via...

Page 75: ...a record 102 field 2 3 Write the respective data record number 101 to 132 to tag LHcs4x00_Tags control dsNum and set the bit LHcs4x00_Tags control writeData Note Table 8 2 step 2 4 Then reset bit LHcs4x00_Tags control writeData 5 Verify the adopted settings by reading the data records 101 ds101 1 to 132 ds101 32 in DB LHcs4x00_Get To do this write the respective data record number 101 to 132 to ta...

Page 76: ... control dsNum for adopting the field value setpoints and set bit LHcs4x00_Tags control writeData 10 Then reset bit LHcs4x00_Tags control writeData Note Table 8 2 step 2 11 Open the LHcs4x00_WatchTableGet watch table The actual values of the assigned power output channels show the respective field value setpoints 12 In the LHcs4x00_WatchTablePut watch table you can use the control prodStandby bit ...

Page 77: ...e 160 to tag LHcs4x00_Tags control dsNum and set bit LHcs4x00_Tags control writeData for transferring the command Note Table 8 2 step 2 4 Then reset bit LHcs4x00_Tags control writeData 5 Open the LHcs4x00_WatchTableGet watch table for verification purposes and read out data record 160 via LHcs4x00_Tags control readData Table 8 2 steps 4 and 5 6 Write 0 to parameter LHcs4x00_Put hcs x datasets ds16...

Page 78: ...ing the power channels for loads connected in parallel The POM4220 Highend offers the option to detect a partial load interruption for heating elements connected in parallel The parameters for detecting the partial load interruption can be set for each channel in the hardware configuration or via data record 2 This offers support for commissioning and enables you to adapt the parameters during ope...

Page 79: ...0 Activate the pom 1 parallelLoadOfChannel 1 bit As overall power ds2 pom 1 channel 1 maxLoad enter the measured power of step 6 Select a suitable maximum permissible deviation from the overall power channel 1 maxDiffToMaxLoad for detecting a partial load interruption Value range for maxLoad 400 to 9600 W Value range for maxDiffToMaxLoad 50 to 2000 W 11 Transfer data record 2 to the HCS Then reset...

Page 80: ...w 59191792 9 STEP 7 Professional V14 SP1 Manual https support industry siemens com cs ww en view 109747136 10 Mounting and scaling of the SIPLUS HCS4200 https www youtube com watch v MArniJn8N_w 11 SIPLUS HCS4300 Mounting https www youtube com watch v MT7cWE9dVPs 12 Scaling of SIPLUS HCS4300 https www youtube com watch v 26Qnmsl5g1g 13 SIPLUS HCS4x00 PROFIBUS GSD files https support industry sieme...

Page 81: ...ontrol please contact mailto technical assistance siemens com 11 History Table 11 1 Version Date Modifications V1 0 11 2015 First version V2 0 04 2016 Update for CIM4x10 PN V2 CIM4x10 DP V1 V2 0 1 03 2017 Text correction of the document for STEP 7 V13 SP1 V2 1 03 2017 Update to STEP 7 V14 for SIMATIC S7 1200 S7 1500 V2 2 03 2018 Update to STEP 7 V14 SP1 STEP 7 V15 Added functions for POM4220 Highe...

Reviews: