Jump to content



- - - - -

S7-200 tips & tricks

  • Please log in to reply
7 replies to this topic

#1 Guest_denni_*

Guest_denni_*
  • Guest

Posted 05 December 2004 - 09:02 PM

Hello,
I'm a begginer in Siemens PLC s7-200.Yesterday I download a program from this forum (S7-200 tips and tricks : Tip005B) and after that, PLC wont work.
Now i can't download and upload any program to PLC.

:shrug:
The message box said :"communication Time out. check the port number, network address, baud rate & the attached cable".
do you know the problem?

:shrug:

#2 Crossbow

Crossbow

    Automation Engineer

  • MrPLC Admin
  • 3794 posts
  • Gender:Male
  • Location:Edge of Insanity
  • Country:United States
    United States

Posted 06 December 2004 - 06:04 PM

Sounds like the program had different settings for the communications port. Go into the program in MicroWin and check the com port parameters, then set up your parameters to go online with those settings.

Microwin should be able to search for the PLC too.

#3 Guest_Guest_denni_*

Guest_Guest_denni_*
  • Guest

Posted 14 December 2004 - 03:13 AM

I'm sorry, there is internet problem last week here.

the comm port parameters :

remote address : 2
Local address : 0
Module : PC/PPI Cable (COM1)
Protocol : PPI
Transmission Rate : 9.6kbps
Mode : 11-bit

thats all,
thank u

#4 Crossbow

Crossbow

    Automation Engineer

  • MrPLC Admin
  • 3794 posts
  • Gender:Male
  • Location:Edge of Insanity
  • Country:United States
    United States

Posted 15 December 2004 - 10:20 PM

Open the program you downloaded to the PLC and make sure those are the settings that were sent to the PLC's serial port. If the program changed te parameters, you'll need to change your PC/PPI setup to match to get back online with the PLC.

The settings you mention are the defaults for the S7-200. Just open Microwin and look at the PLC configuration for the program you downloaded to the CPU.

#5 Crossbow

Crossbow

    Automation Engineer

  • MrPLC Admin
  • 3794 posts
  • Gender:Male
  • Location:Edge of Insanity
  • Country:United States
    United States

Posted 16 December 2004 - 11:26 AM

I've looked at the program for that tip, and you set the serial port to Freeport mode for ASCII send/receive. The settings for the COM port are 9600 8N1 now. The mode on the serial port is being set on the PLC's first scan. One thing you might try it turning off the PLC, turn run/stop switch to STOP, and then power up. This way no first scan is issued, might be able to connect then. If not, I'll ask Siemens how to connect to an S7-200 with the serial port in Freeport from Microwin.

#6 Guest_Mika Jylha_*

Guest_Mika Jylha_*
  • Guest

Posted 28 December 2004 - 01:16 AM

Had the same problem earlier: I had an older PPI cable that supported only 19,2 kb, and i downloaded a system block with port settings of a 187,5 kb.

For me the only solution was to buy a USB-PPI cable (6ES7 901-3DB30-0XA0)

Best Wishes: Mika Jylha, Finland

mika.jylha@kcigroup.com

#7 Crossbow

Crossbow

    Automation Engineer

  • MrPLC Admin
  • 3794 posts
  • Gender:Male
  • Location:Edge of Insanity
  • Country:United States
    United States

Posted 30 December 2004 - 06:09 PM

But the problem he is referring to is he has changed the protocol on the port, not the baud rate. Freeport is an ASCII communication language for bar code readers, RFID, etc. It's not PPI. But that sample program has the settings change to Freeport happening on a first scan flag. So turning off the PLC and powering it back up with the Run/Stop switch in Stop should prevent the mode change on the port. It worked fine in my lab (used a 224XP which has 2 serial ports just in case, but it reconnected fine in Stop mode)

#8 khekd

khekd

    Sparky

  • MrPLC Member
  • PipPipPip
  • 42 posts
  • Location:Indy
  • Country:United States
    United States

Posted 14 January 2005 - 12:16 AM

There is a program that is installed with Microwin called wipeout.exe. Just do a search on your computer for it. Hook your programming cable the PLC and your computer and run the executable.

What this will do is wipeout the program inside the plc and it doesn't care what the baud rate is set at.

Khek

I have also attached the wipeout program

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users