怎样使用File Viewer Utility这个工具转化/读写以下格式的文件 o FactoryTalk View ME, FactoryTalk View SE Datalog files o FactoryTalk View ME Alarm Log files o RecipePlus files and dBASE files
Note: FTView SE 8.10 版本以后的安装中会自动包含这个工具,这个工具在Start-->Rockwell Software-->FactoryTalk View-->Tools-->FactoryTalk File Viewer.
Note: 如果没有任何RA的软件安装在机器中,那么这个机器就不会有Rockwell的文件夹。那么,RSTXViewCmn.ocx这个文件就不会被注册,PLOT功能就不能正常使用,除非你手动创建一个Rockwell文件夹并把RSTXViewCmn.ocx这个文件放到文件夹中,然后手动注册这个文件。
FactoryTalk File Viewer Functionality The FactoryTalk View Enterprise File Viewer utility这个工具能够读写以下格式的文件:
• FactoryTalk View SE Datalog file (.DAT, .OBF formats) • FactoryTalk View SE HMI Tag Alarm file (.DAT format) • FactoryTalk View ME Datalog file (.LOG format) • FactoryTalk View ME Alarm Log file (HISTORY.ALM) • dBASE file (.DBF) • FactoryTalk View ME RecipePlus file (.RPP)
The FactoryTalk View SE Datalog files, FactoryTalk View ME Datalog files, RecipePlus files and FactoryTalk View ME Alarm Log file,这些文件都可以被保存成.CSV or .DBF 格式。
Note: 为了能够从PanelView Plus CE or PanelView Plus 终端中正确读写 FactoryTalk View ME文件,需要将这些文件拷贝到闪存或者SD卡中,并将文件复制到一台装有FactoryTalk View File Viewer Utility工具的台式机上,因为这些文件不是标准格式的文件。 ________________________________________ FactoryTalk View SE Datalog 格式文件 1. 挑选FactoryTalk View SE Datalog file in Files of Type 2. 选择 .DAT or .OBF 文件,并用工具打开. ________________________________________ FactoryTalk View SE HMI Tag Alarm Log File 1. 挑选SE HMI Tag Alarm Log Files,其默认路径在C:UsersPublicDocumentsRSView EnterpriseSEAlarmLog. 2. 选择 .DAT文件,并用工具打开。 ________________________________________ FactoryTalk View ME Datalog File (FactoryTalk View ME Station Software) 1. 挑选FactoryTalk View ME Datalog File in Files of Type. 2. 选择 .LOG文件,并用工具打开. 3. 在设置时区的对话框中,选择你要选择的时区。 4. 把文件保存成.CSV List or .CSV Table格式: a. .CSV Files (List)
b. .CSV Files (Table)
FactoryTalk View ME data log files的系统默认路径在: • Windows Server 2012, Windows 8.1, Windows 7, and Windows Server 2008: C:UsersPublicPublic DocumentsRSView EnterpriseMELogsRuntime Application nameDLGLOGData_Log_Model_Name • Windows XP: C:Documents and SettingsAll UsersShared DocumentsRSView EnterpriseMELogsRuntime Application NameDLGLOGData_Log_Model_Name • PanelView Plus and PanelView Plus CE: Storage CardRockwell SoftwareRSViewMELogsRuntime Application NameDLGLOGData_Log_Model_Name • PanelView Plus 6 and PanelView Plus 7 terminals: WindowsLogsRuntime Application NameDLGLOGData_Log_Model_Name ________________________________________ FactoryTalk View ME Alarm Log File 在运行过程中,4个.ALM文件被产生, • embedded.alm • history.alm • reset.alm • status.alm 在这些文件中,只有 history.alm 能够被工具打开,这个 history.alm 文件是主要存储数据的文件,包含了报警信息,其他一些额外信息保存在其他的.ALM 文件中. 如果需要其他文件里的其他信息,例如需要嵌入变量的信息,File Viewer Utility工具会在打开history.alm 文件之后自动打开所需的文件 ,前提是其他文件要和history.alm 文件保持在同一文件夹之下。 1. 运行File Viewer utility工具。 2. File --> Open ,在Files的下拉菜单中选择 ME Alarm Log File(*.ALM) 3. 选择history.alm 在工具中打开。报警文件的默认路径在: o FactoryTalk View ME Station on Windows 7: C:UsersPublicDocumentsRSViewEnterpriseMELogs<MER_File_Name>M_Alarms o FactoryTalk View ME Station on Windows XP: C:Documents and SettingsAll UsersShared DocumentsRSView EnterpriseMELogs<MER_File_Name>M_Alarms o On PanelView Plus terminal versions 3.20 - 5.10: storage cardrockwell softwareRSViewMELogs<MER_File_Name>M_Alarms o On PanelView Plus terminal version 6 or higher: WindowsLogs<MER_File_Name>M_Alarms 4. 找到FactoryTalk View Machine Edition Alarm Setup File (.MAL), 并选择FactoryTalk View ME Runtime 所创建的文件版本。
Windows XP / 2003: C:Documents and SettingsAll UsersDocumentsRSView EnterpriseMEHMI Projects<App_Name>M_Alarms
Windows 7 / 8: C:UsersPublicDocumentsRSView EnterpriseMEHMI projects<App_Name>M_Alarms 5. 找到报警文件,并点击正确的打开格式。
6. 点击Ellipses (...) ,找到正确的项目的 .MAL 文件。 7. 点击OK。 日志文件看起来应该如下:
________________________________________ dBASE File 1. 挑选dBASE File in Files of Type. 2. 选择.DBF 文件并用工具打开。 ________________________________________ FactoryTalk View ME RecipePlus file (.RPP) 1. 挑选RecipePlus file(.RPP) in Files of Type 2. 选择.RPP 文件并用工具打开。 3. . ________________________________________ 命令行参数
FactoryTalk View SE Datalog file: /sd FactoryTalk View ME Datalog file: /md FactoryTalk View ME Alarm log file (Default for CE terminal log file): /ma FactoryTalk View ME Alarm log file generated by CE terminal: /ma / ce FactoryTalk View ME Alarm log file generated by Win32 (3.xx): /ma /3xx FactoryTalk View ME Alarm log file generated by Win32 (4.xx): /ma /4xx dBASE file: /dbf Adjust time zone: /tz<Number in hours -12 to 13> Show help dialog: /? .CSV Table Export: /Table 语法转换实例: • Syntax to convert to a .CSV List file: RSView Enterprise File Viewer.exe /md process.log process.csv /tz8 • Syntax to convert to a .CSV Table file: RSView Enterprise File Viewer.exe /md process.log process.csv /tz8 /table • Syntax to open a file when the Viewer is launched: RSView Enterprise File Viewer.exe /sd datalog.dat • AppStart 启动命令可以启动FactoryTalk Enterprise File Viewer utility工具,然而FactoryTalk Enterprise File Viewer utility工具需要用一个命令行使它在后台被调用。
在Windows 7或Windows Server 2008 Server 64 Bit operating system可以使用以下的实例去转化一个.CSV 文件。
AppStart “C:Program Files (x86)Rockwell SoftwareRSView Enterprise File Viewer.exe” /sd “C:UsersPublicDocumentsRSView EnterpriseSEHMI ProjectsManning1303DLGLOGRun Report2012 04 04 0000 (Float).dat” "C:folder nametest.csv"