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.

Wednesday, December 21, 2011

Service Pack 1 for STEP 7 V5.5 and STEP 7 Professional 2010

Download  of Service Pack 1 for STEP 7 V5.5
Installation requirements:
  • STEP 7 V5.5
  • STEP 7 Professional 2010 
Please also read the information (What’s NEW, special hints, etc.) which we have compiled for you in entry ID 52336355.
Customers with a valid Software Update Service agreement for STEP 7 will receive the DVD with STEP 7 V5.5 incl. SP1 automatically.
Customers with a valid Software Update Service agreement for STEP 7 Professional will receive the DVD with the STEP 7 Professional Edition 2010 Service Release 1 automatically. The SP1 for STEP 7 V5.5 is part of this Professional DVD (see entry ID 52336670 ).
If you wish to change to a new operating system, please note the following:
  • It is not permitted to change to another operating system, if STEP 7 is installed already. Before you change the operating system, please be sure to uninstall STEP 7 and any possible STEP 7 option packages.
  • Before you change the operating system the existing authorization / License Key must be saved to a floppy disk or USB stick with the program AuthorsW / Automation License Manager.
  • If you wish to change to MS Windows 7 with 64 Bit with STEP 7 Professional, you require the STEP 7 Professional Edition 2010 SR1.

Customers without Software Update Service agreement can obtain the SP1 as follows:
  1. DVD:  You can order the Trial License with STEP 7 V5.5 incl. Service Pack 1 on DVD.
    The order no. is: 6ES7810-4CC10-0YA7

    For the current STEP 7 Professional you can obtain a Trial License with the STEP 7 Professional Edition 2010 SR1. The DVD with the STEP 7 Professional Edition 2010 Service Release 1 also includes the SP1 of STEP 7 V5.5 
    The order no. is: 6ES7810-5CC11-0YA7
  2. Free DownloadAs usual, we are offering a free download.


    Service Pack 1 for STEP 7 V5.5
    SIMATIC_S7_STEP7_V55_SP1.zip ( 813381 KB )

    This free download includes the SP1 for STEP 7 V5.5 and NCM.

Saturday, December 10, 2011

How to scale analog inputs and outputs – PLC scaling examples

scaling analog value

Analog I/O whether it is 4-20mA or 0-10 V are connected to pressure transducers, level probes and other analog devices. As PLC programmer or control engineer you will need to get some knowledge about scaling analog signals from plc I/O modules. Scaling helps to convert analog value to measure units ( pressure, level etc.).
Most industrial applications usually require measurements in engineering units, which provide more meaningful data. We can achive this by using the conversion formula shown: Example by AutomationEngineering.
scale calculation
Time for example
If we want to measure level in tank from 0 to 65 meters then our L = 0, H = 65 max value from our analog card 32000 ( in engineering units ). Current value A from analog input is 13454. Now if we calculate it using our equation we will get current level of 23.7 meters.

Now situation looks slightly different with Analog Output.
Your PLC program has to calculate the digital value to send to the analog I/O module. There are many ways to do this, but most industrial applications are understood more easily if you use measurements in engineering units. We can do this by using the conversion formula shown.
analog output calculation

Consider the following example with level measurement
We know there is 38 meters of liquid in tank. Our H = 65m L=0m. Max analog output value is 32000. If we use our calculation we will get 18707 which we are going to send to our Analog Output.
Many Programmable Logic Controllers have ready to use instruction for scaling.
S7-200 Siemens PLC scaling the analog input in the output data format REAL (S_ITR)
The S_ITR function permits you to convert the analog input signal into a normalized value between 0.0 and 1.0 (type REAL)
The following table explains the abbreviations used:
ParameterDescription
OvScaled output value (Output value)
IvAnalog input value (Input value)
OshUpper scale limit for the scaled output value (Output scale high)
OslLower scale limit for the scaled output value (Output scale low)
IshUpper scale limit for the scaled input value (Input scale high)
IslLower scale limit for the scaled input value (Input scale low)
our instruction
Simatic S7-200 scale

How to save Memory and Optimize Performance of a Logix Controller

How to get maximum performance from your control system?

It is important to think ahead before designing and configuring your control system. Decisions you make during the design phase of your project can directly impact system
performance. In the controller alone, there are several design considerations and guidelines that can help you improve controller performance, conserve memory space and minimize execution time for moving and accessing data. Rockwell Software has a tool called Integrated Architecture.RSLogix 5000
Consider the following tips to help save memory and optimize performance of a Logix controller:
Choose a programming language best suited for the task you’re trying to accomplish with Allen Bradley RSLogix 5000.

Rockwell software® RSLogix™ 5000 programming software supports the IEC 61131-3 compliant programming language you need to solve your discrete, process, batch, drive, safety and motion control challenges. Language editors for relay ladder logic (RLL), function block diagram (FBD), sequential function chart (SFC) and structured text (ST) programming are native to RSLogix 5000 programming software as well as ControlLogix® programmable automation controllers (PACs), CompactLogix™ PACs, softLogix™ controllers, and Powerflex® 700s drives with DriveLogix™ controllers.
Each routine in RSLogix 5000 programming software contains logic in one programming language. Choosing a programming language most suitable for the task you’re trying to accomplish will not only help reduce program complexity and troubleshooting/maintenance costs, but it also helps make the code more readable, improves the development process and improves the performance of the controller.

For example, you could use Ladder Logic for complex data handling, such as sorting algorithms. This process would work, but take weeks (and potentially hundreds of rungs of code) to program. This would be time-consuming to write and maintain, less readablemand require extra time in the controller to scan and execute.
 Using structured text for this task is more suitable, making programming a complex, bubble-sorting algorithm simple, straightforward and more efficient: 10 lines of code with less impact on controller performance.
 This is just one example of choosing the right programming language for the right task. Mixing and matching programming languages in your project to meet an application need is a key competency of  RSLogix 5000 programming software. In the same project, you can program a batch operation in Sequential Function Chart, pump station in Function Block Diagram, conveyor system in Ladder Logic and a complex mathematical algorithm in Structured Text. Making the right programming language selection for solving a task can help reduce maintenance costs, improve code readability, save memory space and improve the performance of the controller.

Use a 32-bit data type for maximum efficiency. An important factor to consider when designing your control architecture is data organization and performance. the control engine in Logix PACs is based on a 32-bit boundary, so performance and memory use are optimized by using 32-bit data types. If you use non-32-bit data types with 32-bit
CPus, each instruction can take up unnecessary memory space, and multiplied by thousands of instructions, this can quickly consume available memory. This is especially crucial to consider for smaller controllers with limited memory.
For example, using double integer (DINT) data types instead of integer (INT) data types helps reduce execution time and memory usage.
Executing a simple ADD instruction with INT data types, such as:
INT + INT = INT takes 260 bytes of memory and 3.49 μsec to execute.
If the same ADD instruction is executed with DINt data types:
DINT + DINT = DINT takes 28 bytes of memory and .26 μsec to execute.
the reason for this major difference in memory use and execution time is that the controller converts each INT to a DINT before it adds them together, and then has to convert the sum back to an INT. It takes additional execution time and memory to store the INT.

Optimize With Arrays and User-Defined Structures (UDTs)

The method used to create tags in the controller directly impacts performance in terms of execution time for accessing data. Creating individual tags in your program results in the creation of scattered tags in the memory of the controller. Scattered tags must have pointer data associated with them, which requires more time when trying to access the tags. Instead, create tags in arrays or user-defined structures in the tag database.
An array allocates a contiguous block of memory to store a specific data type as a table of values. Consolidating tags into arrays and structures helps reduce the communication overhead needed to access data in the controller (up to six times the amount of memory in the controller). Tags support arrays in one, two or three dimensions and user-defined structures (UDTs) can contain members that are single-dimensional arrays.
User-defined structures allow you to combine multiple data types (atomic, predefined structures or user defined structures) into a new data type. Organization of the members of userdefined structures can greatly influence memory use, layout and performance.All elements in UDTs are located on a byte (8 bit) boundary. Grouping like elements together when creating a UDT will help conserve memory, and reduce communication and execution time when accessing data. In the example here, notice that a
simple change such as grouping like data types (BOOLs) saves four bytes of memory. This is a simple example, but UDTs in RS Logix 5000 programming software can have as many as 500 members and take up 2MB of controller memory.
Following some basic guidelines when organizing and designing your UDT will save on memory allocation and improve performance in the controller.
For more design recommendations, please review the Rockwell Software RS Logix™ 5000 Design Considerations Manual (1756-RM094C-EN-P) from the Web site below:
http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm094_-en-p.pdf

What is Servo, servomotors and example of applications

What is Servo?

Servo is the systems where the feedback or error-correction signals help control mechanical position, speed or other parameters. The function of the servo is to receive a control signal that represents a desired output position of the servo shaft, and apply power to its DC motor until its shaft turns to that position. It uses the position-sensing device to determine the rotational position of the shaft, so it knows which way the motor must turn to move the shaft to the commanded position. The shaft typically does not rotate freely round and round like a DC motor, but rather can only turn for example 300 degrees.
We often use servodrive to control servomotor

What is servodrive ?

In typical application the servo drive receives a command signal from a control system device,
servo motoramplifies the signal, and sends electric current to a servo motor in order to produce motion proportional to the command signal. Typically the command signal represents a desired position, torque or speed. A sensor which is attached to the servo motor reports the motor’s actual status back to the servo drive. The servo drive then compares the actual motor status with the commanded motor status. It then alters to
correct for any deviation from the commanded status.
Where we can use Servos?

2 examples based on Parker Servo Products:

1. Rotary Indexer
Description: An engineer for a pharmaceutical company is designing a machine to fill vials and wants to replace an old style Geneva mechanism. A micro stepping motor will provide smooth motion and will prevent spillage. The indexing wheel is aluminum and is 0.250-inch thick and 7.5″ in diameter. Solving the equation for the inertia of a solid cylinder indicates that the wheel has 119.3 oz-in2. The holes in the indexing wheel reduce the inertia to 94 oz-in2. The vials have negligible mass and may be ignored for the purposes of motor sizing. The table holds 12 vials (30° apart) that must index in 0.5 seconds and dwell for one second. Acceleration torque is calculated to be 8.2 oz-in at 1.33 rps2. A triangular move profile will result in a maximum velocity of 0.33 rps. The actual torque requirement is less than 100 oz-in. However, a low load-to-rotor inertia ratio was necessary to gently move the vials and fill them

Product Solutions from Parker:
Drive Indexer SX Drive Indexer*   Motor S83-135
* The 6200, AT6200, and Model 500 are other
indexer products that have been used in these
types of applications.
Servo application for rotary control
2. Labelling Machine using linear solution

Description: Bottles on a conveyor run through a labelling mechanism that applies a label to the bottle. The spacing of the bottles on the conveyor is not regulated and the conveyor can slow down, speed up, or stop at any time.
Machine Requirements:
• Accurately apply labels to bottles in motion
• Allow for variable conveyor speed
• Allow for inconsistent distance between bottles
• Pull label web through dispenser
• Smooth, consistent labelling at all speed
Solution:
A motion controller that can accept input from an encoder mounted to the conveyor and reference all of the speeds and distances of the label roll to the encoder is required for this application. A servo system is also required to provide the torque and speed to overcome the friction of the dispensing head and the inertia of the large roll of labels. A photosensor connected to a programmable input on the controller monitors the bottles’ positions on the conveyor. The controller commands the label motor to accelerate to line speed by the time the first edge of the label contacts the bottle. The label motor moves at line speed until the complete label is applied, and thendecelerates to a stop and waits for the next bottle.
Product Automation Solutions:
Controller     Motor
APEX6152*      APEX604
labelling machine with servo drive

How to become Automation or Control System Engineer – job description

Automation Engineer, Control System Engineer: Job Description and Requirements

Automation Engineers and Control System Engineers work in the automation and controls industry to automate processes like manufacturing, traffic control or food processing. Automation and Control Engineers typically have a Bachelor of Science in Automation, Mechanical or Electrical Engineering. Automation Engineers can have careers in automotive industry, biotechnology, pharmaceuticals, food processing, manufacturing or systems design.

Career Definition: Automation and Control System Engineer

Automation Engineers design, program, simulate and test automated machinery and processes. Usually their build control system through PLC programming and SCADA design. They typically are employed in industries such as car or food manufacturing, where robots or machines are used to perform specific functions. Automation and Control System Engineers are responsible for design specifications and other detailed documentation for their creations. They must be excellent troubleshooters and must stay current on technology.

How to Become an Automation Engineer or Control System Engineer

Education Requirements:

There are many degree programs in theUK  in Automation, Control System Engineering Engineering. Thus, most Automation Engineers earn a bachelor’s degree in Mechanical or Electrical Engineering and learn the intricacies of Automation Engineering on the job. Mechanical or Electrical Engineering courses may include robotics, statistics, fluid dynamics and databases. Some engineers pursue master’s degrees.

Skill Requirements for Automation or Control Engineering

Automation and Control System Engineers must have a solid understanding of computer programming and software development since they frequently work with computers to program processes. They must be able to troubleshoot equipment problems and perform complex system tests. Automation Engineers also must be creative thinkers to design automated systems.

Career and Economic Outlook for Automation Engineering for UK.

According to the Bureau of Labor Statistics (www.bls.gov), manufacturing is increasingly moving toward automated processes to reduce the amount of labor needed. Thus, Automation Engineers are expected to have good job prospects in the coming years. The average annual salary for Automation Engineers is £45 000, according to a survey by Automation.com.

Some skills required by employers to hire automation and control engineer:
 1.Design, specification and configuration of control and analytical systems including DCS, PLC, SCADA .
 2.Participation in P&ID development up to and including Hazop.
 3.Specification of process control equipment including control valves, relief valves, flow measurement devices and other process instrumentation.
 4.Production and maintenance of instrument summaries.
 5.Proposal estimating, planning of project process control activities and the reporting and forecasting performance.
 6.Process Control Scheme Design and Implementation;
 7.Advanced Process Control Design and Implementation
 8.Control Loop Tuning / Troubleshooting /Optimisation;
 9.Process Simulation;
 10.Safety Instrumented Systems.
 11.Alarm Management (EEMUA 191 and ISA18.2)
 12.Operator Interface Design (EEMUA 201)
 13.System support and troubleshooting;
 14.Control System Design;
 15.Operator Training;
 16.OPC interoperability standards.
 17.Carry out design work for modifications and corrective work
 18.Carry out technical reviews with supply management to define thematerial requirements for design.
 19.Provide accurate and validated Technical Proposals and an understanding of commercial impact.
 20.Confidence and ability to directly negotiate alternative solutions with
 internal and external customers and can quickly analyse the commercial
 consequences of making such decision

How to become an Electrical Engineer ?

Electrical Control PanelElectrical Engineering is a very interesting field which you can choose for you education. My article : “How to become Automation and Control Engineer” was a very successful one, so today we’ll talk about electrical engineers.

Electrical Engineer Career – job description

Electrical engineers design, improve, develop and maintain electrical systems and its components to required specifications, focusing on economy, safety, reliability, quality and sustainability.
If you choose this role, you could work in a range of areas, including:
  • transport networks, including rail electrification and signalling
  • machine control systems and control panels
  • power generation, transmission and distribution
  • renewable energy sources, such as solar panelling, hydroelectric and wind turbines
  • manufacturing and construction
  • building services, such as lighting, heating, ventilation and lift systems.

Salary of Electrical Engineers in Europe

Income depends on experience and education:
  • Graduate engineers can earn between £20,000 and £25,000 a year.
  • Experienced engineers can earn between £28,000 and £38,000.
  • Chartered electrical engineers can earn between £40,000 and £50,000 a year.
  • Electrical managers between £ 45,000 and £ 70,000 a year.

Jobs and task in electrical engineer role ?

  • designing electrical systems and products;

  • reading design specifications and technical CAD drawings;

  • researching suitable solutions and estimating costs and timescales;

  • working to international, British (BS), European (EN) and other standards;

  • liaising with clients and contractors to discus projects; 

  • designing and conducting tests;

  • servicing and maintaining equipment;

  • preparing product documentation, writing reports and giving presentations;

  • monitoring a product in use to improve on future design.

  • perform detailed calculations to compute and establish manufacturing, construction, and installation standards and specifications.Inspect completed installations and observe operations, to ensure conformance to design and equipment specifications and compliance with operational and safety standards.

  • prepare specifications for purchase of materials and equipment.

  • prepare and study technical drawings, specifications of electrical systems, and topographical maps to ensure that installation and operations conform to standards and customer requirements.

  • plan layout of electric power generating plants and distribution lines and stations.
  • Android and iPhone App with Siemens Online Support

    siemens iphone appSiemens Automation annouced 2 new applications for iPhone, iPad and Android mobiles and Tablets.
    The Online Support App enables you to access more than 300,000 documents on all Siemens Industry products, anywhere and anytime. No matter whether you face problems implementing your project, need help with troubleshooting, want to expand your facility or newly plan one.
    siemens iphone online support

    You have access to FAQs, the latest firmware or software version downloads, manuals, certificates, characteristic curves, application examples and tools, product news (e.g. announcement of new products), information on successor type in case of product phase-outs.
    The start page gives you a quick overview of the latest articles. The search brings up hits for products and articles, and supports you with a personalized suggestion list. Under “mySupport” you can find your personal favourites with articles you need frequently. Additionally, you receive selected news on new
    functions, important articles or events – in the News section.

    What is Siemens Online Support

    The Online Support offers you a comprehensive information system for all Industry Automation and Drive Technologies Service & Support subjects at any time.
    Do you wish to extend your Know How, read up on services or exchange experiences with users of automation systems?
    Convenient functions in the online support lead you directly to the desired information. Online Support always the first step – around the clock on 365 days of the year.
    Benefits:
    Direct, central access to founded, extensive information around the
    products, systems and applications with a number of programming, configuration
    and user examples.
    Quick solution, also through exchange of knowledge amongst users in the
    Technical Forum and through contacting our expert in the Technical Support via
    support request.
    Less on-site documentation required.
    In 6 languages.
    Help available 24h / 365 days in the year without time delay.
    Always up-to-date.
    You can get the app for free at the Apple App Store and at Android Market with the search terms:
    “Siemens Industry Online Support”

    Find more information:

    Apple iOS
    AndroidSiemens Android Market

    Free SCADA / HMI software

    free scada

    Here we listed SCADA and HMI software, which is fully free or has limited functionality.
    SCADA or HMI software is not a full control system, but rather focuses on the supervisory level. As such, it is a purely software package that is positioned on top of hardware to which it is interfaced, in general via Programmable Logic Controllers (PLCs), or other commercial hardware modules.

    1.- IntegraXor – SCADA software based on internet browser. SCADA software is using OPC server to comunicate with external devices. IntegraXor currently support Internet Explorer 8 and Firefox 3.5+.



    Benefits and Futures:

    • Remotely view, monitor & control devices, processes & facilities.
    • Supports Tripple Redundancy.
    • Impressive mimic graphics
    • Lower total cost of ownership with open technologies.
    • Quickly develop advanced applications with free tools.
    more info : http://www.integraxor.com

    2. IGSS FREE50 is a free edition of flagship IGSS V9 (released November 2010) which is a full-featured SCADA System. It has the same full functionality. The only limitation is the number of objects. It is ideal for plant operators (End Users), system integrators (distributors), and others who would like to automate processes or get an efficient and state of the art replacement for existing Operating Panels.

    Benefits

    •Graph Trending, Report tools, Dashboards, Maintenance and more.
     •Supports all industry standard PLCs, OPC and ODBC. Collect data without any time limit. Define up to 50 objects in a project.
     •Run in Demo Mode and see diagrams from different industries.
     •Runs on Windows 7, Vista, XP, and older OS.
     •Upgrade anytime to a larger IGSS System.

    more info: http://www.igss.com

    3. You can download full CitectSCADA software and built full application, but it is limited to 60 days. SCADA software, owned by Schneider Electric,  is a reliable, flexible and high performance system for any industrial automation monitoring and control application.

    Benefits and Futures :
     •Graphical process visualisation
     •Superior alarm management
     •Advanced clustering options for control when and where you want
     •Historical and real-time trending
     •Built-in reporting
     •Statistical Process Control
     •Multi-threaded CitectVBA and Cicode programming languages
     •Powerful analysis tools

    CitectSCADA is designed to provide industrial companies of all sizes with agile control over both engineering and runtime operations. Its design is centred on multi-level redundancy for the reliable, constant communication and operation of your system

    more info: http://www.citect.com

      4. Infilink HMI it is Window based software, in free version limited to 2h runtime. When used in combination with a demo version of their 32 bit OPC servers, you have a complete HMI system that can be used by every developer in your organiz tion without spending a dime.

    more info: http://www.kep.com/infilink/infilink.html

    PLC programming languages – Ladder Logic and Advanced Functions

    In our last article I mentioned Sequential Function Charts SFC programming language. In this post I will cover advanced functions of ladder logic which allow storage and recovery of bits and words and are useful when implementing buffered and queued systems.
    RSLogix5000

    Advanced function are:
    • Arrays
    • Shift registers
    • Stacks
    • Sequencers
    • Branching, looping, subroutines,
    • Temporary ends and one shots
    • Block Transfers
    • Interrupts; timed, fault and input driven
    Examples are based on Allen Bradley RSLogix5000

    Arrays Functions
    Arrays allow us to store multiple data values in sequential series of numbers.
    For example, we want to measure average temperature and store it in floating point memory starting at temp[0]. Data will be store in temp[0],temp[1] …[9] because we want to calculate an average of 10 measures
    RSLogix5000 average instruction

    Where:
    Array array tag name[]
    Dimension to vary [0,1,2] DINT which dimension to use array[0,1,2]
    Destination tag result of the operation
    Control tag control structure for the operation
    Length Number of elements of the array to average
    Position Current element in the array initial value is typically 0

    Shift Registers

    Shift registers are oriented to single data bits. A shift register can only hold so many bits, so when a new bit is put in, one must be removed. In CompactLogix PLC we have BSLbit shift left and BSRbit shift right
    Example
    When enabled, the BSL instruction starts at bit 0 in array_dint[0]. The instruction unloads array_dint[0].9 into the .UL bit, shifts the remaining bits, and loads input_1 into array_dint[0].0. The remaining bits (10-31) are invalid.
    RSLogix5000 shift registers

    Stacks FIFO and LIFO

    There are two types of stacks; first-on-first-out (FIFO) and last-in-first-out (LIFO). Stacks store integer words in a two ended buffer. As words are pushed on the stack it gets larger, when words are pulled off it gets smaller. When you retrieve a word from a LIFO stack you get the word that is the entry end of the stack. But, when you get a word from a FIFO stack you get the word from the exit end of the stack.
    FIFO first in First Out

    Sequencers

    A sequencer in PLC controller uses a list of words in memory. It recalls the words one at a time and moves the words to another memory location or to outputs. When the end of the list is reached the sequencer will return to the first word and the process begins again.
    Allen Bradley RSLogix5000 SQO sequencer

    Above we have SQO Output Sequencer which can be used to control traffic lights. Pattern is stored in switch_pattern[0] array. Mask in hex 16#003F allows only to change first 6 bits ( 0000 0011 1111 ) so our pattern looks like this one below:
    SQO sequencer pattern

    This pattern will be moved to PLC Outputs for traffic light control Lights_ON_Outputs[0] when next_step_bit is executed.

    Free SCADA – how to connect Excel to Allen Bradley CompactLogix PLC

    If you have Microsoft Excel you can read and write data from Allen Bradley PLC ( CompactLogix or ControlLogix processor) using the DDE/OPC capabilities of RSLinx.
    So how this free SCADA works?
    In this example I am going to use Allen Bradley CompactLogix PLC 1769-L35E . I have RsLinx Classic ( no Lite – Lite edition does not support DDE ) and of course Microsoft Excel 2007.

    First we need to open our RSLogix5000 project and create global tags (controller tags). I am going to use 2 tags from our last article about PLC Ladder Logic programming. Tags ORDER and TEMPERATURE have already some values. For testing purposes you can enter any values too.

    They are arrays of 10. Create tags ORDER as DINT[10] and TEMPERATURE as REAL[10].
    RSLogix tags

    When tags are ready we have to open RSLinx software and create DDE/OPC topic. My PLC topic is OFFICE. Right click on your processor and select Configure New DDE/OPC Topic.

    create RSLinx DDE




    Remember you topic name (mine is OFFICE) as you need it later to enter in our VB code in Excel. Click apply and close the program. Open Excel and create Command Button. If you cannot find Command Button go to excel options and add it to your toolbar.



    Together we need 2 buttons and table like on this picture below. Then right click on button and select View Code.



    Enter now VB code for firs Read button.


    Next is code for RSLinx communication

    connect to RSlinx code

    And finally Write button



    Our free SCADA is ready to test now. Try to read values from PLC. Mine Excel table looks like this:

    Connecting a PLC to SCADA/HMI Using OPC Server

    This video tutorial guides you through development process. All software (TRACE MODE and NAPOPC DA Server) shown in the film is free and you can repeat all steps by yourself. For downloads visit http://www.tracemode.com/products/dev/scada/




    HMI/SCADA software: TRACE MODE 6 IDE



    The overall functionality of TRACE MODE® has already overgrown the traditional HMI/SCADA software, and nevertheless, HMI is still the most demanded part of the TRACE MODE. In addition to the standard HMI functionality, TRACE MODE® 6 has a number of features, which distinguish it from the ordinary HMI/SCADA software.
    First of all, TRACE MODE has an integrated development environment (IDE), combining in itself more than 10 different editors. The IDE has a free version. The HMI features of TRACE MODE 6 SCADA software are so deeply merged with SOFTLOGIC controllers’ programming tool and with economical modules of T-FACTORY (MES-EAM-HRM), that one can hardly distinguish them.
    The unique autobuilding technology saves engineering time and eliminates errors in the SCADA projects. The autobuilding allows in one click of mouse to connect HMI to I/O, to set up the project database automatically according to the known configuration of controller, to create network links between the nodes (PCs or PLCs) of a distributed control system and so on. The TRACE MODE SCADA software has a free library of ready to use drivers for more than 2469 controllers and I/O devices.


    The concept of unitary project for distributed automated control system allows to implement direct linking between the components of different nodes. For example, it is possible to display a variable from one HMI/SCADA node on the screen of another, without creating any additional channels for communication between them.


    For control algorithm programming the TRACE MODE 6 HMI/SCADA software offers all the 5 languages of international standard IEC 6-1131/3. Among them there are visual languages - Techno FBD, Techno LD, Techno SFC and procedure script languages - Techno ST, Techno IL. Such a wide range of programming tools allows control professionals to select the programming technique they are used to. All programming languages are provided with powerful debuggers and online diagnostics tools.
    The TRACE MODE 6 HMI database supports almost all data formats. In addition to familiar formats for discrete signals and floating point values, this version of HMI supports rows, double float, hex32 values, as well as time marks (as stand alone channels).
    Excellent 3D graphics of the TRACE MODE 6 HMI/SCADA software would certainly attract attention of professionals. At the same time, HMI graphical editor is handy and quite easy. The TRACE MODE 6 HMI/SCADA software is not only aesthetically beautiful, but is also fully functional: any graphical element in the real time can change its properties, dimensions and position on the screen, depending upon the real time parameters, as well as to be a button.



    The photorealistic screen graphics is based on OpenGL. Thus it has a number of new features. For 3D elements, it is possible to specify the following:
    • opacity;
    • position of the light source;
    • shape and colour;
    • transparency;
    • applied textures;
    • diffuse and specular reflection;
    • arbitrary shift angle (e.g. in real time);
    • different tube and cylinder cuts.
    The choice of colors is unlimited. The RGB and HSV palettes are supported.
    For convenience in editing of complex mimic diagrams, the TRACE MODE 6 HMI/SCADA editor supports layers, with visibility controlled in real time. That make it possible to represent on a single HMI screen different technological subsystems, e.g. electrical and water supply networks, fire safety devices, air conditioning and make them visible at the operator will.



    Support of external graphical formats has been enhanced significantly, animation and raster drawings can be subjected to arbitrary transformation (turn, extension), and moreover, not only in the editor, but also dynamically. The transparency of background is also supported. The original technology of 3D Fast+ provides fast display of HMI screens in real time.
    Various trends are available in the TRACE MODE 6 HMI/SCADA software:
    • historical trends;
    • real time trends;
    • analogue trends;
    • discrete trends;
    • profiles based on the specified points.
    scadaDepth of a trend is only limited by the log acquired for the given parameter in the built-in industrial DBMS SIAD/SQL™ 6. Convenient navigator system allows to:
    • view the process trend for any time span;
    • zoom in/out the highlighted sector;
    • add new pens in real time.
    On the trend with a common time scroll bar, an infinite quantity of discrete and analogue parameters of control system can be displayed. For each parameter, the line color and style can be specified. Intervals of uncertainty for parameters, which occurs, for example, in case of loss of communication between the HMI and the PLC, can be highlighted by special color and style. The exact value of the monitored parameter on the trend at a specified moment can be obtained with cursor. Every trend can be set up individually at user convenience.
    In TRACE MODE 6 HMI/SCADA software supports pop-up windows. Many pop-up windows may be opened simultaneously. All standard windows features are available. They can be moved, brought to front, interlaced, they also can change dimensions, be closed by clicking on the well known cross in the right upper angle and so on. The main HMI window is independent from the pop-ups. Even the update cycle may be different for these windows.


    TRACE MODE HMI has its own report generator, that provides fast, clear and fully featured HTML report generation in real time. The report generator is built in some runtimes (DocRTM+), or is available as a stand alone application (Documentation Server). The report templates can be made in the IDE Template Editor. The Template editor is a WYSIWYG tool that has a number of report illustration facilities and is deeply integrated with the TRACE MODE programming tools.
    In the sixth version of TRACE MODE HMI/SCADA software, the technologies of hot redundancy have been enhanced. Now, in the SCADA project, one can automatically create not only dual redundant (Double Force), but also triple redundant (Tri Force) HMI nodes.
    The TRACE MODE 6 HMI/SCADA software possesses of its own high performance industrial real time DBMS SIAD/SQL™ 6 optimized for fast saving of data. The data are not only saved quickly to the SIAD/SQL™ 6 , but also are subject to statistical processing in real time mode, and can also be displayed on the HMI screens and be used in programs with real time data for statistical process control (SPC).
    A special attention has been given in TRACE MODE 6 HMI/SCADA software to integration with databases and other applications. Therefore, support for the most popular program interfaces: ODBC, OPC, ActiveX, DDE has been built-in into this HMI. For easy interaction with external databases, the TRACE MODE SCADA software integrated development environment includes a built-in editor of SQL-queries.

    AdAstrA Research Group, Ltd company cares much about the SCADA software quality. The TRACE MODE development and technical support process is ISO 9001:2000 certified by TUV Cert (Germany).

    Saturday, December 3, 2011

    5 Huge Green-Tech Projects in the Developing World

    Leytegeothermal
    Any solution to global climate change will eventually have to involve the whole globe, not just the richest countries.



    That’s why deals like the one announced Tuesday between Pasadena’s eSolar and the Indian conglomerate Acme Group are essential to any truly green global future. ESolar will sell Acme 1,000 megawatts worth of solar thermal technology, so that the latter can build a network of solar power plants in India’s northern state of Haryana.


    "India is an enormous electricity market with enormous demand for growth," said Rob Rogan, vice president of corporate communications for eSolar. "We see this as our chance to be part of a long-term renewable energy solution in India."

    To date, most wind and solar power has been deployed in the rich, industrialized nations. A 2008 report found that the world’s developed countries had installed 207 gigawatts of renewable-power generation, excluding large hydro. That’s only a few percent of the rich countries’ power generation, but it’s a lot more than the 88 gigawatts of clean power that had been built in the developing world.
    Now, even with the Obama-led United States looking increasingly green-friendly, that trend could reverse. Falling renewable-energy costs and the desire to use domestic energy sources have helped green tech make inroads in fast-growing countries. Renewable-energy investments jumped 91 percent in 2007 in China. and India expects add 6 gigawatts of wind power between 2007 and 2012.

    Here we present five of the largest green tech projects that have broken ground, or plan to, in 2009. Each one of them is slated to be among the largest green-tech projects in the world. Though each is as big as a large coal plant, your average fossil fuel plant will generate more kilowatt-hours because they can burn round the clock every day the year, not just when the sun is shining or the wind blowing.
    (It’s difficult to find out the exact number and size of solar, wind and geothermal projects in the developing world: The English-language paper trail is disappointingly thin. If you know about other projects or initiatives that are planned or complete, let us know in the Comments section, so we can add them.)
    Geothermal_around_world
    Leyte Geothermal Field
    Location: Leyte, Philippines
    Current capacity: 708.5 megawatts
    Planned capacity: 708.5 megawatts
    The jumble of tectonic plates underneath the Philippines has created the perfect situation for tapping geothermal power, particularly at the five-plant array of sites near Leyte. Geothermal development has gone so well that a major energy producer swore off coal in January of this year, choosing to buy into the government-run geothermal company, Energy Development Corporation, instead.
    Geothermal power has already had marked success in the developing world, as can be seen in the chart. That’s because, when the geological conditions are right, geothermal can be downright cheap.  (Chart: Marin Katusa, Chief Investment Strategist, Casey Research Group)

    168875283_301318b93b_b
    Suzlon Wind Farm
    Location: Near Dhule, India
    Current capacity: 650 megawatts
    Planned capacity: 1,000 megawatts
    Estimated completion date: 2010
    Built by Suzlon, a homegrown Indian energy compay, the Suzlon wind farm near Dhule will be the world’s largest when it’s completed in 2010. Already, it’s creeping up on Florida Light and Power’s Horse Hollow Wind Energy Center, which has a capacity of 735 megawatts. It’s the brainchild of Tulsi Tanti, Suzlon’s founder and something of an international hero — but not everyone is happy about Tanti’s low-cost approach to wind-farm development. Der Spiegel reported that the farmers who toil under the giant turbines are demanding more money for their land. "If Suzlon refuses to pay, the farmers block the access routes with their buffaloes," the magazine wrote.
    (Image: flickr/ramkrsna)


    Acme Solar Thermal Plants
    Location: Haryana, India
    Current capacity: 0 megawatts
    Planned capacity: 1,000 megawatts
    Estimated completion date: 2019
    Acme, an Indian technology conglomerate, announced its intentions to build up to 1,000 megawatts of solar thermal power Tuesday. The company providing the technology, eSolar, makes 46-megawatt modular power plants that concentrate the sun’s rays onto a central boiler to generate steam to drive a turbine. ESolar’s
    Rob Rogan said that the companies would break ground on the first 100
    megawatts of solar power within the year. 
    Qaidam Basin Solar PV Installaton
    Location: Qinghai Province, China
    Current capacity: 0 megawatts
    Planned capacity: 1,000 megawatts
    Estimated completion date: ?
    Two local Chinese firms announced their intentions to install up to 1,000 megawatts of solar photovoltaic panels in northwestern China in January. The China Technology Development Group Corporation and Qinghai New Energy Company will start with a more modest 30
    megawatts. They expect to break ground during 2009. 
    Econcern Wind Farms
    Location: ?
    Current capacity: 0 megawatts
    Planned capacity: 720 megawatts
    Estimated completion date: ?
    The Dutch energy company Econcern will partner with a major Chinese oil firm and a hydroelectric company to build four wind farms that will generate around 720 megawatts of power. Work is expected to begin this year, but
    Econcern’s CEO recently admitted that the clean-energy industry faces a serious slowdown that could cause his company to cut jobs.
    9:30 AM PST: This post was updated to include the chart about geothermal power production around the world, which was received after the publication of the story.

    EtherNet /IP to DeviceNet link

    Rockwell Automation has launched The EtherNet/IP Communications Auxiliary. A new EtherNet/IP-to-DeviceNet link module has been introduced by Rockwell to allow products that sit on a DeviceNet network to easily communicate with EtherNet/IP-based scanners.

    The EtherNet/IP Communications Auxiliary allows up to six DeviceNet-based units to be scanned via Implicit Messaging and can bridge explicit messaging for all nodes on a DeviceNet network. The EtherNet/IP Communications Auxiliary uses an internal web server to configure the module, the DeviceNet network and DeviceNet-connected units that fully support the Parameter Object.

    The EtherNet/IP Communications Auxiliary is available as a single Ethernet port or dual Ethernet port module with RJ-45 ports to connect to Ethernet cable, meeting CAT5 or above. Rockwell Automation offers a wide variety of Allen-Bradley Ethernet patch cables with its Bulletin 1585 line of Ethernet cables.

    The dual-port 193-DNENCATR Module also supports a Ring Ethernet topology in which all Ethernet nodes are wired in series with one another. It can be used in the Rockwell Automation’s Device Level Ring (DLR) as a slave device in which the EtherNet/IP network will still continue to communicate, even in the event that one of the network lines is disrupted.
    Commenting at the UK launch of the product, Steve Pethick, Rockwell Automation director of components for EMEA, said: “Many of our customers, particularly in the food processing sector and in the water industry, have asked for a way to add field devices into their Integrated Architecture solution using EtherNet/IP. This device helps them to do just that; simply, quickly and cost effectively.”

    Both devices support a Star Ethernet topology in which all Ethernet nodes wire back to a central Ethernet switch, hub, or router. Rockwell Automation also offers a line of managed and unmanaged Allen-Bradley Ethernet Switches with its Stratix range.

    Wonderware InTouch HMI v10.1 Download

    I found this links from other website, If you interesting for learn you can download it.

    InTouch software provides graphic visualization which takes your operations management, control and optimization to a whole new level.  The InTouch HMI reputation stands above all the rest.  What the industry now knows as Human Machine Interface (HMI) all began with InTouch software over twenty years ago.  No other HMI can match InTouch software for industry leading innovation, architectural integrity, unequaled device integration and connectivity, uninterrupted software version migration path, and truly legendary ease of use.

    All this leads to well designed standards-driven systems that maximize productivity, optimize user effectiveness, increase quality, and lower development, maintenance, and operational costs helping to make your company the best it can be.

    Key Benefits
    * Truly legendary ease-of-use enabling developers and operators to quickly and easily be more productive
    * Unequaled device integration and connectivity to virtually every device and system
    * Stunning graphic visual representation and interaction with your operation brings the right information to the right people at the right time
    * History of uninterrupted software version migration path that means your HMI applications investment is protected

    Key Capabilities
    * Resolution independent graphics and intelligent symbols that visually bring your facility to life right on your computer screen
    * Sophisticated scripting to extend and customize applications for your specific needs
    * Real-time distributed Alarming with historical views for analysis
    * Built-in, real-time and historical trending
    * Microsoft ActiveX controls and .NET controls integration
    * Extensible library of over 500 pre-designed ‘intelligent’ and customizable graphic and object symbols

    HomePage: http://global.wonderware.com/EN/Pages/WonderwareInTouchHMI.aspx

    Download Links: http://vndownload.org/full-software/wonderware-intouch-v10-1.html

    How can the program runtime be optimized if the main memory of the CPU is too small for the runtime-relevant STEP 7 program?"

    Instructions
    The sections of the S7 user program relevant to the runtime are in the main memory of the CPU. These are essentially the program code and the user data. The CPU's load memory contains the complete user program including the module configuration and module parameters. The next table contains information on the topics listed below:
    • Configuring data blocks with the "Unlinked" attribute
    • Influence of the operand area on the memory requirements
    • Different load memory usage for two data blocks of the same size
    • Variable declaration in data blocks
    No. Information about optimizing program sequences
    1 Configuring data blocks with the "Unlinked" attribute
    Since the main memory has only a limited size, for recipe management, for example, multiple data blocks can be different recipe values can only be stored in the load memory. Then, in the main memory is only a working DB that contains the current recipe.
    Fig. 01
    If DBs are configured with the "Unlinked" property and loaded into the CPU, then those data blocks are only available in the CPU's load memory and hence do not take up any space in the main memory. Using this method it is possible to save space in the CPU's main memory. The contents of these data blocks can only be transferred into the main memory with system functions SFC20 "BLKMOV" or SFC83 "READ_DBL". However, if you try to load the data of of these data blocks into Accu 1 with a load command, the CPU goes into STOP.

    Fig. 02
    Open "Object Properties" of the data block and activate the "Unlinked" attribute in the "General - Part 2" tab (Fig. 2). After the data block has been loaded into the CPU, the data block is only stored in the load memory.

    Fig. 03
    Using system function SFC20 you can copy the data from the load memory into the main memory (as in Fig. 03) and subsequently load it into Accu 1 using "L DB20.DBW 0", for example.
    NoteIn the STL sources, this property is allocated to a data block with the key word Unlinked (between "DATA_BLOCK DB “ and the STRUCT definition of the data block).
    2 Influence of the operand area on the memory requirements
    The operand area has a minor influence on the memory requirements when programming:
    • With inputs and outputs the limit lies between addresses 127.7 and 128.0.
    • The limit with markers, on the other hand, lies between addresses 255.7 and 256.0.
    To explain the behavior the two statements below are programmed in a function.
    The statement:
    U M256.0
    = M0.0
    requires 6 bytes in the main memory.
    If you use the same statement with a smaller marker address, for example,
    U M255.0
    = M0.0
    then only 4 bytes of main memory are required.
    The empty function alone requires 38 bytes. Hence, in the main memory, the complete FC requires 38 bytes + number of bytes for the written statement.
    3 Different load memory usage for two data blocks of the same size
    A data block with 16 variables of the Boolean data type requires more load memory than a data block with a variable of the Word data type. One byte is required in a data block for each variable name and for each data type. This means:
    • DB with 16 variables of the Boolean data type:
      16 x 2 bytes (for name and data type) = 32 bytes
    • DB with 1 variable of the Word data type:
      1 x 2 bytes (for name and data type) = 2 bytes
    4 Variable declaration in data blocks
    The size of a data block is normally limited by the maximum available block size of the CPU used (for example, 64 KB with an S7-400 or 8 KB or 6 KB with an S7-300). There is yet another system limit in STEP 7 for the number of declarations in a data block. If you declare more than 32000 variables, an error message is displayed: "Declaration too long". The reason for this message is that 2 bytes per declaration are occupied in the internal 64-KB buffer (as described in point 3).
    Remedy
    Instead of programming the data block with numerous single variables, we recommend using arrays or multiple smaller data blocks. In addition, smaller data blocks can be opened and saved much more quickly in the editor.
    Creation environment
    The figures in this FAQ were created with STEP 7 V5.5.
    Keywords
    Integrated RAM, Memory Card, EPROM.

    What settings have to be made for a PROFIBUS DP connection between a panel or a PC with WinCC flexible Runtime and an S7-200?

    If you want to connect a WinCC flexible operator panel to an S7-200, make sure that the S7-200 can only be operated as DP slave.
    The panel or PC must be implemented as DP master on the PROFIBUS DP network and the S7-200 as DP slave.
    The following settings must therefore be made in the WinCC flexible configuration:
    • In WinCC flexible you configure a controller connection to the S7-200 via
      Project > Communication > Connections.

    Fig. 1: Select controller protocol
    • To be able to set up communication between the S7-200 as DP slave and the PC as DP master, you must set a check mark to enable "Only master on the bus". 

    Fig. 2: Only master on the bus
    Example:  Five PCs with WinCC flexible Runtime and PROFIBUS DP communicate with an S7-200. One PC is the DP master, i.e. the check mark for "Only master on the bus" is set only for this PC. There is no check mark for "Only master on the bus" set for the other PCs.

    Now, if the master PC fails, all communication on the PROFIBUS DP network is interrupted, because there is then no other master available on the bus. As soon as the master PC comes back online (WinCC flexible Runtime is started and the controller connection is enabled), the other PC stations can set up a connection again to the S7-200. 
    Recommendation:
    Declare all the PCs to be master by setting a check mark for "Only master on the bus" for all of them, because then communication does not depend on just one PC.

    The other settings for the PROFIBUS DP connection are to be entered accordingly.

    Fig. 3: Other settings
    Note: 
    On a PC the PG/PC interface must be set as "S7ONLINE --> PROFIBUS".

    Fig. 4: PG/PC interface
    STEP 7 - Micro/WIN
    With STEP 7-Micro/WIN the interface of the the S7-200 must be configured according to the parameters used in WinCC flexible.
    Notes:
    • For a PROFIBUS DP communication at a baud rate > 187.5 kbaud you need a DP interface on the S7-200.
    • For the S7-22x without integrated DP interface you need an EM277 module for the PROFIBUS DP communication (baud rate > 187.5 kbaud).
    • More information on OP communication with S7-200 is available in "S7-200 and HMI Components" in Entry ID: 14188898.
    #