Classification
NAPOPC_ST FAQ
No.
1-012-E
Author
Eva
Version
1.0.0
Date
2014/8/14
Page
1/3
ICP DAS Co., Ltd. Technical Document
How to import a CSV file to create a NAPOPC_ST project
based on the Modbus TCP?
NAPOPC_ST DA Server provides a new function to import a CSV file to quickly create a
NAPOPC_ST project based on the Modbus TCP (applies to version v3.54 or after). This FAQ
describes this function and its configuration.
The Steps:
1. Edit a CSV File
User can edit a CSV file using a text editor (or software), such as Notepad or Wordpad, or a
spreadsheet software, such as Microsoft Excel. Please follow the file format listed below to
edit the contents, including separate the column data by a comma "," and save the file with
the extension file name ".CSV".
Format Example For The CSV File:
The file name must be *.csv, the first row is for the column title name, the column data are
separated by a comma, and every row is to set the Device information. For example:
Note 1: IP: IP Address, Port, and Address.
Note 2: GroupName: if blank, means the Tag
belongs to the Device.
Platform
OS version
NAPOPC version
PC
Windows 7 32 bits Professional
NAPOPC_ST v3.54
Classification
NAPOPC_ST FAQ
No.
1-012-E
Author
Eva
Version
1.0.0
Date
2014/8/14
Page
2/3
ICP DAS Co., Ltd. Technical Document
Descriptions For The Column:
Title
Descriptions
IP
Device IP Address, Port, Address; e.g., 127.0.0.1:502:1
GroupName
Group name (If blank, means the Tag directly belongs to Device.)
TagName
Tag name
Address
Modbus address
Function
0X
Coil Status, Modbus instructions 01, 05 and 15
1X
Input Status, Modbus instruction 02
3X
Input Register, Modbus instruction 04
4X
Holding Register, Modbus instructions 03, 06 and 16
DataType
bool
Tag data type: Boolean
short
Tag data type: 2 bytes Integer
long
Tag data type: 4 bytes Integer
float
Tag data type: 4 bytes Floating Point
word
Tag data type: 2 bytes unsigned Integer
dword
Tag data type: 4 bytes unsigned Integer
2. Import The CSV File
In the NAPOPC_ST Server, click the menu bar File > Import CSV File > Modbus TCP