{"id":332,"date":"2020-05-01T02:13:16","date_gmt":"2020-05-01T02:13:16","guid":{"rendered":"https:\/\/dxhelpdev.wpengine.com\/?post_type=epkb_post_type_1&#038;p=332"},"modified":"2024-07-24T22:59:04","modified_gmt":"2024-07-24T22:59:04","slug":"dataxchange-service","status":"publish","type":"epkb_post_type_1","link":"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=dataxchange-service","title":{"rendered":"DataXchange Service"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>The DataXchange Service, referred to as the DX Service, is the engine of the collection process. The Service communicates with the equipment and evaluates expressions to determine what data should be entered into the data collection system. The DX Service is a separate installation and should be installed on all computers in the plant that will actually be communicating with the equipment. At least one DX Service is required, but additional services can be installed to distribute the load if there is a large quantity of equipment or multiple physical locations.<\/p>\n\n\n\n<p>When a new DX Service is installed and connected it will be shown in the&nbsp;<strong><a href=\"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=manage-dataxchange\">Manage \u2192 DX Service<\/a><\/strong> section. All Services that have been defined will show in the drop down menu when the&nbsp;<strong>DataXchange \u2192 Connect<\/strong>&nbsp;button is clicked. Each Service can be configured through the client application by connecting to the Service.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dxservice\">Installing the DX Service<\/h2>\n\n\n\n<p>See <a href=\"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=dataxchange-service-install\">DataXchange Service Install<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Connecting to the DX Service<\/h2>\n\n\n\n<p>The application will attempt to connect to the computer running the service using HTTP. Assuming the defaults were used when installing the DataXchange Service, the communication will take place over port 80. It is also possible to designate a different port during the DX Service installation. If the port needs to be changed after installing, the <a href=\"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=change-the-dx-service-port\">how-to<\/a> guide contains the proper steps on changing the HTTP communication port of the service.<\/p>\n\n\n\n<p>Once connected the ribbon bar will fill with additional buttons. Click&nbsp;<a href=\"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=dataxchange-interface\">here<\/a>&nbsp;for detailed information on these buttons.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configuringservice\">Configuring the DX Service<\/h2>\n\n\n\n<p>When connected to a DX Service, clicking on the service flag will show the DX Service settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"404\" src=\"https:\/\/dxhelp.scytec.com\/wp-content\/uploads\/2021\/11\/dx_tab_service_settings.png\" alt=\"\" class=\"wp-image-1608\" srcset=\"https:\/\/dxhelp.scytec.com\/wp-content\/uploads\/2021\/11\/dx_tab_service_settings.png 671w, https:\/\/dxhelp.scytec.com\/wp-content\/uploads\/2021\/11\/dx_tab_service_settings-300x181.png 300w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/figure>\n\n\n\n<p>The DataXchange service must be configured to use the appropriate account information.&nbsp;This can be done either during the Service installation process or from this screen.<\/p>\n\n\n\n<p>The&nbsp;<strong>Account Number<\/strong>,&nbsp;<strong>Account Password<\/strong>&nbsp;and <strong>DX Service Identifier<\/strong> need to be entered. If the information has never been entered then the information from the <strong>Account Settings<\/strong> on the <strong>User<\/strong> tab and <strong>DX Service <\/strong>settings on the <strong>Manage<\/strong> tab will be filled in automatically.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Proxy Settings<\/h3>\n\n\n\n<p>If a proxy server is used for Internet access the proxy settings can be used to match the required settings for the organization. The majority of the time these settings will not need to be modified.&nbsp;These settings will be copied over from the <strong>User<\/strong> tab automatically if they have been configured there.<\/p>\n\n\n\n<p>The <strong>Bypass List<\/strong> should be used to specify addresses that will not use the proxy, such as names or IP addresses of machines that utilize HTTP. For example, machines that communicate via MTConnect or OPC UA. The <strong>Bypass On Local <\/strong>checkbox may address this issue if the CNC machines are on the same subnet as the DX Service. If not, then the bypass list will need to be used. An asterisk (*) can be used as a wild card, such as in <code>192.168.*.*<\/code> or <code>10.*<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Advanced Settings<\/h3>\n\n\n\n<p>The&nbsp;<strong>Advanced Settings<\/strong>&nbsp;outlined below should not be modified unless instructed by authorized support personnel. The application has a built in <strong>Application Username<\/strong> called <strong>DXService<\/strong> and <strong>Application Password<\/strong> for the DX Service. An administrator of the system can reset the DXService password if needed.<\/p>\n\n\n\n<p>The<strong>&nbsp;Connection Interval<\/strong>&nbsp;determines how often the service will attempt to reconnect to the Cloud services if the connection has been lost. The <strong>Maximum Retries<\/strong> determines how many times the service will attempt to insert &#8216;bad data&#8217;. Bad data may be caused by a temporary error on either the client side or the Cloud side. If the <strong>Connection Interval<\/strong> is set at 2 minutes, and the <strong>Maximum Retires<\/strong> is set at 3600, then the service will attempt to retry the failed records for 120 hours, or 5 days. At that point the bad data will be removed.<\/p>\n\n\n\n<p>The&nbsp;<strong>Batch Count<\/strong>&nbsp;determines how many records will be processed at a time when the service is able to reconnect and process records that have been built up.<\/p>\n\n\n\n<p>The&nbsp;<strong>Service URL<\/strong>&nbsp;is the web address of the Cloud services.<\/p>\n\n\n\n<p>The&nbsp;<strong>HTTP Services Port&nbsp;<\/strong>gives you the ability to change the port at which the service operates on. See the&nbsp;<a href=\"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=change-the-dx-service-port\">how-to<\/a>&nbsp;for more clarification on how to change the operating port.<\/p>\n\n\n\n<p>The <strong>DCI Port<\/strong> is the port number the DX Service will use to listen for DCI requests. This does not need to be changed unless another program on the DX Server is using this port.<\/p>\n\n\n\n<p>The <strong>Auto Refresh<\/strong> setting determines whether the DX Service pulls up-to-date information for every machine when clicking <strong>Connect<\/strong> in the DataXchange software. If connecting to the DX Service takes a long time, disabling this setting may improve performance.<\/p>\n\n\n\n<p>The <strong>Change Endian<\/strong> setting is only used by the DWM source. If a DWM source is being used, this setting must match the settings used on the DWM machines.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Restarting the DataXchange Service<\/h2>\n\n\n\n<p>If data collection is not working as expected, the DataXchange Service may need to be restarted. Go to the DataXchange tab and click the Restart button. Select the service to be restarted and confirm the action. The DataXchange service should restart within a few minutes. More detailed instructions can be found <a href=\"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=restarting-the-dataxchange-service\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Backing Up the DX Service Configuration<\/h2>\n\n\n\n<p>The configuration for the DX service is stored in the cloud database. The configuration can be backed up to a snapshot and then exported later if needed. Details on the snapshot and export process can be found on the&nbsp;<a href=\"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=dx-configuration-snapshot-and-restore\">Snapshot and Export<\/a> page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Updating the DX Service<\/h2>\n\n\n\n<p>The DX Service must be manually installed, but after the initial installation the service will update itself automatically. The details on the update process can be found on the&nbsp;<a href=\"https:\/\/dxhelp.scytec.com\/?epkb_post_type_1=dataxchange-update-process#serviceupdate\">Update<\/a>&nbsp;page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The DataXchange Service, referred to as the DX Service, is the engine of the collection process. The Service communicates with the equipment and evaluates expressions to determine what data should be entered into the data collection system. The DX Service is a separate installation and should be installed on all computers in the plant [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"epkb_post_type_1_category":[34,48],"epkb_post_type_1_tag":[],"class_list":["post-332","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-dataxchange-tab","epkb_post_type_1_category-it"],"_links":{"self":[{"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=\/wp\/v2\/epkb_post_type_1\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=332"}],"version-history":[{"count":0,"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=\/wp\/v2\/epkb_post_type_1\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=332"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fepkb_post_type_1_category&post=332"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/dxhelp.scytec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fepkb_post_type_1_tag&post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}