Download OPTOSERVER USER'S GUIDE

Transcript
Chapter 2: What Is OptoServer? ...............................................................2-1
Introduction .......................................................................................................................... 2-1
In This Chapter .............................................................................................................. 2-1
About OptoServer ................................................................................................................. 2-1
Why Use OptoServer? ................................................................................................... 2-2
The OptoServer Package ............................................................................................... 2-2
Client/Server Basics ............................................................................................................. 2-3
OPC and DDE Clients..................................................................................................... 2-4
Opto 22 Clients.............................................................................................................. 2-4
Using OptoServer Efficiently ................................................................................................ 2-4
Optimizing OptoServer Scanning .................................................................................. 2-5
Scanning and OptoDisplay ..................................................................................... 2-5
Adjusting Scan Times............................................................................................. 2-5
Working in OptoServer Administrator.................................................................................. 2-7
Configuring Controllers ................................................................................................. 2-7
Setting Refresh Times................................................................................................... 2-8
Changing the Poke Order............................................................................................. 2-10
Working with OptoServer (Mds.exe)..................................................................................2-10
Viewing the Number of Clients................................................................................... 2-11
Logging Messages ...................................................................................................... 2-11
Logging to the OptoServer Window..................................................................... 2-11
Logging to a File ................................................................................................... 2-12
Exiting OptoServer....................................................................................................... 2-12
Working with Communication Data Server ....................................................................... 2-13
Using Troubleshooting Features in Communication Data Server............................... 2-13
Chapter 3: OptoServer and DDE-Aware Clients......................................3-1
Introduction .......................................................................................................................... 3-1
In This Chapter .............................................................................................................. 3-1
General Concepts ................................................................................................................. 3-1
DDE Messages .............................................................................................................. 3-1
Application ............................................................................................................. 3-2
Topic .......................................................................................................................3-2
Item.........................................................................................................................3-2
NetDDE Messages ........................................................................................................ 3-7
DDE and Case Sensitivity ..................................................................................................... 3-7
Visual Basic and OptoServer ................................................................................................ 3-8
Linking Visual Basic and OptoServer ............................................................................ 3-8
Viewing the Main Components of the Visual Basic Sample Program.......................... 3-9
iv
OptoServer User’s Guide