
adccommunitymod (AutomationDirect) asked a question.
Strings
Created Date: June 16,2008
Created By: dbmartin86
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Is there a way to send a string from a DL06 to a PC with TCP/UDP using the ECOM module? I am trying to use a DL06 to interface with a SQL database. I want to be able to send an SQL instruction (the string) to the database on the SQL server to update or modify it.
Created Date: June 17,2008
Created by: chris.zeman
There are at least two ways you can do that.
Automation Direct sells a software package called DataWorx. I believe you can configure it to log data to a SQL Database. I know one of the programs they sell does it. I submitted an order at work for it just recently. lol http://web6.automationdirect.com/adc/Shopping/Catalog/Software_Products/PLC_Data_Logging_-z-_Web-based_Monitoring_Software/DataWorx_Ethernet_Data_Logging_Software/DataWorx_PLC
You could always write your own software to log the data as well. Refer to the report-by-exception information on the following page: http://hosteng.com/HW-Products/ECOM/ECOM.htm
Good luck!
Chris
Created Date: June 17,2008
Created by: testone
What about just using the PRINT statement and using port 2?
Created Date: June 19,2008
Created by: dbmartin86
This is great stuff, thanks. The PLC is sending strings to my PC and I have a VB program that catches the string off the network. Thanks for your post, Chris.
Created Date: June 16,2008
Created by: dbmartin86
Is there a way to send a string from a DL06 to a PC with TCP/UDP using the ECOM module? I am trying to use a DL06 to interface with a SQL database. I want to be able to send an SQL instruction (the string) to the database on the SQL server to update or modify it.