sns7 modules
TRANSCRIPT
-
8/13/2019 SNS7 Modules
1/30
ServiceLab SOFTNET-S7 Modules
s 1
ServiceLab
SOFTNET-S7 ModulesSOFTNET-S7 ModulesSOFTNET-S7 ModulesSOFTNET-S7 Modules
Module DescriptionModule DescriptionModule DescriptionModule Description
Copyright 2003 by Siemens AGAll rights reserved.
Siemens AG, ZN Ulm, Lise-Meitner-Str. 7/189081 Ulm, Germany
The ServiceLabprogram and its manuals are constantly being further developed. Wereserve the right to change all specifications of the program at any time without priornotice.
-
8/13/2019 SNS7 Modules
2/30
SOFTNET-S7 Modules ServiceLab
2 s
-
8/13/2019 SNS7 Modules
3/30
ServiceLab SOFTNET-S7 Modules
s 3
Contents:Contents:Contents:Contents:1 SOFTNET-S7 MODULES.......................................................................................5
1.11.11.11.1 R RRREQUIREMENTSEQUIREMENTSEQUIREMENTSEQUIREMENTS.................................................................................................................................................................................................................................................................................................................................................... 7777
1.21.21.21.2 SSSSPECIAL FUNCTIONS OF THEPECIAL FUNCTIONS OF THEPECIAL FUNCTIONS OF THEPECIAL FUNCTIONS OF THE SOFTNET-S7SOFTNET-S7SOFTNET-S7SOFTNET-S7 MODULESMODULESMODULESMODULES............................................................................................................................................ 9999
1.31.31.31.3 SOFTNET-S7 ISOFTNET-S7 ISOFTNET-S7 ISOFTNET-S7 INPUT MODULENPUT MODULENPUT MODULENPUT MODULE............................................................................................................................................................................................................................................................ 11111111
1.3.1 Parameters...............................................................................11
1.3.2 Setting the interface.................................................................12
1.3.3 Symbolic channel setting .........................................................13
1.3.3.1 Adapting the symbol table...................................................13
1.41.41.41.4 SOFTNET-SSOFTNET-SSOFTNET-SSOFTNET-S7 O7 O7 O7 OUTPUT MODULEUTPUT MODULEUTPUT MODULEUTPUT MODULE ............................................................................................................................................................................................................................................ 15151515
1.4.1 Send Mode ..............................................................................15
1.4.1.1 Send Mode Automatic......................................................... 151.4.1.2 Send Mode Manual ............................................................. 16
1.4.2 Parameters...............................................................................16
1.4.3 Setting the interface.................................................................18
1.4.4 Symbolic channel setting .........................................................18
1.4.4.1 Adapting the symbol table...................................................18
1.4.5 Example of incorrect use of the module...................................19
1.51.51.51.5 SSSSETTING UP THEETTING UP THEETTING UP THEETTING UP THE SOFTNET-S7SOFTNET-S7SOFTNET-S7SOFTNET-S7 DRIVERDRIVERDRIVERDRIVER................................................................................................................................................................................................................ 21212121
1.5.1 Installing the SOFTNET-S7 software.........................................21
1.5.2 Configuring the PC station.......................................................21
1.5.3 Configuring the PC station and S7 connections........................23
1.5.3.1 Connection configuration for specified end points ............... 26
1.5.3.2 Connection configuration for unspecified end points ...........28
1.5.3.3 Loading the configuration data onto the PC station .............. 29
-
8/13/2019 SNS7 Modules
4/30
-
8/13/2019 SNS7 Modules
5/30
-
8/13/2019 SNS7 Modules
6/30
-
8/13/2019 SNS7 Modules
7/30
ServiceLab SOFTNET-S7 Modules
s 7
1.11.11.11.1 RequirementsRequirementsRequirementsRequirements
For the SOFTNET-S7modules to be able to exchange data with a SIMATICS7controller, the following conditions must be met:
The SIMATIC S7 must be configured for use via PROFIBUS orIndustrial Ethernet (assign PROFIBUS or IP address, enter Ethernet
CP in the hardware configuration of the SIMATIC S7, etc.).
The SIMATIC NET SOFTNET-S7 software for Industrial Ethernet orPROFIBUS must be installed taking all preconditions into account (e.g.operating systems, administrator rights, etc.).
The PG/PC interface must be set up correctly:
1. A suitable Industrial Ethernet / PROFIBUS communicationprocessor (module) including device drivers and the necessaryprotocols must have been installed ( for Industrial Ethernet, e.g. ISOInd. Ethernet and for PROFIBUS, e.g. CP5611 ).
2. The access point for Industrial Ethernet and/or PROFIBUS musthave been created ( for Industrial Ethernet: SOFTNET IE and forPROFIBUS: SOFTNET PB).
3. The access path for Industrial Ethernet and/or PROFIBUS musthave been set up ( for Industrial Ethernet, e.g. "SOFTNET IE TCP/IP 3Com EtherConnection 10/100" and for PROFIBUS,e.g. "SOFTNET PB PROFIBUS CP5611" ).
"Configured operation" must have been set on the configuration consolefor all required communication processors of the PC station.
The S7 "ServiceLab" application of the PC station must have been
added in the Component Configurer and the station name set, ifnecessary.
All modules and applications of the PC station must have beenconfigured in HW Config, including networking information.
All (un)specified S7 connections of the S7 "ServiceLab" applicationmust have been configured.
The configuration data must be loaded into the local PC station.A detailed description of the configuration of the PC station and the S7connection is given on Page 21.
-
8/13/2019 SNS7 Modules
8/30
-
8/13/2019 SNS7 Modules
9/30
-
8/13/2019 SNS7 Modules
10/30
-
8/13/2019 SNS7 Modules
11/30
ServiceLab SOFTNET-S7 Modules
s 11
1.31.31.31.3 SOFTNET-S7 Input moduleSOFTNET-S7 Input moduleSOFTNET-S7 Input moduleSOFTNET-S7 Input module
This module is used for acquiring process variables from a
SIMATIC S7-300/-400 via Ethernet or PROFIBUS with SOFTNET
.
In the diagram this module can acquire up to 16different process variables
of a SIMATIC S7 and pass these values on to further modules via datachannels. Up to 16 modules can also be installed and edited simultaneouslyin the diagram.
The SOFTNET-S7 module permits parallel execution of STEP7 andprocessing of various SIMATIC S7controllers.
Input/output parametersInput/output parametersInput/output parametersInput/output parameters
Number of input channels:
Block size at the input:
Number of output channels: up to 16
Block size at the output: 1
Max. number of modules: 16
1.3.11.3.11.3.11.3.1 ParametersParametersParametersParameters
Process variablesProcess variablesProcess variablesProcess variables
Type:Type:Type:Type:
This defines from which operand area in the RAM of a SIMATIC S7theprocess variable is read. The SOFTNET-S7 module can read values of thefollowing operand types of a SIMATIC S7:
InputInputInputInput
OutputOutputOutputOutput
Data block (DB)Data block (DB)Data block (DB)Data block (DB)
Bit MemoryBit MemoryBit MemoryBit Memory
CounterCounterCounterCounter
TimerTimerTimerTimer
Peripheral InputPeripheral InputPeripheral InputPeripheral Input
Format:Format:Format:Format:
The format defines the size of the memory area and the interpretation of
the process variables to be read.The following alternatives can be selected:
Binary ValueBinary ValueBinary ValueBinary Value A bit of a process variable (digital value).
Binary values are scaled to TTL level at the
output of the SOFTNET S7, that is, if the
corresponding bit in the SOFTNET S7 is set,
the value 5 is present at the output of the
module, otherwise it is the value 0.
ByteByteByteByte 8 bit value with a value range between 0 and
255
Word (unsigned)Word (unsigned)Word (unsigned)Word (unsigned) 16-bit value with a value range between 0 and
65,535
Word (unsignedWord (unsignedWord (unsignedWord (unsigned(counter/timer)(counter/timer)(counter/timer)(counter/timer)
16-bit value with a value range between 0 and
999
-
8/13/2019 SNS7 Modules
12/30
SOFTNET-S7 Modules ServiceLab
12 s
Word (signed)Word (signed)Word (signed)Word (signed) 16-bit value with a value range between -32,768
and 32,767
Word (BCD)Word (BCD)Word (BCD)Word (BCD) 16-bit value with a value range between -999
and 999
Double wordDouble wordDouble wordDouble word(unsigned)(unsigned)(unsigned)(unsigned)
32-bit value with a value range between 0 and
4,294,967,295
Double word (signed)Double word (signed)Double word (signed)Double word (signed) 32-bit value with a value range between 2,147,483,648 and 2,147,483,647
Double word (BCD)Double word (BCD)Double word (BCD)Double word (BCD) 32-bit value with a value range between
9,999,999 and 9,999,999
Floating Point ValueFloating Point ValueFloating Point ValueFloating Point Value 32-bit floating-point variable in IEEE 754
format
Timer Reading [ms]Timer Reading [ms]Timer Reading [ms]Timer Reading [ms] 32-bit value with a value range between 0 and
9990000 .
Data Block:Data Block:Data Block:Data Block:
This selection window is only available if the operand type of thevariable to be read is a data block.
Select the number of the data block in which the variable is located here.
Byte Address:Byte Address:Byte Address:Byte Address:
This entry defines the address of the variable to be read within anoperand area. If the operand type is a data block, you must enter thenumber of the variables to be read (e.g. a data byte or data word) here.
Bit:Bit:Bit:Bit:
This selection window is only available if the operand format of thevariable is a binary value. Select the required bit (0 to 7) here.
Selection:Selection:Selection:Selection:
This field cannot be edited. It is for information about the selectedvariable in STEP7notation.
Value Range / ScalingValue Range / ScalingValue Range / ScalingValue Range / Scaling
Minimum: and Maximum: determine the value range of the processvariables. For the floating-point format, Maximum: and Minimum:cannot be edited. In all other cases, linear scaling is performed, if thedefault setting in Minimum: or Maximum: is changed.
1.3.21.3.21.3.21.3.2 Setting the interfaceSetting the interfaceSetting the interfaceSetting the interface
The interface via which the PG or PC is coupled with the SIMATIC S7 isdefined in the two selection windows "Access Point:" and "Connection:".The selected settings are then valid for only one SOFTNET-S7 Inputmodule in ServiceLab.
Access Point:Access Point:Access Point:Access Point:
Select an access pointhere that will be entered in the standard dialog box ofthe "Set PG/PC interface" and is suitable for a SOFTNET connection. Ifthere is no such access, the list will only contain the entry "".
The following must apply before an access point can be selected in thisfield:
-
8/13/2019 SNS7 Modules
13/30
ServiceLab SOFTNET-S7 Modules
s 13
The SIMATIC NET SOFTNET-S7 software for Industrial Ethernet orPROFIBUS must be installed taking all preconditions into account (e.g.operating systems, administrator rights, etc.).
"Configured operation" must have been set on the configuration consolefor all required communication processors of the PC station.
The S7 "ServiceLab" application of the PC station must have beenadded in the Component Configurer and the station name set, ifnecessary.
All modules and applications of the PC station must have beenconfigured in HW Config, including networking information.
All (un)specified S7 connections of the S7 "ServiceLab" applicationmust have been configured.
The configuration data must be loaded into the local PC station.
1.3.31.3.31.3.31.3.3 Symbolic channel settingSymbolic channel settingSymbolic channel settingSymbolic channel setting
It is also possible to select the variables in the SOFTNET-S7Input moduleby clicking a symbol from a STEP7symbol table. This is only possible if thesymbol table is available in SDF format (e.g. "filename.sdf").
Symbolic Channel Definition...Symbolic Channel Definition...Symbolic Channel Definition...Symbolic Channel Definition...
Clicking the "Symbolic Channel Definition..." button opens a dialog box.
A symbol table is selected and loaded by clicking the "Load SymbolTable..." button in this dialog box.
If a symbol table is loaded in this dialog box, a symbol or variable can beassigned to the active, green channel by clicking a line of the symbol table.The STEP7symbol then becomes the name of the channel.
1.3.3.11.3.3.11.3.3.11.3.3.1 Adapting the symbol tableAdapting the symbol tableAdapting the symbol tableAdapting the symbol table
Display of the symbol table can be adapted as required.
Adapting the column widthAdapting the column widthAdapting the column widthAdapting the column width
The column width of the symbol table can be enlarged or reduced bymoving the mouse pointer onto the line separating the two columns(e.g. between the Type and Address columns; the mouse pointerchanges shape) and then by changing the width of a column (and alsothe adjacent column) while holding the left mouse button down.
Adapting the order of columnsAdapting the order of columnsAdapting the order of columnsAdapting the order of columns
The order of the columns can be changed by moving the mouse pointeronto a column and moving this column to any point in the row whileholding the left mouse button down.
-
8/13/2019 SNS7 Modules
14/30
SOFTNET-S7 Modules ServiceLab
14 s
Restriction on symbols displayedRestriction on symbols displayedRestriction on symbols displayedRestriction on symbols displayed
The symbol table displayed can be restricted by selecting an entry in the"Display Operand:"selection field:
AllAllAllAll All operands of the symbol table are displayed
InputInputInputInput Only inputs are displayed
OutputOutputOutputOutput Only outputs are displayed
Bit MemoryBit MemoryBit MemoryBit Memory Only bit memories are displayedCounterCounterCounterCounter Only counters are displayed
TimerTimerTimerTimer Only timer variables are displayed
Peripheral InputPeripheral InputPeripheral InputPeripheral Input Only I/O inputs are displayed
-
8/13/2019 SNS7 Modules
15/30
ServiceLab SOFTNET-S7 Modules
s 15
1.41.41.41.4 SOFTNET-S7 Output moduleSOFTNET-S7 Output moduleSOFTNET-S7 Output moduleSOFTNET-S7 Output module
This module is used for writing values from ServiceLab into a
SIMATIC S7-300/400via Ethernet or PROFIBUS with SOFTNET.
Warning:
If used incorrectly, this function can stop and/or damage theplant/machine! See example on Page 19.
Depending on the function type, this module writes values automatically ormanually (i.e. on mouse click) into a data area (e.g. output or bit memory)of a SIMATIC S7-300/-400. This requires that the SOFTNET software forEthernet or PROFIBUS has been installed and an appropriate PC stationhas been set up under STEP7. Up to 16 modules can be installed andprocessed simultaneously in the diagram.
The SOFTNET S7 module permits parallel execution of STEP7 andprocessing of various SIMATIC S7controllers.
Input/output parametersInput/output parametersInput/output parametersInput/output parameters
Number of input channels: up to 16
Block size at the input: 1
Number of output channels:
Block size at the output:
Max. number of modules: 16
1.4.11.4.11.4.11.4.1 Send ModeSend ModeSend ModeSend Mode
When installing the "SOFTNET-S7 Output" module on the ServiceLab userinterface, transmit mode must be defined for this module. The following are
available:Automatic (with Input Channels)Automatic (with Input Channels)Automatic (with Input Channels)Automatic (with Input Channels)
Ideally, the values at the inputs are transmitted to a SIMATIC S7 at thesampling rate.
Manual (without Input Channels)Manual (without Input Channels)Manual (without Input Channels)Manual (without Input Channels)
Values can be entered in input fields via the keyboard and transmittedonce to a SIMATIC S7with a mouse click on buttons specially for thatpurpose.
1.4.1.11.4.1.11.4.1.11.4.1.1 Send Mode AutomaticSend Mode AutomaticSend Mode AutomaticSend Mode Automatic
In this mode, the "Send Mode:" selection field offers three settings:
If "" is selected, this module does not transmitvalues/data to a SIMATIC S7and therefore has no function.
Send input data continuouslySend input data continuouslySend input data continuouslySend input data continuously
If "Send input data continuously" is selected, this module attempts totransmit the values pending at the input to a SIMATIC S7at the samplingrate.
Send input data on changeSend input data on changeSend input data on changeSend input data on change
If "Send input data on change" is selected, values are only transmitted
once to a SIMATIC S7if the values have changed at the input.
-
8/13/2019 SNS7 Modules
16/30
SOFTNET-S7 Modules ServiceLab
16 s
Example:Example:Example:Example:
Point in time 0 1 2 3 4 5 6 7 8 9
Value at the input of themodule
- 4.0 4.0 4.0 4.0 4.2 4.2 4.2 4.3 4.3
Value that is written tothe SIMATIC S7on:
< unspecified > - - - - - - - - - -
Send input datacontinuously
- 4.0 4.0 4.0 4.0 4.2 4.2 4.2 4.3 4.3
Send input data onchange
- 4.0 - - - 4.2 - - 4.3 -
1.4.1.21.4.1.21.4.1.21.4.1.2 Send Mode ManualSend Mode ManualSend Mode ManualSend Mode Manual
In this mode, the values are transmitted to a SIMATIC S7with a mouse clickon the relevant buttons. In manual mode, this module provides an operatingwindow for this purpose.
Analog valuesAnalog valuesAnalog valuesAnalog values
For analog values, the operating window contains an input field and a"Send" button.
Input fieldInput fieldInput fieldInput field
It is possible to enter a decimal number in this field on the keyboard.
TransmitTransmitTransmitTransmit
A mouse click on the "Send" button causes the decimal number in theinput field to be transmitted once to a SIMATIC S7. The "Send"button is only active if a valid number is entered in the associatedinput field.
Digital valuesDigital valuesDigital valuesDigital values
For digital values, the operating window contains a "Low" and a "High"button.
LowLowLowLow
A mouse click on the "Low" button causes a low signal (digital value
0) to be transmitted once to a SIMATIC S7. HighHighHighHigh
A mouse click on the "High" button causes a high signal (digital value1) to be transmitted once to a SIMATIC S7.
1.4.21.4.21.4.21.4.2 ParametersParametersParametersParameters
Process variablesProcess variablesProcess variablesProcess variables
Type:Type:Type:Type:
This defines to which operand area in the RAM of a SIMATIC S7 the
process variable is written. TheSOFTNET S7 module
can write values tothe following operand areas in a SIMATIC S7:
OutputOutputOutputOutput
Data block (DB)Data block (DB)Data block (DB)Data block (DB)
-
8/13/2019 SNS7 Modules
17/30
ServiceLab SOFTNET-S7 Modules
s 17
Bit MemoryBit MemoryBit MemoryBit Memory
CounterCounterCounterCounter
TimerTimerTimerTimer
Peripheral OutputPeripheral OutputPeripheral OutputPeripheral Output
Format:Format:Format:Format:
The format defines the size of the memory range and the interpretation
of the process variables to be written.The following alternatives can be selected:
Binary ValueBinary ValueBinary ValueBinary Value A bit of a process variable (digital value) with
the value 0 or 1.
ByteByteByteByte 8 bit value with a value range between 0 and
255
Word (unsigned)Word (unsigned)Word (unsigned)Word (unsigned) 16-bit value with a value range between 0 and
65,535
Word (unsigned)Word (unsigned)Word (unsigned)Word (unsigned)
(counter)(counter)(counter)(counter)
16-bit value with a value range between 0 and
999
Word (signed)Word (signed)Word (signed)Word (signed) 16-bit value with a value range between
32,768 and 32,767
Word (BCD)Word (BCD)Word (BCD)Word (BCD) 16-bit value with a value range between -999
and 999
Double wordDouble wordDouble wordDouble word(unsigned)(unsigned)(unsigned)(unsigned)
32-bit value with a value range between 0 and
4,294,967,295
Double word (signed)Double word (signed)Double word (signed)Double word (signed) 32-bit value with a value range between
2,147,483,648 and 2,147,483,647
Double word (BCD)Double word (BCD)Double word (BCD)Double word (BCD) 32-bit value with a value range between
9,999,999 and 9,999,999
Floating Point ValueFloating Point ValueFloating Point ValueFloating Point Value 32-bit floating-point variable in IEEE 754
format
Timer Reading [ms]Timer Reading [ms]Timer Reading [ms]Timer Reading [ms] 32-bit value with a value range between 0 and
9990000 .
Data Block:Data Block:Data Block:Data Block:
This selection window is only available if the operand type of thevariable to be written is a data block.
Select the number of the data block in which the variable is located here.
Byte Address:Byte Address:Byte Address:Byte Address:
This entry defines the address of the variable to be written within anoperand area. If the operand type is a data block, you must enter thenumber of the variables to be written (e.g. a data byte or data word)here.
Bit:Bit:Bit:Bit:
This selection window is only available if the operand format of thevariable is a binary value. Select the requried bit (0 to 7) here.
Selection:Selection:Selection:Selection:
This field cannot be edited. It is for information about the selectedvariable in STEP7notation.
-
8/13/2019 SNS7 Modules
18/30
SOFTNET-S7 Modules ServiceLab
18 s
Value Range / ScalingValue Range / ScalingValue Range / ScalingValue Range / Scaling
Minimum: and Maximum: determine the value range of the processvariables. For the floating-point format, Maximum: and Minimum:cannot be edited. In all other cases, linear scaling is performed, if thedefault setting in Minimum: or Maximum: is changed.
1.4.31.4.31.4.31.4.3 Setting the interfaceSetting the interfaceSetting the interfaceSetting the interface
The interface via which the PG or PC is coupled with the SIMATIC S7 isdefined in the two selection windows "Access Point:" and "Connection:".The selected settings are then valid for only one SOFTNET-S7 Outputmodule in ServiceLab.
Access Point:Access Point:Access Point:Access Point:
Select an access pointhere that will be entered in the standard dialog box ofthe "Set PG/PC interface" and is suitable for a SOFTNET connection. Ifthere is no such access, the list will only contain the entry "".The following must apply before an access point can be selected in thisfield:
The SIMATIC NET SOFTNET-S7 software for Industrial Ethernet orPROFIBUS must be installed taking all preconditions into account (e.g.operating systems, administrator rights, etc.).
"Configured operation" must have been set on the configuration consolefor all required communication processors of the PC station.
The S7 "ServiceLab" application of the PC station must have beenadded in the Component Configurer and a station name set, ifnecessary.
All modules and applications of the PC station must have been
configured in HW Config, including networking information.
All (un)specified S7 connections of the S7 "ServiceLab" applicationmust have been configured.
The configuration data must be loaded into the local PC station.
1.4.41.4.41.4.41.4.4 Symbolic channel settingSymbolic channel settingSymbolic channel settingSymbolic channel setting
It is also possible to select the variables in the SOFTNET-S7Output moduleby clicking a symbol from a STEP7symbol table. This is only possible if thesymbol table is available in SDF format (e.g. "filename.sdf").
Symbolic Channel Definition...Symbolic Channel Definition...Symbolic Channel Definition...Symbolic Channel Definition...
Clicking the "Symbolic Channel Definition..." button opens a dialog box.
A symbol table is selected and loaded by clicking the "Load SymbolTable..." button in this dialog box.
If a symbol table is loaded in this dialog box, a symbol or variable can beassigned to the active, green channel by clicking on a line of the symboltable. The STEP7symbol then becomes the name of the channel.
1.4.4.11.4.4.11.4.4.11.4.4.1 Adapting the symbol tableAdapting the symbol tableAdapting the symbol tableAdapting the symbol table
Display of the symbol table can be adapted as required.
Adapting the column widthAdapting the column widthAdapting the column widthAdapting the column width
The column width can be enlarged or reduced by moving the mousepointer onto the line separating the two columns (e.g. between the Type
-
8/13/2019 SNS7 Modules
19/30
ServiceLab SOFTNET-S7 Modules
s 19
and Address columns; the mouse pointer changes shape) and then bychanging the width of a column (and also the adjacent column) whileholding the left mouse button down.
Adapting the order of columnsAdapting the order of columnsAdapting the order of columnsAdapting the order of columns
The order of the columns can be changed by moving the mouse pointeronto a column and moving this column to any point in the row whileholding the left mouse button down.
Restriction on symbols displayedRestriction on symbols displayedRestriction on symbols displayedRestriction on symbols displayedThe symbol table displayed can be restricted by selecting an entry in the"Display operand:"selection field:
AllAllAllAll All variables of the symbol table are displayed
OutputOutputOutputOutput Only outputs are displayed
Bit MemoryBit MemoryBit MemoryBit Memory Only markers are displayed
CounterCounterCounterCounter Only counters are displayed
TimerTimerTimerTimer Only timer variables are displayed
Peripheral OutputPeripheral OutputPeripheral OutputPeripheral Output Only I/O outputs are displayed
1.4.51.4.51.4.51.4.5 Example of incorrect use of the moduleExample of incorrect use of the moduleExample of incorrect use of the moduleExample of incorrect use of the module
Maintenance work is to be performed on a part press. To do that a personhas to enter the hazardous area of the plant. To ensure that this person isallowed to work without danger, an "enable bit" in a data block is set to "0".As long as this bit is set to "0" the tools are prevented from closing, forexample. Only when the bit is set to "1" is closing of the tools again enabled.
If this bit is now set to "1" with the ServiceLab SOFTNET-S7 outputmodule, either due to carelessness or incorrect operation, closing of thetools is enabled. If a person is present in the hazardous area of the part press
during this time serious injury can occur.That is why this ServiceLabSOFTNET-S7 output module should only behandled by competent personnel trained in the programming of thecontroller and handling of the plant.
-
8/13/2019 SNS7 Modules
20/30
-
8/13/2019 SNS7 Modules
21/30
ServiceLab SOFTNET-S7 Modules
s 21
1.51.51.51.5 Setting up the SOFTNET-S7 driverSetting up the SOFTNET-S7 driverSetting up the SOFTNET-S7 driverSetting up the SOFTNET-S7 driver
1.5.11.5.11.5.11.5.1 Installing the SOFTNET-S7 softwareInstalling the SOFTNET-S7 softwareInstalling the SOFTNET-S7 softwareInstalling the SOFTNET-S7 software
SOFTNET-S7software must be installed for the SOFTNET S7modules to beable to exchange data with a SIMATIC S7controller.
The following products are necessary for data exchange via:
PROFIBUSPROFIBUSPROFIBUSPROFIBUS
PROFIBUS SOFTNET-S7/ Windows V6.0.4 (6GK1704-1CW32-3AA0)
EthernetEthernetEthernetEthernet
Industrial Ethernet SOFTNET-S7/ Windows V6.0.4 (6GK1704-1CW60-3AA0)
1.5.21.5.21.5.21.5.2 Configuring the PC stationConfiguring the PC stationConfiguring the PC stationConfiguring the PC station
The SIMATIC PC station(called "PC station" in this document) represents aPC/PG containing SIMATICcomponents, such as applications, slot or softPLCs for automation tasks. These components are configured within thePC station or can be the end point of a connection. The configurationconsole "Set PC station"(see Fig. 1.5.2-1 ) is used for
Configuration,Configuration,Configuration,Configuration,
Start-up,Start-up,Start-up,Start-up,
DiagnosticsDiagnosticsDiagnosticsDiagnostics
of the communication system of a SIMATIC PC station. With it, you candisplay or change properties of applications, modules, or access points.
All modules to be used for S7 communication must be running in"configured operation"mode. In this mode, all parameters of the moduleare defined in the configuration of the automation plant and transferred tothe module. After that, it is possible to use all protocols provided bySIMATIC NETwith the module and the OPC server.
The mode is set via the configuration console by selecting submenu item"General" of the relevant module. The dialog box shown in Fig. 1.5.2-1appears containing a selection list of modes.
For communication between components within the PC station and forreceiving configuration data, each module has a unique ID number. The IDnumber for the modules in a PC station is the Index. Like a module slot in
a S7 controller, this index corresponds to a virtual slot in a PC station.Within a PC station, the index must be unique. The index is onlyconsidered in "configured operation" mode and should be ascending withoutgaps.
-
8/13/2019 SNS7 Modules
22/30
SOFTNET-S7 Modules ServiceLab
22 s
Fig. 1.5.2-1 : Configuration console "Set PC station"
After all required CP modules have been registered for configuredoperation, the PC station must be completed in the ComponentConfigurer (see Fig. 1.5.2-2). It permits access to the station manager asthe central administration instance for the components of the PC station.The components are:
the modules andthe modules andthe modules andthe modules and
the applications involved in communication.the applications involved in communication.the applications involved in communication.the applications involved in communication.
The station manager is the central administration instance for thecomponents of a PC station. The Component Configurer is the operableuser interface of the station manager. It permits access to componentadministration of the PC station. The Component Configurer can also beused for diagnostic purposes.
First of all the PC station can be assigned a station namehere. To be ableto identify a configuration that has already been loaded locally, the namemust match the name here that is assigned later in communicationconfiguration with NCM PC / STEP 7for the PC station. If the name doesnot match, a check is made to see if access to a networked PC station ispossible. In this case, the computer name of the PC/PG, also used foridentification in the computer LAN, has been used.
To enable ServiceLab to access the PC station, a new "Application"component must also be added to the next free virtual slot (index). Theindex must later match the slot number selected in "STEP 7 HW Config". If
the selected index conflicts with the slot number configured in "STEP 7 HWConfig", loading the configuration is rejected. The name of the applicationmust be set on "ServiceLab". The precise notation must be used (exactlyten characters with this upper/lower case), otherwise the component is notrecognized by the SOFTNETmodules!
-
8/13/2019 SNS7 Modules
23/30
ServiceLab SOFTNET-S7 Modules
s 23
Fig. 1.5.2-2: Completion of the PC station in the Component Configurer
After the station name has been set and all components have been inserted,all modules are given a preset configuration. The "ServiceLab" applicationis not configured. This is displayed by the status icons of the individual
components (see Fig. 1.5.2-3). Without valid configuration, the PC stationcannot be used. Therefore a "SIMATIC PC station"must be configured withall S7 connections with the NCM PCor STEP 7tool.
Fig. 1.5.2-3: Unconfigured components of the PC station in the componentconifgurer (cf. Fig. 1.5.3-7 on Page 25 )
1.5.31.5.31.5.31.5.3 Configuring the PC station and S7 connectionsConfiguring the PC station and S7 connectionsConfiguring the PC station and S7 connectionsConfiguring the PC station and S7 connections
With station type "SIMATIC PC station" a PC station is configuredcompletely. The components configured there are then also available forconfiguring connections. The following components can be configured in a
SIMATIC PC station: PLC WinLC softwarePLC WinLC softwarePLC WinLC softwarePLC WinLC software
Slot PLC CPU 41x-2 PCI (WinAC Slot 412 and WinAC Slot 416)Slot PLC CPU 41x-2 PCI (WinAC Slot 412 and WinAC Slot 416)Slot PLC CPU 41x-2 PCI (WinAC Slot 412 and WinAC Slot 416)Slot PLC CPU 41x-2 PCI (WinAC Slot 412 and WinAC Slot 416)
-
8/13/2019 SNS7 Modules
24/30
SOFTNET-S7 Modules ServiceLab
24 s
SIMATIC communication processors for the PCSIMATIC communication processors for the PCSIMATIC communication processors for the PCSIMATIC communication processors for the PC
SIMATIC HMI: WinCC and Protool ProSIMATIC HMI: WinCC and Protool ProSIMATIC HMI: WinCC and Protool ProSIMATIC HMI: WinCC and Protool Pro
Applications (e.g. user applications based on SAPI-S7)Applications (e.g. user applications based on SAPI-S7)Applications (e.g. user applications based on SAPI-S7)Applications (e.g. user applications based on SAPI-S7)
OPC serverOPC serverOPC serverOPC server
First of all, a project must be created with a "SIMATIC PC station"with the
NCM PC or STEP 7 tool. This must keep the same station name as wasassigned in the Component Configurer, in this example "IAI8290".
That is followed by hardware configuration of this PC station (see Fig.1.5.3-1). In this step, all CP modules and applications are set to the samevirtual slots that were also assigned in the Component Configurer. The"ServiceLab" application must therefore be entered again on slot 3 and begiven a precise name (exactly ten characters with upper/lower case).
All modules must be configured and assigned to a network. In the example,the following networkingwas been implemented:
3Com EtherConnection XL with IP address 141.76.82.90 in the3Com EtherConnection XL with IP address 141.76.82.90 in the3Com EtherConnection XL with IP address 141.76.82.90 in the3Com EtherConnection XL with IP address 141.76.82.90 in the"Ethernet" subnet"Ethernet" subnet"Ethernet" subnet"Ethernet" subnet
CP5611 with PB address 0 in the "PROFIBUS" subnetCP5611 with PB address 0 in the "PROFIBUS" subnetCP5611 with PB address 0 in the "PROFIBUS" subnetCP5611 with PB address 0 in the "PROFIBUS" subnet
After all components have been entered, renamed if necessary, andnetworked accordingly, the hardware configuration must be saved andcompiled without error. These steps only have to be performed once for thePG/PC to be used for measuring tasks with ServiceLab, as long as neitherthe hardware expansion nor the parameterization (e.g. IP addresses) arechanged.
For further descriptions, a created and configured "SIMATIC 300-Station"hasbeen inserted into the project.
-
8/13/2019 SNS7 Modules
25/30
ServiceLab SOFTNET-S7 Modules
s 25
Fig. 1.5.3-1: Hardware configuration of the PC station
After all individual stations of a project have been configured, the NetProtool can be used to set up the automation network. Fig. 1.5.3-2 shows thefollowing elements of the project:
SIMATIC 300 station with CPU 315-2 DP and correspondingSIMATIC 300 station with CPU 315-2 DP and correspondingSIMATIC 300 station with CPU 315-2 DP and correspondingSIMATIC 300 station with CPU 315-2 DP and corresponding
communication processorscommunication processorscommunication processorscommunication processors
SIMATIC PC stationSIMATIC PC stationSIMATIC PC stationSIMATIC PC station "IAI8290"with corresponding CPs andwith corresponding CPs andwith corresponding CPs andwith corresponding CPs andapplicationapplicationapplicationapplication "ServiceLab"
Network type EthernetNetwork type EthernetNetwork type EthernetNetwork type Ethernet
Network type PROFIBUSNetwork type PROFIBUSNetwork type PROFIBUSNetwork type PROFIBUS
Network type MPINetwork type MPINetwork type MPINetwork type MPI
All S7 connections that can be used with ServiceLab must first beconfigured with NetPro for the "ServiceLab" application. This is done byselecting these components in the SIMATIC PC station and selecting the"Insert new connection" item of the context menu. The further proceduredepends on whether connections are to be configured to controllers insideor outside the current project.
-
8/13/2019 SNS7 Modules
26/30
SOFTNET-S7 Modules ServiceLab
26 s
Fig. 1.5.3-2: Configuration of the automation network with NetPro
1.5.3.11.5.3.11.5.3.11.5.3.1 Connection configuration for specified end pointsConnection configuration for specified end pointsConnection configuration for specified end pointsConnection configuration for specified end points
If S7 connections with the SIMATIC 300/400 stations are to be configuredthat are configured inside the current project, the station and the requiredtarget module can be selected directly from the list of connection partners(see Fig. 1.5.3-3).
Fig. 1.5.3-3: Connection configuration with specified end points (1)
The connection type must be set to "S7 connection" and the extendedproperty dialog box must appear (see Fig. 1.5.3-4).
-
8/13/2019 SNS7 Modules
27/30
ServiceLab SOFTNET-S7 Modules
s 27
Fig. 1.5.3-4: Connection configuration with specified end points (2)
The following properties of the S7 connection must then be considered:
The name entered under "Local ID"is used to identify the connection inthe connection list of the SOFTNETmodules. This name must be uniqueand should be assigned so that the connection is quickly and reliablyrecognized for subsequent measurement tasks.
In item "VFD name", the name "ServiceLab" must be entered so thatthis S7 connection is assigned to the application and therefore usable for
the ServiceLab diagnostic tool. A VFD (Virtual Field Device) is amapping of an automation system into a device-neutral description. Thedate and behavior of the automation system are described from the pointof view of a communication partner.
The local connection end point (PC/PG) is described completely by theconfiguration data of the current project. By selecting the "Interface:"theoperator can decide which network card (and therefore which networktype) will be used for the connection.
The remote connection partner (SIMATIC S7) is also completelydescribed by the configuration data of the current project. In item
"Interface:"all CPs are offered that are suitable for a connection of thespecified LAN type (IE or PB).
In this example, a S7 connection "S7 315-2 DP (100M-IE)" via IndustrialEthernet from the local PC station to the SIMATIC 300station S7 315-2 DPhas been configured on the CP 343-1 (100-Mbit connection).
-
8/13/2019 SNS7 Modules
28/30
SOFTNET-S7 Modules ServiceLab
28 s
1.5.3.21.5.3.21.5.3.21.5.3.2 Connection configuration for unspecified end pointsConnection configuration for unspecified end pointsConnection configuration for unspecified end pointsConnection configuration for unspecified end points
If S7 connections with the SIMATIC 300/400 stations are to be configuredthat are configured outside the current project, the station must be selectedas "(unspecified)" from the list of connection partners (see Fig. 1.5.3-5).The connection type must be set to "S7 connection" and the extendedproperty dialog box must appear.
Fig. 1.5.3-5: Connection configuration with unspecified end points (1)
The following properties of the S7 connection must then be considered (seeFig. 1.5.3-6):
The name entered under "Local ID"is used to identify the connection inthe connection list of the SOFTNETmodules. This name must be uniqueand should be assigned so that the connection is quickly and reliablyrecognized for subsequent measurement tasks.
In item "VFD name", the name "ServiceLab" must be entered so thatthis S7 connection is assigned to the application and therefore usable forthe ServiceLab diagnostic tool. A VFD (Virtual Field Device) is amapping of an automation system into a device-neutral description. Thedate and behavior of the automation system are described from the pointof view of a communication partner.
The local connection end point (PC/PG) is described completely by the
configuration data of the current project. By selecting the "Interface"theoperator can decide which network card (and therefore which networktype) will be used for the connection.
There are no configuration data about the remote connection partner(SIMATIC S7) in the current project. The end point can optionally bedescribed by a name, which is then no longer required. Depending onthe specified LAN type (IE: Industrial Ethernet or PB: PROFIBUS), aIP or PB address can be entered in the "Address" field at which themodule can be contacted. With the "Address details..."button, a lower-level dialog box is opened in which the rack and slot number of thecentral module must be stated, otherwise it may not be possible toestablish the S7 connection later.
In this example, a S7 connection "Fast Ethernet" via Industrial Ethernetfrom the local PC station to the "S7-300"station has been configured that
-
8/13/2019 SNS7 Modules
29/30
ServiceLab SOFTNET-S7 Modules
s 29
can be contacted via IP address 141.76.82.79. This connection is equivalentto the one created in Section 1.5.3.1.
Any number of such unspecified connections can be created if theconfiguration data of the destination controllers are not available.
Fig. 1.5.3-6 : Connection configuration with unspecified end points (2)
1.5.3.31.5.3.31.5.3.31.5.3.3 Loading the configuration data onto the PC stationLoading the configuration data onto the PC stationLoading the configuration data onto the PC stationLoading the configuration data onto the PC station
After all S7 connections have been configured (see Fig. 1.5.3-8), allconfiguration data can be stored and compiled without error. For the PC
station to be able to work with these data, they must be loaded onto thestation. For this purpose, the following access channel is set in the PG/PCinterface:
S7ONLINE (STEP7) PC internal (local)
After successful loading of all configuration data, all components of the PCstation have a valid configuration (see Fig. 1.5.3-7) and are therefore readyfor use of the S7 variable services by the SOFTNET modules withinServiceLab.
Fig. 1.5.3-7: Configured components of the PC station in the ComponentConfigurer
-
8/13/2019 SNS7 Modules
30/30
SOFTNET-S7 Modules ServiceLab
Fig. 1.5.3-8: Configured S7 connections of an application with NetPro