CX-Server Lite User Manual: Getting Started
CX-Server Lite User Manual: Getting Started
CX-Server Lite
User Manual
Getting Started
Version 1.0
Page 1
OMRON Getting Started with CX-Server Lite
Notice
OMRON products are manufactured for use according to proper procedures by a qualified
operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always
heed the information provided in them. Failure to heed precautions can result in injury to
people or damage to the product.
DANGER! Indicates information 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 information that, if not heeded, could result in relatively
serious or minor injury, damage to the product, or faulty operation.
Page 2
OMRON Getting Started with CX-Server Lite
Visual Aids
The following headings appear in the left column of the manual to help you locate different
types of information.
Note: Indicates information of particular interest for efficient and convenient operation
of the product.
1, 2, 3… Indicates lists of one sort or another, such as procedures, checklists etc.
Represents a shortcut on the Toolbar to one of the options available on the menu of
the same window.
Indicates a program must be started, usually by clicking the appropriate option under
the standard Windows ‘Start’ button.
Note: Indicates procedures that are specific to Visual Basic.
OMRON, 2000
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, without the prior written permission of OMRON.
All copyright and trademarks acknowledged.
No patent liability is assumed with respect to the use of the information contained herein.
Moreover, because OMRON is constantly striving to improve its high-quality products, the
information contained in this manual is subject to change without notice. Every precaution has
been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility
for errors or omissions. Neither is any liability assumed for damages resulting from the use of
the information contained in this publication.
Page 3
OMRON Getting Started with CX-Server Lite
Page 4
OMRON Getting Started with CX-Server Lite
Table of Contents
CX-Server Lite Page
Tutorial ............................................................................................... 13
Step 1: Viewing PLC Data using Omron Graphical Controls....................................... 13
Step 2: Inserting PLC Data in Cells ............................................................................. 16
Step 3: Adding Third Party Controls ............................................................................ 16
Other Features............................................................................................................. 17
Glossary of Terms.............................................................................. 30
Index.................................................................................................... 32
Page 5
OMRON Getting Started with CX-Server Lite
Page 6
OMRON Getting Started with CX-Server Lite
System Requirements
CX-Server Lite operates on IBM compatible personal computers with 200MHz Pentium central
processor. It is designed to run in the Microsoft Windows 95 / 98 and Windows NT V4.0
environment.
Note: CX-Server Lite is not guaranteed to be compatible with computers running
Windows emulation (e.g. Apple Macintosh).
Hardware Requirements
The following configuration is the minimum system requirements for running CX-Server Lite
♦ IBM PC compatible 200MHz Pentium processor:
♦ 64 Mbytes of RAM,
♦ 30 Mbytes available hard disk space,
♦ 800 x 600 Super VGA display.
The Recommended minimum is:
♦ IBM PC compatible 400MHz Pentium II processor,
♦ 64 Mbytes of RAM,
♦ 50 Mbytes available hard disk space,
♦ 1024 x 768 Super VGA display.
Page 7
OMRON Getting Started with CX-Server Lite
Help Topics
Select the Help option on the Object Properties menu, which can be accessed by clicking on
an object using the right mouse button and then selecting the option which shows the object
name.
Page 8
OMRON Getting Started with CX-Server Lite
The help system provides a standard look-up dialog under the Contents tab showing the
contents of the CX-Server Lite Help file. Double-click on an item to read the associated
information.
Index
Use the following procedure to retrieve on-line help from the Index tab of the Help dialog.
1, 2, 3… 1. Select the Help option from the Object Properties Menu.
2. Select the Index tab.
3. Enter a text query into the first step field. The second step field is
refreshed according the to query entered in the first step field.
4. Select an entry in the second step field and select Display pushbutton, or
double-click on the index entry.
5. If an entry is linked to two or more topics, the names of the topics are
displayed in the Topics Found dialog. Select a topic and choose the
Display pushbutton or double-click in the topic.
Find
Use the following procedure to retrieve on-line help from the Find tab of the Help Topics dialog.
1, 2, 3… 1. Select the Help option from the Object Properties Menu.
2. Select the Find tab.
3. Enter a text query into the first step field. The second step field is
refreshed according the to query entered in the first step field. Previous
text queries can be retrieved by selecting from the drop down list in the
first step field.
Page 9
OMRON Getting Started with CX-Server Lite
4. Select a word that matches the query – some words may be automatically
selected. More than one word can be selected by pressing Shift and
selecting another word to extend the selection or by pressing Ctrl and
selecting another word to add to the selection. The third step field is
refreshed according to the word or words selected. The number of topics
found is shown at the bottom of the dialog.
5. Select a topic from the third step field and select the Display pushbutton,
or double-click on the topic from the third step field. Select the Clear
pushbutton to restart the find operation.
The Find operation can be enhanced by the use of the Options pushbutton and Rebuild
pushbutton. Refer to Microsoft Windows documentation for further information.
Technical Support
If the installation instructions for this application have been followed, no difficulties should be
encountered.
If a problem occurs, check that it does not relate to a fault outside CX-Server Lite, for instance,
with external components. Check the following:
♦ The PC is working correctly,
♦ The external system or application is working correctly,
♦ The communications system is set up correctly,
♦ Any errors are cleared in the associated PLCs.
When Customer Services need to be contacted, keep the following details to hand. A clear and
concise description of the problem is required, together with the exact text of any error
messages.
Note: Use the About dialog to obtain the version number of the application.
Page 10
OMRON Getting Started with CX-Server Lite
Objects Overview
CX-Server Communications Control
This control provides a seamless interface between the CX-Server Lite host application (Excel,
Visual Basic) and Omron’s communication software, CX-Server. Note that the control is only
visible when the host application is in the Design mode.
The Properties dialog enables you to select the project you wish to open. Clicking the Open…
button will open the Open Project dialog allowing you to navigate to the appropriate file.
Clicking the Edit Project button opens the CX-Server Project Editor dialog. This dialog is
supported by CX-Server and follows the standard Windows Explorer format. The left hand
pane shows the tree structure for the project. By expanding the tree the associated PLCs and
Points etc. can be reviewed and edited as necessary. New PLCs and points can be added by
right clicking in the right hand pane and selecting New from the menu. Consult the associated
help file for more detailed information on editing.
7 Segment
The 7 segment displays a numerical value in Binary, Decimal or Hexadecimal formats. Leading
zeros and unused segments hidden. The colour of the segments and the display background
can be set independently. The 7 Segment can not be used to set a value.
Display
The Display displays an analogue or text value. The Display only displays a value i.e. you can
not set a value using this display.
LED Indicator
The LED functions as a coloured on/off indicator. The colour of the indicator and the display
background can be set independently while its shape can be round or square. In the off state,
the chosen indicator colour is dimmed.
Linear Gauge
The Linear Gauge displays an analogue value by filling a rectangle to represent the actual
value as a proportion of its expected maximum. The rectangle can be filled from bottom to top
(like a thermometer) or from left to right (like a progress complete bar). There is also a
configurable scale, enabling intermediate values to be estimated. The Linear gauge will only
display a value, you can not set a value with this gauge.
Rotational Gauge
The Rotational Gauge displays an analogue value, similar to a speedometer. An indicator
needle rotates according to the value. There is a configurable scale, enabling intermediate
values to be estimated. The Rotational gauge will only displays a value, you can not set a
value with this gauge.
Page 11
OMRON Getting Started with CX-Server Lite
Rotary Knob
The Rotary Knob allows you to set an analogue value, similar to a volume knob. You can rotate
the knob, e.g. by clicking and dragging the mouse, to set the pointer to a new position. There
is a configurable scale, enabling intermediate values to be estimated. The pointer always
reflects the current value e.g. on start-up, and will change position in response to an external
influence.
Toggle
The Toggle allows you to toggle a Boolean bit between its ‘On’ and ‘Off’ state. This is as a
switch that can be clicked to change its state. The current state is shown by the position of the
switch. The switch position also reflects the current value e.g. on start-up, and will change
position in response to an external influence.
Timer
The timer enables you to run a set of instructions repeatedly at regular intervals.
Page 12
OMRON Getting Started with CX-Server Lite
Tutorial
The following sections take you through the steps required to open your selected application,
i.e. Excel or Visual Basic and create a working area. Using the short tutorial you can then
continue and load a number of ActiveX objects, link them together and run a simulation.
As you became more practised in using CX-Server Lite you will find there is usually more then
one way to perform an operation. The following procedures may not always the quickest but
have been written to show how the application works using the basic features.
If the ActiveX objects are not visible in the Visual Basic Toolbox they can be added as follows:
1, 2, 3… 1. Right click in the Toolbox and select the Components… option. This will
open the Components dialog.
2. Find the CX-Server Lite controls in the list, all of which all start with
OMRON CX, and tick each box.
3. Click the OK button. The objects are now displayed in the Toolbox.
Page 13
OMRON Getting Started with CX-Server Lite
5. Using Drag and Drop the object can now be repositioned in the work
area. Note that the object will not visible in run mode.
Page 14
OMRON Getting Started with CX-Server Lite
2. Right click on the graphical component and from the popup menu select the
OMRON CX 7 Segment Control Object option.
Note: In Visual Basic, the menu option is called Properties.
3. In the component properties dialog select the Data Source tab and enter
the following information:
♦ Server: - Select the name of the communications control to be used.
If only one has been added, it is selected automatically. If the list is
empty then you need to add one first.
♦ PLC: - Select the required PLC. If the appropriate PLC is not in the list
click the > button and select Add PLC…. The Add PLC dialog is part
of the CX-Server runtime. For further information on adding PLCs refer
to the CX-Server User Manual or the online help.
♦ Item: - Select the point Item. If the appropriate item is not in the list
click the > button and select Add Item….. The Point Editor dialog is
part of the CX-Server runtime. For further information on adding Points
refer to the CX-Server User Manual or the online help. The Item field
will also accept physical addresses e.g. “DM100” instead of defining
logical addresses.
♦ Update Rate: - Enter the rate, in seconds, at which the data is
updated.
Note: This value should be chosen carefully. If the update rate is set
low it will increase the volume of data being transferred, and may
cause the system to slow down or stop responding.
4. Click OK to complete the connection.
Page 15
OMRON Getting Started with CX-Server Lite
2. Select and resize the buttons as required then drag and drop the buttons
in the desired position.
3. Double- click on the scroll bar buttons. This will reposition the cursor in the
code sheet at the following entry.
Private Sub Scrollbar1_Change()
|
End Sub
Note: In Visual Basic, the default name for scroll bars is HScroll1 or
VScroll1.
Page 16
OMRON Getting Started with CX-Server Lite
4. Add the following syntax. The additional command instructs any new Scroll
Bar value to be written to the PLC.
Private Sub Scrollbar1_Change()
Comms1.Value(“MyPointName”) = Scrollbar1.Value
End Sub
Run the application as shown in Step 1. The communications control will
disappear and the 7 Segment display will show the PLC value. When you click
on the scroll bar buttons the value is sent to the PLC. This new value is then
shown on the 7 segment display. Note that the maximum value is limited to
100. This is the default value of the scroll bar buttons.
This example shows a control setting a PLC value. Third Party controls can also display PLC
values. For this, the syntax would be (depending on actual control):
ControlName.Value = Comms1.Value(“MyPointName”)
This script could also be added to a button or Timer control, as explained in Step 2. Script
functions are described further in Appendix B.
Other Features
The following sections provide a brief overview of some of the more advanced features
available in CX-Server Lite.
Page 17
OMRON Getting Started with CX-Server Lite
Page 18
OMRON Getting Started with CX-Server Lite
Advanced Properties
When working with Visual Basic the advanced properties dialog is normally displayed on the
right of the work form, although it can be docked in any position. In Excel it is opened by right
clicking on an object and selecting the Properties option from the pop up menu. The dialog
allows you to scan through all the available options. Some options require you to enter specific
information, others provide a choice of entries from a drop down menu.
From the drop down menu at the top of the dialog select the objet to be edited. This will display
the full range of options available for that object, which can then be viewed either Alphabetically
or Categorised. A full list of the options and their settings and ranges for the CX-Server Lite
objects can be found in Appendix A – Component Properties.
Page 19
OMRON Getting Started with CX-Server Lite
Project Tree
Like Explorer the Project Tree provides a graphical representation of you application. In Visual
Basic it is displayed to the right of the work form while in Excel it is shown on the left of the code
sheet.
By expanding the tree you can see all your associated files and work sheets. It is possible to
open any number of work sheets by simply double- clicking on them. Having multiple work
sheets open in this way enables you to copy and paste between them saving you valuable time
rewriting sections of code that already exist, and more importantly are known to work.
Page 20
OMRON Getting Started with CX-Server Lite
Appendix A
Component Properties
This appendix gives a list of the available properties. Each component supports a selection of
these properties which can be set in design mode by using the properties dialog, or in the run
time by using a Visual Basic script command – for example: - Object1.Value = 10
Property Title Example Values Description
About None Description of the object.
(Custom) None Opens the properties dialog for the object.
(Name) Object Name This is the system generated name for the object.
Autoload True Switches the Autoload function On or Off. When set to On the ActiveX
False component value will autoload.
True = On, False = Off.
AutoSize 0 to 1 Switches the fonts auto size option on or off.
0 = Off, 1 = On.
BackColour &H00E0E0E0& The code determines the background colour of the object. Click the browse
button to display the colour palette.
BorderStyle 0 to 3 The value determines the visual appearance of the border that surrounds the
object.
0 = None, 1 = Raised, 2 = Sunken, 3 = Single_Line
ButtonStyle 0 to 6 The value determines the button style.
0 = Toggle Switch, 1 = Colour Button, 2 = In/Out Button, 3 – Rotary Switch
4 = Rocker Switch, 5 = Indicator Button, 6 = Blank Button.
CommsServerName Comms1 to n This is the name of associated communications control.
DecimalPlaces 2 Number of decimal places for 7 Segment. Only applies when NumberBase =
10
DisplayFont Arial This is the system name of the font used for the display. Use the browse
button to display the font dialog. Arial is the default.
DisplayFontColour &H00000000& The code determines the colour of the display font. Click the browse button to
display the colour palette.
DisplayFormat 0 – Dec Determines the format used to display the analogue display information.
1 – Hex 0 = Decimal, 1 = Hexadecimal, 2 = Scientific.
2 – Scientific
DisplayMajorTicks False Shows or hides the major tick marks of the scale.
True True = Show, False = Hide.
DisplayMajorUnits False Shows or hides the major units markers of the scale.
True True = Show, False = Hide.
DisplayMinorTicks False Shows or hides the minor tick marks of the scale.
True True = Show, False = Hide.
DisplayMinorUnits False Shows or hides the minor units markers of the scale.
True True = Show, False = Hide.
DisplayType 0 – Analogue Determines the type of display.
1 – Digital 0 – Analogue: as a numeric value, 1 – Digital: as textual value,
2 – Text 2 – Text: as text.
Enabled True Switches the object on or off.
False True = On, False = Off.
Font Arial This is the system name of the font used for the object title. Use the browse
button to display the font dialog. Arial is the default.
FontColour &H00000000& The code determines the colour of the title font. Click the browse button to
display the colour palette.
Height 141 Sets the overall height of the object in pixels.
Page 21
OMRON Getting Started with CX-Server Lite
Page 22
OMRON Getting Started with CX-Server Lite
Page 23
OMRON Getting Started with CX-Server Lite
Appendix B
Script Interface
The Script Interface defines the Visual Basic script interface for the CX-Server communications
control.
Functions
Value Function for getting and setting an area of memory in a PLC.
This function allows logical names to be used. If an array is used,
the first element is returned.
Values Function for getting and setting an area of memory in a PLC.
This function allows logical names to be used. If an array is used
then a SAFEARRAY is returned with all values.
SetDefaultPLC Function for setting the default PLC. This is primarily used when
a project contains multiple PLCs.
OpenPLC Opens the specific PLC for communications.
ClosePLC Closes the specific PLC.
ReadArea Function for reading a block of memory from the PLC.
WriteArea Function for writing a block of memory to the PLC.
GetData Function for starting OnData Events.
StopData Function for stopping OnData Events.
OnData Event for receiving notification of a change in data.
RunMode Function for reading the current mode of the PLC.
TypeName Function for reading the PLC type (e.g. CQM1H).
IsPointValid Checks a point name is valid
PLC Memory A, AR, C, CIO, D, DM, DR, E, EM, G, GR, H, IR,
Functions LR, SR, ST, T, TC, TK, W.
Functions for getting and setting the memory areas in the PLC.
Value
Reads the value of an address from a PLC, or writes a value to an address in a PLC. This
function allows logical names.
Example 1 – Reading a value from the PLC using a logical name.
intVal = Comms1.Value(“BoilerTemp”)
or
intVal = Comms1(“BoilerTemp”)
In these examples, the PLC address associated with ‘BoilerTemp’ will be read from the PLC
and stored in ‘intVal’. “Value” is the default property for a CX-Server communications control
and does not have to be specified.
Page 24
OMRON Getting Started with CX-Server Lite
Values
Reads an array of values from a PLC, or writes an array of values to a PLC. This function
allows logical names. If an array is used then a SAFEARRAY is returned with all values.
Example 1 – Reading an array of values from the PLC using a logical name.
SomeArray = Comms1.Value(“BoilerTemps”)
Example 2 – Writing an array of values to the PLC using a logical name.
Comms1.Values(“BoilerTemps”) = SomeArray
SetDefaultPLC
The ‘SetDefaultPLC’ function can be used to inform the script parser that a particular PLC is
has been set as the default. Once a default PLC has been set, then it is not necessary (with
some functions) to specify a PLC name. For example,
Comms1.SetDefaultPLC(“MyPLC”)
intVal = Comms1.Value(“BoilerTemp1”)
Comms1.Value(“BoilerTemp1”) = 75
intVal = Comms1.Value(“DM50”)
Each ‘Value’ function above will access data in the PLC called ‘MyPLC’.
Note: If there is only 1 PLC in the project then it is not necessary to call the
‘SetDefaultPLC’ function.
The first PLC in a project will automatically be set as the default PLC.
Page 25
OMRON Getting Started with CX-Server Lite
OpenPLC
Opens a PLC for communications. If no PLC is specified then the default PLC is opened.
Example 1:
Comms1.SetDefaultPLC(“MyPLC”)
Comms1.OpenPLC()
Comms1.DM(100) = 10
Comms1.DM(50) = 10
Example 2:
Comms1.OpenPLC(“MyPLC”)
Comms1.DM(100) = 10
ClosePLC
Closes a previously opened PLC. If no PLC is specified then the default PLC is closed.
Example:
Comms1.ClosePLC(“MyPLC”)
ReadArea
Reads a specified block of memory from a PLC.
Examples of synchronous read:
MyVariant = Comms1.ReadArea(“MyPLC/DM0”, 12, vbString, WaitUntilComplete )
MyVariant = Comms1.ReadArea(“BoilerTemp”, 10, vbInteger, WaitUntilComplete )
MyVariant = Comms1.ReadArea(“BoilerTemp”, 20)
In the first example, DM0 to DM11 will be read as characters (part of a string) from ‘MyPLC’ and
will be stored in ‘MyVariant’. The second example demonstrates that it is also possible to use
a logical name for the start address, and that any VB variant types (such as vbInteger) can be
used. The third example shows that the VB Variant type parameter is optional – if none is
specified then vbInteger is assumed. In all these examples, WaitUntilComplete is specified (or
assumed) so the script will wait for the read operation to complete before continuing to execute
the next line.
Example of asynchronous read:
MyVariant = Comms1.ReadArea(“BoilerTemp”, 10, vbInteger, NoWaiting )
In this example, the Point ‘BoilerTemp’ will be read. The script will continue to execute the next
line immediately, and when the data is read, it generates an OnData event.
Page 26
OMRON Getting Started with CX-Server Lite
WriteArea
Writes a block of memory to a specified area in a PLC.
Examples of synchronous write:
MyString = “TestString”
Comms1.WriteArea “MyPLC/DM50”, 10, MyString, WaitUntilComplete
Dim newValue(2) As Long
newValue(1) = 0
newValue(2) = 1
Comms1.WriteArea “BoilerTemp”,2,newValue, WaitUntilComplete
In the first example, the contents of ‘MyString’ will be written into DM50 to DM54. Any
additional data in ‘MyString’ will be ignored (i.e. if ‘MyString’ is 15 characters in length then the
first 10 characters will be written to DM50 to DM54 and the remaining 5 characters will be
ignored – {Note: each PLC address holds 2 characters}). The second example shows that a
logical name can be used. In all these examples, WaitUntilComplete is specified (or assumed)
so the script will wait for the write operation to complete before continuing to execute the next
line.
Example of asynchronous write:
Comms1.WriteArea “Boiler Temp”, 10, newValue, NoWaiting
In this example, the contents of ‘newValue’ will be written to the Point ‘BoilerTemp’. The script
will continue to execute the next line immediately, and the data write operation will continue in
the background.
GetData
Starts asynchronous data reading of the specified point at the requested update rate.
Example
Comms1.GetData “MyPLC”, “MyPoint”, nUpdateRate
In this example, MyPoint in MyPLC would be read at the rate of nUpdateRate (seconds). Data
is then sent to the OnData routine.
StopData
Stops asynchronous data reading of the specified point.
Example
Comms1.StopData “MyPLC”, “MyPoint”
In this example, the reading of MyPoint in MyPLC would be stopped.
Page 27
OMRON Getting Started with CX-Server Lite
OnData
This event is sent back to the container (e.g. Excel) when GetData has been called and new
data is available.
Example
Private Sub Comms1_OnData(ByVal PLC As String, ByVal Point As String,
ByVal Value As Variant, ByVal BadQuality as Boolean)
TextBox1 = Point
Segment1 = Value
End Sub
In this example, the CX-Server 7 Segment component is set to the value of the point and a text
box is set to display the current point.
If BadQuality is set to True then the value may be inaccurate e.g. from a device which has been
disconnected.
The OnData routine can be enhanced to include logical expressions on the incoming Point
name and then update the correct graphical object etc. for example:
Private Sub Comms1_OnData(ByVal PLC As String, ByVal Point As String,
ByVal Value As Variant, ByVal BadQuality as Boolean)
If Point = “MyPoint” then
Segment1 = Value
Else if Point = “MyOtherPoint” then
Cells(1,1) = Value
End if
End Sub
RunMode
Reads the current operating mode of a PLC (Stop/Program, Debug, Monitor, Run), where
0=Stop/Program mode, 1=Debug mode, 2=Monitor mode and 4=Run mode.
Example
intMode = Comms1.RunMode(“MyPLC”)
In this example, the operating mode would be read from ‘MyPLC’ and stored in ‘intMode’. If
‘MyPLC’ was in ‘Monitor’ mode then ‘intMode’ would be set to the value 2.
TypeName
Reads the PLC model name of a PLC (e.g. C200H, CQM1H, CVM1 etc).
Example
strPLCType = Comms1.TypeName(“MyPLC”)
In this example, the PLC model type will be read from ‘MyPLC’ and will be stored in
‘strPLCType’.
Page 28
OMRON Getting Started with CX-Server Lite
IsPointValid
Checks if a Point name has been defined in the CX-Server project file.
Examples
bValid = Comms1.IsPointValid(“MyPoint”)
bValid = Comms1.IsPointValid “MyPoint”, “MyPLC”
In both examples, the boolean variable bValid is set True if the point “MyPoint” has been
defined.
Page 29
OMRON Getting Started with CX-Server Lite
Glossary of Terms
ActiveX A component technology developed by Microsoft allowing components
to communicate with applications.
Application A software program that accomplishes a specific task. Examples of
applications are SYSMAC-SCS, SYSMAC-CDM, Microsoft Word and
Microsoft Excel.
Bitmap The representation of an image stored in a computer’s memory. Each
picture element (pixel) is represented by bits stored in the memory.
Communications Driver The relevant communications management system for OMRON PLCs
in conjunction with Microsoft Windows, providing facilities for other
software to maintain PLC device and address information and to
communicate with OMRON PLCs and their supported network types.
Event User action, e.g. mouse click or System action, e.g. timer tick which
may cause a script to execute.
GUI Graphical User Interface. Part of a program that interacts with the user
and takes full advantage of the graphics displays of computers. A GUI
employs pull-down menus and dialog boxes for ease of use.
I/O type Input / Output type. An attribute of a point that defines the origin and
destination of the data for that point. The data for a point can
originate (be input from) and is destined (is output to) to the internal
computer memory, a PLC or a target application.
Icon Pictorial representations of computer resources and functions.
Microsoft Excel A spread sheet application.
Microsoft Windows A windowing environment for MS-DOS computers, that is noted for its
GUI, and for features such as multiple typefaces, desk accessories
(such as a clock, calculator, calendar and notepad), and the capability
of moving text and graphics from one application to another via a
clipboard.
CX-Server Lite will run only under Microsoft Windows.
Microsoft Word A word processing application.
OLE Object Linking and Embedding. Used to transfer and share information
between Microsoft Windows based applications and accessories.
PC Abbreviation for Personal Computer.
Pixel A single displayable point on the screen from which a displayed image
is constructed. The screen resolution of the computer’s Visual Display
Unit (VDU) is defined by the number of pixels across and the number
of pixels down (e.g. 1024x768).
PLC Abbreviation for Programmable Logic Controller.
Page 30
OMRON Getting Started with CX-Server Lite
Page 31
OMRON Getting Started with CX-Server Lite
Index
A I
About CX-Server Lite · 10 Inserting PLC Data in Cells · 16
About this Manual · 6 Installing/Uninstalling CX-Server Lite · 8
ActiveX Objects Interfaces to Hardware - Peripherals · 7
7 Segment · 11 Interfaces to Hardware – PLC Communications · 7
Display · 11
LED Indicator · 11
Linear Gauge · 11
Rotary Knob · 12
O
Rotational Gauge · 11 Objects Overview · 11
Time · 12 Operation Systems and Environments · 7
Toggle · 12 Other Features · 17
Adding a 7 Segment Display · 15 Advanced Properties · 19
Adding the Communication Control · 13 Controlling ActiveX Objects · 20
Adding Third Party ActiveX Controls · 16 Event Driven Routines · 17
Advanced Properties · 19 The Project Tree · 20
Available Properties · 21
P
C Project Tree · 20
Component Properties · 21
Connecting CX-Server Lite to a PLC · 14
Controlling ActiveX Objects · 20 R
Running an Application · 15
E
Event Driven Routines · 17 S
Script Interface · 24
Functions · 24
G PLC Memory Functions · 28
Script Interface Functions
Getting Started with CX-Server Lite · 6
Glossary of Terms · 30 GetData · 27
OnData · 27
ReadArea · 26
H RunMode · 28
SetDefaultPLC · 25
Hardware Requirements · 7 StopData · 27
Help Topics · 9 TypeName · 28
Value · 24
Values · 25
WriteArea · 26
System Requirements · 7
Page 32
OMRON Getting Started with CX-Server Lite
Hardware Requirements · 7
Interfaces to Hardware · 7
Operating Systems and Environments · 7
V
Peripherals · 7 Viewing PLC Data using Omron Graphical Control
PLC Communications · 7 · 13
T W
Technical Support · 10 Welcome to CX-Server Lite · 6
The Help System, and How to access it · 8
Tutorial · 13
Step 1
Viewing PLC Data using Omron Graphical Control
· 13
Step 2
Inserting PLC Data in Cells · 16
Step 3
Adding Third Party ActiveX Controls · 16
Page 33