background image

CX-Supervisor

Software

Cat No. W

10

E-EN-01

User Manual

Software Release 3.

1

Summary of Contents for CX-Supervisor

Page 1: ...CX Supervisor Software Cat No W10E EN 01 User Manual Software Release 3 1...

Page 2: ...any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained he...

Page 3: ...Copyright Notice 2...

Page 4: ...tate 21 1 4 5 Horizontal Mirror 22 1 4 6 Vertical Mirror 22 1 4 7 Transparency On Off 22 1 5 Status Bar 23 1 6 Text Bar 23 1 6 1 Font Name 24 1 6 2 Font Size 24 1 6 3 Text Bold On Off 25 1 6 4 Text It...

Page 5: ...38 3 4 1 General Attributes 38 3 4 2 Point Type 38 3 4 3 Point Attributes 38 3 4 4 I O Type 39 3 4 5 Memory Attributes 40 3 4 6 I O Update Rate 40 3 4 7 I O Attributes 40 3 4 8 PLC Attributes 41 3 4 9...

Page 6: ...4 4 3 6 Polyline 55 4 3 7 Rectangle 55 4 3 8 Round Rectangle 55 4 3 9 Text 55 4 4 Creating and Editing Control Objects 55 4 4 1 Alarm Object 55 4 4 2 Bar Chart 57 4 4 3 Pictures 58 4 4 4 Linear Gauge...

Page 7: ...6 7 Device Configuration 81 6 7 1 Creating a PLC Connection 81 6 7 2 Modifying a PLC Connection 83 6 7 3 Removing a PLC Connection 83 6 7 4 Accessing PLC Connection in Runtime 84 6 8 Fins Gateway Opti...

Page 8: ...Setup 108 6 22 2 Print Preview 108 6 22 3 Printing 108 6 23 Navigating Pages using Workbook mode 108 6 24 Using Full Screen mode 108 SECTION 7 Graphics Library 109 7 1 Overview 109 7 2 Graphics Librar...

Page 9: ...nimation Editor 125 9 2 1 View Mode 127 9 2 2 Project 127 9 2 3 Page 127 9 2 4 Objects 128 9 2 5 Printing the Animation Editor 130 9 3 Runtime Actions 130 9 3 1 Script 130 9 3 2 Aliases 132 9 3 3 Exec...

Page 10: ...Using Recipes in Runtime 160 10 10 1 Recipe Viewer 160 10 10 2 Downloading a Recipe 162 10 10 3 Uploading a Recipe 163 SECTION 11 Data Logging 165 11 1 What is Data Logging 165 11 2 Data Log Editor 1...

Page 11: ...7 12 3 Configuring Recordsets 187 12 3 1 Name 187 12 3 2 Recordset Type 187 12 3 3 Source 188 12 3 4 Lock 188 12 4 Configuring Field Associations 189 12 4 1 Name 189 12 4 2 Point 189 12 4 3 Field 189...

Page 12: ...dit Trail Database 206 13 4 9 Audit Trail Configuration Settings Alarms Errors and Events 207 13 4 10 Configuring Alarms for Audit Trail Records 207 13 4 11 Generating Errors and Events in Audit Trail...

Page 13: ...indows 2000 231 15 6 3 Loading Old Projects 232 15 7 Data Log Viewer 233 15 8 Standard Web Pages 233 15 9 Adding Unsupported Runtime Languages 233 15 10 Popup Keyboard Layout 234 SECTION 16 Applicatio...

Page 14: ...endix A Configuring a PC for Remote Connection 271 A 1 Configuring a Client PC running Windows XP Service Pack 2 271 A 2 Configuring a Client PC running Windows XP 271 A 3 Configuring a Client PC runn...

Page 15: ...Settings 308 Appendix F Obsolete Features 309 F 1 Windows 98 Windows ME Windows NT 309 F 2 Configuring a OPC DCOM Client PC running Windows 98 or Me 309 F 3 Configuring a DCOM OPC Server PC running Wi...

Page 16: ...15...

Page 17: ...16...

Page 18: ...nal to CX Supervisor Refer to chapter 4 Objects for further information regarding control objects and bitmap objects Refer to chapter 5 for further information on ActiveX Objects The tools are contain...

Page 19: ...er 16 user defined custom colours A colour can be chosen from the common colours or the Other button can used to create a custom colour Clicking OK on the Custom Colour dialog box will apply the curre...

Page 20: ...ully discussed in chapter 4 Objects Moving the mouse pointer over any of the tools causes CX Supervisor to display a tooltip to describe the tool By default the cursor returns to Selection mode an arr...

Page 21: ...ntrols on the Control Bar is described in the following paragraphs 1 4 1 Object Identification When an object is created CX Supervisor gives it a unique identifier This identifier consists of the obje...

Page 22: ...an overlapping group of objects to be moved nearer the bottom of the group one layer at a time With an object selected clicking the button once moves the object down one layer This continues until th...

Page 23: ...ore and after clicking the Mirror Vertical button with the object selected 1 4 7 Transparency On Off The button changes an object from solid to outline and from outline to solid With an object selecte...

Page 24: ...dow If an object on a page is selected the status area displays the co ordinates of the location of that object An example of the system status area is shown below The first two display panels show th...

Page 25: ...ilable fonts from which the desired typeface may be selected If more than one block of text is selected with each having different font attributes the edit part of the control is empty However selecti...

Page 26: ...ons other controls and graphics cannot be underlined 1 6 6 Text Left Aligned The Aligned button aligns any selected text object s to the left edge of the bounding box Text Left Justified only applies...

Page 27: ...Tip of the Day SECTION 1 Graphics Editor 26...

Page 28: ...on A standard File Open dialog box with the caption Open Page opens The layout and usage depends on your operating system so see your Microsoft documentation for details 1 2 3 To amend a page 1 Locate...

Page 29: ...escription field 3 Enter the co ordinates for the top left corner of the page in the Top and Left field This value must be in pixels and must be a positive integer between 0 and 2000 Alternatively cli...

Page 30: ...rea or define a custom colour When the desired colour opens click the OK button to return to the Page Properties dialog box 10 Alternatively to display an image or photograph as the background click t...

Page 31: ...on CX Supervisor displays the Print dialog box 2 To display the next page click the Next Page button 3 To display the previous page click the Prev Page button 4 To display the current page side by sid...

Page 32: ...int Preview dialog box with a header describing the project and a footer describing the page with a page number and date stamp 2 5 Saving a Page to a Project When a page has been created it is wise to...

Page 33: ...er to customise the working environment To set or amend the CX Supervisor setup select Preferences from the File menu followed by the preference to set up The types of customisation are described in t...

Page 34: ...eferences SECTION 2 Pages 33 2 6 3 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...

Page 35: ...CX Supervisor Preferences SECTION 2 Pages 34...

Page 36: ...can be amended by selecting Preferences from the File menu This is especially useful when printing 3 3 Viewing Points in the Point Editor The Point Editor view of the points database can be tailored...

Page 37: ...ically by name The Type button the I O Type button the Address button and Description button once selected react in the same way In the previous Point Editor example the list is sorted by Name The wid...

Page 38: ...ce Integer points can be dragged from the Point Editor onto a Linear Gauge Rotary Gauge Trend Graph and Slider Boolean points can also be applied to a Toggle 1 2 3 To apply a point to a control object...

Page 39: ...n the Point Name field The 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 a...

Page 40: ...ue field The default value is inserted in the Default Value field Note Integer points are limited to 2 147 483 648 to 2147483647 For a Real point the following attributes are displayed The minimum thr...

Page 41: ...how and when communication with the PLC takes place This option is not available to Memory Resident points The On Change option specifies that communication with the PLC occurs automatically as a resu...

Page 42: ...s all the PLC connection attributes are correctly configured For more information on adding and configuring PLCs and devices see chapter 6 Projects Device Configuration 3 4 8 PLC Attributes The Data L...

Page 43: ...ields these fields are not applicable for Boolean and text points Conversion Attributes can be used to convert in a linear fashion between a value in a PLC and the point range For example if the possi...

Page 44: ...ens in the error log if the data passed to CX Supervisor is outside of the specified Minimum and Maximum range Click the OK button to accept the advanced settings or the Cancel button to abort the ope...

Page 45: ...a single point and each column is a setting of that point 5 Edit the point details as required Excel automatically increments any data ending in a number This can be very useful for Names and PLC Addr...

Page 46: ...array points which contain several elements of the same type rather than creating a large number of individual points For instance the time taken to update an array point containing 50 elements are q...

Page 47: ...CDM file 1 Open the Import PLC Points From Another CX Server Project dialog box 2 Click the Open Project button and find the project to import from 3 Select the tab depending upon the I O type requir...

Page 48: ...nteger 0 59 Minutes Second Integer 0 59 Seconds Time Text Time e g 09 46 System point Point type Point range Remarks System point Point type Point range Remarks Date Text Date e g 28 02 95 DayOfMonth...

Page 49: ...0 2 147 483 647 Amount of free disk space available in bytes PCName Text Computer name of PC as seen in Explorer ProjectName Text Name of project file without SCS extension ProjectPath Text Path to p...

Page 50: ...rms HighestAlarms Integer 0 2 147 483 647 Number of active highest priority alarms HighAlarms Integer 0 2 147 483 647 Number of active high priority alarms MediumAlarms Integer 0 2 147 483 647 Number...

Page 51: ...he Print dialog box 3 13 Embedding Point Values in Text As well as using point names in expressions in many cases where text is entered this can be made dynamic by replacing a placeholder in the text...

Page 52: ...ue of MyRealpoint is 4 2f MyTextpoint MyRealpoint becomes Hello to two decimal places the value of MyRealpoint is 5467 76 The can be used in various fields for example In Alarm Raised and Cleared Mess...

Page 53: ...Embedding Point Values in Text SECTION 3 Points 52 See Chapter 6 Point Substitution Settings and FAQ Creating Reports and HTML Reports for related information...

Page 54: ...brings up green sizing grab handles Click and drag the handles until the object is of the desired size 4 2 2 Re shaping Re shaping procedures are similar for all graphical objects which can be reshape...

Page 55: ...transparent ellipse click the button Alternatively select a filled ellipse and click the Transparency Either click the page to create a circle or click and drag to create an ellipse Ellipses cannot b...

Page 56: ...d exactly like polygons To finish editing click elsewhere on the page 4 3 8 Round Rectangle Rounded rectangles can be transparent or filled with a colour or pattern To create a filled rounded rectangl...

Page 57: ...t the name of the alarm group by which alarm messages are to be filtered using the Group field to display the list of available groups The default selection is All Groups which displays all alarm mess...

Page 58: ...box opens The Chart Wizard allows entry of configuration attributes and assignment of expressions 1 2 3 1 Enter a title for the chart in the Chart Title field 2 Select the chart style from the Chart...

Page 59: ...int Editor Refer to chapter 3 Points regarding adding a new point and dragging from the Point Editor 7 Exit the Wizard by clicking the OK button to accept the new chart attributes or click the Cancel...

Page 60: ...on on the same toolbar toggles transparency on and off 4 4 3 2 Resampling The Resample Pictures options available from the Edit menu can be used to reduce the file size of the CX Supervisor project an...

Page 61: ...and drag on the page to insert the gauge To edit a Linear Gauge object double click on it The Gauge Wizard dialog box opens The Gauge Wizard dialog box allows entry of the Gauge Style Configuration A...

Page 62: ...ovide a simple means to start a set of actions Click the button then click or click and drag on the page to insert a button To edit the button double click on it The Push Button Wizard dialog box open...

Page 63: ...ding adding a new point and dragging from the Point Editor To enter gauge values or display units type over the existing field entries Enter display angles by typing over the existing field entries Ch...

Page 64: ...he Palette The 3 D Frame 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 button An expression point ca...

Page 65: ...box opens The Wizard allows entry of in the Slider Style Style Attributes and Configuration Attributes fields To select a style click on an option from the list box The Style Attributes can be either...

Page 66: ...izard dialog box opens The Toggle Button Wizard allows a Toggle Button to be assigned a style State 0 text and State 1 text to signify its purpose It also allows selection of a Boolean point To select...

Page 67: ...gle While Pressed field if the value should only be set while the button is pressed i e the mouse button is held down when the toggle button is clicked The value has its state toggled and then set bac...

Page 68: ...settings as desired Enabling the Value Bar allows the graph to be clicked during runtime to display the data value at that point 8 Enter an arithmetic trace expression for each point or select an exp...

Page 69: ...r The Web Browser object includes a Java Virtual Machine JVM allowing execution of Java Script and Java Applets Double click the object to show the property page and enter the file to be displayed eit...

Page 70: ...ich are cut and pasted retain the properties assigned to them for example animation or alarms To cut an object from the current page select it and click the button The object is removed from the page...

Page 71: ...ncy are contained in chapter 1 Graphics Editor 4 5 11 Group When there are a number of objects together they can be moved around in a group keeping their relative position To group a number of objects...

Page 72: ...the object in all directions As the object is moved its position snaps an equal distance from the original position of the object against the grid Currently the object has been moved five grid steps d...

Page 73: ...object can be zoomed in on by selecting that object and then performing the procedures described above 4 6 Point Substitution This feature allows the points associated with one or more objects to be c...

Page 74: ...ied to all objects 1 2 3 1 In the development environment select the object to apply a tooltip 2 Click on Tooltip Text from the Edit menu The Tooltip Text opens 3 Type the help text in the Tooltip tex...

Page 75: ...se button within CX Supervisor brings up a context sensitive menu known as the Floating menu There are two such menus one in the development environment and one in the runtime environment The developm...

Page 76: ...actions the control may create like OnLeftClick Following these standard rules allows any ActiveX control from any manufacturer to work in any container 5 2 Inserting a new object A new ActiveX contro...

Page 77: ...lues of the previous object will be replaced with those of the new selection In addition to editing properties with the Property Browser many ActiveX controls support their own custom Property Pages T...

Page 78: ...input or error conditions You can write a script to execute whenever any event occurs These scripts are defined as subroutines in the page initialisation script as they may be called any time the pag...

Page 79: ...Responding to Events SECTION 5 ActiveX Objects 78...

Page 80: ...close the current project prompting to save changes where there is unsaved information and open the second project 6 2 Runtime Editions The Development package can create applications for different R...

Page 81: ...s a power failure To save a project select Save from the Project menu If this is the first time the project has been saved the Save As dialog box opens 1 2 3 1 Move to the location where the project i...

Page 82: ...assigned for the device in the PLC Name field Select the PLC from the Device Type field To add a temperature controller select a temperature controller from the Device Type field e g E5AF AH See also...

Page 83: ...er is the identifier for the network being configured The Destination Network Address and Destination Node Number identify the connection point to the network A PLC can be selected to act as a gateway...

Page 84: ...g box A new name can be entered in the PLC Name field If an invalid PLC name is entered an error message opens on clicking the OK button 6 7 3 Removing a PLC Connection From the Setup Devices dialog b...

Page 85: ...PLC Mode options switch the current mode of operation of the PLC between Stop Debug Monitor and Run Stop mode halts the PLC program execution allowing the PLC to be programmed Debug mode allows for t...

Page 86: ...Fins Gateway 2003 installer is supplied on the CX Supervisor CD The Setup Devices dialog box shown below contains the option for configuring the system to use Fins Gateway instead of CX Server If the...

Page 87: ...mory is configured as type IEEE float then all values will be rounded to integers since the communication protocol doesn t currently support floating point addressing of this memory area The following...

Page 88: ...configure the communications settings for the TJ1 The FINS Source Address and FINS Destination Address are not currently used for communication with a TJ1 while the Frame Length and Response Timeout s...

Page 89: ...Open the point editor 10 Press the button to add a point and enter a point name 11 Change the I O type to Input Output and then press Setup 12 Fill in the physical address using the format described...

Page 90: ...ns 6 10 Settings 6 10 1 General Settings Default Button Font The Default Button Font option which can also be selected from the General Settings sub menu of the Project menu displays the standard font...

Page 91: ...n then be applied depending on the object s type The most common action is to simulate a left mouse button click The following list shows all the possible facilities with Keyboard Control enabled Movi...

Page 92: ...rd Windows key combinations are as follows Alt hyphen Used to access the child window control box at the top left hand side of the dialog box Alt Spacebar Used to access the main window control box at...

Page 93: ...Rate from the sub menu CX Supervisor displays the following dialog box Enter a new value for the Non Volatile Rate in the Seconds field and click the OK button 6 10 2 4 Screen Size To open the Screen...

Page 94: ...displayed in the respective viewer dialog boxs in runtime Select the Log system start stop messages setting to ON if required The values shown above are sensible defaults In the Alarm Status Messages...

Page 95: ...er page are specified in the Number of Lines Per Page field 3 Specify a Line Terminator setting either CR Carriage Return LF Line Feed or CR LF 4 Click the OK button to accept the changes or the Cance...

Page 96: ...button stops further events occurring in the runtime environment being added to the log The Event Error Log dialog box is still accessible to switch back subsequently The Enable Column Sorting button...

Page 97: ...not deleted from the log they are merely not visible Examples of events are system startup system shutdown and user security notices The Print button prints the current contents of the error and event...

Page 98: ...ccept the settings or the Cancel button to abort the operation 6 10 2 10Advanced Settings To open the Advanced Settings dialog box select Advanced Settings from the Runtime Settings menu Click the set...

Page 99: ...ttings or the Cancel button to abort 6 11 Runtime Security 6 11 1 Configured Users In a runtime application it is possible to apply security measures in the development environment so that only suffic...

Page 100: ...name password and level of privilege in the same way as adding a new user 3 Click the Store button to update the user in the Configured Users list or the Cancel button to abort the operation 1 2 3 To...

Page 101: ...pervisor v3 1 a new feature was added to the Security System that allows CX Supervisor users to be linked with Windows users using the Use Windows Login Credentials option shown in the Configured User...

Page 102: ...plication feature this can be used to validate your project CX Supervisor checks application integrity whenever the application is compiled or run and warns that a full rebuild may be necessary When t...

Page 103: ...r must be installed to enable integrated simulation in CX Supervisor At the time of writing CX Simulator is limited to simulating a single CS or CJ series PLC For CX Programmer projects with multiple...

Page 104: ...ls concerning the project in the Title and Description fields and click the OK button Note The files are not compressed This feature does not support large projects that need to span multiple disks Th...

Page 105: ...used to search for text within script e g to find where a text message is generated from The areas which can be searched are The current page All pages Project scripts Alarms Recipes The project which...

Page 106: ...w title and uncheck Allow Docking Build results are shown automatically during building and remain on screen if there are errors or warnings Find results show the location including page name alarm na...

Page 107: ...into or out of projects An example of the Project Editor dialog box is shown as follows The Project Editor consists of a control bar and a display area The control bar includes controls to filter the...

Page 108: ...er of pages may be linked together within a project Linking allows a main page containing active elements e g buttons to be loaded and depending upon the actions performed i e which buttons are clicke...

Page 109: ...box opens and currently selected and then select Print Preview from the File menu Refer to chapter 2 Pages regarding the use of the Print Preview display 6 22 3 Printing To print the contents of the P...

Page 110: ...the Library click the button If the Library is already open but displayed as an icon double click the Library icon An example of the Graphics Library Editor is shown below but note that actual librar...

Page 111: ...eration and return to the Graphics Library After clicking the Yes button a second message box opens to confirm deletion of the library Click the OK button to delete the Library or the Cancel button to...

Page 112: ...Modify Library Element dialog box opens Enter the new object title text description and identifier Click the OK button to add the new object description to the Library or the Cancel button to cancel...

Page 113: ...items in the default CX Supervisor Graphics Libraries are metafiles and so support conversion into CX Supervisor objects This allows you to break apart the image and animate it s sub parts See Metafi...

Page 114: ...nting the Graphics Library SECTION 7 Graphics Library 113 7 4 2 Printing To print the contents of the Graphics Library select the button Refer to chapter 2 Pages regarding the use of the Print dialog...

Page 115: ...Printing the Graphics Library SECTION 7 Graphics Library 114...

Page 116: ...s also maintained 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 dial...

Page 117: ...uired The Alarm Sound button allows the selection of an audible warning which are heard when an alarm is raised The Open Waveform File dialog box is shown below Choosing a waveform file with this dial...

Page 118: ...tings dialog box which allows global alarm settings to be modified Refer to chapter 8 Alarm Header Information Click the button to view details with large icons Click the button to view details with n...

Page 119: ...messages by group name The priority assigned to the alarm is selected from the Priority field The Display Alarm Acknowledge dialog box setting determines whether the Acknowledge Alarm dialog box open...

Page 120: ...le Deadband or Rate of Change settings This field is visible from the Alarm Editor dialog box 8 4 2 1 Alarm Attributes The attributes for an alarm are defined according to its type as this defines whe...

Page 121: ...he Cancel button to leave the point unchanged Clicking the Add Point button or Add Alias button allows a new point or alias to be created prior to association with the expression Points are discussed...

Page 122: ...log box being displayed a dialog box based on the Add Alarm dialog box as shown below The selected alarm can be redefined as described in chapter 8 Creating a New Alarm When all the information has be...

Page 123: ...box opens Click the Yes button to remove the alarm from the alarms database or No button to abort the delete operation 8 8 Printing Alarms 8 8 1 Print Setup The Alarm Editor can be printed in the same...

Page 124: ...alarm is one which has been raised but is not yet cleared and acknowledged The current alarm status viewer can be accessed in a variety of ways and is dependant on the setup of the runtime applicatio...

Page 125: ...appropriate The Alarm History dialog box is as follows This dialog box always shows the log listed in date and time order The widths of the alarm fields can be widened or narrowed as required using th...

Page 126: ...hich 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 animations in the tw...

Page 127: ...e selected page in the Runtime environment This is used in conjunction with allocating users and allowing them permission to perform tasks for further information on allocating users refer to chapter...

Page 128: ...at occur throughout the operating session A script is made up of one or more simple statements that together make script code Refer to the Script Language Manual for explicit details regarding the con...

Page 129: ...number of ways refer to chapter 1 Graphics Editor for applicable objects An object can be seen to be blinking An object can be removed from the page An object can change colour A value associated wit...

Page 130: ...ON Bluevalve TRUE greenvalve FALSE redvalve FALSE Changepaint TRUE Blink 9 9 9 9 9 9 9 9 9 9 Close page 9 9 9 9 9 9 9 9 9 9 9 9 Colour Change Analogue 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 Colour Change Dig...

Page 131: ...ontents of the Animation Editor click the button Refer to chapter 2 Pages regarding the use of the Print dialog box 9 3 Runtime Actions 9 3 1 Script A script controlling the actions of an object page...

Page 132: ...ay require further information This subsequent information is provided using some common dialog boxs the Select Required Item dialog box the Simple Expression Entry dialog box and the Object Selection...

Page 133: ...Select an object from the Object Names field Click the OK button to proceed or the Cancel button to abort 9 3 2 Aliases An alias definition can be provided to replace strings in scripts and expressio...

Page 134: ...age can also contain Java and Visual Basic script Refer to the Script Language Manual for details Scripts can be generated either by typing directly into the script code text field or by using the pul...

Page 135: ...ript code to copy from the script code text field and pressing Ctrl C 9 3 4 5 Paste from Clipboard An area of script code can be copied from the Clipboard if required in a number of ways Placing the I...

Page 136: ...ct Move Horizontal from the animation list and click the Add Action button To access the Move Horizontal dialog box to modify an action select Move Horizontal from the animation list and click the Mod...

Page 137: ...ject moves are inserted into the Active Expression Range Required Position fields The Maximum Offset specifies the number of pixels upwards from its initial position that the object moves when the res...

Page 138: ...y selecting the appropriate Justification setting To abort the Resize Width definition click the Cancel button By clicking the Browse button a point may be directly specified as described in chapter 9...

Page 139: ...l dialog box To access the Percentage Fill Horizontal dialog box to add an action select Percentage Fill Horizontal from the animation list and click the Add Action button To access the Percentage Fil...

Page 140: ...ercentage Fill fields The Filled fields specify the percentage of the object to fill when the expression reaches its maximum and minimum values The flood fill also requires a direction This can be spe...

Page 141: ...cess the Close Page dialog box select Close Page from the animation list and click the Add Action button To access the Close Page dialog box to modify an action select Close Page from the animation li...

Page 142: ...ur Palette dialog box opens so that a colour can be supplied to the object The object blinks between its current colour and the chosen blink colour The Colour Palette dialog box is described in chapte...

Page 143: ...te dialog box opens The Colour Palette dialog box is described in chapter 9 Common Colour Palette Click the Clear button to reset all colours and re start To abort the Colour Change Analogue edit clic...

Page 144: ...as described in chapter 9 Runtime Actions When completed click the OK button If invalid data has been inserted into any field a descriptive error message opens 9 3 17 Enable Disable Objects can be en...

Page 145: ...aints of the rotation animation are specified in the Active Expression Range Required Rotation fields Rotation is clockwise and the angle is specified in degrees Enabling the Fix point on screen optio...

Page 146: ...ess the Display Value Digital dialog box to modify an action select Display Status Text from the animation list and click the Modify Action button For a list of the objects to which this action is app...

Page 147: ...Real or Integer value can be entered in the Displayed Text field this field can be updated using the Graphics Editor The position of the displayed value within the text field is specified by entering...

Page 148: ...ton a point may be directly specified as described in chapter 9 Runtime Actions When completed click the OK button If invalid data has been inserted into any field a descriptive error message opens 9...

Page 149: ...se button results in the digital value being edit either with the runtime User Input Digital dialog box being displayed or the in place listbox based on the contents of the development version The use...

Page 150: ...ad dialog box opens which allows editing by clicking on screen If the In Place Edit option is checked instead of the popup editing dialog box the value can be edited on the page in a standard Windows...

Page 151: ...tton To access the User Input Text dialog box to modify an action select Edit Point Value Text from the animation list and click the Modify Action button For a list of the objects to which this action...

Page 152: ...box 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 enters the des...

Page 153: ...tion 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 col...

Page 154: ...project is being executed in runtime 10 2 Recipe Components Before proceeding any further with the description of recipes some basic recipe terminology must be introduced Recipe A recipe is a set of...

Page 155: ...ons button to view details with large icons Click the button to view details with large icons Click the button to view details with normal icons Click the button to view details as a list Click the bu...

Page 156: ...Return Any characters are valid and up to 255 characters may be entered in the text field This field is also visible from the Recipe Editor dialog box 10 4 2 Recipe Ingredients The recipe ingredients...

Page 157: ...such as 50 as in the above expression or it may be any valid CX Supervisor script language expression featuring one or more point names The Editable Value at Runtime setting determines whether the ta...

Page 158: ...which requires user input e g a Message command This is because the validation script would not have been completed and appropriate action taken at the time that user input is requested Instead if a m...

Page 159: ...nd then type Ctrl C This creates a copy of the recipe definition on the clipboard To paste the recipe definition back in to the current project type Ctrl V The cut copy and paste operations in the Edi...

Page 160: ...el from the list The selected security level is then applied to the recipe To change the security level click the Security Level field again and choose a different security level from the list 10 9 Pr...

Page 161: ...s The Recipes dialog box opens The Recipe Viewer is similar to the Recipe Editor however there are some differences in functionality and appearance To remove an existing recipe highlight the recipe fr...

Page 162: ...the Modify Ingredient dialog box shown below The target value for this ingredient may be changed by entering the new value in the New Target field Selecting the OK button accepts the change choosing t...

Page 163: ...ical object on a page such as a push button The function call is DownLoadRecipe NameOfRecipe The other way to download a recipe is to display the Recipe Viewer as described in the previous chapter Hig...

Page 164: ...ecipe Viewer as described in the previous chapter Highlight the desired recipe from the recipe list and click the button The Modify Save Upload Recipe dialog box opens The Modify Target button allows...

Page 165: ...N 10 Recipes 164 When the recipe upload is complete all the ingredients are saved and the CX Supervisor runtime environment continues to run in the normal manner An event is logged stating that the re...

Page 166: ...d 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 groups within a Data Set The main elements of the CX Superviso...

Page 167: ...e script language It also forms the prefix for the file name A maximum of 26 characters is allowed The Period fields allow a period to be entered in Hours Days or Months and defines the period of data...

Page 168: ...tered Its data type can be selected and if required a deadband value can be applied to the measured value The Item Name field allows the Item to be given a meaningful name The entry should be kept sho...

Page 169: ...ph for this item Enter the Maximum value as the upper limit to be shown on the graph for this item Enter the Scale Label to be displayed This is a text field the contents of which are displayed by the...

Page 170: ...ata Logging Files Each Data Set has its own set of files The following conventions have been adopted in order to identify the various files and add time and date information Data Log files are assigne...

Page 171: ...ust first be closed See Opening and Closing Log Files 11 3 1 4 Invalid Data Log Files Data log files generated during one project sessions will continue to be used in subsequent sessions if they are s...

Page 172: ...ch1 starts logging at 23 00 on the 29th December 1999 with a period of 1 Day the following files will be created Batch1 1999122923 dlv If the system is left running the Data Logging directory will con...

Page 173: ...11 4 1 Invoking the Data Log Viewer The Data Log Viewer can be invoked by Selecting Data Log Viewer from the popup menu if privileged in the runtime From script function OpenLogView with the Data Set...

Page 174: ...Horizontal and Vertical cursors can be used to analyse the data Where a cursor intersects the data the value will be displayed in the Data Table view Y Offset Ability to quickly and easily scale data...

Page 175: ...e local time on the logging system Remote analysis within different time zones will show the same dates and times Logging of local time means adjustment of PC time and daylight saving are handled Key...

Page 176: ...ght menu script or the Data Log Viewer Options include the following USE GENERATED FILES If this option is checked then filenames will be automatically created otherwise a Save File As dialog box will...

Page 177: ...ontain a column for each item selected and they will share the Date and Time fields If a multiple selection of on interval items with different intervals is made then any items with the same interval...

Page 178: ...s or Tables therefore it is not possible to automatically create a data source Unpopulated data sources for use in Database Logging must first be created using the specific software for your choice of...

Page 179: ...ink dialog box show below is show when the Add Field Link menu option is selected from the Data Log editor and the identical Modify Field Link dialog box when the Edit menu is selected 11 7 2 1 Name F...

Page 180: ...every time any one field changes However the desired action may be to change several fields and then log the new values to a single record To achieve this action the Trigger on change of value should...

Page 181: ...Data Logging SECTION 11 Data Logging 180...

Page 182: ...e ODBC for Oracle Paradox SQL Server Text files in TXT and CSV format 12 1 Database Connection Editor The Database connection editor in the Development Workspace enables users to create Connections Re...

Page 183: ...es xls Text Files txt csv FoxPro Files dbf Data Source Names dsn A Data Source Name file stores information about a database connection in a file See Creating a Data Source Name file for more informat...

Page 184: ...e to an error in the Connection String 12 2 3 Database Errors A detailed description of what type of error occurred supplied by the underlying Data Provider can be viewed by clicking that the right me...

Page 185: ...on string will also be built automatically each time a change of Data Source is made 12 2 4 2 Example Connection Strings Listed below are some example connections strings for the listed providers 12 2...

Page 186: ...This will show the ODBC Data Source Administrator dialog box Click the File DSN tab Any Data Source Names already defined are listed Click on Add to create a new Data Source Name file This will invok...

Page 187: ...Excel Driver xls If this option does not exist you will need to install the Microsoft ODBC driver for Excel from the Excel setup Ensure that the Read Only check box is clear Load the Excel spreadshee...

Page 188: ...ded to the Workspace the right menu option Add Recordset will be enabled Selecting this option will invoke the following dialog box 12 3 1 Name A unique Recordset name will be automatically provided T...

Page 189: ...or read write modes there are two type of read write locks as defined below Read OnlyThe default lock is read only i e data cannot be changed Server Query The Recordset is the results of a pre defined...

Page 190: ...ata transfers The Browse button may be used to select a current point or add a new one 12 4 3 Field The name of the Recordset field to be associated with the above point If the Recordset is open this...

Page 191: ...hich allow criteria to be passed to the query Recordsets defined in CX Supervisor as Server Queries may have Parameter Associations added to the recordset Recordsets defined as a Table Name or SQL Tex...

Page 192: ...ngful name if required By convention this is made the same as the name of the parameter defined within the database but this is not essential 12 5 2 Index The index is used to determine which paramete...

Page 193: ...invoke the following dialog box 12 6 1 Name A unique Schema name will be automatically provided This can be modified to provide a more meaningful name if required 12 6 2 Point The name of an array poi...

Page 194: ...ME Schema Check Constraints CONSTRAINT_CATALOG CONSTRAINT_SCHEMA CONSTRAINT_NAME Schema Collations COLLATION_CATALOG COLLATION_SCHEMA COLLATION_NAME Schema Column Domain Usage DOMAIN_CATALOG DOMAIN_SC...

Page 195: ...imary Keys PK_TABLE_CATALOG PK_TABLE_SCHEMA PK_TABLE_NAME Schema Procedure Columns PROCEDURE_CATALOG PROCEDURE_SCHEMA PROCEDURE_NAME COLUMN_NAME Schema Procedure Parameters PROCEDURE_CATALOG PROCEDURE...

Page 196: ...SCHEMA TABLE_NAME TABLE_TYPE Schema Translations TRANSLATION_CATALOG TRANSLATION_SCHEMA TRANSLATION_NAME Schema Usage Privileges OBJECT_CATALOG OBJECT_SCHEMA OBJECT_NAME OBJECT_TYPE GRANTOR GRANTEE Sc...

Page 197: ...ion XML resembles and complements HTML XML describes data such as city name temperature and barometric pressure and HTML defines tags that describe how the data should be displayed such as with a bull...

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

Page 199: ...der details for the shown order 12 10 3 Hierarchy with Aggregate example SHAPE select from orders APPEND select od orderid od UnitPrice od quantity as ExtendedPrice from order details As od RELATE ord...

Page 200: ...id orders customerid inner join order details as od on orders orderid od orderid AS rsDetail COMPUTE ANY rsDetail contactname AS Contact SUM rsDetail ExtendedPrice AS CustTotal rsDetail BY customerid...

Page 201: ...Examples SECTION 12 Databases 200...

Page 202: ...project may be configured to record any of these events individually or in combination When configured to generate an Audit Trail CX Supervisor will automatically create an Audit Trail database file i...

Page 203: ...use just one CX Supervisor Point Executing runtime to generate a database and data tables Viewing the generated Audit Trail data Adding Alarms Adding Events and Errors 13 4 1 CFR Test Application The...

Page 204: ...ck box Generate Audit Trail Check this box for each point to be audited For the test project apply the setting for the points iAudit and rAuditArray IMPORTANT NOTE The use of CX Supervisor I O points...

Page 205: ...e are required to enable the points Audit trail logging function of the test project 13 4 4 Default Connection String Clicking the Setup button on the Audit Trail Configuration dialog launches the Aud...

Page 206: ...commands Each time the Audit Trail is started any new records generated will either be a appended to the existing database file or b a new database file will be created This action is controlled by th...

Page 207: ...13 4 8 Viewing the Audit Trail Database Open the Project Name _ ddmmyyyy _1 mdb file When the database opens a Security Warning dialog may appear press the Open button and you will be presented with a...

Page 208: ...set to log All Alarms or Selected Alarms The attribute to select any individual alarm is applied in the Alarms settings dialog as described in the section below All Alarms when selected overrides the...

Page 209: ...shown enabled because the have checked the Log Alarm function in the Audit Trail configuration dialog 2 Generate Audit Trail option is shown checked for this alarm When the All Alarms option in Audit...

Page 210: ...e applied to the CFR Test Application 1 Add a left click script to the Generate Event button in the test application LogEvent Event Message 2 Add a left click script to the Generate Error button in th...

Page 211: ...s table which will show a set of records similar to those shown below Opening the Events table will show a set of records similar to those shown below Opening the Errors table will show a set of recor...

Page 212: ...sor will create the required tables in the specified database if they do not already exist namely Points Alarms Events and Errors The same tables as are created for the Microsoft Access database 4 The...

Page 213: ...efault connection string will be built for you as shown below NOTE The default connection string assumes that the SQL Server is local if this is not the case for your system replace local with your se...

Page 214: ...n 9 Press the Stop Audit trail Button 10 Exit Runtime 13 5 5 Viewing Audit Trail Records in an SQL Server Test Project Launch the SQL Server Management Studio and view the four new tables that have be...

Page 215: ...n folder for the Audit Trail database files check box and either browse for or type in the desired location NOTE If the directory does not already exist then it will be automatically created when the...

Page 216: ...B files size limit on Microsoft Access database files CX Supervisor will monitor the size of the current file as records are appended and when the file size approaches 2GB 1 9GB a new database file wi...

Page 217: ...the names of the two text points in the relevant edit boxes as shown below The following screen shot demonstrates a use of these notes 13 6 4 SQL Statements If you do not want to give CX Supervisor th...

Page 218: ...ssage varchar 250 NOT NULL UserId varchar 250 NOT NULL AuditId varchar 250 NULL AuditNote varchar 250 NULL Errors Table CREATE TABLE dbo Errors ErrorId int IDENTITY NOT NULL PRIMARY KEY Date varchar 1...

Page 219: ...temDB C MyTestApps Balloon BALLOON2_Audit mdw Uid Guest 13 7 2 Using Microsoft Excel The following examples show how to access the CFR information using the various versions of Excel Microsoft Excel 2...

Page 220: ...t other options are not selected Select the All tab and scroll down to the Jet OLEDB System database entry Click the Edit Value button and enter the path of the CXSupervisorAudit mdw file as shown bel...

Page 221: ...dialog select the required table to be imported and click OK Another dialog will be displayed shown below asking where you would like to put the data Select the desired location and click OK The audit...

Page 222: ...this limitation CX Supervisor will monitor the number of records appended to a database file and it reaches 5 million records then a new database file will be created automatically SQL When using SQL...

Page 223: ...probably be dependent on the exact PC specifications Maximum Length of Text Strings When logging to audit trail databases all text strings are limited to a maximum of 250 characters For example when l...

Page 224: ...s 14 2 Access To access the standard web pages navigate to http IPADDRESS 4140 Where IPADDRESS is the IP address of the PC running the CX Supervisor runtime application Example http 10 0 0 1 4140 14 3...

Page 225: ...xpand Component Services Computers DCOM Config 3 Find the entry for scs exe and open its properties dialog box 4 On the Identity Tab select The Interactive User 5 Select Customize on the Security Tab...

Page 226: ...visor Development application may be run in any major European language i e English Spanish Italian German and French This means all menus dialogs and error messages displayed by the Development progr...

Page 227: ...a completely different language for the end user All translations for all system text like dialogs and menus are installed automatically User defined text entered at development time is normally enter...

Page 228: ...tomatically User defined text entered at development time like button captions static text like Value graph titles etc can be exported to a text file for easy translation into as many additional langu...

Page 229: ...slating User Defined Text with the Translation Tool At any time during development select Translation Tool from the Tools menu A dialog similar to below will be shown Note In this context Default mean...

Page 230: ...riginal translation or Copy and Pasted from other columns When completed exit the Translation Tool and save the changes The User Defined Text will now be loaded when you change languages at Runtime If...

Page 231: ...s as are required Name each copy language udt using exactly the same text particularly the accents as appears in the Language Settings dialog If the filename prefix is not exactly the same the file wi...

Page 232: ...these steps 1 Start Windows in the normal way 2 Open Control Panel and select Regional Options 3 The Numbers Currency Time and Date tabs settings do not affect the language support but can be set as...

Page 233: ...y extended characters to allow 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 l...

Page 234: ...ted Runtime Languages Although an impressive number of runtime languages are supported you may require a language not listed A developer can easily add support for further languages to the CX Supervis...

Page 235: ...a new keyboard layout 1 Copy the file scsdefs kbd in the installed application folder default is C Program Files Omron CX Supervisor and rename the copy with the language name e g American kbd 2 Follo...

Page 236: ...alysis performs a validation of the application and checks for communications performance theoretical error conditions such as use of non existent points use of obsolete functions such as Sleep or DDE...

Page 237: ...drop down list Pages Tab The Page tab provides information specific to the selected page Where more than one page is configured each page can be selected independently from a drop down list Always Upd...

Page 238: ...ax Points Sec Max Elements Sec This is the theoretical maximum number of points that will update each second the higher this number the greater chance of comms problems this value is very dependent on...

Page 239: ...nts The total number of points that are not on an external device These are the most efficient points as they don t consume network bandwidth Total OPC Other Points The total number of points that are...

Page 240: ...Condition scripts which can be triggered when something completes There is almost always a better more efficient alternative to a Sleep see the User Manual FAQ How Does Sleep work Update on Display T...

Page 241: ...ite a point on the PLC the lower this number the better performance you are getting If you are overloading the network this value will increase and the heartbeat interval will also be too high RX Byte...

Page 242: ...to consider if you are using and updating too many points at once and affecting performance TX Bytes CX Server RX Bytes CX Server The bytes transmitted or received to the PLC from CX Server TX Bytes...

Page 243: ...Performance Monitor SECTION 16 Application Analysis Performance Monitor 242...

Page 244: ...dures or complex configuration Instead of having to learn how to use 100 or more custom toolkits users will only have to learn one set of tools because all OPC drivers will work the same way OPC s pur...

Page 245: ...standard decided that an independent body must be set up to manage the OPC specification This decision resulted in the formation of the OPC Foundation that has continued to develop the philosophy of...

Page 246: ...plementation of distributed applications using a client server pattern A client can use several servers at the same time and a server can provide functionality to multiple clients simultaneously Trans...

Page 247: ...h Netscape and Internet Explorer can browse the web equally well but people use the browser they like best As a result of this freedom of choice vendors will need to become more competitive and offer...

Page 248: ...t between automation devices systems and manufacturing software After an automation system is installed OPC will not improve business bottom line directly however OPC will provide a common method to a...

Page 249: ...oup Select the Group containing the required item from the dropdown list To Add Modify or Delete a Group click the Info button Items The Items within the selected Group are listed The Item Attributes...

Page 250: ...name is shown or it is incorrect click the New or Open button as appropriate Clicking the Open button opens the Open Project dialog box from where you can navigate to the project file you wish to open...

Page 251: ...rate as a numerical value and select the units from the drop down list The minimum value is 100msec the maximum is 99999Sec i e over 27 hours Active On Startup Checking this option will make the Grou...

Page 252: ...parameters are correct bring control back to the Point Editor window by closing any attributes window that may be open 8 To run the application click the button in the toolbar The CX Supervisor Point...

Page 253: ...Using with Omron s CX Server OPC SECTION 17 Using CX Supervisor as an OPC Cli 252...

Page 254: ...n used locally for HMI for example but could have no graphical element which is termed a Blind Server It has direct access to the Devices or Device network and is responsible for collecting the data f...

Page 255: ...e by distributing the communication on the device connections and server processing It can also provide different security for different clients and offers limited protect against failures as remainin...

Page 256: ...application e g Graphics Control Logging Alarms etc Be sure to note the computer name of the server machine 18 6 Creating a CX Supervisor Client application The client must retrieve the data and proc...

Page 257: ...tion will open the Communications Control dialog box From the list of control objects select OMRON CX Supervisor Communications Control and click the OK button Clicking the OK button in the Communicat...

Page 258: ...ct return to the Point Editor window by closing any attributes window that may be open To run the application click the button The CX Supervisor Point will now be connected to Remote CX Supervisor app...

Page 259: ...Creating a CX Supervisor Client application SECTION 18 Connecting to a remote CX 258...

Page 260: ...pen your project 2 Open the Point Editor by selecting the Point Editor option from the Utilities menu or by clicking the button 3 In the Point Editor dialog box click the Add Point button in the toolb...

Page 261: ...s the name of the selected communications control The default name for the first control is OMRONCXICCommunicationsControl For each additional control added the number increments by one Project File T...

Page 262: ...Item click the Info button Selecting the Add or Modify option will open the Items Attributes window from where the item details can be added or updated Array Size Enter the number of array elements i...

Page 263: ...Adding a Point Linked to a Parameter SECTION 19 Connecting to Omron Industrial 262...

Page 264: ...can show data for any machine This can be achieved using indirection and or keeping data in arrays and just setting the index to display the machine you require Minor differences e g a button for Pro...

Page 265: ...tions like data logging batch control and control obviously will not be available but the system should be able to continue with its task until completion That is the process should not rely on co ope...

Page 266: ...rent colours are to indicate that each block must be read individually totalling 9 communication requests which could be for as few as 9 memory addresses Figure 3 Good grouping example However in Figu...

Page 267: ...tputPoint script function is used to output the value of a specified point 20 3 Points This section covers some good practices with the Points for quicker development and smoother running Define as fe...

Page 268: ...ts for editing During development using Shift and Ctrl while selecting can be useful to apply the same changes to many points Use Hungarian notation Improve readability and maintenance by defining and...

Page 269: ...use On Regular Interval scripts Always question If it is used for logging use the logging facilities instead If it is used for timing use PLC ladder instead as this is much more reliable When they st...

Page 270: ...ogging in preference to trend graphs or file I O functions as the performance is far superior Always use On Change Always log data On Change There is no sampling error and CPU disk activity and storag...

Page 271: ...Data Logging SECTION 20 Best Practices 270...

Page 272: ...e the firewall as follows Note can leave your computer vulnerable to attack so consult your computer documentation or IT administrator if you are unsure a Open Control Panel followed by Computers b Ri...

Page 273: ...C WINDOWS SYSTEM 2 Select Component Services followed by Computers 3 Right click My Computer and select Properties 4 View the Default Properties tab Ensure that the Enable Distributed COM on this com...

Page 274: ...ation 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 we...

Page 275: ...Configuring a Server PC running Windows NT or 2000 Appendix A Configuring a PC 274...

Page 276: ...econd 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 of 1 elemen...

Page 277: ...Appendix B Frequently Asked Questions 276...

Page 278: ...Appendix B Frequently Asked Questions 277 See How does the Operating System affect performance See What is the maximum limit of number of points...

Page 279: ...ins to reduce well before 100 saturation is achieved For example it is rare to achieve more than 70 80 for a serial connection This is analogous to a motorway where cars slow down long before they are...

Page 280: ...ffect the total number of Subscription points that can be simultaneously read which has remained more than 1000 Performance of instantaneous read and write is not significantly affected by the version...

Page 281: ...aphs below should show that this does not have a significant impact The graphs show Time to perform instantaneous read and writes are slightly slower on average although this is in the order of a few...

Page 282: ...pecially for large systems with high quantities of On Interval Subscription points The graphs show Upgrading from a 450Mhz system to a 2 4Ghz can quadruple the maximum number of Subscriptions that can...

Page 283: ...wing registry keys HKEY_CLASSES_ROOT CLSID 0002D780 0000 0000 C000 000000000046 HKEY_CLASSES_ROOT CLSID 0002D781 0000 0000 C000 000000000046 HKEY_CLASSES_ROOT CX Supervisor Application HKEY_CLASSES_RO...

Page 284: ...ng the Point Run the Analyse Application tool to highlight and fix References to non existent points How do I access CX Supervisor Local Points from Omron Graphical components Omron ActiveX Graphical...

Page 285: ...erver 2 0 Pass ICONICS Inc Modbus OPC Server 3 07 Pass ICONICS Inc DataStore OPC Server 3 10 3 10 Pass INAT GmbH INAT OPC Server TCPIPH1 S5 and S7 2 05 37 Pass NAT GmbH OPC Server MPI PPI 2 05 37 Pass...

Page 286: ...eta Pass Vendor Server Name Product Version Result Klinkmann Omron driver Ignores Read from Device option Seen to lose device values potential control risk OPC Labs Time Monitor 2 01 Fail Group inacti...

Page 287: ...ike Word DOC can be problematic although RTF can usually 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...

Page 288: ...t on its Web site see Q253370 How to Enable Automatic Logon in Windows 2000 and Q315231 How to Enable Automatic Logon in Windows XP Please note the cautions included on registry editing and security W...

Page 289: ...ny lines of text the actual list can display This is dependent on the height of the text With large text you may even find that 1000 is too many When a group is selected the point list is refreshed an...

Page 290: ...e printer settings Why do I get installation error 115 Error 115 during installation means the specified file could not be copied This is most often caused by the file already being in use or locked R...

Page 291: ...3 times 55 For this reason Sleep statements can act differently on different Operating Systems making the application OS dependant Note 3 Sleep should never be used as a delay for timing processes for...

Page 292: ...ng code does not work MsgBox Press Enter does not work Instead use the following to replace these characters MsgBox Press chr 123 Enter chr 125 Why are ActiveX events shown differently in the Animatio...

Page 293: ...X Supervisor via CX Server to a PLC via a modem In the PLC configuration Network Settings dialog box select the Modem tab CX Server uses standard TAPI build into the OS The modem must be installed pro...

Page 294: ...In practice no more than 10 000 should be created on a standard PC configuration What is the maximum limit of number of event error log entries The maximum number of entries in the event error log is...

Page 295: ...spreadsheet from CX Supervisor this error will occur This is because the ODBC Driver sees different formats in a column To overcome this set up the spreadsheet the data area definition to contain onl...

Page 296: ...Appendix B Frequently Asked Questions 295...

Page 297: ...Appendix B Frequently Asked Questions 296...

Page 298: ...Appendix B Frequently Asked Questions 297...

Page 299: ...Appendix B Frequently Asked Questions 298...

Page 300: ...ent security When an expected animation or script execution has not occurred the Point Maintenance can quickly show if the data is not the expected value If the data is the correct value then the faul...

Page 301: ...ee CPU time is available to service the communications whereas some require a shorter scan rate so the communications are service more frequently at the end of each scan Some other settings may also i...

Page 302: ...the PLC point to diagnose 3 Press Diagnostics The following screen is shown The most useful readings on this screen are Auto Update refreshes the data twice a second Total Active Points Number of CX S...

Page 303: ...pendix B FAQ What are the syntax differences between VBScript and CX Supervisor script To confirm the line causing the problem temporarily comment it out and see if the syntax error is no longer repor...

Page 304: ...ions as points are Disabled C 8 Database errors The database connectivity can sometimes be problematic to configure correctly To troubleshoot CX Supervisor database functionality Try viewing and writi...

Page 305: ...ine should be removed to determine just the required steps to reproduce the problem C 10 Information necessary to send to Support If all these diagnostic suggestions fail and it becomes necessary to c...

Page 306: ...quested 0xnn05 The specified name is not unique within the open project file 0xnn06 An unspecified error occurred in CX Server that is not handled by any other error code 0xnn07 CX Server has not been...

Page 307: ...ntly selected User 0xnn1B Communications to the device could not be established or the connection has been broken Check the communication settings and connection method to the device 0xnn1C An executi...

Page 308: ...l CX Server as part of the installation as it has already been done in step 1 above 3 Install any ActiveX controls used by the application This includes any use of Microsoft Forms FORMS20 DLL which is...

Page 309: ...the DyaloX IPC can only use the COM ports that are configured in the operating system The Development platform therefore must have the same COM ports available so they can be selected at development...

Page 310: ...ted COM on this computer is checked A CX Supervisor Client running on Windows 98 or ME also requires the Microsoft Remote Registry network service to be installed with the operating system and correct...

Page 311: ...hts on the local PC If not it may be necessary to add user groups INTERACTIVE and NETWORK as well Third party servers and clients running on Windows 98 or ME may require the Microsoft Remote Registry...

Page 312: ...Server Points all data transfers are initiated by external DDE Client Application s either requesting or sending point values For example a value could be entered into a cell in Microsoft Excel which...

Page 313: ...2 DDE Server Points A DDE server point receives data from or receives a request for data from an external Client application This chapter explains how to create DDE Server Points these points are exp...

Page 314: ...Add Point dialog box opens 2 Enter a meaningful name in the Point Name field 3 Set the I O Attributes setting to DDE and click the Setup button The DDE attributes dialog box opens 4 Enter an applicati...

Page 315: ...to send the array after setting several elements of a large array DDEArray 2 6 ENDIF F 4 3 2 DDE Script Functions The existing DDE Script functions DDEPoke and DDERequest can be used with any array p...

Page 316: ...f information required to demonstrate the particular facility being described i e they do not contain any error checking code F 4 3 4 Sending Arrays to CX Supervisor via DDEPoke In order to write to a...

Page 317: ...les of specifying names for Array1 in a DDERequest Array1 Array1 Row Array1 r Valid ways to specify a row Array1 Column Array1 col Array1 C Valid ways to specify a column Microsoft Excel is informed o...

Page 318: ...ents an invalid access type QueryType wordID Returns the points data type as an integer from a given id 0 represents a void datatype 1 represents a digital datatype 2 represents an integer datatype 3...

Page 319: ...insertion of objects using the CX Supervisor built in functions are detailed For further details of using the Object Packager refer to the Windows User Guide or the Object Packager On line Help Whethe...

Page 320: ...and click the OK button to return to the Insert Object dialog box Should a different label be required to display beneath the inserted icon delete the contents of the Label field and type in a new lab...

Page 321: ...rowse dialog box similar to that used for changing an object s icon opens the difference being that the List Files of Type field has a single entry of All Files extension 1 2 3 1 Use the Look in field...

Page 322: ...on on the page either a true representation of the object or an icon If the object is a document or image Windows activates the application that created the object and places it ready to be edited In...

Page 323: ...may be converted from 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...

Page 324: ...atement to expand or modify the command or statement within the CX Supervisor script language The command acts on the argument In essence the command is a verb and the argument is the object of the ve...

Page 325: ...a data source This can either be via Data Source Name DSN filename or directory Database Connection Level A Database Connection Level is a string which determines what level in the database tree hiera...

Page 326: ...application can be delivered as a final customer application to be run by the run time environment DLL Dynamic Link Library A program file that although cannot be run stand alone as an executable can...

Page 327: ...te be input from and is destined is output to to the internal computer memory or PLC Icon Pictorial representations of computer resources and functions The CX Supervisor development environment and ru...

Page 328: ...hical objects can be categorised as a line an arc a polygon including a square and rectangle a round rectangle an ellipse including a circle or a polyline A control is essentially a complex graphic ob...

Page 329: ...ext or animations and may be grouped together logically to form a project A project may consist of many pages or simply a single page Projects may be built and tested within the CX Supervisor developm...

Page 330: ...osoft Windows based applications to be started CX Supervisor is run from the Taskbar Text Object In CX Supervisor a text object is a string on a page Attributes such as typeface point size embolden it...

Page 331: ...Appendix G Glossary of Terms 330 Wizard Wizards are dialogs used by the CX Supervisor development environment to take the user through complex operations in a simplified step by step process...

Page 332: ...log number on the front cover of the manual The following table lists the changes made to the manual during each revision The page numbers of a revision refer to the previous version Cat No W10E EN 01...

Page 333: ...Revision history 332...

Page 334: ...0E EN 01 Note Specif cations subject to change without notice Authorized Distributor Printed in Europe Cat No I55E EN 01 CJ1W MCH72 Programmable Controller SYSMAC CJ series Motion Control Unit OPERATI...

Reviews: