omron — Frequently Asked Questions

Troubleshooting A. Right click on the screen and select the option Screen Attributes from the popup menu. Enable the checkbox Enable Background and choose the picture format in the combo-box besides this label. Copy the picture file to the Screen sub-folder of the project and rename it with the same name of the screen ( ScreenName .scr file). Using the Shared image option, it's possible to copy a bitmap file to the Screen sub- folder and share this picture with more than one screen. In this case, it's necessary to type the bitmap name in the Shared image field. Tasks Q. How do I convert the History Trend to an ASCII file? A.

To convert a History Trend file to an ASCII format, copy the file " StudioPath \bin\hst2txt.exe" to the path "\ project_name \hst\" . Alternatively, you can use the HST2TXT function in a Math worksheet to convert binary files into text format automatically without having to use a DOS window. Q. How do I exchange data with FOX Pro by an ODBC protocol? A. When exchanging data with FOX Pro database, it's necessary to set the parameter UseQuote=0 from the [ODBC] section in the project_name .app file. Q. How do I set a DATE field for an ODBC interface with an Oracle package? A. Configure the "Column" cells in the ODBC worksheet with the syntax ColumnName .ts (for example: MyDate.ts ). Q.

How do I execute a Math worksheet during the startup and another Math worksheet during the project shutdown? A. • Startup : Execute a Math worksheet during the startup by creating a Math worksheet and filling in its Execution field with the expression =0 (for example, StartTag=0 ). In the last line of the Math worksheet, set the value 1 to the tag. The tag type should be Boolean . • Shutdown : Instead of executing the ShutDown() function directly, execute one Math worksheet and configure the ShutDown() function in the last line of this Math worksheet. Communication Q. How do I set a "communication error" alarm? A.

Configure a tag in the Write Status or Read Status field of the driver worksheets and configure an alarm whenever this tag is not 0 (zero). Q. How do I communicate with a Siemens S7-200 PLC without using Prodave software? A. Siemens S7-200 PLC has a Freeport that can implement any protocol via PLC programming. There is PLC free software distributed by Siemens that implements Modbus protocol in the PLC Freeport (for further details contact Siemens support). Using this software in the PLC with IWS's Modbus driver (MODBU), you can exchange information between them. Q. How do I start and stop communication drivers during runtime? A.

There are three functions available to handle the execution of the communication drivers during runtime: • Start all drivers configured in the project: StartTask("Driver") For example: StartTask("Driver") • Start a specific driver configured in the project: WinExec(" StudioPath \bin\Studio Manager.exe" + " + " StudioPath \bin\Driver.dll" + " + " DriverName ") For example: WinExec( Asc2Str(34) + "C:\Program Files\InduSoft Web Studio v7.0\Bin\Studio Manager.exe" + Asc2Str(34) + " " + Asc2Str(34) + "C:\Program Files\InduSoft Web Studio v7.0\Bin\Driver.dll" + Asc2Str(34) + " " + Asc2Str(34) + "MODBU" + Asc2Str(34) ) Note:

The Asc2Str(34) function is used to concatenate quotation marks for paths where there are space chars. • Stop a specific driver configured in the project: EndTask("Driver DriverName ") InduSoft Web Studio Page 431