background image

Cat. No. W10E-EN-01

CX-Supervisor

Software Release 2.0

USERS MANUAL

Cat. No. W10E-EN-01

Note: Specifi cations subject to change without notice.

Authorized Distributor:

Printed in Europe

Cat. No. W10E-EN-01

CX-Supervisor  Software Release 2.0 

USERS MANUAL

Summary of Contents for CX-SUPERVISOR - V2.0

Page 1: ...Cat No W10E EN 01 CX Supervisor Software Release 2 0 USERS MANUAL Cat No W10E EN 01 CX Supervisor Software Release 2 0 USERS MANUAL...

Page 2: ...CX Supervisor User Manual Software Release 2 0...

Page 3: ......

Page 4: ...that if not heeded is likely to result in loss of life or serious injury WARNING Indicates information that if not heeded could possibly result in loss of life or serious injury Caution Indicates inf...

Page 5: ...CX Supervisor User Manual OMRON Page ii Revision 2 0...

Page 6: ...07 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise w...

Page 7: ...CX Supervisor User Manual OMRON Page iv Revision 2 0...

Page 8: ...pter describes procedures involved in the creation amendment and removal of projects Chapter 7 Graphics Library This chapter describes the library of graphic objects and how to create and amend new li...

Page 9: ...pplication Appendix A Configuring a PC for remote connection The appendix explains how to configure a PC for remote connection Appendix B Frequently asked questions The appendix list some FAQs and of...

Page 10: ...ext Bar 9 Grid 11 Chapter 2 Pages 13 Creating a Page 13 Amending a Page 14 Defining the Properties of a Page 14 Printing a Page 16 Saving a Page to a Project 20 CX Supervisor Preferences 20 Chapter 3...

Page 11: ...CX Supervisor User Manual OMRON Page viii Revision 2 0...

Page 12: ...4 Creating and Editing Control Objects 48 Manipulating Objects 63 Chapter 5 ActiveX Objects 69 Overview 69 Inserting a new object 69 Editing Properties at Design Time 70 Reading and Writing Properties...

Page 13: ...CX Supervisor User Manual OMRON Page x Revision 2 0...

Page 14: ...rkspace 101 Project Editor 101 Printing from the Project Editor 104 Chapter 7 Graphics Library 105 Overview 105 Graphics Library 105 Manipulating Objects 107 Printing the Graphics Library 109 Chapter...

Page 15: ...CX Supervisor User Manual OMRON Page xii Revision 2 0...

Page 16: ...s chapter 8 continued Page Chapter 9 Animation 123 Associating Points with Actions and Events 123 Animation Editor 123 Runtime Actions 129 Chapter 10 Recipes 157 What is a Recipe 157 Recipe Components...

Page 17: ...CX Supervisor User Manual OMRON Page xiv Revision 2 0...

Page 18: ...11 Data Logging 171 What is Data Logging 171 Data Log Editor 171 Data Logging at Runtime 176 Data Log View Component 180 Remote Data Log Viewer 181 Data Log Export Facilities 182 Data Logging 184 Cha...

Page 19: ...CX Supervisor User Manual OMRON Page xvi Revision 2 0...

Page 20: ...OPC Client 225 An Overview of OPC 225 Using CX Supervisor with OPC Servers 230 Using with Omron s CX Server OPC 235 Chapter 15 Connecting to Remote Applications 237 Two Tier Client Server or Master S...

Page 21: ...CX Supervisor User Manual OMRON Page xviii Revision 2 0...

Page 22: ...260 Configurating a Client PC running Windows NT or 2000 260 Configurating a Server PC running Windows XP Service Pack 2 260 Configurating a Server PC running Windows XP 261 Configurating a Server PC...

Page 23: ......

Page 24: ...d Graphs ActiveX objects or controls are from sources external to CX Supervisor Refer to chapter 4 Objects for further information regarding control objects and bitmap objects Refer to chapter 5 for f...

Page 25: ...viously created object select the object on the page and click with the left mouse button in the appropriate square in the Colour Palette Note Colour may only be applied to some graphic objects It can...

Page 26: ...pattern to be changed Clicking in the Colour Palette with the right mouse button allows the background colour of the chosen fill pattern to be changed Note Fill patterns may only be applied to solid g...

Page 27: ...ned within the Graphic Object bar refer to chapter 4 Objects Control Bar CX Supervisor provides a Control Bar containing formatting and object manipulation tools The Control Bar can be activated or de...

Page 28: ...ceed with the name change or the Cancel pushbutton to abort the operation It can at times be difficult to select a particular object if it is mostly obscured by other graphic objects The Object Identi...

Page 29: ...the object at the bottom of a group has no effect The following example illustrates the state of a group of two objects before and after clicking the Lower Down One button with the grey polygon selec...

Page 30: ...button with the object selected Before After Vertical Mirror The Mirror Vertical button allows graphical and bitmap objects to be mirrored in the vertical plane With an object selected clicking the bu...

Page 31: ...ursor Co ordinates area The Help Message area is used by CX Supervisor to display helpful information concerning menu selections and controls It is located at the left hand end of the Status Bar and c...

Page 32: ...h Height The first two panels contain the distance of the top left corner of the object from the top left of the page in pixels The second two panels show the extent of the object in pixels Text Bar A...

Page 33: ...hanging the printer within the Printer Setup dialog accessed from the File menu changes the fonts which are available within the Font Name field Font Size The Font Size field contains a list of point...

Page 34: ...cannot be underlined Text Left Aligned The Text Left Aligned button aligns any selected text object s to the left edge of the bounding box Text Left Justified only applies to text block text and to t...

Page 35: ...toolbar buttons can be customised to remove or add favourite functions Tip of the Day On startup a Tip of the Day dialog is displayed All tips can be reviewed using the Next and Previous buttons This...

Page 36: ...ly have a project open If no project is currently open either click on the Open button from the toolbar to open a previously saved project or select New from the Project menu to create a new project N...

Page 37: ...tically make it part of a project It is therefore perfectly feasible to load and edit pages from other projects Use the Project Editor to attach a page to a project For more details concerning project...

Page 38: ...n 0 and 2000 Click on the Centre pushbutton to centre the page to the graphics workspace 5 Select the border style for the page from the Border Style settings The default for this is Sizeable as shown...

Page 39: ...e Properties dialog 10 Alternatively to display an image or photograph as the background click the Background pushbutton and select the desired file and note the Display Background check box is automa...

Page 40: ...ed paper size from the list presented 4 To change the paper source click the Source field and select the desired paper source from the list presented 5 Click the OK pushbutton to exit from the Print S...

Page 41: ...k the Two Page pushbutton To return to a single page view click the same button again which now carries the legend One Page 5 Click the Zoom In pushbutton Click it a second time to zoom in to the seco...

Page 42: ...d 4 To print to file click the Print to file setting 5 Click the OK pushbutton to activate printing Whilst printing is in progress a dialog is displayed showing the status of the print job Clicking th...

Page 43: ...d Alternatively select Save Page from the File menu or use the short cut key combination of Ctrl S Save Page As Should a copy of a page be required for incorporation into another project perhaps selec...

Page 44: ...the use of the Graphics Editor and CX Supervisor animation It is accessed by selecting Editing from the Preferences menu The number of undo operations in the Graphics Editor can be set in the Number...

Page 45: ...ges OMRON Page 22 Release 2 0 General Preferences General Preferences allow the default script language to be chosen When new scripts are added CX Supervisor will default to saving scripts in the sele...

Page 46: ...or provides a set of pre defined System Points which are detailed in chapter 3 Points About the Point Editor The Point Editor allows the viewing creating modifying and removing of points from the poin...

Page 47: ...t Filtering the Points in the View by Point Type A selection of points can be displayed based on the point type Selection of the All Points button from the toolbar displays points of all types The Boo...

Page 48: ...ce or in descending order by clicking twice in the appropriate field Summary of Point Information A summary of point information is available by selecting the Display Information on Points button from...

Page 49: ...t the point to drag and the target control object are both visible 2 Select the point to associate and drag it onto the page 3 Drop the point at the position of the target control object An invalid dr...

Page 50: ...point name can be up to 20 alphanumeric characters and must not begin with a digit or include mathematical operators such as or be identical to a script reserved word such as IF or cos Any invalid cha...

Page 51: ...mations such as Display Value and Edit Point Value when they are configured to use the point For an Integer point the following attributes are displayed The minimum threshold for the point is inserted...

Page 52: ...he point i e whether it is purely an internal variable or whether it communicates with a PLC A Memory Resident point is provided internally by CX Supervisor An Input point receives data from an extern...

Page 53: ...t data updates with the PLC will be manually requested using the scripting commands InputPoint and OutputPoint The point is updated internally but only communicates with the PLC when requested to by t...

Page 54: ...ne must be added This is achieved by clicking the Add PLC pushbutton and configuring one A point cannot be configured to have a PLC connection unless all the PLC connection attributes are correctly co...

Page 55: ...On Display Options for an Output point are Write Value Read Value and No Data Transfer Conversion Attributes The minimum and maximum PLC value and the application of a conversion factor is specified...

Page 56: ...ject file with NVP extension To prevent unexpected operation this file is automatically deleted if further point changes are made in the Developer In this case points revert to their Default value Sel...

Page 57: ...a confirmation dialog being displayed Click the Yes pushbutton to remove the point from the points database or the No pushbutton to abort the delete operation Note It is possible to delete more than o...

Page 58: ...xtremely quick when the design uses contiguous addresses 1 2 3 1 Open the Point Editor 2 Select the points to edit or a single point to act as a template and Copy to the Windows Clipboard 3 Start Exce...

Page 59: ...tton before draging the square box Repeat for each column 6 When editing is completed select the row s to required and select Copy 7 Switch back to the Point Editor and select Paste Note If the pasted...

Page 60: ...d by specifying a value greater than 1 in the Elements field of the Setup PLC Connection dialog The Data Location field specifies the memory address from which the array of data begins Note Elements o...

Page 61: ...ts System Points are those points that are pre defined within CX Supervisor They cannot be edited or deleted but their attributes can be viewed All system points can be selected from the System Point...

Page 62: ...iated year e g 95 WeekDay Integer 0 6 Day of the week 0 Sun 6 Sat WeekDayName Text Weekday name e g Wednesday WeekOfYear Integer 0 51 Week number for the year Year Integer 1970 2038 Year e g 1995 Inte...

Page 63: ...dinates MouseY Integer 0 65535 Mouse Y co ordinates Alarm Points The following table describes system points for use with CX Supervisor alarms System point Point type Point range Remarks ActiveAlarms...

Page 64: ...Failures Integer 0 2 147 483 647 Total number of PLC failures Security Points The following table describes system points for use with user login logout and user privileges in the runtime environment...

Page 65: ...shift foreman was Fred Smith and The shift output was ShiftOutput litres becomes The shift output was 5000 litres Using Format specifiers Format specifiers can be used similar to the Format script co...

Page 66: ...nString As parameter to MessageBox This is useful to help convert numbers to strings e g MessageBox Error ErrorNum occurred As parameter to LogError or LogEvent This too is useful to help convert numb...

Page 67: ......

Page 68: ...shaping an object Modifying an object using a Wizard Re sizing To re size an object click on it with the left mouse button This selects it and brings up green sizing grab handles Click and drag the h...

Page 69: ...pattern To insert an Arc select the Arc button from the Graphic Object bar Click or click and drag on the page To edit the arc obtain the red grab handles Click and drag to change the angle subtended...

Page 70: ...ired point To remove a red handle and the vertex on which it rests click on it with the delete key held down on the keyboard Polyline To create a polyline click the Polyline button Click on the page t...

Page 71: ...ing the arrow keys Standard text editing tools from the toolbar and the keyboard can be used and their effect applies to the whole content of the object To edit text double click on it A box is displa...

Page 72: ...h immediately updates to show the user selections as they are made 1 2 3 1 Select the name of the alarm group by which alarm messages are to be filtered using the Group field to display the list of av...

Page 73: ...ton 7 In Style Attributes set the following options as desired Display Date shows the date of the alarm Display Time shows the time of the alarm Display Alarm Status shows the status of the alarm Disp...

Page 74: ...o resize themselves to occupy all of the available chart area 5 Change the fonts used for the chart via the Font pushbutton The font size used for the chart can be automatically calculated by selectin...

Page 75: ...g by clicking the OK pushbutton to accept the scaling attributes or click the Cancel pushbutton to leave them unchanged Pictures Pictures and graphics can be inserted on a page in the form of bitmaps...

Page 76: ...on to load the page Note If the PC installation of CX Supervisor is on a networked machine a Network pushbutton is added to the dialog For further information on the function of the Network dialog ref...

Page 77: ...text font used for the gauge title can be changed via the Title Font pushbutton The text font used for the gauge scale can be changed via the Scale Font pushbutton The font size used by the gauge can...

Page 78: ...means of displaying the value of an operation or the value of a point Click the Rotary Gauge button then click or click and drag on the page to insert a gauge To edit the Rotary Gauge double click on...

Page 79: ...uge values or display units type over the existing field entries Enter display angles by typing over the existing field entries Check the boxes to choose the required style attributes The Gauge can be...

Page 80: ...rame option enables the graph to appear with a 3 D frame 7 Either enter an arithmetic expression for the X and Y axis or select one through the Browse pushbutton An expression point can also be associ...

Page 81: ...tion Attributes fields To select a style click on an option from the list box The Style Attributes can be either Display Vertical or Display Horizontal To select a Boolean point click on the Browse pu...

Page 82: ...igned a style State 0 text and State 1 text to signify its purpose It also allows selection of a Boolean point To select a style click on an option from the list box To enter button text type in the T...

Page 83: ...efer to chapter 3 Points regarding adding a new point and dragging from the Point Editor Select the Toggle While Pressed field if the value should only be set while the button is pressed i e the mouse...

Page 84: ...nd assignment of line colours and expressions 1 2 3 1 Enter a title for the graph in the Trend Graph Title field 2 Enter the frequency of data sampling in the Sample Rate field in this example it is e...

Page 85: ...via the appropriate font button Alternatively font sizes can be automatically calculated by selecting the Auto Font Size option 10 Exit the Wizard by clicking the OK pushbutton to accept the new Trend...

Page 86: ...http prefix Manipulating Objects Once inserted objects can be manipulated to give the required results An object must be selected before it can be manipulated Select To select an object either click...

Page 87: ...ervisor has the ability to cut and paste objects Objects which are cut and pasted retain the properties assigned to them for example animation or alarms To cut an object from the current page select i...

Page 88: ...cts like Text and Control Objects cannot be mirrored For further details of mirroring objects refer to chapter 1 Graphics Editor Orientation Lines Rectangles Polygons and Polylines can be rotated To r...

Page 89: ...llowing the contents of a page to align on a grid The grid can be turned on and off as required There are a number of different grid sizes available 4 8 16 32 and 64 pixels The Snap To Grid function s...

Page 90: ...he Make Same Height button from the toolbar to make objects the same height Click the Make Same Height and Width button from the toolbar to make objects the same width and height Click the Align to Gr...

Page 91: ...elp text in the Tooltip text field or select the Browse pushbutton to apply the value of a point 4 Click the OK pushbutton to accept the settings or the Cancel pushbutton to abort the operation An exa...

Page 92: ...be graphical or non graphical but they follow standard rules for defining their Properties Methods and Events Properties are like settings for example a control s colour would be a property Methods a...

Page 93: ...tiveX Property Browser by clicking the ActiveX Property Browser button in the toolbar or by selecting the ActiveX Property Browser option from the Utilities menu 2 With the ActiveX Property Browser di...

Page 94: ...editing properties with the Property Browser many ActiveX controls support their own custom Property Pages These may be accessed in design time by either double clicking the control or right clicking...

Page 95: ...tively in VBScript using the normal dot syntax for example VBSCRIPT CommonDialog1 ShowOpen ENDIF Again for more details see the CX Supervisor Script Language Reference Manual Responding to Events Some...

Page 96: ...X Objects Release 2 0 Page 73 Note In previous versions Event scripts could be added from the Animation Editor but the method above provides more efficiency as all event scripts are loaded just once o...

Page 97: ......

Page 98: ...t a time may be open for editing within the CX Supervisor development environment An attempt to open a second project forces CX Supervisor to close the current project prompting to save changes where...

Page 99: ...d no more of those objects can be created Note Remember that although either target can be chosen easily you must purchase the correct USB Dongle in order to run Note The CX Supervisor Runtime no long...

Page 100: ...name must be no more than 8 characters and may only contain characters valid for use in DOS file names 4 Click the OK pushbutton on the New Project dialog to create the project Alternatively click th...

Page 101: ...good practice to ensure that projects are saved regularly in case of an event such as a power failure To save a project select Save from the Project menu If this is the first time the project has been...

Page 102: ...e Setup Devices dialog being displayed Creating a PLC Connection A new device can be added by clicking on the Add pushbutton on the Setup Devices dialog Note CX Supervisor calls an external applicatio...

Page 103: ...e configured Note The possible settings for PLC configuration depend upon the type of PLC selected this applies also to the Read Only and Timer Clock fields On completion click the OK pushbutton to co...

Page 104: ...identify the connection point to the network A PLC can be selected to act as a gateway to the PLC being edited this list is restricted to the PLCs contained in the current project Selecting the Drive...

Page 105: ...List on the Setup Devices dialog and clicking the Modify pushbutton This results in the Change PLC dialog being displayed A new name can be entered in the PLC Name field If an invalid PLC name is ent...

Page 106: ...vides the capability to toggle the communications status of the PLC The PLC Mode options switch the current mode of operation of the PLC between Stop Debug Monitor and Run Stop mode halts the PLC prog...

Page 107: ...CHAPTER 6 Projects OMRON Page 84 Release 2 0 Selection of the Communication Settings option displays the Communication Settings dialog showing the current settings for the PLC...

Page 108: ...u CX Supervisor displays the following dialog 1 2 3 1 Select the coloured square which requires editing 2 Adjust its colour values using the Red Blue and Green sliders 3 When the desired colour has be...

Page 109: ...t specification to be used for all text displayed on push buttons created using the graphics editor Any button can also have its font changed from the default using the relevant Wizard in the graphics...

Page 110: ...is selected from within an area bounded by lines drawn diagonally upwards and diagonally downwards and to the right from the centre of the object If no object is found then the current object remains...

Page 111: ...box at the top left hand side of the dialog Alt F4 Used to close down the current application Using Runtime Alarm Error and Recipe Viewer These can be invoked from the Runtime Floating menu see above...

Page 112: ...e value of points flagged as non volatile are saved to disk in seconds The latest disk values are used to re initialise the point values when CX Supervisor is restarted To adjust this value select Run...

Page 113: ...define the screen size of the runtime application but do not affect Maximise and Minimise dialog states By enabling the Rescale run time to screen size option the screen rescales itself to take into...

Page 114: ...ssages The values shown above are sensible defaults In the Alarm Status Messages area if the User Defined Text option is set default messages for Raised Text Cleared Text Acknowledge Text and Auto Ack...

Page 115: ...eturn LF Line Feed or CR LF 4 Click the OK pushbutton to accept the changes or the Cancel pushbutton to abort Event Error Messages To open the Event Error Settings dialog select Event Error Settings f...

Page 116: ...tly The Enable Column Sorting button allows the format of the Error Event Log dialog to be continually updated when subsequent errors or events are added The Clear Event Error Log button clears all en...

Page 117: ...r error code converter and if a CX Server error is currently selected displays further details about possible causes The Error Information Dialog button once pressed displays a summary of error inform...

Page 118: ...set these characters must be fixed for all reports generated by the project Select Runtime Settings from the Projects menu followed by Point Substitution Settings to display the Point Substitution Se...

Page 119: ...Project within CX Supervisor SR2 file option This is useful for example if it is possible the COM port driver number may change remote telephone number or network node number or even the PLC CPU model...

Page 120: ...upervisor level privilege Manager level privilege Designer level privilege User configuration in the development environment is handled by the Configured Users dialog Select Configured Users from the...

Page 121: ...or the Cancel pushbutton to abort the operation To remove a user from the Configured Users list 1 2 3 1 Select a user from the Configured Users list and click the Delete pushbutton 2 A confirmation di...

Page 122: ...different user to log in as prior to login the current user is automatically logged out by CX Supervisor A user with the designer privilege can further amend the user configuration in the runtime env...

Page 123: ...rence Manual for further information on CX Server components On completion click the OK pushbutton to accept changes or the Cancel pushbutton to abort Exit Level An additional security measure can be...

Page 124: ...er Refer to chapter 6 Save Runtime As for further information regarding the Save Runtime As dialog Note The files are not compressed This feature does not support large projects that need to span mult...

Page 125: ...ormation from the Project menu CX Supervisor displays the following dialog Enter a title and any relevant details concerning the project in the Title and Description fields and click the OK pushbutton...

Page 126: ...ct which includes Project scripts Alarms and Recipes By default all areas are searched i e Project and Pages To perform a Find operation 1 2 3 1 Select the Find button on the toolbar or Find from the...

Page 127: ...building and remain on screen if there are errors or warnings Find results show the location including page name alarm name recipe script name object line number and animation as relevant followed by...

Page 128: ...the contents of a project It lists all the pages currently comprising a project and allows for pages to be moved into or out of projects An example of the Project Editor dialog is shown as follows The...

Page 129: ...on the Project Editor and click the Remove Page From Project button on the toolbar A message is displayed asking Do you want to remove name and path of page from the project Click the Yes pushbutton t...

Page 130: ...down while clicking The buttons can then be used to apply to all the selected lines at the same time Printing from the Project Editor Print Setup The Project Editor can be printed in the same way page...

Page 131: ...s when all graphics objects or the screen layout of the whole application cannot be seen Selecting Full Screen from the View menu shows the Pages area using the full area of the screen The normal menu...

Page 132: ...objects to pages or which appear in a project a number of times Libraries are not project dependant so objects can be copied from one project to another Graphics Library Activating the Library To acti...

Page 133: ...ment of the Library definition which is editable is the Library name To change the name of a Library open the desired Library file and click on the Modify Library button on the toolbar The Modify Libr...

Page 134: ...ect this is used when it is inserted on a page in the Identifier field Click the OK pushbutton to add the object to the Library and place the object in the dialog Click the Cancel pushbutton to abort...

Page 135: ...object the grab handles are not shown however the object name is highlighted in the Graphics Library Editor and click on the Delete Object toolbar button A message box is displayed with the associated...

Page 136: ...unning CX Supervisor Each library has its own MAT file e g PANELS MAT for the panels library The MAT files reside in the same directory as the CX Supervisor application Using file utilities on the PC...

Page 137: ...CHAPTER 7 Graphics Library OMRON Page 114 Release 2 0...

Page 138: ...Individual alarms are defined in the development environment using the Alarm Editor General alarm settings are controlled in the development environment using the Alarm Settings dialog The Alarm Obje...

Page 139: ...in Status and Maximum entries in History Log fields to the desired values The numbers specify how many messages are displayed in the respective viewer dialogs in runtime Select the Log system start st...

Page 140: ...Name field the alarms are sorted alphanumerically by name The Type and Description fields once selected react in the same way The Alarm Editor dialog shows the alarms in name order The widths of the a...

Page 141: ...rall summary and a breakdown on the number of alarms per type To exit the dialog click the Close pushbutton The Alarm Information dialog is shown as follows Creating a New Alarm Open the Alarm Editor...

Page 142: ...ned to the alarm is selected from the Priority field The Display Alarm Acknowledge Box setting determines whether the Acknowledge Alarm dialog is displayed in runtime when the alarm occurs The dialog...

Page 143: ...s the expression The alarm is cleared when the point value falls outside the expression value plus the specified deadband percentage For the example above an alarm is raised when the boiler s temperat...

Page 144: ...in the CX Supervisor Script Language Reference Manual Alarm Messages A message pertaining to a raised alarm is entered in the Raised field The content of the field should be descriptive to provide th...

Page 145: ...n the alarm message Example Flow exceeded Pressure Press Temperature 2 2f temp Updating an Existing Alarm Open the Alarm Editor dialog as described in chapter 8 Viewing the Contents of the Alarm Datab...

Page 146: ...Ctrl key and use the mouse to select alarm definitions one by one or press and hold the Shift key and use the mouse to select blocks of alarm definitions Once the desired alarms have been highlighted...

Page 147: ...rm status viewer Refer to chapter 4 Objects for an explanation of how to configure an alarm object to filter alarm messages by group name Alarm Acknowledge Whenever an alarm is raised during a runtime...

Page 148: ...rm which is currently highlighted in the alarm status dialog This has no effect if the alarm has already been acknowledged The Acknowledge All Outstanding Alarms toolbar button unconditionally acknowl...

Page 149: ...e Alarm History dialog to be printed Before printing ensure that the printer has been set up correctly The alarm log itself is simply a text file projectname UAL that may be examined or printed using...

Page 150: ...e value 5 which changes the colour of the object to red To demonstrate an object s colour can be changed in the runtime environment from black to white This can be achieved using actions and animation...

Page 151: ...th a page selected this field defaults to Page Actions When opening the Animation Editor whilst no selection is made the Actions field defaults to Project Actions The actions that may be applied to an...

Page 152: ...by clicking the Modify Action button in the toolbar Note The short cut keyboard combinations for Cut Copy and Paste operations are valid within the Animation Editor dialogs Highlight part or all of a...

Page 153: ...scripts are used to drive a number of actions on the occurrence of a particular event An example of page script code is as follows REM move the car and transport IF start THEN Position position speed...

Page 154: ...d with the object can be displayed Text associated with the object can be displayed An object can appear enabled for selection or disabled for selection An object can move horizontally or vertically A...

Page 155: ...9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 Percentage fill Horizontal 9 9 9 9 9 Resize Height 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 Resize Width 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 Rotate 9 9 9 9 9 Percentag...

Page 156: ...animations Printing the Animation Editor Print Setup The Animation Editor can be printed in the same way pages can Before printing ensure that the printer has been set up correctly To check the printe...

Page 157: ...Editor to modify an action select Execute Script from the animation list and click on the Modify Action button on the toolbar Refer to the Script Reference chapter 10 Objects for a list of the object...

Page 158: ...elect Required Item dialog being displayed Only relevant points are listed in the Point Names field Select the desired point from the Point Names list and click the OK pushbutton Clicking the Cancel p...

Page 159: ...asted to another dialog or application Aliases An alias definition can be provided to replace strings in scripts and expressions used throughout CX Supervisor applications An associated string replace...

Page 160: ...error message is displayed when the OK pushbutton is clicked Note If On Regular Interval is specified a valid interval is required in the Interval Time field in units of milliseconds The script is sta...

Page 161: ...cript code can be moved to the Microsoft Windows Clipboard in a number of ways Selecting the script code to cut followed by Cut from the Edit menu Selecting the script code to cut in the script code t...

Page 162: ...ield The script code field can be cleared if required Selecting Clear All from the Edit menu Script Completion Once script entry or script modification is complete click the OK pushbutton To abort the...

Page 163: ...bject moves when the result of the expression reaches the Maximum Value The Minimum Offset specifies the number of pixels to the left from its initial position that the object moves when the result of...

Page 164: ...bottom positions To abort the Vertical Move definition click the Cancel pushbutton By clicking the Browse pushbutton a point may be directly specified as described in chapter 9 Runtime Actions Once c...

Page 165: ...9 Runtime Actions Once completed click the OK pushbutton If invalid data has been inserted into any field a descriptive error message is displayed Resize Height Objects can be animated by shrinking o...

Page 166: ...zontal dialog to add an action select Percentage Fill Horizontal from the animation list and click the Add Action button on the toolbar To access the Percentage Fill Horizontal dialog to modify an act...

Page 167: ...chapter 9 Objects for a list of the objects to which this action is applicable On selection of the Percentage Fill Vertical action the Percentage Fill Vertical dialog is displayed To define the animat...

Page 168: ...Available Pages list and click on the Add pushbutton The page entry now appears in the Pages to be Displayed list More than one page can be selected for display If a selected page is no longer require...

Page 169: ...list and click on the Remove pushbutton Once completed click the OK pushbutton To abort the Close Page edit click the Cancel pushbutton Blink Objects can be animated so that they blink This is achiev...

Page 170: ...a point may be directly specified as described in chapter 9 Runtime Actions Colour Change Analogue Objects can be animated so they change between a variety of colours at a variety of intervals This i...

Page 171: ...OK pushbutton If invalid data has been inserted into any field a descriptive error message is displayed Colour Change Digital Objects can be animated so they change between two colours This is achieve...

Page 172: ...icable refer to chapter 9 Objects On selection of the Enable Disable action the Enable Disable dialog is displayed To specify a change in the enabled disabled state of an object enter a Boolean expres...

Page 173: ...utton a point may be directly specified as described in chapter 9 Runtime Actions completed click the OK pushbutton If invalid data has been inserted into any field a descriptive error message is disp...

Page 174: ...may be displayed using the Display Value Digital dialog To access the Display Value Digital dialog to add an action select Display Status Text from the animation list and click the Add Action button...

Page 175: ...ayed using the Display Value Analogue dialog To access the Display Value Analogue dialog to add an action select Display Value from the animation list and click the Add Action button on the toolbar To...

Page 176: ...alog To access the Display Value Text dialog to add an action select Display Text Point from the animation list and click the Add Action button on the toolbar To access the Display Value Text dialog t...

Page 177: ...selection of the Edit Point Value Digital action the dialog is displayed A Boolean point must be entered This is typed into the Boolean Point field A text string to use as the caption of a user dialo...

Page 178: ...o the user for amendment during runtime defined using the User Input Analogue dialog To access the User Input Analogue dialog to add an action select Edit Point Value Analogue from the animation list...

Page 179: ...log is displayed which allows editing by clicking on screen If the In Place Edit option is checked instead of the popup editing dialog the value can be edited on the page in a standard Windows edit bo...

Page 180: ...e toolbar To access the User Input Text dialog to modify an action select Edit Point Value Text from the animation list and click the Modify Action button on the toolbar For a list of the objects to w...

Page 181: ...Text dialog being displayed based on the contents of the development version The user is provided with an instruction based on the Runtime Display Attributes field and a field in which the user enter...

Page 182: ...osition of the palette with numbers reading consecutively across then down with colour number 65 in the bottom right position of the palette Additionally colour numbers 0 to 19 are named for instance...

Page 183: ...CHAPTER 9 Animation OMRON Page 160 Release 2 0...

Page 184: ...uage This approach works perfectly well for relatively straight forward applications However further functionality is provided using the recipe system such as the ability to modify a recipe while the...

Page 185: ...that the entries are listed according to any of the three column titles For example to see the recipes listed alphabetically by security access level simply click on the Access Level field The widths...

Page 186: ...lecting the OK pushbutton adds the new recipe definition to the project whilst the Cancel pushbutton aborts this add operation Note The short cut keyboard combinations for Cut Copy and Paste operation...

Page 187: ...t dialog as follows Enter a suitable ingredient name in the Ingredient Name field This name should be unique and meaningful and identify the particular ingredient being added to the recipe Enter the n...

Page 188: ...he OK pushbutton to add the ingredient to the recipe or the Cancel pushbutton to abort this part of the operation Recipe Validation Recipe validation is an optional safety check which may be made in r...

Page 189: ...ion check and abort the attempt to download the recipe The recipe validation code should not contain any command which requires user input e g a Message command This is because the validation script w...

Page 190: ...Recipe dialog as shown below The selected recipe can be redefined as described in chapter 10 Creating a New Recipe The Modify Ingredient and Delete Ingredient pushbuttons on this dialog respectively...

Page 191: ...s at once by highlighting all the desired recipes in the recipe list Press and hold the Ctrl key and use the mouse to select recipe definitions one by one or press and hold the Shift key and use the m...

Page 192: ...eview the page before printing select Print Preview from the File menu Refer to chapter 2 Pages regarding the use of the Print preview display Printing To print the contents of the Recipe Editor selec...

Page 193: ...ment environment and explained in chapter 6 Projects The Recipes dialog is displayed as follows The Recipe Viewer is similar to the Recipe Editor however there are some differences in functionality an...

Page 194: ...ue to the Runtime of the dialog are Modify Target and Save Recipe As With the appropriate ingredient selected from the list clicking the Modify Target pushbutton allows the target value to be modified...

Page 195: ...ecipe button from the toolbar See chapter 10 Downloading a Recipe for more information To upload an existing recipe highlight the recipe from the recipe list and select the Upload Recipe button from t...

Page 196: ...the validation is conducted first If the validation is successful the recipe is downloaded If the validation fails the recipe is not downloaded and the following error message appears Unable to downlo...

Page 197: ...ton will upload the recipe If for some reason the recipe definition can t be found the following error message appears The recipe failed its validation checks Upload aborted Each recipe upload must be...

Page 198: ...particular events in isolation Data Sets can be subdivided into data Groups Specific areas of related data can then be stored in these groups which can then be viewed either singly or with other grou...

Page 199: ...single point name the item is shown as the same type as the point as configured in the point editor i e memory input output or input output If the expression contains calculations constants and or mu...

Page 200: ...e month for days 24 00 hours and for hours on the hour The No Of Files to Keep entry determines the maximum number of data files that are to be kept Once the number of files kept has reached the value...

Page 201: ...ta to be logged Select either Boolean Integer or Real For points this is automatically picked up from the points database For expressions the required type must be selected The Deadband field enables...

Page 202: ...ld the contents of which are displayed by the Y scale of the graph The entry should be kept short but also be logical for clarification Editing Items Copy Cut Paste Options The Copy Cut and Paste opti...

Page 203: ...oject is in a directory called C CX Supervisor Project then when the project runs for the first time a new directory called C CX Supervisor Project Data Logging will be created to hold the data log fi...

Page 204: ...e number of dead files to be kept for a particular Data Set is managed automatically by specifying the Number of Files to Keep from the Data Set Properties Parameters when a Data Set is created This f...

Page 205: ...files are not part of the Data Set files and can not be purged or found by the File Management next or previous searches The data recorded in these files is not lost and can be viewed using the Data L...

Page 206: ...1 2000032922 dlv If the system is left running the Data Logging directory will contain the following files Shifts 2000050100 dlv Shifts 2000070100 dlv The first file will only contain 1 month and 2 ho...

Page 207: ...cting Data Log Viewer from the popup menu if privileged in the runtime From script function OpenLogView with the Data Set and Traces to show as arguments and also closed by CloseLogView script functio...

Page 208: ...e cursor Selected trace has a before the name Clicking on other trace details selects other traces Scale shows Minimum value Maximum value and scale label of selected trace with intermediate scales A...

Page 209: ...owing USE GENERATED FILES If this option is checked then filenames will be automatically created otherwise a Save File As dialog will be displayed EXPORT TYPE Controls whether export should be as comm...

Page 210: ...wing file will be generated MyData Set1999011214Item3 csv Multiple Selections On Interval Items If a multiple selection of on interval items with the same interval is made then the name of the parent...

Page 211: ...ing familiar tools and there is no need for scripts to export data However slower speed means logging to a database may be unsuitable for tasks with large data throughput or high logging speed Also un...

Page 212: ...ired Connection Select the Database Connection to link to from the list showing configured Database connections Recordset Select the Recordset to create a link to from the list showing Recordsets conf...

Page 213: ...he data to be stored For a point this is automatically set to the same as the point type when selected using the Browse button However for an expression this must be specified for example an expressio...

Page 214: ...alculated at different times Only when all checked fields have been changed is the record logged If however while waiting for remaining fields to change before writing a field is changed for a second...

Page 215: ......

Page 216: ...cilities have a working knowledge of databases Comprehensive Database Script Functions allow complete database access The data sources which can be accessed depends on the Data Providers installed but...

Page 217: ...ut the need for Script functions although a comprehensive set of Database Script functions are available Configuring a Connection Connections to existing databases are added to the Workspace by using...

Page 218: ...The actual file to be used is specified later when configuring the Recordset For example if a collection of text or csv files are contained in the directory C Text then a valid connection Data Source...

Page 219: ...be viewed by clicking that the right menu option Show Last Error Whenever an error is generated by a Data Provider a description of the error and its source will be displayed in a Dialog The Show Las...

Page 220: ...take while editing the connection string the original string can be restored by selecting the Build Connection String button A new connection string will also be built automatically each time a change...

Page 221: ...her vendors are actively creating their own Creating a Data Source Name file A Data Source Name file or DSN for short stores information about a database connection in a file The file has the extensio...

Page 222: ...s can not be added or amended To override this function you must manually change the Read Only property in the Connection String On the Modify Connection dialog click Advanced and set the connection p...

Page 223: ...e first row of the range is assumed to contain the Column Headings Note When updating files the column headings cannot contain numbers or spaces for example Column1 or Invoice Total is invalid Also so...

Page 224: ...rdset is the heart of the Database facility it contains all of the columns and rows returned from a specific action The Recordset is used to navigate a collection of records and update add delete or m...

Page 225: ...from the Build SQL dialog the required SQL Text is built In the above example the file Tables txt was chosen but this will be written as Tables txt in the SQL Text as most Providers will not accept t...

Page 226: ...ry will be automatically populated with valid entries for the selected Database When the Add Recordset dialog is closed an attempt will be made to open the newly configured Recordset Configuring Field...

Page 227: ...umn whereas the field value depends on the current position of the Recordset Note The Add property is specifically designed to enable fields to be added together to create new records They are not inv...

Page 228: ...s designed to operate at the Recordset level the concept of levels is explained in the chapter on DB Script functions If you perform a Read operation on a recordset that has paging in force then a pag...

Page 229: ...tomatically incremented for each parameter that is added to the Recordset Data Type The Data Type list will be populated with a selection of available data types The correct data type for the paramete...

Page 230: ...argument is an array of values that can be used to limit the results of a schema query Each Schema type has a different set of Criteria that it supports A Schema is configured by selecting the desire...

Page 231: ...dified at Runtime via the DBSchema function Database Schema Types The Database Schema types supported in ADO are Schema Type values Criteria Values Schema Asserts CONSTRAINT_CATALOG CONSTRAINT_SCHEMA...

Page 232: ...TABLE_SCHEMA FK_TABLE_NAME Schema Indexes TABLE_CATALOG TABLE_SCHEMA INDEX_NAME TYPE TABLE_NAME Schema Key Column Usage CONSTRAINT_CATALOG CONSTRAINT_SCHEMA CONSTRAINT_NAME TABLE_CATALOG TABLE_SCHEMA...

Page 233: ...INT_CATALOG CONSTRAINT_SCHEMA CONSTRAINT_NAME TABLE_CATALOG TABLE_SCHEMA TABLE_NAME CONSTRAINT_TYPE Schema Table Privileges TABLE_CATALOG TABLE_SCHEMA TABLE_NAME GRANTOR GRANTEE Schema Tables TABLE_CA...

Page 234: ...stored instead of being immediately processed The Transaction is completed either by calling DBExecute with the CommitTrans command which processes all the stored requests in one go or by calling DBEx...

Page 235: ...uments in the browser just as you would view HTML pages Datashaping The ADO SHAPE command can be used to produce hierarchical recordsets i e where a value within the current record is used to access a...

Page 236: ...to the DSN file In the connection string type Provider MSDataShape FILEDSN your file name dsn Configure a Recordset as SQL Text and enter the required shape command as the Source See Datashape Source...

Page 237: ...e from order details As od RELATE orderid TO orderid As rsDetails SUM ExtendedPrice AS OrderTotal This example creates a Recordset of all the orders and their details and adds a field called ExtendedP...

Page 238: ...omerid inner join order details as od on orders orderid od orderid AS rsDetail COMPUTE ANY rsDetail contactname AS Contact ANY rsDetail region AS Region SUM rsDetail ExtendedPrice AS CustTotal rsDetai...

Page 239: ...grand total and a pointer to the child recordset Grouped Parent Related to Grouped Child example SHAPE SHAPE select from customers APPEND SHAPE select orders year orderdate as OrderYear month orderdat...

Page 240: ...ion Loading old projects for important information before you start Multilingual issues can be very complex but like most areas CX Supervisor provides this functionality in an easy to use way with a f...

Page 241: ...n text button captions etc and these all form part of the runtime application Translation of the runtime application is covered in the next section Note Remember the choice of development language is...

Page 242: ...s supporting more than one language can be very useful for example for general use in countries with more than one national language or where a plant has a specific mix of personnel This can also prov...

Page 243: ...to automatically switch languages User Defined text While the Runtime system is shipped with full translations for all system text any user defined text added by the developer must be translated and...

Page 244: ...eed the operating system must be configured to support displaying and converting the original language To permanently convert a USL translation file to a Unicode format UDT file simply open the USL fi...

Page 245: ...slation When all columns are corrected you can save and close the Translation Tool When reopened the highlighted rows have been deleted Alternatively you can delete an entire highlighted row by right...

Page 246: ...pages cannot be translated If necessary the page title can be hidden in the Page Properties dialog and custom title using a static text object added which does support automatic translation Note Any t...

Page 247: ...General tab select ALL the languages that may be required in the Language settings for the system section Note If some extended characters in standard Windows controls like listboxes editboxes etc app...

Page 248: ...conversion to Unicode 1 Open Control Panel and select Regional and Language options 2 Click on the Advanced tab 3 From the Language for non Unicode programs select the language that the application w...

Page 249: ...ming all characters are correctly shown 2 Install the new CX Supervisor version and load the old project 3 Open each page and select File menu Save Page to force the pages to be written in the new Uni...

Page 250: ...name e g American lng 2 Translate the text between quotes Note that formatting characters like s or d indicate a position for inserted text or numbers so should be left in the relevant place Also the...

Page 251: ...valid keyboard layout for the selected language then the default layout in SCSDEFS KBD is used This already caters for all the western languages supported To create a new keyboard layout 1 2 3 1 Copy...

Page 252: ...ago By using a standard way of configuring computer hardware and software interfaces automatically a device will easily connect to another and immediately work without the need for lengthy installatio...

Page 253: ...Windows software in the same way that printer manufacturers already could The first draft of the OPC OLE for Process Control specification v1 0 was released in December 1995 The following year the gro...

Page 254: ...level of detail A Brief Introduction to DCOM Microsoft describes DCOM as The Distributed Component Object Model DCOM is a protocol that enables software components to communicate directly over a netw...

Page 255: ...y that interface the internal implementation of those services doesn t matter to the calling applications In the case of OPC these interfaces for each of the DCOM objects are defined within the releva...

Page 256: ...for costly custom software integration OPC provides plug and play software and hardware components from a variety of automation software device and system suppliers Process and manufacturing companie...

Page 257: ...roving the bottom line is to distribute and use the information throughout the business value chain Using CX Supervisor with OPC Servers The exact procedure for connecting CX Supervisor to Third Party...

Page 258: ...control should be added Select the Add option which will open the Communications Control dialog From the list of control objects select the one to be added and click the OK button Note On adding the...

Page 259: ...CCommunicationsControl For each additional control added the number increments by one Computer Name This shows the system name for the computer with the OPC server If the server is on the same compute...

Page 260: ...le names can only be entered by using the New or Open buttons b Groups Tab The groups within the selected project file are listed A Group is made up of one or more items data points that share a commo...

Page 261: ...Items Tab The Items within the selected group are listed Items are data points of information stored in the OPC Server The Item Attributes dialog can be used to add or edit the items Note This dialog...

Page 262: ...l now be connected to the OPC Server and can be used like all other CX Supervisor points i e to drive animations in alarm expressed in recipes for data logging etc Using with Omron s CX Server OPC 1 N...

Page 263: ......

Page 264: ...tion is configured as a Server application or Master The Server is often the main station and is permanently switched on and often used locally for HMI for example but could have no graphical element...

Page 265: ...h the corporate network Distributed Server Several applications are configured as Servers for direct connection so the data for the system is distributed across several machines One or more Client app...

Page 266: ...e same Creating a CX Supervisor Server application A Server application must collect device data and allow clients to access it It may also have other elements like graphics control or logging To crea...

Page 267: ...ialog click the Add Point button in the toolbar to open the Add Point dialog 4 In the Add Point dialog move to the I O Type options and select the Input Output or Input Output option as appropriate No...

Page 268: ...e listed The Item Attributes dialog can be used to add or edit the items To Add Modify or Delete an Item click the Info button Selecting the Add or Modify option will open the Items Attributes window...

Page 269: ......

Page 270: ...ildcard K3GN E5 N E5 J E5ZE E5 K H8GN K3N E5ZN Adding a point linked to a parameter 1 2 3 1 Start CX Supervisor Development and open your project 2 Open the Point Editor by selecting the Point Editor...

Page 271: ...To Add Modify or Delete an object click the Info button Selecting the Add option will open the Communications Control dialog From the list of control objects select the one to be added and click the...

Page 272: ...te your new file and enter your File Name Select the appropriate file type Save as type i e File Name msc and click the Save button Note that a Project File name can not be entered from the keyboard f...

Page 273: ...The CX Supervisor Point will now be connected to Device parameter and can be used like all other CX Supervisor points i e to drive animations in alarm expressions in recipes for data logging etc The...

Page 274: ...OMRON CHAPTER 16 Connecting to Omron Industrial Components Release 2 0 Page 251...

Page 275: ......

Page 276: ...Add links from the main page if required to pages dedicated to Alarms Diagnostics Reports Data Logging Statistics etc If the system has repeated functions e g 5 similar machines instead of creating 5...

Page 277: ...DA at its leisure If creating a pulse of fixed duration never attempt to design the SCADA to set a bit wait and clear the bit Instead allow the SCADA to set the bit but use the PLC program to clear th...

Page 278: ...see the PLC Programmer has arbitrarily chosen to group data by its format Integers then BCD then Floats or even worse not at all When the SCADA is written this data is used by different pages and dif...

Page 279: ...this design your application using the following rules 1 Group together points that will be configured as Always Update in contiguous PLC memory addresses 2 Group together points that will be configu...

Page 280: ...e as few points as possible Keep the Points database as slim and manageable as possible by Using arrays where possible especially for PLC points If memory points are defined for scripting try to reuse...

Page 281: ...textual format so Excel s powerful editing formulas can be used to create definitions for points This can allow thousands of consecutive points to be created in seconds Use Shift and Ctrl to select m...

Page 282: ...s several panels that have keypads that have buttons Create object libraries Keep a common look and feel between pages and speed up development by creating libraries of commonly used objects e g displ...

Page 283: ...using applications as it can create re entrant scripts and asynchronous PLC communications Always question If it is used for timing use PLC ladder instead as this is much more reliable Consider if the...

Page 284: ...der using the deadband option especially for noisy analogue signals to reduce the actual logging and storage requirements Don t Keep all files The Dataset Keep all files checkbox defaults On for compl...

Page 285: ......

Page 286: ...can be achieved using Windows 98 and ME they are more difficult to configure and offer less functionality For best results always use Windows NT or Windows 2000 Configuring a Client PC running Window...

Page 287: ...M on this computer is checked Configuring a Server PC running Windows XP Service Pack 2 Windows XP Service Pack 2 includes a communications Firewall to protect your computer from malicious communicati...

Page 288: ...ser to the Access Launch and Configuration lists by clicking the Edit Default button in each case The user added should have Administrator rights on the local PC If not it may be necessary to add user...

Page 289: ...on lists by clicking the Edit Default button in each case The user added should have Administrator rights on the local PC If not it may be necessary to add user groups INTERACTIVE and NETWORK as well...

Page 290: ...reads per second depending on each PLC and Network used The maximum number of CX Supervisor points depends on the update rates and element sizes For example 1000 reads per second could be 1000 points...

Page 291: ...W A Y 9 6 0 0 S Y S M A C W A Y 1 9 2 0 0 T o o l b u s 9 6 0 0 T o o l b u s 1 9 2 0 0 T o o l b u s 1 1 5 2 0 0 E T H C L K S L K Max Num of Reads per Second CVM1 V2 CPU21 CV500 V1 CPU21 68 56 138...

Page 292: ...4 15 38 32 07 1000 1000 1000 0 200 400 600 800 1000 1200 S Y S M A C W A Y 9 6 0 0 T o o l b u s 9 6 0 0 C L K S L K S Y S M A C N E T Max Num of Reads per Second CQM1H CPU51 70 180 1000 0 200 400 600...

Page 293: ...ailable in the CX Supervisor run time by right clicking and selecting Performance if security privileges allow It can be used to see how much of the available bandwidth is in use You can also see how...

Page 294: ...This is not usually a problem as newer operating systems are usually delivered on newer specification machines FINS Gateway drivers for particular networks operate consistently across all operating s...

Page 295: ...simultaneously read which has remained more than 1000 Performance of instantaneous read and write is not significantly affected by the version of CX Supervisor Updating CX Supervisor does not affect h...

Page 296: ...d 0 10 20 30 40 50 60 70 80 90 100 10 20 50 100 200 500 1000 2000 No of Active Points Write Time ms CX Supervisor 1 0 CX Supervisor 1 1 CX Supervisor 1 2 12 CX Supervisor 1 22 7 Note lower write time...

Page 297: ...nication updates 0 00 20 00 40 00 60 00 80 00 100 00 120 00 CX Server 1 6 3 CX Server 1 7 CX Server 2 2 of 1 6 3 performance Subscription Ethernet Subscription Sysmac Way 1 Subscription Sysmac Way 2 R...

Page 298: ...250 300 350 450 Mhz 1 1 Ghz 2 4Ghz of 450Mhz performance Read 1 7 Write 1 7 Subscription 1 7 Read 2 2 Write 2 2 Subscription 2 2 Write time under increasing load 0 10 20 30 40 50 60 70 80 90 100 1 0...

Page 299: ...S_ROOT CX Supervisor Project Q Can I use CX Simulator with CX Supervisor Yes Omron s CX Simulator virtual PLC can be easily used with CX Supervisor To achieve this follow these steps 1 Start CX Simula...

Page 300: ...like the Thumbwheel shipped with CX Supervisor or those shipped with CX Server Lite and CX Server OPC 7 Segment Display Knob Toggle etc can be placed on CX Supervisor pages and linked directly to CX S...

Page 301: ...0 2 Pass CimQuest OPC Server for Allen Bradley 2 25 00 01 reported as 2 25 1 Pass CimQuest OPC Server for Omron 2 25 00 01 Pass Cyberlogic Technologies Inc MBX OPC Server 5 00 02 Pass although noted n...

Page 302: ...Interbus OPC Server 2 12 Pass Rockwell Software RSLinx 2 30 00 beta Pass SMAR OPC Conf Server for DFI302 3 3 0 0 Pass SST DH OPC Server 1 6 16 Pass SST ControlNet OPC Server 1 3 0 Pass Siemens AG Win...

Page 303: ...Contact Siemens to upgrade to V5 0 Siemens Building Technologies Inc MK8000 MP1 30 MP1 30 Could not get the simplest of operations to succeed Softing OPC Toolkit Some support issues reported USDATA C...

Page 304: ...be used in these cases These generated files may then be viewed or distributed using a file server or web server Note that although information may be textual or graphical in nature these reports are...

Page 305: ...o copy required files to a shared drive or USB memory stick It is also commonplace to copy a shortcut to the SR2 application to the Startup folder If the keyboard is to be detached see also How To Ena...

Page 306: ...text e g Temperature C The after the decimal point indicate the precision of the real number display e g to 3 decimal places Finally select animation editor and animate with Display Value Analogue an...

Page 307: ...he old value the slider then starts to move towards the re set value This actually better reflects the current value in the PLC but can be undesirable In this case de select the Immediate update on sl...

Page 308: ...g Japanese or Chinese Windows During installation on the Select Components dialog select CX Supervisor package and click Change Scroll to the bottom of the list of sub components and deselect Languag...

Page 309: ...on OS dependant Note 3 Sleep should never be used as a delay for timing processes for the following reasons The actual time delay depends on the OS There is always an error of 0 to 1 granularity depen...

Page 310: ...quality test is only in VBScript Boolean inequality test is in VBScript Endif becomes End If in VBScript Array indexing using uses square brackets in VBScript Note that CX Supervisor interprets and ch...

Page 311: ...ies with data types it can edit for example Boolean Integer Real String UserDefined and Colours Other data types i e Font type cannot be edited so are not displayed Also properties with multiple param...

Page 312: ...ervisor V1 3 Yes Yes Yes Yes Yes Yes CX Supervisor V2 0 No No No No No No Different versions of SYSMAC SCS and CX Supervisor have used different versions of the copy protection software The Product ve...

Page 313: ...ects can configure up to 100 pages and the PLUS projects with up to 500 Q What is the maximum limit of number of objects on a page There is no theoretical limit to the number of objects on a page but...

Page 314: ...o your network as the network Administrator or log on to your local domain as Administrator or user with local administrator privileges See your Systems Administrator for further details Q Why do I ge...

Page 315: ...act cause of this error is unknown but can be resolved by clearing the cell formats Edit Clear Formats of the spreadsheet that will be receiving the data Q How does the PLC affect performance for my n...

Page 316: ...ler Link 100 00 206 65 129 86 124 05 0 00 50 00 100 00 150 00 200 00 250 00 CVM1 CS1H CQM1H C200HX of CV M 1 P erform ance Sysmac Way 9600 100 00 120 51 54 98 53 73 56 78 0 00 20 00 40 00 60 00 80 00...

Page 317: ...188 41 128 09 122 51 102 59 0 00 20 00 40 00 60 00 80 00 100 00 120 00 140 00 160 00 180 00 200 00 CVM1 CS1H CQM1H CQM1 C200HX of CV M 1 P erform ance Sysmac Net 100 00 171 67 0 00 20 00 40 00 60 00...

Page 318: ...OMRON APPENDIX B Frequently Asked Questions Release 2 0 Page 295 Sysmac Link 100 00 555 00 84 56 0 00 100 00 200 00 300 00 400 00 500 00 600 00 CVM1 CS1H C200HX...

Page 319: ......

Page 320: ...s use the Performance Monitor to check the system is not overloaded Point Maintenance The Point Maintenance dialog is very useful during troubleshooting for displaying and setting point values Launch...

Page 321: ...h network PLC The PLC Average Latency ms field shows the physical delay of the network and PLC response time Depending on the PLC setup and network this should be 9 30ms If this is drastically higher...

Page 322: ...is analogous to a motorway where cars slow down long before they are touching bumpers and might only achieve 50 of capacity each car has a car length space behind it In practical terms for serial con...

Page 323: ...CX Server points both input and output currently active Average Active Pts Sec Measured number of CX Server Inputs per second since application started or since Clear pressed With Input On Change opti...

Page 324: ...ript should easily display the problem Note that if the VBScript syntax is used within CX Supervisor script the line number reported refers just to the lines of VBScript with the VBScript being line 1...

Page 325: ...ion to identify which operation is causing the error As a test use hardcoded values for parameters using known valid values Runtime errors If any script has correct syntax but generates an error at ru...

Page 326: ...formation about the cause of these errors available on the Internet just search for the exact text of the error How to create steps to reproduce The first step in troubleshooting is creating steps to...

Page 327: ...ious version The EXACT wording and spelling of any error message If an application is being sent it should be possible to remove unnecessary pages objects scripts points alarms recipes datalogging and...

Page 328: ...opped in the applications callback handler 0xnn04 The return specified buffer is not large enough to hold all the data requested 0xnn05 The specified name is not unique within the open project file 0x...

Page 329: ...onfigured and using COM1 port 0xnn19 The Point could not be opened or the operation failed because the Point is open for communications 0xnn1A Attempt to delete a currently selected User 0xnn1B Commun...

Page 330: ...OMRON APPENDIX D CX Server Error Codes Release 2 0 Page 307 0xnn24 The data cannot be converted to BCD as it contains Hexadecimal values between 0xA and 0xF...

Page 331: ......

Page 332: ...s Folder Options to allow a single icon click to open the item This can enhance usability Note The touch screen confirmation sound can be controlled and turned off from the Advanced tab on the Pointer...

Page 333: ...d to communicate with compatible Omron hardware The CX Server USB drivers for the USB PLC must be installed manually if required and can be found in the CX Server installation directory Note At runtim...

Page 334: ...ocation is C WINDOWS SYSTEM 3 View the Default Properties tab Ensure that the Enable Distributed COM on this computer is checked A CX Supervisor Client running on Windows 98 or ME also requires the Mi...

Page 335: ...icking the Edit Default button in each case The user added should have Administrator rights on the local PC If not it may be necessary to add user groups INTERACTIVE and NETWORK as well b From the App...

Page 336: ...ge of GDI resources free SystemResources Integer 0 100 Percentage of system resources free UserResources Integer 0 100 Percentage of user resources free DDE Overview CX Supervisor supports Dynamic Dat...

Page 337: ...the data that is to be used in the transfer DDE applications use a three tiered identification system to distinguish themselves from other DDE applications An application name is at the top of the hie...

Page 338: ...ON this point s value would then be exposed to change by external DDE server application s which may not always be desirable This process is repeated for any further DDE data transfers that are requi...

Page 339: ...e way normal DDE Client points are created except extra information is required to specify the range of the array and also whether it is to be stored as a row or column in the Server application 1 2 3...

Page 340: ...Array Sets element 2 of the array to 6 and sends the whole array to Excel Note Use On Request option and OutputPoint to send the array after setting several elements of a large array DDEArray 2 6 ENDI...

Page 341: ...em index Example SCS Point ddearray 3 access ddearray 3 using Point topic or SCS ddetest srt ddearray 0 access ddearray 0 using Project topic Note Microsoft Excel accepts the square brackets used in C...

Page 342: ...End Sub Requesting Arrays from CX Supervisor via DDERequest Requesting arrays from CX Supervisor and storing them in Microsoft Excel is a little more complicated than sending in that both CX Superviso...

Page 343: ...E2 Automation SetValue stringPointName Value Enables any point with OLE Read Write access to be modified value may be Boolean integer long or string GetValue stringPointName Value Enables any point wi...

Page 344: ...Packages may only be embedded or linked into CX Supervisor pages if they are created using OLE compliant applications This applies to objects either directly linked or embedded within CX Supervisor a...

Page 345: ...box until the desired type is highlighted 2 Click the OK pushbutton to insert the object into the current page and display it as it would look from within the application in which the object was creat...

Page 346: ...display beneath the inserted icon delete the contents of the Label field and type in a new label the default label offered is the filename of the file containing the inserted object 2 Type the full pa...

Page 347: ...the current insertion point Creating an Object From a File Creating an object from a file allows linking or embedding of objects created at sometime in the past As before select Insert New Object fro...

Page 348: ...to the current page and embed the selected object in icon form into it at the current insertion point It is often more appropriate to link to an object rather than embedding it in the current page By...

Page 349: ...laces it ready to be edited In the following example the bitmap image when activated launches the Format Chart Area application to allow editing When editing is complete select Update and Exit from th...

Page 350: ...m one form to another To initiate conversion 1 2 3 1 Select the object on the page 2 Activate the Edit menu and select Package Object displayed as the last item on the Edit menu 3 Select Convert from...

Page 351: ......

Page 352: ...e command is a verb and the argument is the object of the verb An example of an argument in CX Supervisor is DDETerminate channel where DDETerminate is a command within the script language and channel...

Page 353: ...ult Recordset level Northwind Order Details OrderID Field level Invoice Data Types Schema level Database Recordset A Database recordset or Recordset for short is a set of records This could either be...

Page 354: ...ve a DLL extension DLL s comprise a number of stand alone functions In CX Supervisor a DLL containing icons can be accessed to represent the display part of an OLE object One such DLL MORICONS DLL is...

Page 355: ...Ingredient Each recipe consists of at least one ingredient Each ingredient must be related to an existing point Integer type A type of point where the value of the point can only be a whole positive...

Page 356: ...rotational gauge or a linear gauge OLE DB OLE DB is the underlying database technology on which ADO relies OLE BD is designed to be the successor to ODBC Operand The term used for constants or point...

Page 357: ...the point can be any number including those containing a decimal point Recipe A recipe is a set of pre defined steps used to perform a particular task A CX Supervisor project may contain zero or more...

Page 358: ...oint that holds a string Unicode A Multi Byte Character Set which not only includes European Characters like DBCS but can also include global support including for Japanese Chinese and Cyrillic fonts...

Page 359: ...GLOSSARY OF TERMS CX Supervisor User Manual OMRON Page 336 Release 2 0...

Page 360: ...ee also Page Preview page Page Print page Page Setup page for printing Rate of change 116 Simple 116 Workspace 101 Alias Definitions 99 Alignment Manipulating objects 66 Alignment Toolbox Manipulating...

Page 361: ...n Design 249 Applying Tooltips Manipulating objects 68 Arc Creating Editing Graphic Objects 46 B Bar Chart Control Objects 50 Best Practices 249 Bitmap 321 Opening an existing bitmap 52 Pixel 325 Bitm...

Page 362: ...5 Cut Manipulating Objects 64 CX Server 322 Error Codes 299 CX Supervisor customising 2 5 86 CX Supervisor Preferences 20 D Data Transfer Actions Creating Points 32 Date Points Point Import 39 DBCS 2...

Page 363: ...ings 83 General Settings Settings 83 Graphical User Interface See GUI Graphics Editor 1 11 About 1 Access 1 Bold 11 Colour Palette 2 Control Bar 4 11 Extended Selection 3 Fonts 5 10 10 Grid 11 Italics...

Page 364: ...r printing Sharing 109 View 105 Line Creating Editing Graphic Objects 47 Line Style Palette Graphics Editor 2 Linear Gauge Control Objects 53 Linking Pages in a Project Project Editor 103 Lower Down O...

Page 365: ...tup page for printing Print Properties 14 16 14 16 Save page 20 76 Save page as a different identity 20 Palette Extended Palettes 3 Fill Pattern Palette 3 Line Style Palette 2 Palette Colour Palette 2...

Page 366: ...scape orientation 17 Number of copies 19 Page preview 17 18 Page print 18 19 Paper size 17 Paper source 17 Portrait orientation 17 Range 19 Specific printer 17 Print Preview Printing a Page 17 Print P...

Page 367: ...ipe Editor About 157 Access 101 158 Configuration attributes 160 Copying recipe definition 164 Create a recipe 159 Create ingredient 160 Delete ingredient 163 Delete recipe 164 Download recipes at run...

Page 368: ...Graph Control Objects 56 Screen size 87 Script Editor 129 35 About 129 Alias definitions 99 132 AND statement 321 Arguments 321 Clear 135 Compilation errors 135 Completion 135 Copy 134 Cut 134 Execut...

Page 369: ...39 ShortYear 39 Time 39 UnacknowledgedAlarms 40 UserName 41 WeekDay 39 WeekDayName 39 WeekOfYear 39 Year 39 Description of 38 System Points 38 T Temperature Controllers See Industrial Components Text...

Page 370: ...t Project Editor 102 Views Details view 25 103 113 125 158 Large icon view 25 103 113 125 158 List view 25 103 113 125 158 Small icon view 25 103 113 125 158 Visual Basic See VBScript W What is a Poin...

Reviews: