Autor Thema: EC4P to PC connection fails  (Gelesen 23665 mal)

Offline Roman

  • Newbie
  • *
  • Beiträge: 6
EC4P to PC connection fails
« am: Februar 19, 2009, 08:26:42 Vormittag »
Hello,

I’m trying to establish connection between EC4P and PC using easy800-USB-CAB. I After I press “Online” in easy Soft CoDeSys I get an error saying: Communication Error (#0): Logout Performed.

What can cause this error?

Offline ndzied1

  • Jr. Member
  • **
  • Beiträge: 40
  • One if By Land
Re: EC4P to PC connection fails
« Antwort #1 am: Februar 19, 2009, 20:15:13 Nachmittag »
Check out the manual here:
ftp://ftp.moeller.net/DOCUMENTATION/AWB_MANUALS/h1584g.pdf

Page 14 & 15 talk about the ports and cables required to program the EC4P

Offline KressSwiss

  • easy god
  • *****
  • Beiträge: 1659
  • Und sie dreht sich doch..."Galileo Galilei"
    • Electronics Planet
Re: EC4P to PC connection fails
« Antwort #2 am: Februar 19, 2009, 20:32:56 Nachmittag »
Hi
My proposal: Visit Easy Trainingscenter and take a look in Lesson 2 (Animation on programming). This is a show how to transfer the Programm to the EC4P and how to start it.

Link to the Lesson: click here   


« Letzte Änderung: Februar 19, 2009, 20:38:54 Nachmittag von KressSwiss »
Achtung:
Angehängte Dateien sind nur für eingelogte User sichtbar!

Offline Roman

  • Newbie
  • *
  • Beiträge: 6
Re: EC4P to PC connection fails
« Antwort #3 am: Februar 21, 2009, 18:15:49 Nachmittag »
ndzied1:
Thanks. I've got the manual. It says I can use easy800-USB-CAB to program ec4p.

KressSwiss:
Thanks. I ckecked a lesson. Was doing everything in the same way but there is no dialog appearing after I try to login and then a recieve an error...

No idea whats wrong. Tried to reinstall the drivers but still nothing works.

Offline Softwerker59

  • Jr. Member
  • **
  • Beiträge: 48
Re: EC4P to PC connection fails
« Antwort #4 am: Februar 21, 2009, 22:19:53 Nachmittag »
Hello,

please give us more information about your configuration.
easy Soft CoDeSys has generally a problem with COM ports > 9.
What's your configuration in "Communication parameters" dialog?
Do you see the COM port mapped by the driver in the windows hardware configuration?

Klaus 

Offline Roman

  • Newbie
  • *
  • Beiträge: 6
Re: EC4P to PC connection fails
« Antwort #5 am: Februar 22, 2009, 11:38:59 Vormittag »
Softwerker59:
Hello,
Yes, I see COM port in hardware config. It has number 7.

Here is port config:
bps: 57600 (have tried others)
data bits: 8
parity: none
stop bits:1
flow control: none (tried changing it)

Config in "Communication parameters" is exactly the same.

Offline ndzied1

  • Jr. Member
  • **
  • Beiträge: 40
  • One if By Land
Re: EC4P to PC connection fails
« Antwort #6 am: Februar 23, 2009, 19:16:53 Nachmittag »
ndzied1:
Thanks. I've got the manual. It says I can use easy800-USB-CAB to program ec4p.

We have never had luck with this.  We use EU4A-RJ45-CAB1 for setup.  Even not to hard to make your own by cutting standard Ethernet cable and soldering to DB9 connector...

Offline Roman

  • Newbie
  • *
  • Beiträge: 6
Re: EC4P to PC connection fails
« Antwort #7 am: Februar 24, 2009, 06:17:46 Vormittag »
ndzied1:

Could you be so kind to show the pin-out?

Offline Softwerker59

  • Jr. Member
  • **
  • Beiträge: 48
Re: EC4P to PC connection fails
« Antwort #8 am: Februar 24, 2009, 10:49:48 Vormittag »
Your settings seems normal.
Today I have installed the driver (Installation CD V1.03) under Windows XP.
Is was mapped to COM7 and I have no problems to connect to EC4. In CoDeSys communication parameters dialog I've selected "Serial(RS232)" with 38400, no parity, 1 stop and flow control off.
Did you follow the installation hints?
- 1st the driver
- then plug in the cable
- 2nd the brigde (comes twice!!!)
 

Offline Roman

  • Newbie
  • *
  • Beiträge: 6
Re: EC4P to PC connection fails
« Antwort #9 am: Februar 24, 2009, 12:10:14 Nachmittag »
Softwerker59:
Yep, eveything was installed in the correct manner.

Offline ndzied1

  • Jr. Member
  • **
  • Beiträge: 40
  • One if By Land
Re: EC4P to PC connection fails
« Antwort #10 am: Februar 25, 2009, 23:51:33 Nachmittag »
ndzied1:

Could you be so kind to show the pin-out?

If you use the diagram on the manual I linked to before on page 14 for the RJ45 Connector

DB9 Pin 2 -> RJ45 Pin 5
DB9 Pin 3 -> RJ45 Pin 8
DB9 Pin 5 -> RJ45 Pin 4

I am trying to attach picture of this poor man's cable

Offline Roman

  • Newbie
  • *
  • Beiträge: 6
Re: EC4P to PC connection fails
« Antwort #11 am: Februar 26, 2009, 06:58:32 Vormittag »
ndzied1:

Thanks a lot. I'll try to solder it.