Author Topic: CLXEthernet Driver trouble  (Read 3854 times)

Jesse

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
CLXEthernet Driver trouble
« on: August 23, 2013, 08:05:22 PM »
Hi I'm trying to use the Ethernet Driver on VB2010 version 3.57 and using a 1756-ENBT A Ethernet card with an L61 cpu.

I just can't seem to communicate. I've tried Setting my own IP address on my computer to (10.12.19.126) with a subnet mask (255.255.255.0) when the the card is configured with IP address (10.12.19.29). Because thats how I connect my rs5000 program to the card normally to download/program. But when I put in hmi properties IP (10.12.19.29) it doesnt work.

Ive also tried configuring the card to a private network with IP (192.168.1.1) and it still doesn't work on HMI program.

What are the correct settings on HMI and my computer for this driver to communicate?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CLXEthernet Driver trouble
« Reply #1 on: August 23, 2013, 09:56:15 PM »
Is the processor in slot 0?

Jesse

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: CLXEthernet Driver trouble
« Reply #2 on: August 24, 2013, 12:35:22 AM »
Yes

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CLXEthernet Driver trouble
« Reply #3 on: August 24, 2013, 04:33:04 AM »
If you put a BasicLabel on the form and set the PLCAddressValue to a known controller scope tag, what message does the BasicLabel give?

Jesse

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: CLXEthernet Driver trouble
« Reply #4 on: August 26, 2013, 04:51:05 PM »
If my computer is set to obtain IP automatically and I give them ethernet card an IP of 192.168.1.1 on private network and set my drivers properties to 192.168.1.1 or 192.168.1.2 it says could not connect to IP addres 192.168.1.1

If my computer is set to obtain IP automatically and I give them ethernet card an IP of 10.12.19.29 on a public network and set my drivers properties to 10.12.19.29 or 10.12.19.126 it says could not connect to IP addres 10.12.19.29 or 10.12.19.126.

If I give my computer IP of 10.12.19.126 with a subnet mask 255.255.255.0 and set ethernet card to public network with IP 10.12.19.29 and set my drivers properties to 10.12.19.29  it says could not connect to 10.12.19.29.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CLXEthernet Driver trouble
« Reply #5 on: August 26, 2013, 09:21:20 PM »
I did a quick test with version 3.57 and a similar setup.

Jesse

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: CLXEthernet Driver trouble
« Reply #6 on: August 27, 2013, 06:46:56 PM »
ok so... my windows xp desktop with vs 2010 refuses to communicate with the card, on the card the link lite doesn't even come on. However with my windows 7 laptop it communicates just fine, All of the TCP settings are the same on each, which is kind of a problem because the laptop is mine and the desktop is the companies, but I will just have to deal I guess.

But now this raises another question. This is my first CLX project, how am I going to address my bits, timers, and etc.? I got my basic descrete stuff working with with tag names like PV_n7[0] but I cant seem to get timer values so if i have a timer tag name timer i put in timer.ACC in plc value on panel meter and it doesn't seem to work.
« Last Edit: August 27, 2013, 06:57:20 PM by Jesse »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CLXEthernet Driver trouble
« Reply #7 on: August 27, 2013, 08:21:38 PM »
I just tried this by creating a TimerTag of type Timer and put a BasicLabel with PLCAddressValue=TimerTag.PRE, then I added a DigitalPanelMeter with PLCAddressValue=Timer.ACC  and they both worked correctly.

Are you timers in an array? Are they program scope or controller scope?

Jesse

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: CLXEthernet Driver trouble
« Reply #8 on: August 28, 2013, 04:30:29 PM »
I actually had my timers in my program not controller..

Also made a small application and tried loading it to another computer like you did in your video, didn't work is the other computer going to have to have Visual studio on it?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CLXEthernet Driver trouble
« Reply #9 on: August 28, 2013, 06:42:00 PM »
I actually had my timers in my program not controller..

Also made a small application and tried loading it to another computer like you did in your video, didn't work is the other computer going to have to have Visual studio on it?
The other computer will need .NET 4.0 framework installed

http://www.microsoft.com/en-us/download/details.aspx?id=17851