News:

  • June 09, 2026, 08:16:04 AM

Login with username, password and session length

Author Topic: Comunication Newbie  (Read 10439 times)

joseguru

  • Newbie
  • *
  • Posts: 3
Comunication Newbie
« 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?


b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Comunication Newbie
« Reply #1 on: July 25, 2011, 11:36:28 AM »
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
« Last Edit: July 25, 2011, 11:40:48 AM by b_carlton »
An output is a PLC's way of getting its inputs to change.

joseguru

  • Newbie
  • *
  • Posts: 3
Re: Comunication Newbie
« Reply #2 on: July 25, 2011, 12:20:30 PM »
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

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Comunication Newbie
« Reply #3 on: July 25, 2011, 12:48:15 PM »
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.
« Last Edit: July 25, 2011, 02:02:00 PM by b_carlton »
An output is a PLC's way of getting its inputs to change.

joseguru

  • Newbie
  • *
  • Posts: 3
Re: Comunication Newbie
« Reply #4 on: July 25, 2011, 02:00:01 PM »
Thanks a lot!!!