No Copy


No Right Click

Selamat Datang di Situs Belajar PLC dan SCADA

Blog gratis yang menyajikan berita seputar PLC dan SCADA.

Microsoft Windows 10

Berita seputar Microsoft Windows 10. Membahas berbagai informasi mengenai Microsoft windows terbaru.

Apple OSX

Artikel yang membahas tentang OSX terbaru dari Apple tentu sangat menarik untuk dibaca. Tak kalah serunya jika kita paham mengenai tips dan trik yang ada didalamnya.

Photography

Photography asik dan menarik jika kita mengetahuinya lebih dalam. Disini kita bisa melihat berbagai hal dari sudut pandang photo. Menarik untuk dipahami.

Showing posts with label siemens hmi. Show all posts
Showing posts with label siemens hmi. Show all posts

Saturday, December 3, 2011

How can you increase the performance of Siemens HMI devices?

Description
Through continual innovation the performance of controllers has increased by five to ten fold in the past three years. The cycle times of the controllers became increasingly shorter. The cycle times of the S7-300 controllers, for example, now frequently lie between 9ms and 16ms.
The time left for the CPU to communicate with the HMI devices is therefore becoming ever shorter, because only a certain percentage of the total cycle time is available for communication. The percentage of the time the CPU uses for communication is a minimum of about 3.5% of a cycle time of 15ms.
The FC630 function is for improving the performance of HMI services. An SFC is called in the FC630, which increases the time assignment for the HMI services according to the value of the parameter TSx:
  • TSx = 0: restores the initial status
  • TSx = 1: default setting
  • TSx = 8: increases the CPU cycle time by approx. 50%
The TSx value increases the CPU cycle time by 6.25% per unit.
Evaluation of RET_VAL:
  • 0000: no error, time factor is valid and accepted.
  • 800x: error, the block must be restarted.
The valid factor is effective without any further modification until the power is switched off.
The "HMI" taskThe CPU program is executed in different tasks ("subprograms"). In the "HMI" task, the CPU communication with the HMI devices is controlled by the operating system (data acquisition, data processing, data transfer and data fetching). The "HMI" task has a certain portion of the cycle time allotted to it. If this time expires, the "HMI" task is interrupted and the CPU continues with its cyclic program processing. The "HMI" task can be interrupted by higher-priority tasks. Higher-priority tasks include time interrupts and delay interrupts, for example.
NoteThe FC630 cannot be used in S7-400 CPUs because there is not the requisite firmware support. Furthermore, HMI response times cannot be shortened because the "HMI" task already has the second highest priority in the S7-400 CPUs.
Difference between FC630 and the setting in the CPU properties (cycle load through communication)In the CPU properties there is also the "Cycle load through communication" parameter. This parameter only affects the CPU message traffic. The FC630 comes into effect early on at data acquisition and in processing the data, which is why the S7-300 CPU's cycle time can greatly extend itself if the FC630 is not handled properly.
Bus protocols for which you can use the FC630You can use the FC630 for communication via
  • MPI
  • PROFIBUS
  • PROFINET
Requirements before using FC630Since incorrect use of the FC630 can lead to malfunctions, in particular the CPU cycle time might increase enormously, you should check the following before using the FC630.
  • How high are the cycle times of your CPU? It is particularly useful to operate with cycle times of between 9ms and 16ms, because the percentage of the time used for communication is a minimum of about 3.5% of a cycle time of 15ms. The percentage of the time used for communication with a cycle time of about 32ms is again a minimum of approx. 4.8%. This is why it is useful to implement the FC630 also with cycle times of between 25ms and 32ms. It is not generally useful to implement the FC630 for cycle times greater than 50ms. However, whether or not it is useful to implement the FC630 always depends on your system (number of HMI devices, number of tags polled ...).
Note Via STEP 7 under "PLC > Diagnostics/Setting > Module status > Cycle time" you can read out of your module the longest, shortest and current cycle time since transition from STOP to RUN.
Via the local data of the OB1 you can also read out the runtime of the previous cycle, the minimum cycle time since the last start and the maximum cycle time since the last start.
  • Are there time critical subprocesses in the system that do not permit an increase in cycle time? If this is the case, you can also check whether the time critical subprocesses could be controlled via a cyclic interrupt. You should note here that cyclic interrupts interrupt the "HMI" task when called and thus influence HMI performance.
You can implement the FC630 function with S7-300 CPUs and C7 devices. Whether the FC630 can be implemented depends on the CPU type and the firmware version. The function described is valid for the CPU-31x modules as from firmware versions V2.3.2, V2.1.6 and V2.0.10.
The FC630 can also be used for the CPU319-3 PN/DP modules as from firmware version V3.2. However, the firmware version V3.2 contains an improved HMI Turbo that only works for the acyclic HMI services.
  • This does not speed up the cyclic HMI services, so the FC630 continues to be need to improve performance.
  • The new function - "Prioritized OCM communication" - has been introduced in all devices as from firmware version V3.2, but it can only be configured in the CPU315F-2 PN/DP modules onwards.
  • The HMI Turbo is only hidden for the modules CPU312 to 315-2DP and can be configured with the new function FC2551.
More information about "Prioritized OCM communication" is available in Entry ID: 49749632.
The attached download contains an archived sample STEP 7 project with the FC630 described above. Use of the FC630 is described in detail in the document below.
Description_Performance_FC630 ( 93 KB )
Performance_FC630.zip ( 30 KB )
Keywords WinCC, ProTool, Panel, HMI, Operate, Monitor, Performance

Monday, March 16, 2009

Siemens Simatic S7 (Photo PLC Hardware)

Bagi anda yang belum tahu mengenai Hardware PLC, Berikut ini beberapa type PLC Siemens.

Siemens Simatic S7

Classic Automation has a significant amount of surplus Siemens Simatic S7 parts in inventory. We also have extensive test systems and experience to provide you with reliable and high quality Simatic S7 parts.This includes Siemens Simatic S7-200, S7-300 and S7-400. You can search our on-line inventory database to find the surplus Siemens Simatic S7 parts that you require.


We have extensive Siemens S7 test systems and all of our Siemens S7 parts have a 1-year warranty.

Siemens S7-300 testing

Siemens S7-400 testing

Siemens Simatic S5 Migration to Simatic S7
Classic Automation has teamed up with Softwerk, a certified Siemens Solutions provider with a great deal of experience in migrating S5 systems, to provide you with S7 migration solutions that are cost effective and meets your production needs. For more information go to Siemens Simatic S5 Migration to Simatic S7.

Please visit Website, Click Here! For more information.

Langanan Berita : http://feeds2.feedburner.com/belajarplcdanscadaok

Tuesday, March 3, 2009

How can you link WinCC to S7 PLCSIM?

Instructions:
In order to be able to access a simulation of S7 PLCSIM you must execute steps 1 to 3:

You must install the programs in the following order:

No. Procedure
1 STEP 7
2 S7 PLCSIM
3 WinCC

In WinCC, in the user-defined installation dialog Select Components you must select "Communication" and the component "Object Manager":

( 12 KB )
Fig. 01

Starting the STEP 7 applications:

No. Procedure
1 Start SIMATIC Manager.
2 Start S7 PLCSIM.
3 Open the project to be simulated or create a new project.
4 Insert an OS in the project.
5 Load the project in S7 PLCSIM.
6 In S7 PLCSIM set the MPI address of the CPU configured in HW Config via "PLC > MPI Address".
7 Open the OS in the STEP 7 project.

Working in WinCC:

No. Procedure
1 Insert a "SIMATIC S7 PROTOCOL SUITE" in the Tag Management.
2 Create a new connection under MPI.
3 Right-click the connection and select "Properties".
4 Click on the "Properties" button.
5 In the "Connection" tab you specify the MPI address and the slot of the CPU that you have configured in STEP 7.

( 5 KB )
Fig. 02
6 Acknowledge the entries with "OK".
7 Activate the WinCC project.
8 Under "Start > SIMATIC > WinCC > Tools > Channel Diagnosis" the status of the connection is displayed under "Channels Connection".
9 If the connection is not set up, check the setting of the MPI Unit in the WinCC Explorer under "Tag Management > SIMATIC S7 PROTOCOL SUITE > MPI > System Parameters".
Go to the "Unit" tab and enable the option "Set automatically".

( 6 KB )
Fig. 03

How do you send short messages (SMS) from an SIMATIC WinCC flexible HMI station to a mobile phone?

With WinCC flexible it is possible to send e-mails as short messages (SMS) to a mobile phone. You can send short messages with the following panels:
  • OP/TP177B color PN/DP
  • Mobile TP177 PN, Mobile Panel 277
  • 270 series
  • 370 series
  • PC with WinCC flexible Runtime

Example:
In case of failure the operator panel sends an e-mail (1) to the mixing station. The service technician responsible receives the message from the operator panel (2). The service technician then connects to the operator panel (3) from his service PC.

( 62 KB )
Fig. 01 - Example

Note:
More information on the topic of "Teleservice via the Internet" is also available in the following entry: 19865167.

You have the following options for sending text messages or alarms via SMS to a mobile telephone or to a pager:

  • External providers make it possible to convert e-mails into SMS messages for mobile telephones and pagers.
  • Your own SMTP server supports forwarding of e-mails via SMS message to a mobile phone or pager.

Example for sending a message via SMS:

So that an SMS can be received the service must be registered beforehand with the provider, e.g. T-Mobile (in Germany).

  1. Activating e-mail reception with a provider (Example: T-Mobile):
    Send an SMS message from your mobile phone with the text "OPEN" to the T-Mobile abbreviated dialing number 8000. This opens your T-Mobile number for e-mail reception.
    Your e-mail address is then:
    T-Mobile number (incl. prefix)@t-mobile-sms.de
    e.g. 017100000000@t-mobile-sms.de.

    Up to 160 characters are transferred.

  1. Deactivating e-mail reception (Example: T-Mobile):
    If you no longer wish to receive e-mails, send an SMS message from your mobile phone with the text "CLOSE" to the T-Mobile abbreviated dialing number 8000.

Note:
More information is available on the websites of the providers concerned.
Examples of other providers.

  1. Configuration in WinCC flexible:

Note:
The e-mail functionality requires the license key "SIMATIC WinCC flexible / Sm@rtService".

In the WinCC flexible project tree "Bediengerät_1 > Device Settings > Device Settings", under "Name of SMTP server" you enter the name of the external provider or the name of your own SMTP server.

Note:
The provider must function without authentication. This means that the provider must work without user name and password.

You must make the settings under "Project > Device Settings" of the WinCC flexible project:

  • Name of the SMTP server
  • Name of the SMTP sender (as from WinCC flexible 2005)
  • SMTP authorization (as from WinCC flexible 2005)

Note:
The "Sm@rtService" option is required to implement this. To enable messages to be sent as e-mails as well, the HMI system must possess an e-mail client.

In the project attached "mailto.t-online.de" has been selected as SMTP server, because it doesn't need authentication.

( 118 KB )
Fig. 02 - Device Settings

Note:
The "Name of the SMTP sender" input field serves as the Return Address, in which you can specify the designation of the HMI operator panel or plant designation or its location, for example. You have the option of entering an e-mail address in the "SMTP Authentication" input field. If authentication at the provider is required, you must specify a valid e-mail address in the "SMTP Authentication" input field, e.g. "John.Doe@gmx.net".
Providers that require an authentication with user name and password are not supported.

Alternatively you can also define the e-mail settings on the operator panel in "WinCC Internet Settings" in the "E-mail" tab. On the Windows CE Panel the same settings are to be found in the "Control Panel". Then deselect the "Use the default of the project file" option and enter the name of the SMTP server in the input field. This makes it easier to change the server name.

( 12 KB )
Fig. 03 - Windows XP - WinCC Internet Settings

Note:
Please note that settings on the panel or PC override settings in the project. Therefore, if the settings on the panel or PC are deleted, the defaults configured in the WinCC flexible project apply!

  1. Assignment of the e-mail address for alarm classes:

In order to send an SMS or e-mail when an alarm is triggered you must specify the mobile phone provider's e-mail address in the alarm class.

You can specify an e-mail recipient for each alarm class in the menu under "Project > Device > Alarm Management > Settings > Alarm Classes".

( 140 KB )
Fig. 04 - Alarm Classes

Note:
You can specify any valid e-mail address as recipient e-mail address (see Fig. 04) and it doesn't necessarily have to be an e-mail address of the same provider as the SMTP server. For example, you can specify the e-mail address "John.Doe@vodafone-sms.de" as recipient e-mail address and use the SMTP server (outgoing mail server) of T-Mobile ("mailto.t-online.de").

  1. Assigning the "SendEMail" system function:

If you wish to have an e-mail sent only in the case of a specific alarm, you should use the "SendeEMail" system function. In the project tree under "Device_1 > Alarm Management > Discrete Alarms" you can assign the "SendEMail" system function to each alarm under "Events". Analog alarms are configured in the same way.

( 121 KB )
Fig. 05 - Discrete Alarms

Assigning parameters for "SendEMail"
For the parameters of the system function "SendEMail" you can assign predefined texts and addresses or assign "Tags" to each parameter.

In the example attached tag names have been assigned for the parameters "Address" and "Return address". In this way you have the option of changing the address (recipient of message) and the return address (address to which the message might have to be forwarded) later.

Note:
Not all the parameters of the "SendEMail" system function have to be assigned a text/tag.

( 78 KB )
Fig. 06 - Sample project

Other providers:
The list is only a small selection of possible providers. Contact your provider for detailed information. Obtain information via the function:
"Enable mobile phone to receive e-mails from the Internet".

Configuration file:

The download contains the functions described above for sending e-mails to a mobile telephone.

SMS_Versand_PC.zip ( 2408 KB )

IMPORTANT
The sample program is freeware. Any user can use, copy and forward this program FREE OF CHARGE. The authors and owners of this program take no responsibility whatsoever for the functionality and compatibility of this software. Use of the software is at the user's own risk. Since this software is free of charge, there is no warranty nor entitlement to error correction and hotline support.

Runnability and test environment:
The following table lists the components that have been used to create and verify this entry.

Components Product and version
PC operating system Microsoft Windows XP SP2
Standard Tools -
Engineering Tools -
HMI Software WinCC flexible 2005 SP1
HMI system -

What are the options for remote maintenance of a WinCC flexible Runtime system (Panel/PC) via the Internet (WAN)?

Introduction:
Using the options WinCC flexible / Sm@rtAccess and Sm@rtService you can also access a WinCC flexible Runtime system via the Internet. The connection can be made on the basis of an ISDN or DSL network.

Sample application:
Your customer wants you to set up external teleservicing of an operator panel in order to be able to access the operator panel via the Internet if there is a fault and if necessary, change the parameters via the operator panel and monitor the system values online.

The following questions arise concerning implementation of the configuration/task depicted:

  • How do I connect the panel to the WAN (Wide Area Network)?
  • Which hardware components are required?
  • What is the IP address of the panel to be accessed?
  • How reliable is the connection?
  • What settings have to be made?

Answers to these questions and basic know-how are available in the following document.

Basic Know-how ( 650 KB )

Requirements for the operator panel:

  • HMI operator panels with Ethernet interface
  • HMI operator panel based on WinCC flexible
  • HMI Runtime with the option "WinCC flexible /Sm@rtService" or "WinCC flexible /Sm@rtAccess"

Solutions:
In order to implement the configuration depicted you must first define the dimensions of the network connection (analog/ ISDN/ DSL) on the service PC/operator panel concerned. You can then branch to practical examples of implementation via the links in the following table.

  1. Service PC communicates with an operator panel

PC (Service/Maintenance) <--> Operator Panel (Machine/System)
(point-to-point)

Service/Maintenance

Internet Service Provider

Operator Station
Machine/System

PC communicates with WAN via analog modem ( 978 KB )

For example:
Arcor, AOL, T-Online, Freenet, RTLnet

Operator panel communicates via ISDN with router
( 4760 KB )

PC communicates with WAN via ISDN modem ( 1336 KB )

Operator panel communicates via DSL with router
( 4722 KB )

PC communicates with WAN via DSL modem ( 1309 KB )

The service engineer is linked to the Internet via a modem connection.
The operator station of the machine/system is linked to the Internet via a router.

  1. Communication between two operator panels
    If two operator panels are to be linked together directly via the Internet, both operator panels are connected to the Internet via a router.
    The links in the following table branch you to practical examples of implementation.

PC/Panel (Operator Station 1) <--> PC/Panel (Operator Station 2)
(point-to-point)

Operator Station
Machine 1

Internet Service Provider

Operator Station
Machine 2

Operator panel communicates via ISDN with router
( 4760 KB )

Panel communicates via router
(ISDN, DSL)

Operator panel communicates via DSL with router
( 4722 KB )

  1. Service PC communicates with n operator panels
    If several operator panels of a system are connected to the Internet via a router connection, it is possible to have different types of connection.

    This document considers two types of connection:

a) Communication between two networks on the basis of a standard router connection (port forwarding).
For this type of connection the standard functionality of the components implemented (router, PC etc.) is generally sufficient.

b) Communication between two networks based on a Virtual Private Network (VPN).
The characteristics of a VPN are high transmission reliability and high transparency when accessing the remote network.
Router requirements are higher and additional software is required.

The table provides practical examples of implementation for port forwarding and VPN.

PC (Service/Maintenance) <--> n Operator Panels (Machine/System)
(point-to-point)

Service/Maintenance

Internet Service Provider

Operator Station
Machine/System

PC communicates with WAN via analog modem ( 978 KB )

For example:
Arcor, AOL, T-Online, Freenet, RTLnet

Port Forwarding
( 1279 KB )

PC communicates with WAN via ISDN modem ( 1336 KB )
PC communicates with WAN via DSL modem
( 1309 KB )

VPN ( 2899 KB )

Further information:
You can find further information on this topic in the following entries.

Functions of the TS Adapter IE 24532849
Which settings do you have to make on the TS Adapter IE to transfer a WinCC flexible project via Teleservice? 26999934
Cluster FAQ entries:
Industrial Ethernet network components (security) -- Setting up and parameterizing hardware -- Initializing and parameterizing modules
24533194

Keywords:
Remote access, Remote diagnosis

How is the SIWAREX MS calibrated with SIWATOOL MS?

ANSWER: Following hardware parts and software are requested: SIWAREX MS module, S7-200 CPU, SIWATOOL MS software, RS232 cable, computer with Windows XPor higher and a calibration weight bigger than 5% of the sum of the nominal value of all load cells.

Requested parts:

S7-200 PLC


SIWAREX MS: 7MH4930-0AA01



SIWATOOL RS232 Cable:7MH4702-8CA


Software for SIWAREX MS: 7MH4930-0AK01
Adjustment weight Scale

The physical connection is as shown
below:

Start SIWATOOL MS.

Select COM1 as the communication interface.

Click Online

Resolution of SIWAREX MS

The weight is converted into a 16 bits value.
The value is comprised between 0 and 64000
The value is then transmitted as a signed integer to the SIMATIC PLC

INT has no comma and no units, the maximum value is 32767
For a 20kg scale you may use a resolution of 1 g:
Range 0 g to 20000 g

For a 40 kg scale you may use only a resolution of 10 g
Range 0.00 kg to 40.00 kg
The comma is not part of an integer and is only used for the display
à Choose resolution and comma before parameterization.

When the communication is established, follow the procedure below to make the adjustment.

Adj.digits 0 and Adj.digits 1: Accept the default values.
Adj.weight 1: Enter the value of adjustment (calibration) weight.
Characteristic Value: Sensor characteristic value. Indicated on sensor. Default value is 2 mV/V.

Limit frequency: Low-pass filter (0.05 Hz ~ 5 Hz).
If it is set to 5 Hz, the scale will respond quickly to the weight change; if it is set to 0.5 Hz, the scale will “move slowly”.


Step response of the digital low-pass filer for fg = 2 Hz

Depth of average value filter: n=2 ~ 255.
The average value filter ensures a stable weight value and prevents interference.
The weight is measured according to the average value of n weight values.
If n = 10, 10 weight values will be used for calculating the average value. The earliest value is discarded every 20 (or 33.3) milliseconds and the latest value will be added for the calculation.
Measuring time depends on the power supply frequency. For 50 Hz. select 20 ms and for 60 Hz select 33.3 ms.

After setting the parameters, click Send.

Set the weighing range of the scale and the step (resolution) of the scale.

Set the weight unit and the decimal point as follows:

Standstill time (ms) and Standstill range are used to monitor when the scale stand still.
If the weight change is lower than the specified range (standstill value) within the specified period (standstill time), then the scale stands still.

Negative and positive zeroing range.

This specification can be used to limit the effect of the function and therefore to protect the process. It is given in % of the max weighing range. Zeroing will be rejected if the current gross weight is too high or too low.

After setting the parameters, click Send.

Ensure that the scale is empty (not loaded) and click Adjustment zero valid (3).

Place the adjustment weight on the scale to adjust the range of the scale.

Click Adjustment weight 1 valid (4).

calibration.jpg
Calibration is complete.

Eventually you may save the calibration data’s into a file

Receive all data from the MS to the PC

During the tansmission from the Siwarex MS module to the PC, the following message-window appears:

Save the data as a Siwatool MS File:

Download of PDF-File

Calibrating SIWAREX MS with SIWATOOL MS ( 1476 KB )

If you have any problems or suggestions regarding the related products or documents, please feel free to contact:
Technical support for SIWAREX
Tel: +49 721 595 2811
Fax: +49 721 595 2901
E-mail: siwarex.hotline.aud@siemens.com
Website: http://www.siwarex.com

#