Host Engineering Forum
General Category => General Discussion => Topic started by: joseguru on July 25, 2011, 11:32:31 AM
-
Hi everybody.
I'm working with a college friend and we are new working with DirectLogic PLC...
Our customer ask us to change and old visual basic 5 project.
So, when we look the source code, we don't understand how the program comunicates with the PLC. In the customer factory, the PLC is conected with the by serial port.
We think that the program sets somes text labels with binary format and then chage a label field named link (?) to a different integer value (1 or 2). Is that possible? Is it linked in someway with direct soft?
Anyone can help us? Is there any information about?
-
Can you post the contents of one of the 'link' fields as they are right now?
Actually the following fields would be most helpful
Link Item
Link Mode
Link Topic
-
Thanks for the help.
this is a example:
Aux_Prensas.LinkTopic = "DsData|Cbj24_A"
Aux_Prensas.LinkItem = "Cbj2_Ctr_Ci_Comp:B"
Aux_Prensas.LinkMode = 2
Aux_Prensas.LinkTimeout = "300"
Aux_Prensas.LinkRequest
Where Aux_Prensas is defined as VB.Label
-
The communication interface is being provided by the program DSData.exe. It would be started on the PC before the VB program. The LinkTopic specifies the communication channel. The LinkItem specifies the precise item within the PLC.
The actual communication product is not available now from AutomationDirect.
There should be a 'help' file on the PC, DSData.hlp, which will provide some information on the setup.
The owners of this site, Host Engineering, are the developers of DSData. Go to the main site and look up information there.
-
Thanks a lot!!!