IS200DSPXH2BBD,IS200DSPXH1BDD工控模块前置控制器
转到Field Communication>Data Logging>Log File Management(现场通信>数据记录>日志文件管理)选项卡。如果用户在Field Communication(现场通信)>Data Loggings(数据记录)>Scheme Setup(方案设置)选项卡中创建了数据日志规则,则会在以下日志文件列表屏幕中显示日志文件列表。如果未通过编辑按钮更改默认日志文件管理设置,则将应用这些设置。应用编辑按钮后,将显示日志文件配置屏幕。日志文件配置项值设置描述名称将显示相应数据日志规则的名称。默认日志文件名将命名为“name_yyyyMMddHHmmSS.csv”。默认情况下选择“文件内容格式原始数据”。选择日志文件的数据格式。它可以是原始数据或Modbus类型。默认设置“按大小拆分文件”和200 KB指定拆分文件方法。它可以按大小或按时间间隔。指定将数据日志拆分为一系列文件的特定文件大小或时间间隔。值范围:1~99999。自动上载1。可选设置选中“启用”框以激活记录文件的自动上载功能。EW200工业蜂窝网关204 2。默认情况下未选中启用后,从下拉列表中指定一个外部FTP服务器,用于将日志文件自动上载到服务器。请参阅对象定义>外部服务器>外部服务器选项卡,或使用添加对象按钮创建FTP服务器。日志文件压缩1。可选设置2。默认情况下未选中。如果启用了“自动上载”,则用户可以进一步指定是否在上载日志文件之前对其进行压缩。选中启用按钮以激活日志文件压缩功能。上载后删除文件1。可选设置2。默认情况下未选中。如果激活了自动上载,则用户可以进一步指定是否从网关存储中删除传输的日志。选中启用按钮以激活该功能。当存储已满时,默认情况下选择“删除最旧”指定存储已满后要执行的操作。它可以是删除最旧的日志文件或停止录制。当选择Remove the Oldest(删除最旧文件)时,一旦存储空间已满,网关将删除最旧的文件,并继续执行数据日志记录活动;选择“停止记录”后,存储满后,网关将停止数据记录活动。保存NA单击保存按钮保存设置。撤消NA单击“撤消”按钮取消更改。应用“下载日志”按钮后,web浏览器会将名为“Log.tar”的文件下载到管理主机。4.3数据交换4.3.1 MQTT MQTT(消息队列遥测传输)是一种ISO标准(ISO/IEC PRF 20922)基于发布-订阅的消息传递协议。它工作在TCP/IP协议之上。MQTT是一种简单的消息传递协议,专为带宽较低的受限设备设计。因此,它是物联网应用的完美解决方案。MQTT系统由与服务器(通常称为“代理”)通信的客户机组成。客户端可以是信息的发布者或订户。每个客户端都可以连接到代理。
Go to Field Communication > Data Logging > Log File Management tab. If the user has created data log rules in the Field Communication > Data Logging > Scheme Setup tab, there will be a log file list shown in the following Log File list screen. The default Log File management settings will be applied if they have t been changed via the Edit button. When the Edit button is applied, Log File Configuration screen will appear. Log File Configuration Item Value setting Description Name The name of corresponding data log rule will be displayed. The default log file name will be named ‘Name_yyyyMMddHHmmSS.csv‘. File Content Format Raw Data is selected by default Select the data format for the log files. It can be Raw Data, or Modbus Type. Split File by Size and 200 KB are set by default Specify the split file methodology. It can be by Size, or by Time Interval. Specify a certain file size or time interval for splitting the data logs into a series of files. Value Range: 1 ~ 99999. Auto Upload 1. Optional setting Check the Enable box to activate the auto upload function for logged files. EW200 Industrial Cellular Gateway 204 2. Unchecked by default Once enabled, specify an external FTP server from the dropdown list for auto uploading the log files to the server. Refer to Object Definition > External Server > External Server tab, or create the FTP server with the Add Object button. Log File Compression 1. Optional setting 2. Unchecked by default If Auto Upload is activated, user can further specify whether to compress the log file prior to its being uploaded. Check the Enable button to activate the Log File Compression function. Delete File After Upload 1. Optional setting 2. Unchecked by default If Auto Upload is activated, user can further specify whether to delete the transferred log from the gateway storage or t. Check the Enable button to activate the function. When Storage Full Remove the Oldest is selected by default Specify the operation to take when the storage is full. It can be Remove the Oldest log file, or Stop Recording. When Remove the Oldest is selected, the gateway will delete the oldest file once the storage is full, and continue with the data logging activity; When Stop Recording is selected, the gateway will stop the data logging activity once the storage is full. Save NA Click the Save button to save the settings. Undo NA Click the Undo button to cancel the changes. When the Download Log button is applied, the web browser will download a file named as ‘log.tar’ to the managing host computer. 4.3 Data Interchange 4.3.1 MQTT MQTT (Message Queuing Telemetry Transport) is an ISO standard (ISO/IEC PRF 20922) publish-subscribe based messaging protocol. It works on top of the TCP/IP protocol. MQTT is a simple messaging protocol, designed for constrained devices with low-bandwidth. So, it is the perfect solution for IoT applications. An MQTT system consists of clients communicating with a server, often called a "broker". A client may be either a publisher of information or a subscriber. Each client can connect to the broker.