Delta Electronics OPC — 3.1.3 Setting a Port

Chapter 3 Using Delta OPC After the users click an historic item on the File menu, a file which was edited before will be opened, as shown in figure 3-2. Figure 3-2 Historic item list If the users want to save a config file with a new name or in a new path, they have to click Save As… on the File menu, and type a file name, select a path, and click Save in the Save As window. If the users want to export/import a config file, they can click Export (WinCE, Embedded WinNT)… / CSV Export / CSV Import / XML Export… / XML Export Schema… / XML Import… / XML Validate... on the File menu, or CSV Export / CSV Import on the toolbar, as shown in figure 3-2 and figure 3-3.

The functions needed for importing/exporting config files are described below. Figure 3-3 CSV Import / CSV Export Table 3-1 Functions needed for importing/exporting config files 3.1.3 Setting a Port If a port is set, the communication format used to connect a PLC can be set. If users want to create a port, they can click Address Space in the project management area, right-click it, point to New 3-3 Item Description Export (WinCE, Embedded WinNT)… Users can export data to a .txt file which is used by an embedded system functioning as an OPC server. CSV Export Users can select the items which they want to export to a .csv file, and select the items which they want to import from a .csv file.

When they export data, they can select an option button in the Delimiters section, and select the LF cell line breaks checkbox in the Save As window. When they import data, they can select checkboxes in the Import settings section, and select the Insert all invalid records into file checkbox in the Open window. CSV Import XML Export… Users can export a config file to an .xml file. XML Export Schema… A schema file in which there is no data set is exported to an .xml file so that users can edit the .xml file by means of another tool. XML Import… Users can import a config file saved as an .xml file. XML Validate… XML Validate…

is used to check whether the file selected is a config file conforming to an XML format. Only the file conforms to an XML format can be imported to Delta OPC.