Opto 22

From Chemical Engineering @ UP wiki
Revision as of 09:42, 25 March 2009 by WikiSysop (Talk | contribs) (Created page with ''''OpTo''' is how we send/receive information from the rigs. In the PM&C laboratory, all analog to digital conversion is handled by the OPTO22 u...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OpTo is how we send/receive information from the rigs.

In the PM&C laboratory, all analog to digital conversion is handled by the OPTO22 units in the central box in the laboratory. The control units for each group of AD modules is known as a Brain, and is connected to the network so that all the computers on the local network (and maybe even the Internet in the future) are able to access the values of the readings and write outputs to the rigs.

A Simulink example shows how to access a rig through Matlab. Basically you need an opto22.m file in the appropriate Matlab directory refering to the point number on the opto. You also need the rtclock.dll and rtc.mdl files to keep everything synchronised. Before your PC will communicate through the LAN you need to run the opto22 service. Start by coping the .dll from here (right click and save as...) to c:\windows\system32. Then run cmd and start the service with

regsvr32 MatLabOpto

You will get a success message.