Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2012, 08:28:52 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
General Discussion
>
Comunication Newbie
Pages: [
1
]
« previous
next »
Print
Author
Topic: Comunication Newbie (Read 342 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?
Logged
b_carlton
Internal Dev
Posts: 388
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
»
Logged
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
Logged
b_carlton
Internal Dev
Posts: 388
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
»
Logged
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!!!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> MX Technology Preview
=> General Discussion
=> CTRIO
=> DirectSOFT
=> DNLoader
=> DSData
=> EBCs and EBC100s
=> ECOMs and ECOM100s
=> EDRV
=> ERM
=> Ethernet SDK
=> MB-GATEWAY
=> NetEdit
=> Profibus
=> WinPLC
Loading...