Scada Manual

104
Scantime Engineering Ltd NE42 6QD Prudhoe. England Tel: +44 (0) 1661 830114 +44 (0) 7974 005661 email: [email protected] www.scantime.co.uk SCANIME SCANIME SCANIME SCANIME SCADA PROGRAMMING PART1 COURSE MANUAL Revision 1.0000 Prepared by David H Simm Scantime Engineering Ltd

Transcript of Scada Manual

Scantime Engineering Ltd NE42 6QD Prudhoe. England Tel: +44 (0) 1661 830114

SCANTIME

+44 (0) 7974 005661 email: [email protected] www.scantime.co.uk

SCADA PROGRAMMING PART1COURSE MANUAL

Revision 1.0000

Prepared by David H Simm Scantime Engineering Ltd

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

TABLE OF CONTENTS

SCADA PROGRAMMING PART1 ............................................ 1 COURSE MANUAL ......................................................... 1 Table of Contents ..................................................... 2 REVISION INFORMATION .................................................. 4 WHAT IS SCADA ......................................................... 5 SCADA IN INDUSTRY ....................................................... 7 PROCESS CONTROL & SCADA ............................................... 8 SCADA MAKES ..........................................................10EXERCISE1 ................................................................ 12

SCADA TERMS ..........................................................13SCADA TERMS - 2 ......................................................... 16 SCADA TERMS 3 ............................................................ 18 SCADA TERMS 5 ........................................................... 23 SCADA TERMS 6 ........................................................... 26 EXERCISE 2 ................................................................ 28

SCADA ADDRESSING .....................................................29

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

2

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

DESIGN CONSIDERATIONS ................................................31 INSTALLING MX4 .......................................................38 RUNNING MX4 ..........................................................40 INSIDE MX4 ...........................................................42 RUNNING THE PROJECT 1 ..............................................44 RUNNING THE PROJECT 2 ..............................................46 RUNNING THE PROJECT 3 ..............................................48 CREATING A SCADA .....................................................52 MX4 CONFIGURATION ....................................................54 MX4 EXPLORER .........................................................57 TEMPLATE - 1 .........................................................60 TEMPLATE - 2 .........................................................63 TEMPLATE 3 .........................................................64 TEMPLATE - 4 ..........................................................67 CREATE FIRST PAGE ....................................................73 TEST YOUR PROJECT ....................................................76 DRIVERS & IO SERVER .....................................................77 COMPUTER SETUP .......................................................84 SCADA TAGS ...........................................................92 DYNAMIC PAGES ........................................................95 GENIES ...............................................................99 BACKUP AND RESTORE .................................................. 102 MAIN EXCERCISE ...................................................... 104

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

3

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

REVISION INFORMATION

Ref

Description

Pages

1.000

ONLINE COURSE MANUAL

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

4

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

WHAT IS SCADA

SCADA - Supervisory Control and Data Acquisition. What are the differences between HMI (Human Machine Interface) and SCADA:HMI is a localized operator terminal - NONE PC based, connected to usually one PLC via an RS232 connection or in some instances Industrial Ethernet communication link. An HMI allows the operators and engineers access to the process being controlled by the PLC, allowing them to interact with the process Start, Stop, Alarm Acknowledgement, and Process Data Display. SCADA is PC based and tends to be a Remote system, positioned some distance away from the process in an office or central control area, however they are sometimes used locally depending upon the application. The SCADA monitors not only one PLC via serial RS232/422 but it can monitor several PLC's at any one time via a network such as Industrial Ethernet. Below is a typical Scada screen of a process being controlled from a PLC.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

5

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SCADA - Screen layouts do vary and we will be learning about these later in the course.

SCADA screens can be very Dynamic, the term Dynamic refers to where the process can be animated - HMI's have developed to also allow a degree of animation, so that at a glance the operator can see what is happening, however since the SCADA is PC based it can call on the power of Graphics Cards to display images more clearly and very well defined due to the PC high resolutions. Because Scada is about visual displaying of information and graphics the PC or IPC Video is very important, to test the quality of a Video Card, you can check the screen settings in the OS Operating System , with Windows XP Right mouse click the screen and select Properties with Vista select Personalize, then look at Screen settings, Resolutions of 1024 * 768 are OK but 1280 * 1024 is better, 800 * 600 should be avoided as the graphic quality will be very poor, the resolution refers to the number of Pixels Across and Up the screen, so the higher the number the better when Diagonal lines are displayed, lower resolutions display a ragged diagonal line. You also have to ensure the Depth of colour is at maximum such as 32 Bit and NOT 16 Bit. The image shown above show how the quality should appear. One final test is to check the capability of the Graphic Card, Open a Window - anything such as MS Word, reduce the size of the window so that you can see the Desktop background, then Mouse Left click on the Window Top Bar where the Window size buttons are, then rapidly Move the Window around the PC Screen -

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

6

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

If you see a slow Trailing effect as you move the Window around rapidly then your Graphic Card is of low quality, also in some PCs you share Graphic memory with the PC Ram, this is very poor, you should always have a separate Graphics card such as Nvidia Or Radeon but never Integrated Graphics or Shared Graphics. Being a Scada engineer also means you have to understand how computers operate, understanding how to Format Hard Drives, Set screen resolutions, Update Drivers etc.

HMI over Scada One benefit of an HMI over Scada is that HMI do not have hard drives, the operating system of an HMI is in ROM (Read Only Memory), therefore there is no BOOT Time when it is powered up, whereas SCADA being PC based does have an operating system "Windows XP" and takes several seconds to Boot as all PC's do. (Note Windows Vista is new (c) 2007 and not all Industrial systems use this platform yet). Data collection, reporting from production lines, material handling and automatic testing is made simplified by using a SCADA system. It allows authorized personnel to access data at any point in the production cycle, to obtain performance figures and test results at every stage on the production line; reports can be automatically generated on production output and performance reports and created at specific periods of the day, end of week or month, and all this is done in real time.

SCADA over HMI SCADA also has several other advantages over an HMI - Data Logging, the restriction to how much data can be stored on a SCADA is only dependent upon the size of its Hard Drive, whereas an HMI depends upon its Ram or EEPROM. You can also create SCRIPTS in SCADA using VB (Visual Basic, C Language or a bespoke language developed by the Scada make.

What is IPC IPC is Industrial PC (Personal Computer), it is similar to a PC with Hard Drive, Ram, CD/DVD Drive but it is designed into a rugged construction that is better for being placed in industrial areas and in hazardous locations.

SCADA IN INDUSTRY

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

7

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

PROCESS CONTROL & SCADAManufacturing equipment on the shop floor is interfaced to the PLC via actuators and sensors, the PLC CONTROLS THE PROCESS - NOT THE SCADA. The importance of the PLC is that under all circumstances Except SAFETY, the PLC must always be in control, so the PLC Programmers designs his PLC program in a manner to maintain control of the process at all times, if SAFETY is breached then PILZ Relays take control via Hard wiring and the process will STOP, the PLC will react to a breach in SAFETY (Example EStop activated) and place the program in a safe mode even though the control outputs will have little effect, usually when a PILZ relay is triggered the 24 volt DC supplies are turned OFF, therefore the outputs from the PLC will also all turn OFF, the PLC Program should then enter a safe mode and ensure any signalling to the outputs is further disabled, the PLC program will then wait until process safety is restored and supplies re-established via the PILZ Relay and the operator completes a FAULT RESET allowing the PLC to restart when the operator presses Process Run. Below is a typical Process Control Layout. On the left we can see at the bottom of the image, Actuators, Lamps and sensors, wired back to the PLC via Direct wiring or ASI. ASI is a communication wiring via 2 wires that allows devices to simply be connected onto a 2 wire communication link, with its signalling encoded onto a transmission signal to and

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

8

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

from the PLC, this simplifies and greatly reduces wiring on the shop floor. In multiple PLC installations the PLCs are usually networked, via an OPEN network such as PROFIBUS communications, a robust communication standard or the newer Industrial Ethernet. On single terminal Scadas you can connect the Scada terminal to your PLC by using Serial communications, such as RS232, RS422 and RS485.

At the top of the design tree on the left is the SCADA terminal(s), these monitor the shop floor data and signalling via the PLC. The SCADA provides operators and engineers the capability of viewing manufacturing progress in real time, and can change manufacturing parameters via the SCADA terminals. However the changing of manufacturing parameters is closely controlled by the PLC, this has to ensure the operator can only make changes in accordance with the manufacturing design and not place the system into position where manufactured Product is badly made, or Safety is breached.

SCADA is a powerful software package, allowing the Scada designers to create programs via Scripts, which can run inside the Scada, however these programs are only supposed to affect the Scada display and not be used to make control decisions on the manufacturing process.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

9

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SCADA MAKESLearning SCADA such as the makes below is NOT Scada Programming, just like as PLC programming has little to do with Omron, Mitsubishi etc learning RS VIEW or WINcc SCADA is all about how to use the software package. When you know how to program for a process application then you apply this against all SCADA makes. Below are some of the major process control manufactures worldwide. NOTE: ALL SCADA packages work with ANY PLC make; they are OPEN packages allowing the designer to decide which is better for the application. In some cases it makes sense to use a PLC manufacturer package, however in the 1990's PLC manufactures stayed with PLC's and left SCADA (The new boy on the block) to other companies such as Wonderware - Intellution - Citect. When SCADA became popular with industry the PLC manufacturer decided to jump on the ban wagon and come up with their own makes, maximizing their presence in the market place.

WONDERWARE - INTOUCH Wonderware are NOT a PLC supplier, they have focused their operation on SCADA only and have developed a very powerful package that integrates into many areas of today's manufacturing cycle. A US product. Reliable & easy to use, support is worldwide. Works with all PLCs including Mitsubishi, Omron, and Siemens etc. WEBSITE

ALLEN BRADLEY - RS VIEW RSView32 a US product, works on any PLC, it looks very good. Rockwell claim it is an integrated, component-based HMI for monitoring and controlling automation machines and processes. Available in

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

10

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

English, Chinese, French, German, Italian, Japanese, Portuguese, Korean, and Spanish. RSView32 expands your view with open technologies. WEBSITE

SIEMENS - WINcc WinCC, a German product, launched in 1997. Works again with all PLCs, a very powerful product but back in 1997 when it launched a difficult platform to get to grips with, expensive and support was disastrous. Their product is now much improved and is available in two packages WinCC Flexible a reduced Scada package and WinCC Scada, both are integrated into Siemens STEP7. By integrating WinCC into STEP7 maintains a consistent design approach when designing a system both PLC and Scada can be accessed at the click of a button. To improve your knowledge on 21st century process control, see how PLC and Scada can work together in a manufacturing process, each video below lasts approx 15minutes. Requires Windows Media Player or Real Player VIDEO 1 (32MB) VIDEO 2 (12MB)

iFIX32 - GE FANUC Formerly Intellution, iFIX is now a GE Fanuc product. A very power full package monitoring and supplying data across much a a manufacturing plant. GE Fanuc Automation is a joint venture of General Electric Company and FANUC LTD of Japan, with world headquarters in Charlottesville, Virginia, and global operations serving customers in the Americas, Europe, and Asia. WEBSITE

CITECT An Australian company who assisted Mitsubishi to develop their own Scada software MX4. Established in 1973, Citect has grown to become a leading, global provider of industrial automation, real-time intelligence, and next generation manufacturing execution systems (MES). Citect products are complemented by professional services and customer support and training and sold in numerous industries. WEBSITE

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

11

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

MITSUBISHI - MX4 (Demo program supplied) The introductory level to SCADA used to be quite steep, several thousand dollars, however - Mitsubishi have now joined with CITECT AUS - many years of selling into the Australian market, jointly they have now released MX4 HMI, the HMI term has been used although this is still a PC based system and not a true HMI, the difference between their MX4 HMI and MX4 Scada is TAG count, you are limited to approx 100 TAGS (IO), this is a low end package costing a few hundred dollars and allows the monitoring of production lines and reporting etc that a SCADA package provides. The next level above MX4 HMI is their MX4 SCADA, this allows UnLimited TAGS..

All SCADA packages if developed correctly enable you to increase your company's return on assets by delivering highly scalable, reliable control and monitoring systems to reduce your operating costs and increase profits.

EXERCISE1

1. What does SCADA stand for? What is special about ASI 2. How many Scada terminals can you have monitoring a manufacturing process? 3. How can you connect a Scada to a PLC? 4. What is the difference between a PC and a IPC, and what does IPC stand for? 5. What determines how clear the Scada screens will be displayed? 6. Which controls the Manufacturing process Scada or PLC or Both, and WHY? 7. Which company developed - WinCC - MX4 and InTouch

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

12

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SCADA TERMSWe will look further into each of the topics below later, these are a brief explanation of the terms used in Scada programming.

CONFIGURATION Scada Configuration refers to the setting up of the Scada software for the means of Communication, Device Drivers for PLC make and model, PC Screen Resolution, the Start Page to be displayed when starting the project - sometimes referred to as the Splash screen (Logo and Title etc), Refresh periods from graphic updates. * User expandable Libraries of Graphics symbols and templates * Express wizards for PLC communication setup * Genies to create dynamic custom objects * Ability to Import Tag addressing, settings and descriptions via MS Excel * Use of off the shelf Active X objects

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

13

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

ALARMS Alarms are fundamental to Scada's, these are the Process alarm messages that appear when they are triggered in the PLC program. When an Alarm occurs in the PLC it will trigger a Bit Address in the PLC, this Bit Address is assigned to an Alarm TAG in the Scada, which is configured to display a message on the Scada Screen. Alarm displays on Scada's are displayed in two areas: 1. Alarm Banner - usually displays the last 3 alarms and is placed on every screen so that the operator can see the latest alarms 2. Alarm Page - displays all the alarms * Time stamped alarms to milli seconds * Ability to interact with Alarms via pages or individually * Custom configure alarm colouring to suit their state. * Several hundred levels of Alarm Priority or Category * Historical Alarm and Event Logging * Alarm Reports can be custom configured and automatically generated

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

14

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

GRAPHICS DISPLAY The Graphic pages provide operators and engineers with a visual Dynamic overview of the the Manufacturing Process. Every item shown is referred to as an OBJECT - Pipes - Valves - Meters - Bar Graphs - Buttons are all OBJECTS.

Each OBJECT has PROPERTIES these allow the designer to set the colours of the object, also how these colours will change should values in the process change - example: If a Valve is OFF (Closed) then it would be displayed as RED in colour, if the Valve were ON (Open) then it would be GREEN this is the same for Motors, Pipes, Pumps etc.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

15

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SCADA TERMS - 2* Bitmap and Text Based objects can all have Size, Position, Rotation, Slider, Keyboard and Mouse input and access, controlling their dynamic properties. * Active X objects are supported * Auto resize for different resolutions * Synchronous flashing colours * Fast display of pages * Unlimited number of graphic pages.

Typical Graphic Dynamic Screen

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

16

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

TRENDS Trends are graph displays of process parameters such as - Temperatures, Pressure Levels, Speed. * Graphical representation of the process feedback - Speed - Temperature - Pressures etc * Printouts * Dynamic selection of Trend Pens for displaying the graphs * Zooming into trend periods Time and Date * Exporting Trend Data CSV (Comma Separated Value), ASCII files * X/Y Plot capability * Periodic and Event created graphical trends

Typical Trend Screen

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

17

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SCADA TERMS 3

APPLICATION LANGUAGES While Scada's are graphical displays, Data Monitoring and storage of the process parameters, you can create programs that are triggered upon some event in the process, or the calculation of a value such as changing Degrees Fahrenheit to Degrees Centigrade etc, these programs are called Scripts which you create within the Scada However while a SCADA has the capability to make decisions such as if TAG1 temperature is Greater than 100'C the SCADA must NEVER CONTROL THE PROCESS this is the role of the PLC NEVER the SCADA, the reason is that the PLC is more reliable than the Scada PC and its role is Process Control NOT the SCADA. Scripts and what they can do: Bespoke language created by the Scada Developer such as Siemens, Citect etc V Programming languages such as - VBA Visual Basic or C language They have the ability to interact Indirectly or Directly with Tags (IO) Can undertake Full Mathematical and Boolean functions String manipulations IF - THEN - DO - ELSE - WHILE commands

DATA ACCESS Scada can interact with other MS applications other Data Bases, retrieving information and transferring process data into these other applications, example a company manager may wish to have displayed on his desktop PC production data such as Items Produced, which machines are running and stopped, the Scada can transfer this information into MS Excel or Word or other packages.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

18

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

* Network DDE (Dynamic Data Exchange) with any Windows application MS Word, Excel, Access DB, allowing the applications to display Scada data in real time. * OPC Object Link and Embedding for Process control

REPORTS Reports are valuable printouts in sheet form that can be sent to managers to determine how manufacturing is progressing. The Scada programmer configures the Report layout and sets the Trigger signals from the PLC or Time triggered from the printouts to occur. * Display via Screen or Printout * Time Date triggered * Alarms and Trends can be added to reports

SECURITY

Scada is a very important and critical component of the manufacturing process, as many types of people may have access we have to ensure that any access to the Scada screens and controls are protected against unauthorized operation. Basic operators may have VIEW ONLY rights, whereas Engineers may have several levels allowing some engineers to alter set parameters and others can only Start and Stop certain areas or Acknowledge Alarms when they occur or View only some screens. Security can be setup by the Scada Designer over several levels HMI verses SCADA

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

19

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

DEVELOPMENT & RUNTIME Scada is provided in two packages * Development software - This is the Design & Development software that also can run the Application, as a designer you must have the Development software. * Runtime software This is cheaper than the Development software and is used by the end user to Run the designed product. No design of the application can be configured from this software. You use the runtime environment to control and monitor your plant. You must tailor the runtime system to suit your requirements, using the configuration tools. After configuring your project with the DEVELOPMENT software, they must be compiled to build your Runtime system. It is at Runtime when the SCADA will communicate with your I/O devices, process alarms, animate levels and symbols, and so on. The Runtime system is the graphical interface (of your design) that you use to control and monitor your plant.

DONGLES & TOKENS

The License whose value is dependent upon the number of TAGS required from your design and can cost from 400 ($750 USD) to several thousand. Dongles carry the Development or Runtime License; therefore

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

20

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

the Runtime Dongle will be cheaper than the Development Dongle. A Dongle is a Hardware connector that is usually plugged into the PC Printer Port at the rear of the PC, the Token is a software code that is installed into the PC from a Disk, and usually this is HIDDEN to prevent copying. The Dongle is better than a Token; this is because Tokens are software codes that can be accidentally lost due to DeFrag of the PC Hard Drive - Formatting - or Anti Virus applications that believe it is a virus.

Dongle this is SAFER than a Token, which can be easily lost due to PC malfunction or Defragging.

CLIENT SERVER The Client Server arrangement allows terminals to be networked. The Server is the MAIN terminal where all Data is stored; the Client is a Display Terminal that displays the Data stored on the Server.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

21

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

It is not always necessary to have Client / Servers, the arrangement depends upon the application. However you will find in large Process Control applications such as Oil/Gas Refineries, Automotive companies that Many Scada's will be used and Client / Server is normal. When using Client / Servers, the Development software would be installed in the Server, as this is the main terminal. The Client terminals will use the Runtime software and Runtime Dongles which are cheaper.

The Client terminals will run the same designed Scada application as used in the Server; however some Server screens may be disabled as they are not required at the Client

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

22

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SCADA TERMS 5TAGS This is the term for Scada IO (Input and Outputs), each Tag is addressed to a BIT or Data Register in the PLC. The user pays for IO Tags ranging from 100-600-1000-unlimited.

TEMPLATES These allow the developer to create screens with common features, they can then be stored in a Library and the developer can use the Template to provide a consistent appearance in the Scada application.

OBJECTS These are Buttons Lamps - Graphs etc, everything you see on a Scada screen can be an object, even a simple square of a few milli-metres in size can be Mouse Clicked to start a Motor or Display the Motor status by changing the squares colours.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

23

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

Above we see many objects; the START button when clicked opens the Properties Dialogue. In the Properties the designer can setup triggers that will run coded commands. In the above example we can see that when the Button is DOWN (Pressed) a small software routine is initiated. IF Motor1Speed = 0 Then Motor1=1; Else End Both Motor1Speed and Motor1 are TAGs that have been created in the Scada Tag configurator, these are addressed to DATA and BIT locations in the PLC Memory. Motor1Speed this could be assigned to a Data Register D1000, the value in the register could reflect the SPEED of the Motor. Motor1 this is a Boolean value and therefore assigned to a BIT address, so that when the BIT is ON then Motor1 will start.

GENIES These allow the developer to create Dynamic Objects such as Valves that change colour depending upon their state. Example:* RED - VALVE OFF / CLOSED * GREEN - VALVE ON / OPEN * FLASHING RED - VALVE CLOSING * FLASHING GREEN - VALVE OPENING

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

24

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

The image shown above show several Genies, the MOTOR

, AUGER

, AGITATOR

all

are created as a Genie, when you double click the Genie a Dialogue appears allowing you to enter the TAG name that the Genie will use, example using the Motor Genie allows you to use this OBJECT as many times as you wish in your SCADA Design, assigning each MOTOR Genie to a Tag, so that when each Motor

turns ON the MOTOR Genie changes to GREEN and when each MOTOR turns OFF the Genie will turn RED, this allows you to rapidly create Scada Screens displaying many MOTORS, each one looking the same, but reacting only to the assigned Motor Tag.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

25

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SCADA TERMS 6ALARMS These are Logged similar to Trend data. When an Alarm is triggered the Alarm must be Acknowledge. The reason is to ensure Operator or Engineers are aware that the Alarm exists, the Acknowledgment of any alarm is Time stamped to see when the operator was aware of the problem. To Acknowledge an Alarm the operator / engineer can either touch the Alarm Banner message, Mouse Left Click the message line or press a configured ACK Button. (ACK - Acknowledge) * Active Alarm Red * Active & Acknowledged Yellow * Non Active and Non Acknowledged White * Non Active and Acknowledged - Cleared from list (An Alarm that has been rectified)

CONFIGURATION ENVIRONMENT

The configuration environment consists of tools (applications) used to build the Runtime system (The Finished Application). The configuration environment is centered around an Explorer environment, which is used to create and manage your projects. The Projects are used to structure your configuration data into logical, well organized, groups. You can design your system to use one or more Projects at a time, depending on the modularity of your plant or system. Below is the MX4 environment, similar to MS Explorer, we will look further at this shortly

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

26

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

27

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

EXERCISE 2

1. Explain briefly what is meant by Configuring the Scada? 2. What is special about an Alarm Banner? 3. What is a Trend used for? 4. Lamps, Buttons etc are referred to as What? 5. If a Valve or Pipe is GREEN what does that tell us? 6. What is a Script? 7. What is a Template used for? 8. If an Alarm occurs what colour would we normally set this to> 9. What is Acknowledging used for? 10. What does DDE stand for?

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

28

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SCADA ADDRESSINGScada addressing is termed TAGS that refers to IO - Inputs and Outputs of the PLC, also the PLC internal Bits and Data Registers can all be assigned to TAGS. * Scada packages are supplied with several hundred and thousand Tags, each level has a cost value that the user must pay. 100 Tags can cost 300 ($500 USD), 500 Tags 700 ($1300 USD) and Several Thousand Tags (UnLimited) can cost 2000+ ($3500+ USD).

* Each BIT address in a PLC can be assigned to 1 TAG, therefore you can see this can be quite expensive. PLC Data Registers are also assigned to Tags. HOWEVER Scada engineers are creative and assign PLC Bits to Data Registers - WHY? this is because each Data Register as we know has 16 BITS, therefore by assigning example 0.00 to 0.15 on and OMRON PLC IO Card to Data Register example D100, allows 1 Tag to monitor 16 of the IO of that Card by assigning D100 as one Tag.

Above is an example of a tag. Name is a Convention used for this project W1 = Winch1, SPD = Speed, HI = High Limit

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

29

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

Data Type DIGITAL = BIT address Address M562 is a general Bit address for a Mitsubishi PLC IO Device is a Driver used for Communications Comment and simple description

Data Type shows that this is an INTEGER value Address D1505 is the PLC Data Register (Mitsubishi PLC) RAW Zero and Full scale are the PLC Data Register range values fed back from the process sensors ENG Zero and Full scale is what the SCADA has to convert these value to and Display them. The values show no difference, therefore whatever the D1505 register is would be shown by the Scada, if D1505 = 500 then the SCADA would Display 500. Example if we were monitoring the weight of a material storage Silo via a LOAD CELL with a feedback signal 4-20mA, the maximum RAW values fed back in the PLC would be shown in the PLC as 4000 for 20mA and the minimum would be 0 (zero) for 4mA. These fed back values refer to 4mA = 0 Units = 0 TONNES and 20mA = 4000 units = 1000 TONNES of material.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

30

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

Therefore we could set the Engineering Units to 0-1000

DESIGN CONSIDERATIONS

The first and most important step in any system development is design. Good design ensures that your system: Performs the control and monitoring tasks that are required. Is implemented with minimal interruption to the application. Achieves the best possible performance. Poor design often results in substantial rework, major disruption to the organization, poor performance, or all three. With SCADA you can easily configure a system to do whatever you want; there are no restrictions on how your system will operate, or how your operators will interact with it.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

31

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

Some issues to consider are: How the plant is graphically represented to the operator. How the operator navigates the system. What plant-floor data will be displayed on the screen. What operator controls are required and where they are presented on the page. What plant conditions need to be monitored for alarm conditions. What data logging is required for maintenance and performance monitoring purposes. What reports management will require. What level of security (if any) is required in the runtime system.

USING OTHER DATABASE EDITORS All SCADA databases are stored on disk in a standard dBASE format. You can therefore edit any SCADA database using any database editor that reads dBASE files (e.g., Access, dBASE, Clipper, or FoxPro). When using other database editors, remember the following: 1. All key fields must be uppercase. The SCADA compiler only recognizes upper case key fields. 2. You can add or change (expand or reduce) fields in a SCADA database, but you must not remove existing fields, or problems might occur during compilation. 3. Some databases are indexed. If you add new records or edit the index key field, the index must be rebuilt. The easiest way to do this is to pack the database in the Project Editor after editing. Packing the database deletes all records marked for deletion, and re-indexes all the databases. 4. The majority of SCADA database fields are left-justified. Make sure that any key fields entered by another database editor are also left-justified. 5. SCADA databases only support string data types. 6. Be careful when adding records to the page animation records, such as numbers, colors, strings, buttons, and so on. These databases are linked into the background graphic image; only add records to a page database where the AN already exists. (If an AN does not exist, the record is deleted when the page is edited.) 7. You should Pack the Scada database regularly if you have been deleting or editing the Variables database file using third-party database editors (such as Microsoft Excel).

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

32

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

SPECIAL CONSIDERATIONS FOR USING MICROSOFT EXCEL When using Excel, you cannot change the width of the fields: all the fields are truncated to the new size, effectively destroying the entire database. In addition, if Excel finds only numbers in a field, it tries to change the type of the field into the number format, also destroying the database.

PROJECT DESIGN STANDARDS Design standards promote consistency and clarity. Consistency and clarity reduce your development time, and reduce the time that your operators need to learn your system. You should, for instance, choose a common screen location for all control buttons of a certain type, keyboard keys that always perform the same operation, and standard colours for displaying similar types of information (e.g. alarms). Naming standards are recommended throughout your configuration, use a naming convention for pages, alarms, commands (and all database records). A standard naming convention can:

Reduce database search time. Reduce data entry. Reduce time and effort when configuring future changes and enhancements. There are many conventions you can use to standardize the names of your database records. The most common method is to include as much (abbreviated) information as possible in the name (up to 16 characters, 79 for variable tag names). For instance, you can include the area and the process, or the machine and the device with which the record is associated.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

33

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

Example: Abbreviate the Name of a TAG. If you were working on an OIL Refinery or Rig there may be several hundred Valves and Pumps therefore a simple naming convention could be utilized. V1_STB_OPEN, This could be the OPEN command for Valve1 on the Starboard side of a RIG V1_STB_OPENED, This could be the signal that tells you the Valve is fully opened P1_START, The Start signal to Pump1 Notice the use of _ to divide the name into words, this is far better than V1STBOPENED, at a glance it is difficult to read. On some systems engineers prefer to add the Address in the PLC V1_STB_OPEN_M200, address M200 in a Mitsubishi PLC V1_STB_OPENED_X10F, input address on a Mitsubishi IO card that is ON when the valve is fully opened, a Feedback signal.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

34

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

P1_START_M205, note the M address is used again, M addressing in Mitsubishi is for the Internal Bit addressing, you would tend to use these or other internal bits for other PLC makes rather than Directly addressing to OUTPUTS. Example: X01 | M205 ---| |-------| Y110 ---| |-------Above we can se that to START the Pump you can either Press an external Push Button wired to Input X01 OR Initiate a START Signal via a SCADA Button that is linked to a TAG addressed to M205 When Button DOWN, Command = P1_START_M205 = 1 | | X02 M206

---| |----------------|/|---------|/|------O Y110 Output to Pump on Mitsubishi Rack

As we know the above design would Latch ON the Pump, to STOP the pump we could either push the push button wired to input address X02 OR Initiate a STOP Signal via a SCADA Button that is linked to a TAG addressed to M206 When Button DOWN, Command = P1_STOP_M206 = 1

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

35

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

NOTE: It is important to know that when you use such commands that when you mouse click the Button on the SCADA screen then Button WILL depress and the code P1_START_M205 = 1 will SET the value inside of M205 THEREFORE the UP command in this design must look like BELOW:

THEREFORE - when the START button is mouse clicked - depressed M205 turns to Logic 1 - ON THEN - when the START button is released M205 turns to Logic 0 - OFF

THEREFORE acting like a real electrical push button.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

36

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

QUESTION WHAT WOULD YOU DO TO THE COMMANDS FOR THE SCADA STOP BUTTON AND WHY. Email your answer to your Course Tutor.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

37

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

INSTALLING MX4INSTALLATION Installation runs on Windows 2000, XP Home or Professional, Vista Home Premium or Professional

To install MX4 on a PC follow the procedure below. Open the MX4 folder and RUN (Double Click) the SETUP file application.

Allow it to install into the Default - Program Files directory on your C Drive. After several minutes it will prompt you to RESTART your PC. When you have restarted you can then RUN the application.

RUNNING Inside the Melsoft folder is the MX4 Scada folder, this shows 2 IMPORTANT files - Explorer & RunTime

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

38

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

EXPLORER This is the configuration application, which you use to create your SCADA application. This is for the designer ONLY. SELECT the EXPLORER icon when you the designer wishes to RUN MX4 - NOT the RunTime. IMPORTANT - MS VISTA users ONLY to RUN MX4 Explorer, ALWAYS RIGHT MOUSE click and Select RUN as ADMINISTRATOR

RUNTIME When an engineer finishes creating a SCADA application for a customer, the RUNTIME application is usually placed in the PC StartUp folder, so that when the PC Boots, the RUNTIME application runs and LOADS the the designed SCADA application. RunTime applications allow the USER to RUN, VIEW and CONTROL the Scada design - BUT NOT modify the design or create new screens. SCADA packages can be bought as either CONFIGURATION, allowing you to DESIGN and setup the clients PLC when the design is finished OR as RUNTIME only, which are cheaper to purchase than the CONFIGURATION software.

Many end users sometimes have multiple SCADA PCs, it is impractical to purchase multiple copies of the CONFIGURATION software as this could cost many thousands of dollars, therefore you will find in large companies, only a handful of CONFIGURATION packages, but many copies of RUNTIME Only.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

39

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

RUNNING MX4

CITECT EXPLORER When you run MX4 Explorer the following screen will appear.

The left sidebar is the Project TREE, here there is an Example Project. The Work area on the Right show the Folders that will contain the Graphic screens that you create, also Templates, Communication setup, Addressing data TAGS, Alarm setup, and Program Scripting. These are explained in the course TOPIC - MX4 Explorer.

EXPANDING THE PROJECT

Click the + sign next to the Example folder and it will expand, do the same for Graphics folder and then Click on Pages.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

40

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

In this example supplied by CITECT, every file after Create New Page is a SCREEN design. Double click the following screens - DO NOT MOVE OR ALTER ANY OBJECTS - VIEW THEM ONLY, THESE ARE IN DESIGN MODE AND WILL NOT YET RUN. EACH SCREEN REPRESENTS THE PLANT THAT IT IS MONITORING AND THE PLC CONTROLLING.

ACTIVE X Control meters that have been created as Active X objects.

GENIES A selection of some genies that have been created, each object is dynamically controlled when addressed and connected to a PLC. NOTE this is NOT how a screen would look in a real Scada project, you have to be professional in your designs.

ALARM This is Citect Alarm Page, there is nothing to look at, however the screen has hidden Cicode Functions that are triggered when an alarm occurs in the PLC.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

41

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

ZOOM TREND Two Trend Objects, showing multiple controls and read out display windows. CONTINUED NEXT page.

INSIDE MX4

EXPANDING THE PROJECT

FILTER An example of a Graphic screen, this would become dynamic (Moving and Colour changing) when ran from a programmed PLC.

LOOPPAGE These are Bar Graph controls with Sliders and dynamic readouts and a moveable bar up and down to represent the feedback value to the PLC from the process.

RECIPE This shows several Silos whose contents would be MIXED into one large Silo. THESE ARE ALL EXAMPLES ONLY OF A PROCESS BEING MONITORED.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

42

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

CICODE Click on the Cicode Files Folder in the Project TREE. Then double click EXAMPLE in the work area. This is CICODE STRING FUNCTION FormSelectHistoryFile( STRING sFile) INT i; INT iTime; INT iFile; INT iOffset; STRING STRING sBuf; sText;

FormNew("@(Select History File)", 50, 9, 1); IF FileExist( sFile) THEN sBuf = sFile + " END FormListBox(0,0,50,8, sBuf, 0); FOR i = 1 TO 999 DO sFile = StrLeft( sFile, StrLength(sFile)-3); !Strip extension sFile = sFile + i:#0#; IF FileExist(sFile) THEN sText = sFile + " END END FormButton(8, 8, "@(OK,12,C)", 0, 1); " + TimeToStr(FileTime(sFile), 4); FormAddList(sText); !Add extension " + TimeToStr(FileTime(sFile), 4);

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

43

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

FormButton(30, 8, "@(Cancel,12,C)", 0, 2);

DO NOT WORRY about its complexity, this code was written by Citect and will actually make this example DYNAMIC when we run the design later.

However SCADA design Engineers have to be proficient in this type of programming and also VB Visual Basic, C language. It takes time to learn these but it is necessary to become a professional Systems Integrator (PLC & Scada designer). On this course we will not be doing CiCode that is for later as you develop your Scada skills.

RUNNING THE PROJECT 1

TOOLBAR At the top of MX4 is a Toolbar.

Working LEFT to RIGHT the important tool buttons are:-

The Combo Box drop down is the Project List, we only have one project, but designers may be working on several MX4 projects and therefore the Project TREE would display the Project List.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

44

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

NEW PROJECT

RUN THE SELECTED PROJECT

PROJECT EDITOR USED WHEN CREATING GENIES

GRAPHICS BUILDER USED WHEN CREATING SCREENS

CICODE EDITOR

COMPUTER SETUP ALLOWS SPECIFIC SCREEN TO START WHEN THE SCADA RUNS, ALLOWS THE SETTING OF TERMINAL SETTINGS AND ACTIVATION OF SCRIPTS WHEN THE APPLICATION RUNS.

BACKUP & RESTORE, WHEN YOU SEND YOUR WORK TO A CLIENT VIA EMAIL YOU USE BACKUP TO COMPRESS YOUR MX4 PROJECT INTO 1 FILE, ANY PROJECTS CAN BE RETURNED TO YOU AND RESTORED FOR MODIFICATIONS. ALSO RESTORE ALLOWS OTHER PROJECTS DESIGNED BY OTHER ENGINEERS TO BE SENT TO YOU SO THAT YOU CAN OPEN THEM.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

45

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

RUNNING THE PROJECT 2RUN

Click ONCE the RUN Button

DEMO MODE

A WARNING message will appear.

This is only warning you that no protection key is found and so it will RUN in DEMO mode lasting approx 30 minutes, however this is a demo package so you will get more from the Example project, this is normal for all SCADA makes, without a License - DONGLE or TOKEN the Scada will only run in DEMO mode, you can interact with the design and it will communicate with a PLC but only for a limited time period.

CLICK OK

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

46

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

This is the Scada application designed by another engineer, it is only an example on how it can appear.

REMEMBER that all SCADAs are Terminals that display the Manufacturing Process, the PLC CONTROLS the process and passes the Process Data to the Scada to be displayed - the SCADA DOES NOT CONTROL A PROCESS.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

47

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

You will see at the top of the display screen a FLASHING alarm clock, this is a symbol this engineer has selected to show there is an ACTIVE ALARM, at the bottom of the screen is the MOST RECENT alarm shown in what we call an ALARM BANNER.

RUNNING THE PROJECT 3

RUN

Mouse click the ALARM CLOCK once and the ALARM PAGE will appear.

Left Mouse Click the Topmost Alarm and see it disappear, this is what is called ACKNOWLEDGING alarms.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

48

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

ALARM ACTIVE When an alarm occurs in this design it will appear BRIGHT YELLOW and be shown as ON.

ALARM NON ACTIVE AND NOT ACKNOWLEDGED When the alarm in the Process has been rectified the alarm message will turn a DULL YELLOW

ALARM NON ACTIVE AND ACKNOWLEDGED When the alarm in the Process has been rectified and ACKNOWLEDGED it will disappear from the list. Watch the Alarm Display for a while - the CiCode demo is running a test program and you may see alarms appear, TRY Acknowledging some alarms ACTIVE and NON Active and see what happens. ALL ALARMS ARE BEING STORED ON YOUR HARD DRIVE IN WHAT IS CALLED AND - ALARM LOG.

GROUPS From the GENERAL MENU at the top of MX4 select GROUPS screen, click the RUN Demo button bottom right. This shows the DYNAMIC capability of a SCADA. Scada Designers creativity can create virtually anything they wish to provide an eye catching screen, however showing a truck move up and down is a gimmick and would never be done in professional circles.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

49

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

Click on the GAUGES and HOLD Left Mouse button and you can DRAG the Pointer to any position you wish, see how the Crane moves as you do this. Left click the CABLE RED button and Move the claw up and down.

GENIES Open the Genies screen, left mouse click the right hand BREAKER. Try the SWITCH.

CICODE VBA Open this screen and when you activate the buttons VBA scripts are activated and show temperature changing etc. Remember this example is only displaying the power available to you when using a SCADA. In real applications the PLC does all the CONTROL, this is for SAFETY purposes, if a SCADA failed due to computer fault or communications cabling was broken or disconnected, the PLC maintains CONTROL OF THE PROCESS.

Scantime Engineering Ltd. Registered Office Prudhoe. Northumberland NE42 6QD England. Registered in England No: 5268346

50

SCANTIME

Scantime Engineering Ltd Maingate. Regus House, 1st Floor Team Valley Trading Estate Gateshead. Tyne & Wear NE11 0NQ England email: [email protected] www.scantime.co.uk

TREND SCREEN Open the SINGLE TREND screen from the TREND menu. This screen is displaying data from the example process.

Click the Top Right button shown at the bottom of the Trend screen, and change the Time Span to 5 minutes, the Trend screen will change to show the data variations over a 5 minute time span, try 1 minute. To alter simply left click inside the time displayed period and backspace out whatever minutes are showing and type in 01 - Displaying HRS:MIN:SEC Use the quick change buttons 1HR 2HR and 8HR.

Press