
adccommunitymod (AutomationDirect) asked a question.
Created Date: August 19,2005
Created By: robertkeenan
**** 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.****
Iam trying to learn how to use Access for gathering data from a D06 PLC through a H0-ECOM port. After downloading KEPDirect and learning how to set it up to work along with the PLC I am now confused as to what code should be entered in Access. The only part in the manuals I can find is this 1. Start the OPC client application and connect to the server. 2. Create a channel (called channel1) and device (called Device1) using the simulator driver. 3. In the client application, define an item name of "Channel1.Device1.V3000@BCD ". 4. The client project will automatically start receiving data. The OPC client will be Access but how do you connect this to KEPDirect. Why is it that the help files always assume that you know how to do it and when you do find some samples of code, it only refers to DDE connections which I thought had been superceeded by the use of OPC. If someone could maybe show me how to get Access connected and read at least one piece of data from the PLC
Created Date: October 18,2005
Created by: cearza
make sure access can talk to an opc/dde server, then try this code: mytopic|mydevice! 'V3000 ' I try this code with excel and worked ok
Created Date: October 18,2005
Created by: cearza
by the way, do not use the simulation feature if you are reading a real value from the plc
Created Date: August 19,2005
Created by: robertkeenan
Iam trying to learn how to use Access for gathering data from a D06 PLC through a H0-ECOM port. After downloading KEPDirect and learning how to set it up to work along with the PLC I am now confused as to what code should be entered in Access. The only part in the manuals I can find is this
1. Start the OPC client application and connect to the server.
2. Create a channel (called channel1) and device (called Device1)
using the simulator driver.
3. In the client application, define an item name of
"Channel1.Device1.V3000@BCD ".
4. The client project will automatically start receiving data.
The OPC client will be Access but how do you connect this to KEPDirect. Why is it that the help files always assume that you know how to do it and when you do find some samples of code, it only refers to DDE connections which I thought had been superceeded by the use of OPC. If someone could maybe show me how to get Access connected and read at least one piece of data from the PLC