Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 08:28:52 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Comunication Newbie  (Read 342 times)
joseguru
Newbie
*
Posts: 3


« 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?

Logged
b_carlton
Internal Dev
****
Posts: 388



WWW
« 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 » Logged

An output is a PLC's way of getting its inputs to change.
joseguru
Newbie
*
Posts: 3


« 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
Logged
b_carlton
Internal Dev
****
Posts: 388



WWW
« 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 » Logged

An output is a PLC's way of getting its inputs to change.
joseguru
Newbie
*
Posts: 3


« Reply #4 on: July 25, 2011, 02:00:01 pm »

Thanks a lot!!!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM